summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon/conf.py.in
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2016-12-06 12:11:35 +0530
committerAravinda VK <avishwan@redhat.com>2016-12-13 22:38:14 -0800
commit009454de29d6653e07ac090af1c5d233c7150dd4 (patch)
treeaae0837ddd94c1c0686520f33d7e84d7ce8ac0fa /geo-replication/syncdaemon/conf.py.in
parenta0a4163ce6a8dd8bb83b60a4484578fadd02c88f (diff)
geo-rep: Use Host UUID to find local Gluster node
To spawn workers for each local brick, Geo-rep was collecting all the machine IPs based on hostname and finds based on the connectivity. With this patch, Geo-rep finds local brick if host UUID matches with UUID of the brick from Volume info. BUG: 1401801 Change-Id: Ic83c65df89e43cb86346e3ede227aa84d17ffd79 Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/16035 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'geo-replication/syncdaemon/conf.py.in')
-rw-r--r--geo-replication/syncdaemon/conf.py.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/conf.py.in b/geo-replication/syncdaemon/conf.py.in
index 88072789496..9b7c64df9d7 100644
--- a/geo-replication/syncdaemon/conf.py.in
+++ b/geo-replication/syncdaemon/conf.py.in
@@ -12,3 +12,4 @@ GLUSTERFS_LIBEXECDIR = '@GLUSTERFS_LIBEXECDIR@'
GLUSTERD_WORKDIR = "@GLUSTERD_WORKDIR@"
LOCALSTATEDIR = "@localstatedir@"
+UUID_FILE = "@GLUSTERD_WORKDIR@/glusterd.info"