diff options
| author | Soumya Koduri <skoduri@redhat.com> | 2018-10-22 21:16:53 +0530 |
|---|---|---|
| committer | Soumya Koduri <skoduri@redhat.com> | 2018-10-24 15:09:32 +0530 |
| commit | f48e6cf2183a749e75eaa22a1dffe58f0dba34d5 (patch) | |
| tree | a97d5da199cf61e8836390f08df22d93145ace2d /tests/bugs/glusterd/optimized-basic-testcases-in-cluster.t | |
| parent | fa4710bb8fbc852971d763d8727e3755436ea9c8 (diff) | |
leases:Mark the fop conflicting if lease_id not set
Glusterfs leases expects lease_id to be set and sent
for each fop to determine conflict resolution with the
existing lease.
Incase if not set (most likely if there is an older
client in a mixed cluster), it makes sense to consider
it as conflicitng fop and recall the lease.
Also fixed the return status check for __remove_lease(),
wherein non-negative value is considered as success case.
This is backport of below mainline patch -
https://review.gluster.org/21458
Change-Id: I5bcfba4f7c71a5af7cdedeb03436d0b818e85783
updates: #350
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Diffstat (limited to 'tests/bugs/glusterd/optimized-basic-testcases-in-cluster.t')
0 files changed, 0 insertions, 0 deletions
