diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2014-06-16 17:39:08 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-06-16 10:03:12 -0700 |
commit | 6e33d855815726bd8ebf1c7cdc3cf233ff7ac231 (patch) | |
tree | bee06a88b3e0754af4cbaa055f30fde8600aef4b /xlators/mgmt/glusterd/src/glusterd-sm.h | |
parent | de22a20a76f5cf0af3ca2898f0bfd8324a191e0c (diff) |
glusterd: Fail peer probe/detach commands when peer detach is ongoing
Change-Id: Ifd8099bc235eb395e8fd9ead3197bef71c78042b
BUG: 1109812
Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-on: http://review.gluster.org/8079
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-sm.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-sm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-sm.h b/xlators/mgmt/glusterd/src/glusterd-sm.h index f903668e9ec..6b3b61dfc5c 100644 --- a/xlators/mgmt/glusterd/src/glusterd-sm.h +++ b/xlators/mgmt/glusterd/src/glusterd-sm.h @@ -97,6 +97,7 @@ struct glusterd_peerinfo_ { gf_boolean_t quorum_action; gd_quorum_contrib_t quorum_contrib; gf_boolean_t locked; + gf_boolean_t detaching; }; typedef struct glusterd_peerinfo_ glusterd_peerinfo_t; |