diff options
author | Ravishankar N <ravishankar@redhat.com> | 2018-09-28 17:00:00 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2018-12-03 06:44:19 +0000 |
commit | 4d58730c0cd6ab5db39aec8a15276f7bd3371b04 (patch) | |
tree | 9991e615677cc9d9db0b13cebf97442fe42e02fd /libglusterfs/src/checksum.c | |
parent | 4364093869f59ed2af3f7d10d5a72df490eac9a9 (diff) |
afr: assign gfid during name heal when no 'source' is present.
Problem:
If parent dir is in split-brain or has dirty xattrs set, and the file
has gfid missing on one of the bricks, then name heal won't assign the
gfid.
Fix:
Use the brick we select the gfid from as the 'source'.
Note: Problem was found while trying to debug a split-brain issue on
Cynthia Zhou's setup.
updates: bz#1637249
Change-Id: Id088d4f0fb017aa35122de426654194e581ed742
Reported-by: Cynthia Zhou <cynthia.zhou@nokia-sbell.com>
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'libglusterfs/src/checksum.c')
0 files changed, 0 insertions, 0 deletions