From e1cc4275583dfd8ae8d0433587f39854c1851794 Mon Sep 17 00:00:00 2001 From: Hari Gowtham Date: Thu, 2 May 2019 18:33:34 +0530 Subject: glusterd/tier: remove tier related code from glusterd The handler functions are pointed to dummy functions. The switch case handling for tier also have been moved to point default case to avoid issues, if reintroduced. The tier changes in DHT still remain as such. updates: bz#1693692 Change-Id: I80d80c9a3eb862b4440a36b31ae82b2e9d92e4dc Signed-off-by: Hari Gowtham --- xlators/mgmt/glusterd/src/glusterd-sm.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-sm.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-sm.c b/xlators/mgmt/glusterd/src/glusterd-sm.c index 6f916b634c1..bb9b5cbf300 100644 --- a/xlators/mgmt/glusterd/src/glusterd-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-sm.c @@ -738,16 +738,6 @@ glusterd_peer_detach_cleanup(glusterd_conf_t *priv) } } - if (volinfo->type == GF_CLUSTER_TYPE_TIER) { - svc = &(volinfo->tierd.svc); - ret = svc->stop(svc, SIGTERM); - if (ret) { - gf_msg(THIS->name, GF_LOG_ERROR, 0, GD_MSG_SVC_STOP_FAIL, - "Failed " - "to stop tierd daemon service"); - } - } - if (glusterd_is_shd_compatible_volume(volinfo)) { svc = &(volinfo->shd.svc); ret = svc->stop(svc, SIGTERM); -- cgit