[Bugs] [Bug 1318203] New: Tiering should break out of iterating query file once cycle time completes.

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 16 09:27:22 UTC 2016


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

            Bug ID: 1318203
           Summary: Tiering should break out of iterating query file once
                    cycle time completes.
           Product: GlusterFS
           Version: 3.7.9
         Component: tiering
          Assignee: bugs at gluster.org
          Reporter: dlambrig at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org
        Depends On: 1301227



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

Description of problem:

When iterating the query file during migration, should break out of loop once
cycle time completes.

Version-Release number of selected component (if applicable):

N/A

How reproducible:

always

Steps to Reproduce:
1. Set demotion cycle time to 120 seconds.
2. Create many large files.
2. Wait for them to be demoted.

Actual results:

All the files will be demoted, this may take longer than 120 seconds. 

Expected results:

As many files as can be moved in 120 seconds shall be migrated.

Additional info:

--- Additional comment from Vijay Bellur on 2016-02-02 17:07:06 EST ---

REVIEW: http://review.gluster.org/13284 (cluster/tier: break out of iterating
query file once cycle time ends) posted (#2) for review on master by Dan
Lambright (dlambrig at redhat.com)

--- Additional comment from Vijay Bellur on 2016-02-03 11:15:26 EST ---

COMMIT: http://review.gluster.org/13284 committed in master by Dan Lambright
(dlambrig at redhat.com) 
------
commit 58a91f36f639de21f6e77d1f43f5eb091ae96fb0
Author: Dan Lambright <dlambrig at redhat.com>
Date:   Fri Jan 22 17:31:48 2016 -0500

    cluster/tier: break out of iterating query file once cycle time ends

    When iterating the query file during migration, tiering should
    break out of the loop once cycle time completes. Otherwise it
    may be possible to stay in the loop for a long time. If that
    happens updates to files will become stale and have not impact
    migration.

    Change-Id: Ib60cf74bc84e8646e6a0da21ff04954b1b83c414
    BUG: 1301227
    Signed-off-by: Dan Lambright <dlambrig at redhat.com>
    Reviewed-on: http://review.gluster.org/13284
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1301227
[Bug 1301227] Tiering should break out of iterating query file once cycle
time completes.
-- 
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