[Bugs] [Bug 1598193] Stale lock with lk-owner all-zeros is observed in some tests

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 9 15:16:37 UTC 2018


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

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/20459 committed in release-4.1 by "Pranith
Kumar Karampuri" <pkarampu at redhat.com> with a commit message- cluster/afr: Make
sure lk-owner is assigned at the time of lock

Problem:
In the new eager-lock implementation lk-owner is assigned after the
'local' is added to the eager-lock list, so there exists a possibility
of lock being sent even before lk-owner is assigned.

Fix:
Make sure to assign lk-owner before adding local to eager-lock list

fixes bz#1598193
Change-Id: I26d1b7bcf3e8b22531f1dc0b952cae2d92889ef2
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
(cherry picked from commit c6f93e422855f656d3a86461a8458f37ad0103eb)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list