[Bugs] [Bug 1340853] [geo-rep]: If the session is renamed, geo-rep configuration are not retained

bugzilla at redhat.com bugzilla at redhat.com
Tue May 31 10:10:55 UTC 2016


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



--- Comment #5 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14558 committed in master by Aravinda VK
(avishwan at redhat.com) 
------
commit d6442d8f4ac6d892cf5adc55ea5c34dcb01e1f26
Author: Saravanakumar Arumugam <sarumuga at redhat.com>
Date:   Mon May 30 17:34:24 2016 +0530

    geo-rep: update peers section in gsyncd conf

    Problem:
    Once Slave volume uuid is involved as part of a geo-rep session, it is
    possible to create the same geo-rep session with different (slave)host.

    But, it reflects default values for geo-rep configuration values originally
    configured for old geo-rep session.
    Reason is, slave host is used while saving config options in gsyncd.conf.
    With new slave host, it is not possible to retrieve those config values.

    Solution:
    Remove slave host related information from gsyncd.conf and have only master
    volume and slave volume as part of peers section.

    Also, during upgrade from old geo-rep session, update peers section to
    reflect only master volume and slave volume.

    Change-Id: I7debf35a09a28d030b706b0c3e5d82c9b0467d0e
    BUG: 1340853
    Signed-off-by: Saravanakumar Arumugam <sarumuga at redhat.com>
    Reviewed-on: http://review.gluster.org/14558
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Kotresh HR <khiremat at redhat.com>
    Reviewed-by: Aravinda VK <avishwan 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=hzDYBKmKzg&a=cc_unsubscribe


More information about the Bugs mailing list