[Bugs] [Bug 1328473] DHT : If Directory creation is in progress and rename of that Directory comes from another mount point then after both operation few files are not accessible and not listed on mount and more than one Directory have same gfid

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 26 11:49:26 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14031 committed in release-3.7 by Raghavendra
G (rgowdapp at redhat.com) 
------
commit 2fff1c41bbe1a355fe398df08f2a27844b925b47
Author: Sakshi Bansal <sabansal at redhat.com>
Date:   Wed Apr 13 16:40:40 2016 +0530

    quota: setting 'read-only' option in xdata to instruct DHT to not heal

    When quota is enabled the quota enforcer tries to get the size of the
    source directory by sending nameless lookup to quotad. But if the rename
    is successful even on one subvol or the source layout has anomalies then
    this nameless lookup in quotad tries to heal the directory which requires
    a lock on as many subvols as it can. But src is already locked as part of
    rename. For rename to proceed in brick it needs to complete a cluster-wide
    lookup. But cluster-wide lookup in quotad is blocked on locks held by
rename,
    hence a deadlock. To avoid this quota sends an option in xdata which
instructs
    DHT not to heal.

    Backport of http://review.gluster.org/#/c/13988/

    > Change-Id: I792f9322331def0b1f4e16e88deef55d0c9f17f0
    > BUG: 1252244
    > Signed-off-by: Sakshi Bansal <sabansal at redhat.com>
    > Reviewed-on: http://review.gluster.org/13988
    > 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>
    > Tested-by: Gluster Build System <jenkins at build.gluster.com>
    > Reviewed-by: Raghavendra G <rgowdapp at redhat.com>

    Change-Id: I792f9322331def0b1f4e16e88deef55d0c9f17f0
    BUG: 1328473
    Signed-off-by: Sakshi Bansal <sabansal at redhat.com>
    Reviewed-on: http://review.gluster.org/14031
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    Tested-by: Raghavendra G <rgowdapp 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=puu0gJ1pX5&a=cc_unsubscribe


More information about the Bugs mailing list