[Bugs] [Bug 1209113] Disperse volume: Invalid index errors in readdirp requests

bugzilla at redhat.com bugzilla at redhat.com
Sat Apr 11 09:13:09 UTC 2015


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



--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10165 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 4797cb1c9dbf3910952f9d28d8272ff83cd25e7b
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Wed Apr 8 21:42:49 2015 +0530

    cluster/ec: Fix readdir de-itransform

    Problem:
    gf_deitransform returns the glbal client-id in the complete graph. So
except
    for the first disperse subvolume under dht, all the other disperse
subvolumes
    will return a client-id greater than ec->nodes, so readdir will always
error
    out in those subvolumes.

    Fix:
    Get the client subvolume whose client-id matches the client-id returned by
    gf_deitransform of offset.

    Change-Id: I26aa17504352d48d7ff14b390b62f49d7ab2d699
    BUG: 1209113
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/10165
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>

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


More information about the Bugs mailing list