Bug 1332138 - [Tiering]: promotion of files may not be balanced on distributed hot tier when promoting files with size as that of max.mb
Summary: [Tiering]: promotion of files may not be balanced on distributed hot tier whe...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: 3.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Dan Lambright
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On: 1328721 1330353
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-02 11:02 UTC by Joseph Elwin Fernandes
Modified: 2016-06-28 11:44 UTC (History)
7 users (show)

Fixed In Version: 3.8.0
Doc Type: Bug Fix
Doc Text:
Clone Of: 1330353
Environment:
Last Closed: 2016-06-28 11:44:57 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Joseph Elwin Fernandes 2016-05-02 12:33:36 UTC
is part of 3.8 during branching.

commit 0d23f5207337fa54be57939eb8d70fe835d4658b
Author: Joseph Fernandes <josferna>
Date:   Tue Apr 26 06:10:16 2016 +0530

    tier/migrator: Fetch the next query file for the next cycle
    
    Problem: When we spawn promote and demote thread, query files
    are build. And only query file with index 0 is picked for migration
    as the first query file. This may not be suitable for scenarios,
    where the file in the query are too big to move in the first cycle,
    as a result file in the other query files always get missed. We need to
    shuffle so that other query files also get a chance.
    
    Fix: Remember the previous first query file and shift it by one index,
    before the migration starts.
    
    Change-Id: I704947bcf4bab6b20b1179a6d9ae4a15a3d51bd9
    BUG: 1330353
    Signed-off-by: Joseph Fernandes <josferna>
    Reviewed-on: http://review.gluster.org/14068
    Tested-by: Joseph Fernandes
    Smoke: Gluster Build System <jenkins.com>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Dan Lambright <dlambrig>
    Tested-by: Dan Lambright <dlambrig>
    NetBSD-regression: NetBSD Build System <jenkins.org>


Note You need to log in before you can comment on or make changes to this bug.