[Bugs] [Bug 1306398] Tiering and AFR may result in data loss

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 22 20:55:46 UTC 2016


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



--- Comment #10 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/13425 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit 413594ed647400f1b39e05d4f1b12ad846e48800
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Tue Aug 16 16:04:37 2016 +0530

    cluster/afr: Give option to do consistent-io

    Problem:
    When tiering/rebalance does migrations and afr with 2-way replica is in
    picture, migration can read stale data if the source brick goes down and
writes
    to the destination. After this deletion of the file leads to permanent loss
of
    data after migration.

    Fix:
    Rebalance/tiering should migrate only when the data is definitely not
stale. So
    introduce an option in afr called consistent-io which will be enabled in
    migration daemons.

    BUG: 1306398
    Change-Id: I750f65091cc70a3ed4bf3c12f83d0949af43920a
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/13425
    Reviewed-by: Anuradha Talur <atalur at redhat.com>
    Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
    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>

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


More information about the Bugs mailing list