[Bugs] [Bug 1483402] DHT: readdirp fails to read some directories.

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 21 04:33:18 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18071 committed in release-3.12 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit 181d7bafb4da76401c3a1eb30bfdfbe8239968ab
Author: N Balachandran <nbalacha at redhat.com>
Date:   Wed Aug 16 12:58:52 2017 +0530

    cluster/dht: Reorder dir operations in gf_defrag_fix_layout

    Earlier, rebalance performed a fix-layout on a directory
    before healing its subdirectories. If there were a lot of
    subdirs, it could take a while before all subdirs were
    created on the newly added bricks. As dht_readdirp only lists
    dirs from their hashed subvol, those dirs which hashed to
    the newly added bricks but were not yet created on them were
    not listed.

    Now, the child dirs are listed and processed before the layout
    of the parent is fixed. This introduces a change in behaviour
    where files in subdirs are migrated before those in parent
    directories.

    Credit: Shyam <srangana at redhat.com>
    Github issue: #239

    > BUG: 1248393
    > Signed-off-by: N Balachandran <nbalacha at redhat.com>
    > Reviewed-on: https://review.gluster.org/18045
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    (cherry picked from commit 96b33b4b278391ca8a7755cf274931d4f1808cb5)
    Change-Id: I8ae7f24a510754cd8d1b31e5d608bcf1928599e2
    BUG: 1483402
    Signed-off-by: N Balachandran <nbalacha at redhat.com>
    Reviewed-on: https://review.gluster.org/18071
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>

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


More information about the Bugs mailing list