[Bugs] [Bug 1357773] [georep]: If a georep session is recreated the existing files which are deleted from slave doesn 't get sync again from master

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 3 09:32:29 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14953 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com) 
------
commit 2ea73c9982a30dd9a64f35c0bd19563ce5709175
Author: Milind Changire <mchangir at redhat.com>
Date:   Tue Aug 2 11:23:07 2016 +0530

    georep: add reset-sync-time option for session delete

    Set the stime xattr at all the brick roots to (0,0) if the argument
    reset-sync-time has been provided on the command-line.
    To avoid testing against directory specific stime, the remote
    stime is assumed to be minus_infinity, if the root directory
    stime is set to (0,0), before the directory scan begins.
    This triggers a full volume resync to slave in the case of a
    geo-rep session recreation with the same master-slave volume
    pair.

    Command synopsis:
    gluster volume geo-replication <MASTERVOL> <SLAVE>::<SLAVEVOL> delete \
        [reset-sync-time]

    Update gluster cli man page to include new sub-command reset-sync-time.

    > Reviewed-on: http://review.gluster.org/14051
    > 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>
    > Reviewed-by: Aravinda VK <avishwan at redhat.com>
    > Reviewed-by: Kotresh HR <khiremat at redhat.com>

    (cherry picked from commit 70fd68d94f768c098b3178c151fa92c5079a8cfd)

    Change-Id: Ie4ce03b9425ed9bb81eda8681058c0fc6f990948
    BUG: 1357773
    Signed-off-by: Milind Changire <mchangir at redhat.com>
    Reviewed-on: http://review.gluster.org/14953
    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>
    Reviewed-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-by: Niels de Vos <ndevos 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=ch5NYJPi1b&a=cc_unsubscribe


More information about the Bugs mailing list