diff options
author | Mohammed Rafi KC <rkavunga@redhat.com> | 2015-05-26 10:59:45 +0530 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2015-06-19 09:58:49 -0700 |
commit | 7aaa414c67be460aca3c1c5eed047e3db17bd435 (patch) | |
tree | 944b0cfbaec2e5b28230d36d33c481c2030bb9c3 /xlators/mgmt/glusterd/src/glusterd-volume-ops.c | |
parent | 2fea88d70b2fb9d479f539509ae930ac6f05eb5c (diff) |
glusterd/tier: configure tier daemon during volume restart
rebalance daemon will be running on every tier volume for
promoting/demoting the files. When volume/glusterd is restarted,
then we need to configure the daemon.
Change-Id: Ib565240a70edea2ec8bc1601c52b40c0783491d3
BUG: 1225330
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Signed-off-by: Joseph Fernandes <josferna@redhat.com>
Reviewed-on: http://review.gluster.org/10933
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-ops.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c index 13daceb42ad..a13ddcaff18 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c @@ -2425,6 +2425,10 @@ glusterd_op_start_volume (dict_t *dict, char **op_errstr) goto out; } + if (volinfo->type == GF_CLUSTER_TYPE_TIER) { + glusterd_restart_rebalance_for_volume (volinfo); + } + ret = glusterd_svcs_manager (volinfo); out: |