diff options
author | Gaurav Kumar Garg <garg.gaurav52@gmail.com> | 2015-08-21 19:03:03 +0530 |
---|---|---|
committer | Krishnan Parthasarathi <kparthas@redhat.com> | 2015-08-26 04:58:03 -0700 |
commit | 9d71c362b11544494b3fe68477cc47abe3bb2cde (patch) | |
tree | e0a374d6f73cdc0c842422af46e168bf3d0bd45e /tests/volume.rc | |
parent | 27b455dc369f60d36d83c6bcbc10245dfe733f46 (diff) |
glusterd: stop all the daemons services on peer detach
Backport of: http://review.gluster.org/#/c/11509/
Currently glusterd is not stopping all the deamon service on peer detach
With this fix it will do peer detach cleanup properlly and will stop all
the daemon which was running before peer detach on the node.
Change-Id: Ifed403ed09187e84f2a60bf63135156ad1f15775
BUG: 1238706
Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com>
Reviewed-on: http://review.gluster.org/11971
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index 10fa11d3b0a..e4791703880 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -547,6 +547,14 @@ function get_quotad_count { ps auxww | grep glusterfs | grep quotad.pid | grep -v grep | wc -l } +function get_nfs_count { + ps auxww | grep glusterfs | grep nfs.pid | grep -v grep | wc -l +} + +function get_snapd_count { + ps auxww | grep glusterfs | grep snapd.pid | grep -v grep | wc -l +} + function quota_list_field () { local QUOTA_PATH=$1 local FIELD=$2 @@ -589,12 +597,4 @@ function quota_hl_exceeded() } -function get_nfs_count { - ps auxww | grep glusterfs | grep nfs.pid | grep -v grep | wc -l -} - -function get_snapd_count { - ps auxww | grep glusterfs | grep snapd.pid | grep -v grep | wc -l -} - |