diff options
author | Susant Palai <spalai@redhat.com> | 2018-05-21 11:51:47 +0530 |
---|---|---|
committer | N Balachandran <nbalacha@redhat.com> | 2018-05-28 07:30:48 +0000 |
commit | 47440dd83592438840d3b2eb27f71403f6fba7b3 (patch) | |
tree | e22c51dc76ed3bfaee668b099b3858983b5350e5 /rpc | |
parent | 3d38e4e47f129bdb36c3fbbd481dabe4ba4413d6 (diff) |
cluster/dht: Increase failure count for lookup failure in remove-brick op
An entry from readdirp might get renamed just before migration leading to
lookup failures. For such lookup failure, remove-brick process does not
see any increment in failure count. Though there is a warning message
after remove-brick commit for the user to check in the decommissioned brick
for any files those are not migrated, it's better to increase the failure count
so that user can check in the decommissioned bricks for files before commit.
Note: This can result in false negative cases for rm -rf interaction with
remove-brick op, where remove-brick shows non-zero failed count, but the
entry was actually deleted by user.
Fixes :bz#1580269
Change-Id: Icd1047ab9edc1d5bfc231a1f417a7801c424917c
fixes: bz#1580269
Signed-off-by: Susant Palai <spalai@redhat.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions