[Bugs] [Bug 1580269] [Remove-brick+Rename] Failure count shows zero though there are file migration failures

bugzilla at redhat.com bugzilla at redhat.com
Mon May 28 07:31:13 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1580269

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20044 committed in master by "N
Balachandran" <nbalacha at redhat.com> with a commit message- 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 at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=9rJPxqE5Sy&a=cc_unsubscribe


More information about the Bugs mailing list