diff options
author | Soumya Koduri <skoduri@redhat.com> | 2018-10-29 14:41:26 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-11-17 09:16:13 +0000 |
commit | c2e758b54d8a3f778e3e63db0000bb8b63de9b25 (patch) | |
tree | bfb3198c6a8d7c744b891f6d9dac0e624e1f9ebb /xlators/mgmt/glusterd/src/glusterd-pmap.h | |
parent | b7aec05aa965202ab73120acf0da4c32fe0cf16c (diff) | |
download | glusterfs-c2e758b54d8a3f778e3e63db0000bb8b63de9b25.tar.gz glusterfs-c2e758b54d8a3f778e3e63db0000bb8b63de9b25.tar.xz glusterfs-c2e758b54d8a3f778e3e63db0000bb8b63de9b25.zip |
lease: Treat unlk request as noop if lease not found
When the glusterfs server recalls the lease, it expects
client to flush data and unlock the lease. If not it sets
a timer (starting from the time it sends RECALL request) and post
timeout, it revokes it.
Here we could have a race where in client did send UNLK
lease request but because of network delay it may have reached
after server revokes it. To handle such situations, treat
such requests as noop and return sucesss.
Change-Id: I166402d10273f4f115ff04030ecbc14676a01663
updates: bz#1648768
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-pmap.h')
0 files changed, 0 insertions, 0 deletions