[Bugs] [Bug 1249921] [upgrade] After upgrade from 3.5 to 3.6 onwards version, bumping up op-version failed

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 6 06:44:44 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1249921



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11822 committed in release-3.7 by Atin
Mukherjee (amukherj at redhat.com) 
------
commit 10864cdcc039f4c1a85ecd8dbeb6fba0fc539d4e
Author: Atin Mukherjee <amukherj at redhat.com>
Date:   Thu Jul 30 09:40:24 2015 +0530

    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 at redhat.com>
    Reviewed-on: http://review.gluster.org/11798
    Reviewed-by: Avra Sengupta <asengupt at redhat.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Anand Nekkunti <anekkunt at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Kaushal M <kaushal at redhat.com>
    Reviewed-on: http://review.gluster.org/11822

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Q889oaav7z&a=cc_unsubscribe


More information about the Bugs mailing list