[sheepdog] [PATCH v5 0/2] dog: repair objects based on majority vote

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Tue Nov 12 03:45:23 CET 2013


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.

v5: drop ignore change in v4

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/group   |    1 +
 4 files changed, 174 insertions(+), 12 deletions(-)
 create mode 100644 tests/functional/077
 create mode 100644 tests/functional/077.out

-- 
1.7.10.4




More information about the sheepdog mailing list