diff options
author | N Balachandran <nbalacha@redhat.com> | 2018-04-06 16:06:51 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-04-18 13:21:54 +0000 |
commit | 281a019e03342537345e98548a0062b96a8e1539 (patch) | |
tree | 80db69168d87745bf5373e315c86b2e59322d88d /configure.ac | |
parent | deb81726437d6a62a4e6b1ebb4dabe394e84446e (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#1566822
Signed-off-by: N Balachandran <nbalacha@redhat.com>
(cherry picked from commit 1f0765242a689980265c472646c64473a92d94c0)
Change-Id: I3072ca1f2975eb7ad3c38798e65d60d2312fd057
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions