summaryrefslogtreecommitdiffstats
path: root/tests/geo-rep.rc
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2018-11-09 17:06:22 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-12-26 16:40:30 +0000
commite2f1bd54bd675e126e195d81a67b1d4331b77551 (patch)
tree90847a23e474c9b17b3b6b28554887ead2a51c0e /tests/geo-rep.rc
parent0beca839679d437d49c7481cb7370e1350f16ba9 (diff)
cluster/dht: sync brick root perms on add brick
If a single brick is added to the volume and the newly added brick is the first to respond to a dht_revalidate call, its stbuf will not be merged into local->stbuf as the brick does not yet have a layout. The is_permission_different check therefore fails to detect that an attr heal is required as it only considers the stbuf values from existing bricks. To fix this, merge all stbuf values into local->stbuf and use local->prebuf to store the correct directory attributes. Change-Id: Ic9e8b04a1ab9ed1248b6b056e3450bbafe32e1bc fixes: bz#1660736 Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'tests/geo-rep.rc')
0 files changed, 0 insertions, 0 deletions