diff options
| author | Atin Mukherjee <amukherj@redhat.com> | 2015-07-30 09:40:24 +0530 | 
|---|---|---|
| committer | Atin Mukherjee <amukherj@redhat.com> | 2015-08-05 23:44:39 -0700 | 
| commit | 10864cdcc039f4c1a85ecd8dbeb6fba0fc539d4e (patch) | |
| tree | 14cf037c03603747c05be1018ec53e22d9bfc843 /tests | |
| parent | 14515d103d1f7636c0af87c19202c48d4d6813f4 (diff) | |
glusterd: fix op-version bump up flow
Backport of http://review.gluster.org/#/c/11798/
If a cluster is upgraded from 3.5 to latest version, gluster volume set all
cluster.op-version <VERSION> will throw an error message back to the user saying
unlocking failed. This is because of trying to release a volume wise lock in
unlock phase as the lock was taken cluster wide. The problem surfaced because
the op-version is updated in commit phase and unlocking works in the v3
framework where it should have used cluster unlock.
Fix is to decide which lock/unlock is to be followed before invoking lock phase
Change-Id: Iefb271a058431fe336a493c24d240ed833f279c5
BUG: 1249921
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/11798
Reviewed-by: Avra Sengupta <asengupt@redhat.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Anand Nekkunti <anekkunt@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Reviewed-on: http://review.gluster.org/11822
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
