diff options
-rw-r--r-- | xlators/cluster/dht/src/dht-selfheal.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/xlators/cluster/dht/src/dht-selfheal.c b/xlators/cluster/dht/src/dht-selfheal.c index f4c3cf56b..8b6bdabd6 100644 --- a/xlators/cluster/dht/src/dht-selfheal.c +++ b/xlators/cluster/dht/src/dht-selfheal.c @@ -419,7 +419,6 @@ dht_selfheal_directory (call_frame_t *frame, dht_selfheal_dir_cbk_t dir_cbk, local->selfheal.dir_cbk = dir_cbk; local->selfheal.layout = layout; -/* if (down) { gf_log (this->name, GF_LOG_ERROR, "%d subvolumes down -- not fixing", down); @@ -427,14 +426,6 @@ dht_selfheal_directory (call_frame_t *frame, dht_selfheal_dir_cbk_t dir_cbk, goto sorry_no_fix; } - if (overlaps) { - gf_log (this->name, GF_LOG_ERROR, - "not fixing overlaps in %s", loc->path); - local->op_errno = EINVAL; - ret = -1; - goto sorry_no_fix; - } - if (misc) { gf_log (this->name, GF_LOG_ERROR, "%d subvolumes have unrecoverable errors", misc); @@ -442,14 +433,6 @@ dht_selfheal_directory (call_frame_t *frame, dht_selfheal_dir_cbk_t dir_cbk, goto sorry_no_fix; } - if (holes > missing) { - gf_log (this->name, GF_LOG_ERROR, - "%d holes and %d pigeons -- not fixing", - holes, missing); - ret = 0; - goto sorry_no_fix; - } -*/ dht_layout_sort_volname (layout); ret = dht_selfheal_dir_getafix (frame, loc, layout); |