diff options
author | Sanju Rakonde <srakonde@redhat.com> | 2018-10-23 11:50:37 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-10-23 10:54:47 +0000 |
commit | bd4d8b182662e08cccc57efa1616651df448b445 (patch) | |
tree | 211df632a4eaf9706ca52bafe91d7f87ea01f67c /xlators/mgmt/glusterd/src/glusterd-volume-ops.c | |
parent | 874ce6ef6e33f1493c888760714503ac992b708d (diff) |
glusterd: improve logging for stage_deleted flag
Change-Id: I5f0667a47ddd24cb00949c875c19f3d1dbd8d603
fixes: bz#1605077
Signed-off-by: Sanju Rakonde <srakonde@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 a6561e101d5..101ce0159cb 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c @@ -1907,6 +1907,10 @@ glusterd_op_stage_delete_volume(dict_t *dict, char **op_errstr) goto out; } volinfo->stage_deleted = _gf_true; + gf_log(this->name, GF_LOG_INFO, + "Setting stage deleted flag to true for " + "volume %s", + volinfo->volname); ret = 0; out: |