summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.c
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2018-04-06 16:06:51 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-04-18 13:24:30 +0000
commit47e5082b1c58f48d4de38bd69071556cf9a4d8a3 (patch)
tree4f260eb97fe41be650ebb8bb4137aa49dec54b7e /libglusterfs/src/dict.c
parentcd858f9c1789edf5e5fa02ddd906de1d89938980 (diff)
cluster/dht: Handle file migrations when brick down
The decision as to which node would migrate a file was based on the gfid of the file. Files were divided among the nodes for the replica/disperse set. However, if a brick was down when rebalance started, the nodeuuids would be saved as NULL and a set of files would not be migrated. Now, if the nodeuuid is NULL, the first non-null entry in the set is the node responsible for migrating the file. Change-Id: I72554c107792c7d534e0f25640654b6f8417d373 fixes: bz#1566820 Signed-off-by: N Balachandran <nbalacha@redhat.com> (cherry picked from commit 1f0765242a689980265c472646c64473a92d94c0) Change-Id: Id1a6e847b0191b6a40707bea789a2a35ea3d9f68
Diffstat (limited to 'libglusterfs/src/dict.c')
0 files changed, 0 insertions, 0 deletions