[Bugs] [Bug 1410688] [Mdcache] clients being served wrong information about a file, can lead to file inconsistency

bugzilla at redhat.com bugzilla at redhat.com
Tue Jan 17 14:55:50 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/16341 committed in release-3.9 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
------
commit bec0532b9536d91629cb502eec2f48c443ac3b49
Author: Poornima G <pgurusid at redhat.com>
Date:   Thu Jan 5 15:36:02 2017 +0530

    ec: Invalidations in disperse volume should not update the stat

    Backport of http://review.gluster.org/16329

    Issue:
    In disperse volume, the file is present across bricks, hence the stat
    from one brick doesn't carry the valid size of the file. Therefore
    the upcall from one brick updating the md-cache results in wrong size
    being updated.

    Fix:
    If the notification is cache invalidation then, indicate md-cache that
    the attributes is invalid.

    >Reviewed-on: http://review.gluster.org/16329
    >Smoke: Gluster Build System <jenkins at build.gluster.org>
    >NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    >Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
    >CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    >Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    (cherry picked from commit 95d07a3d2d68805d93d36a447436e27c48777939)

    BUG: 1410688
    Change-Id: Id89d2283478e70b62b435a8891fffc86d2be8cb2
    Signed-off-by: Poornima G <pgurusid at redhat.com>
    Reviewed-on: http://review.gluster.org/16341
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu 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=HxxFmdzp0O&a=cc_unsubscribe


More information about the Bugs mailing list