[Bugs] [Bug 1230242] `ls' on a directory which has files with mismatching gfid's does not list anything

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 15 16:29:02 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11162 committed in release-3.6 by Raghavendra
Bhat (raghavendra at redhat.com) 
------
commit 83778a592f75ef18ce5e22e14adc9bf118705a17
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Wed Jun 10 18:34:52 2015 +0530

    afr: allow readdir to proceed for directories in split-brain

    Problem:
    afr_read_txn() bails out if read_subvol==-1. This meant that for
    directories that were in entry split-brain, FOPS like readdir, access,
    stat etc were not allowed.

    Fix:
    Except for getxattr, all other FOPS are wound on the first up child
    of afr.

    Change-Id: Iacec8fbb1e75c4d2094baa304f62331c81a6f670
    BUG: 1230242
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: http://review.gluster.org/10776
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    Reviewed-by: Anuradha Talur <atalur at redhat.com>
    (cherry picked from commit 49b428433a03fcf709fdc8c08603b4cf02198e0a)
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: http://review.gluster.org/11162
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Raghavendra Bhat <raghavendra 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=Jf286UNKfM&a=cc_unsubscribe


More information about the Bugs mailing list