[Bugs] [Bug 1283480] 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
Thu Nov 19 06:00:08 UTC 2015


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12655 committed in release-3.7 by Dan
Lambright (dlambrig at redhat.com) 
------
commit 79103a0f9eea2af4c68710e602f78963471ecec7
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
    > 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>

    Change-Id: I210b94cdae0409c87af8ba198e3cd263a6c85190
    BUG: 1283480
    Signed-off-by: N Balachandran <nbalacha at redhat.com>
    Reviewed-on: http://review.gluster.org/12655
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    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