[Bugs] [Bug 1503519] default timeout of 5min not honored for analyzing split-brain files post setfattr replica.split-brain-heal-finalize

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 25 07:32:35 UTC 2017


--- Comment #5 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18546 committed in master by  

------------- cluster/afr: Honor default timeout of 5min for analyzing
split-brain files

After setting split-brain-choice option to analyze the file to resolve
the split brain using the command
"setfattr -n replica.split-brain-choice -v "choiceX" <path-to-file>"
should allow to access the file from mount for default timeout of 5mins.
But the timeout was not honored and was able to access the file even after
the timeout.

Call the inode_invalidate() in afr_set_split_brain_choice_cbk() so that
it will triger the cache invalidate after resetting the timer and the
split brain choice. So the next calls to access the file will fail with EIO.

Change-Id: I698cb833676b22ff3e4c6daf8b883a0958f51a64
BUG: 1503519
Signed-off-by: karthik-us <ksubrahm 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=BhE8CRe6lb&a=cc_unsubscribe

More information about the Bugs mailing list