diff options
author | shishir gowda <sgowda@redhat.com> | 2013-03-07 19:41:33 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-03-07 19:51:22 -0800 |
commit | 140e9756a569efd02ea970cb484d6f1a7c3da688 (patch) | |
tree | 4d414698515bea3bca6718b039219b4ea34986b9 /xlators/mgmt/glusterd/src/glusterd-utils.c | |
parent | 90d77fbdd2c5066279f2c7ddeee0980811ba4923 (diff) |
cluster/distribute: Fix layout overlaps due to spread-count in selfheal path
We needed to zero out the layout range, before we re-calculate the range.
When spread-count is issued, we would end up with stale ranges in the layout.
Replaced dht_selfheal_dir_xattr with dht_fix_dir_xattr, which correctly resets
the un-used (after re-cal) layouts.
Change-Id: I1a900d15df07335f59356bd23182ccec34381ab2
BUG: 884455
Signed-off-by: shishir gowda <sgowda@redhat.com>
Reviewed-on: http://review.gluster.org/4647
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
0 files changed, 0 insertions, 0 deletions