summaryrefslogtreecommitdiffstats
path: root/extras/cliutils/cliutils.py
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2018-10-22 21:16:53 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-10-25 13:12:36 +0000
commit58d9fa81d75eda84423d0c0ef45fd20b07582a93 (patch)
tree3118d1f8a9cd768a799353a29e68bc6021b2da72 /extras/cliutils/cliutils.py
parent686849beb424b8b0ebd17b21a9cc201f252f3547 (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. Change-Id: I5bcfba4f7c71a5af7cdedeb03436d0b818e85783 updates: #350 Signed-off-by: Soumya Koduri <skoduri@redhat.com> (cherry picked from commit cf5b13896d65b6916634976a3a5f61ddeefbc19c)
Diffstat (limited to 'extras/cliutils/cliutils.py')
0 files changed, 0 insertions, 0 deletions