[Bugs] [Bug 1147420] geo-rep: file with same name has diffrent gfid in master and slave

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 30 06:33:01 UTC 2014


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8879 committed in release-3.6 by Vijay Bellur
(vbellur at redhat.com) 
------
commit c3bc8b52b560463706a409836ff7e4118695cb0a
Author: Aravinda VK <avishwan at redhat.com>
Date:   Wed Sep 17 12:59:52 2014 +0530

    geo-rep: fix same file different gfid in master and slave

    While processing RENAME in changelog, if the file is unlinked
    in master, then geo-rep was sending UNLINK to slave instead of
    RENAME.

    If rsync job fails if one of the file failed to sync in the job.
    This patch adds logic to remove GFID from data list if the same
    changelog has UNLINK entry for it after the DATA. Or it removes
    those GFIDs during retry of changelogs processing.

    BUG: 1147420
    Change-Id: I982dc976397cd0ab676bb912583f66a28f821926
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-on: http://review.gluster.org/8761
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
    Reviewed-by: Kotresh HR <khiremat at redhat.com>
    Reviewed-by: Venky Shankar <vshankar at redhat.com>
    Tested-by: Venky Shankar <vshankar at redhat.com>
    Reviewed-on: http://review.gluster.org/8879
    Reviewed-by: Vijay Bellur <vbellur 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=g8w4s5JAKo&a=cc_unsubscribe


More information about the Bugs mailing list