[Bugs] [Bug 1279376] Data Tiering:Rename of cold file to a hot file causing split brain and showing two copies of files in mount point

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 18 15:16:16 UTC 2015


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



--- Comment #7 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12551 committed in master by Dan Lambright
(dlambrig at redhat.com) 
------
commit a1e4be4d277c8150657f7b9fd4b72dcdd639523d
Author: N Balachandran <nbalacha at redhat.com>
Date:   Mon Nov 9 15:49:50 2015 +0530

    cluster/tier: Do not delete linkto file on demotion

    The current DHT migration code will always delete the
    src linkto file after migration as dht always moves
     files to the hashed subvol. This is not the case in tiering.
    The lack of linkto files causes rename to fail leaving 2 files
     with the same name but different gfids on the volume.
    Modified to leave the linkto file behind if the source
     volume is the hashed subvolume.

    Change-Id: I2b99f7d34b4b719aee6232dc40c6a8f8ba88225d
    BUG: 1279376
    Signed-off-by: N Balachandran <nbalacha at redhat.com>
    Reviewed-on: http://review.gluster.org/12551
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Tested-by: Dan Lambright <dlambrig at redhat.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.


More information about the Bugs mailing list