Repository: incubator-hawq Updated Branches: refs/heads/master a3a5acbc9 -> 9476a0134
HAWQ-1460. WAL Send Server process should exit if postmaster on master is killed Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/9476a013 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/9476a013 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/9476a013 Branch: refs/heads/master Commit: 9476a013439f43e8a151bbbab9813c0ef8440e6c Parents: a3a5acb Author: Paul Guo <[email protected]> Authored: Wed May 10 12:12:14 2017 +0800 Committer: Paul Guo <[email protected]> Committed: Wed May 10 15:25:49 2017 +0800 ---------------------------------------------------------------------- src/backend/postmaster/walsendserver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/9476a013/src/backend/postmaster/walsendserver.c ---------------------------------------------------------------------- diff --git a/src/backend/postmaster/walsendserver.c b/src/backend/postmaster/walsendserver.c index 6f8d1ab..26d8e2e 100644 --- a/src/backend/postmaster/walsendserver.c +++ b/src/backend/postmaster/walsendserver.c @@ -306,8 +306,9 @@ WalSendServer_ServicePostmasterDied(void) */ ereport(LOG, (errmsg("exiting because postmaster has died"))); - proc_exit(1); } + + proc_exit(1); } //==============================================================================
