[Bugs] [Bug 1365740] dht: Update stbuf from servers having layout

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 9 12:20:25 UTC 2016


--- Comment #8 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15126 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
commit 36af81ac7cb2d459f9bfc0c436f0038a68f85235
Author: Susant Palai <spalai at redhat.com>
Date:   Mon Aug 8 17:05:10 2016 +0530

    dht: udpate stbuf from servers those have layout

    Problem: For healing of uid/gid we check if local->stbuf.ia_ctime is
    lesser than stbuf->ia_ctime (received from brick). If yes then uid/gid
    is updated to local->prebuf(source of healing).

    But we merge local->stbuf also form the newly added brick. So if we
    receive response from the newly added brick first and update the
    local->stbuf, then local->prebuf will remain empty since the newly added
    brick will have the latest ctime among all servers. And this can result
    in healing wrong uid/gids to the rest of servers.

    Hence, we should update local->stbuf from servers with a layout which
    will ignore merging stbufs from newly added bricks.

    Change-Id: If4b64f75a0ea669abdbe9f5a3d1d18ff19374c2f
    BUG: 1365740
    Signed-off-by: Susant Palai <spalai at redhat.com>
    Reviewed-on: http://review.gluster.org/15126
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-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=BxKUNdDT3Y&a=cc_unsubscribe

More information about the Bugs mailing list