[Bugs] [Bug 1247882] [geo-rep]: killing brick from replica pair makes geo-rep session faulty with Traceback "ChangelogException"

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 6 05:50:03 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11784 committed in release-3.7 by Venky
Shankar (vshankar at redhat.com) 
------
commit b7118970edab7c3ab9c7039ef340c40326ff6930
Author: Kotresh HR <khiremat at redhat.com>
Date:   Fri Jul 3 16:32:56 2015 +0530

    geo-rep: Fix history failure

    Both ACTIVE and PASSIVE workers register to changelog
    at almost same time. When PASSIVE worker becomes ACTIVE,
    the start and end time would be current stime and register_time
    repectively for history API. Hence register_time would be less
    then stime for which history obviously fails. But it will
    be successful for the next restart as new register_time > stime.

    Fix is to pass current time as the end time to history call
    instead of the register_time.

    Also improvised the logging for ACTIVE/PASSIVE switching.

    BUG: 1247882
    Change-Id: I40c582cc32fe29a6c30340ec81a3b5d30e461e71
    Reviewed-on: http://review.gluster.org/11524
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-by: Venky Shankar <vshankar at redhat.com>
    Signed-off-by: Kotresh HR <khiremat at redhat.com>
    Reviewed-on: http://review.gluster.org/11784
    Reviewed-by: Milind Changire <mchangir 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=hkzvwsnlae&a=cc_unsubscribe


More information about the Bugs mailing list