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

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 2 10:53:32 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14565 committed in release-3.8 by Aravinda VK
(avishwan at redhat.com) 
------
commit a8d86daf45d4999b885c799307df4ab1abfd25f4
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: 1341108
    Reviewed-on: http://review.gluster.org/#/c/14558/
    Signed-off-by: Saravanakumar Arumugam <sarumuga at redhat.com>
    Reviewed-on: http://review.gluster.org/14565
    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: 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=GgxVZYkdAp&a=cc_unsubscribe


More information about the Bugs mailing list