|
|
3604df |
From f72331f4acbdf2794f6373f552da9e5355fef6e2 Mon Sep 17 00:00:00 2001
|
|
|
3604df |
From: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
|
|
|
3604df |
Date: Fri, 16 Sep 2016 12:55:37 +0530
|
|
|
3604df |
Subject: [PATCH 38/86] extras: kill gsyncd before glusterfsd
|
|
|
3604df |
|
|
|
3604df |
It's a good practice to kill gsyncd before brick process, else we see
|
|
|
3604df |
unnecessary loops and logs of bring up the faulty bricks
|
|
|
3604df |
|
|
|
3604df |
Backport of:
|
|
|
3604df |
> Change-Id: I2d2176f2bf5014f3afd622194a8b2d60c86926af
|
|
|
3604df |
> BUG: 1367771
|
|
|
3604df |
> Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
|
|
|
3604df |
> Reviewed-on: http://review.gluster.org/15187
|
|
|
3604df |
> Tested-by: Prasanna Kumar Kalever <pkalever@redhat.com>
|
|
|
3604df |
> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
|
|
|
3604df |
> Smoke: Gluster Build System <jenkins@build.gluster.org>
|
|
|
3604df |
> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
|
|
|
3604df |
> Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
3604df |
> Reviewed-by: Kotresh HR <khiremat@redhat.com>
|
|
|
3604df |
|
|
|
3604df |
Change-Id: I2d2176f2bf5014f3afd622194a8b2d60c86926af
|
|
|
3604df |
BUG: 1294754
|
|
|
3604df |
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
|
|
|
3604df |
Reviewed-on: https://code.engineering.redhat.com/gerrit/84767
|
|
|
3604df |
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
3604df |
---
|
|
|
3604df |
extras/stop-all-gluster-processes.sh | 4 ++--
|
|
|
3604df |
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
3604df |
|
|
|
3604df |
diff --git a/extras/stop-all-gluster-processes.sh b/extras/stop-all-gluster-processes.sh
|
|
|
3604df |
index f11c634..69fd601 100755
|
|
|
3604df |
--- a/extras/stop-all-gluster-processes.sh
|
|
|
3604df |
+++ b/extras/stop-all-gluster-processes.sh
|
|
|
3604df |
@@ -176,16 +176,16 @@ main()
|
|
|
3604df |
shift $((OPTIND-1))
|
|
|
3604df |
|
|
|
3604df |
kill_mounts TERM
|
|
|
3604df |
- kill_bricks_and_services TERM
|
|
|
3604df |
kill_georep_gsync TERM
|
|
|
3604df |
+ kill_bricks_and_services TERM
|
|
|
3604df |
|
|
|
3604df |
sleep 5;
|
|
|
3604df |
echo ""
|
|
|
3604df |
|
|
|
3604df |
# still not Terminated? let's pass SIGKILL
|
|
|
3604df |
kill_mounts KILL
|
|
|
3604df |
- kill_bricks_and_services KILL
|
|
|
3604df |
kill_georep_gsync KILL
|
|
|
3604df |
+ kill_bricks_and_services KILL
|
|
|
3604df |
|
|
|
3604df |
exit ${errors};
|
|
|
3604df |
}
|
|
|
3604df |
--
|
|
|
3604df |
1.7.1
|
|
|
3604df |
|