summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-tier.c
diff options
context:
space:
mode:
authorhari gowtham <hgowtham@redhat.com>2017-05-18 14:15:39 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2017-05-30 00:37:44 +0000
commit0a8b2db2d2c3993b25272a65fecad0d3d2866607 (patch)
treecfb9bba8ece7a26f36e0cf1a9acd904202036fe8 /xlators/mgmt/glusterd/src/glusterd-tier.c
parent2168729011a0e835a8bdbde9cae7aaddd78a414d (diff)
downloadglusterfs-0a8b2db2d2c3993b25272a65fecad0d3d2866607.tar.gz
glusterfs-0a8b2db2d2c3993b25272a65fecad0d3d2866607.tar.xz
glusterfs-0a8b2db2d2c3993b25272a65fecad0d3d2866607.zip
Tier: removing port allocated for tier
Problem: Tier has a port which it doesn't use. Fix: Remove the port getting allocated for tier. Change-Id: If0fe393fc335d9f622a063787e0a3c6db9b7a50c BUG: 1452006 Signed-off-by: hari gowtham <hgowtham@redhat.com> Reviewed-on: https://review.gluster.org/17328 Tested-by: hari gowtham <hari.gowtham005@gmail.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-tier.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-tier.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-tier.c b/xlators/mgmt/glusterd/src/glusterd-tier.c
index 5f9a08f190..59a4bc1b3e 100644
--- a/xlators/mgmt/glusterd/src/glusterd-tier.c
+++ b/xlators/mgmt/glusterd/src/glusterd-tier.c
@@ -1177,12 +1177,6 @@ glusterd_add_tierd_to_dict (glusterd_volinfo_t *volinfo,
if (ret)
goto out;
- memset (key, 0, sizeof (key));
- snprintf (key, sizeof (key), "%s.port", base_key);
- ret = dict_set_int32 (dict, key, volinfo->tierd.port);
- if (ret)
- goto out;
-
glusterd_svc_build_tierd_pidfile (volinfo, pidfile, sizeof (pidfile));
brick_online = gf_is_service_running (pidfile, &pid);