diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2018-07-03 20:38:23 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2018-07-04 14:38:37 +0000 |
commit | c6f93e422855f656d3a86461a8458f37ad0103eb (patch) | |
tree | cd35619ddf7c617294bad9487286559874a29d22 /xlators/mgmt/glusterd/src/glusterd-snapshot.c | |
parent | c80075466ddbf25766dbf805cd5161c736190b3e (diff) |
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#1597805
Change-Id: I26d1b7bcf3e8b22531f1dc0b952cae2d92889ef2
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-snapshot.c')
0 files changed, 0 insertions, 0 deletions