At Tue, 12 Nov 2013 11:40:04 +0900, Hitoshi Mitake wrote: > > Current object repair strategy of "dog vdi check" doesn't work well if > objects are corrupted. The first one adds a test for the case, and the > second patch adds a mechanism for majority voting in the command. > > v4: separate the patch for smooth backporting to stable branches > > v3: use _random() for test 077 > > v2: determine majoriby based on a number of live copies > > Hitoshi Mitake (2): > tests/functional: add a new test for lost and corrupted objects > dog: repair objects based on majority vote > > dog/vdi.c | 84 ++++++++++++++++++++++++++++++++++++++------- > tests/functional/077 | 85 > ++++++++++++++++++++++++++++++++++++++++++++++ > tests/functional/077.out | 16 +++++++++ > tests/functional/078 | 53 +++++++++++++++++++++++++++++ > tests/functional/group | 1 + > 5 files changed, 227 insertions(+), 12 deletions(-) > create mode 100644 tests/functional/077 > create mode 100644 tests/functional/077.out > create mode 100644 tests/functional/078 >
Very sorry, this one contains an invalid change. I'll send v5 soon. Thanks, Hitoshi -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
