[Bugs] [Bug 1274101] New: need a way to pause/stop tiering to take snapshot

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 21 23:02:45 UTC 2015


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

            Bug ID: 1274101
           Summary: need a way to pause/stop tiering to take snapshot
           Product: GlusterFS
           Version: 3.7.6
         Component: tiering
          Assignee: bugs at gluster.org
          Reporter: dlambrig at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org, vagarwal at redhat.com
        Depends On: 1267950
            Blocks: 1260923



+++ This bug was initially created as a clone of Bug #1267950 +++

We need a way to pause tiering to take snapshot. A file cannot be in the middle
of promotion/demotion when a snapshot is taken. If a file is in the middle of
migration, abort the migration and rollback any in-progress work. Implement a
CLI for this and to resume migration.

--- Additional comment from Vijay Bellur on 2015-10-13 21:24:12 EDT ---

REVIEW: http://review.gluster.org/12304 (cluster/tier: WIP add pause tier
feature (required for snapshots)) posted (#3) for review on master by Dan
Lambright (dlambrig at redhat.com)

--- Additional comment from Vijay Bellur on 2015-10-14 23:11:23 EDT ---

REVIEW: http://review.gluster.org/12304 (cluster/tier: add pause tier for
snapshots) posted (#4) for review on master by Dan Lambright
(dlambrig at redhat.com)

--- Additional comment from Vijay Bellur on 2015-10-16 11:36:14 EDT ---

REVIEW: http://review.gluster.org/12304 (cluster/tier: add pause tier for
snapshots) posted (#5) for review on master by Dan Lambright
(dlambrig at redhat.com)

--- Additional comment from Vijay Bellur on 2015-10-19 14:24:17 EDT ---

REVIEW: http://review.gluster.org/12304 (cluster/tier: add pause tier for
snapshots) posted (#6) for review on master by Dan Lambright
(dlambrig at redhat.com)

--- Additional comment from Vijay Bellur on 2015-10-21 10:27:52 EDT ---

REVIEW: http://review.gluster.org/12304 (cluster/tier: add pause tier for
snapshots) posted (#7) for review on master by Dan Lambright
(dlambrig at redhat.com)

--- Additional comment from Vijay Bellur on 2015-10-21 12:20:15 EDT ---

REVIEW: http://review.gluster.org/12304 (cluster/tier: add pause tier for
snapshots) posted (#8) for review on master by Dan Lambright
(dlambrig at redhat.com)

--- Additional comment from Vijay Bellur on 2015-10-21 18:44:40 EDT ---

COMMIT: http://review.gluster.org/12304 committed in master by Dan Lambright
(dlambrig at redhat.com) 
------
commit 36974c36fa4231df3f0e9428a9da6d1aa33348ab
Author: Dan Lambright <dlambrig at redhat.com>
Date:   Mon Oct 5 19:52:02 2015 +0000

    cluster/tier: add pause tier for snapshots

    Snaps of tiered volumes cannot handle files undergoing migration.
    We implement a helper mechanism to "pause" migration. Any files
    undergoing migration are aborted. Clean up is done to remove
    sticky bits and data at the destination. Migration is restarted
    after snap completes.

    For testing an internal switch is added. It is not exposed externally.

    gluster volume set vol1 tier-pause [true|false]

    Change-Id: Ia85bbf89ac142e9b7e73fcbef98bb9da86097799
    BUG: 1267950
    Signed-off-by: Dan Lambright <dlambrig at redhat.com>
    Reviewed-on: http://review.gluster.org/12304
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1260923
[Bug 1260923] Tracker for tiering in 3.1.2
https://bugzilla.redhat.com/show_bug.cgi?id=1267950
[Bug 1267950] need a way to pause/stop tiering to take snapshot
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list