[Bugs] [Bug 1482023] snpashots issues with other processes accessing the mounted brick snapshots

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 18 12:55:12 UTC 2017


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



--- Comment #25 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18047 committed in master by Amar Tumballi
(amarts at redhat.com) 
------
commit 2b3b3edee2d849b4aee314048987dc995d9679a1
Author: Sunny Kumar <sunkumar at redhat.com>
Date:   Wed Aug 16 14:04:45 2017 +0530

    snapshot: Issue with other processes accessing the mounted brick

    Added code for unmount of activated snapshot brick during snapshot
    deactivation process which make sense as mount point for deactivated
    bricks should not exist.

    Removed code for mounting newly created snapshot, as newly created
    snapshots should not mount until it is activated.

    Added code for mount point creation and snapshot mount during snapshot
    activation.

    Added validation during glusterd init for mounting only those snapshot
    whose status is either STARTED or RESTORED.

    During snapshot restore, mount point for stopped snap should exist as
    it is required to set extended attribute.

    During handshake, after getting updates from friend mount point for
    activated snapshot should exist and should not for deactivated
    snapshot.

    While getting snap status we should show relevent information for
    deactivated snapshots, after this pathch 'gluster snap status' command
    will show output like-

    Snap Name : snap1
    Snap UUID : snap-uuid

        Brick Path        :   server1:/run/gluster/snaps/snap-vol-name/brick
        Volume Group      :   N/A (Deactivated Snapshot)
        Brick Running     :   No
        Brick PID         :   N/A
        Data Percentage   :   N/A
        LV Size           :   N/A

    Fixes: #276

    Change-Id: I65783488e35fac43632615ce1b8ff7b8e84834dc
    BUG: 1482023
    Signed-off-by: Sunny Kumar <sunkumar at redhat.com>

-- 
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=B6KJfxYZfP&a=cc_unsubscribe


More information about the Bugs mailing list