You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Paul Guo (JIRA)" <ji...@apache.org> on 2017/05/09 08:52:04 UTC

[jira] [Created] (HAWQ-1460) WAL Send Server process should exit if postmaster on master is killed

Paul Guo created HAWQ-1460:
------------------------------

             Summary: WAL Send Server process should exit if postmaster on master is killed
                 Key: HAWQ-1460
                 URL: https://issues.apache.org/jira/browse/HAWQ-1460
             Project: Apache HAWQ
          Issue Type: Bug
          Components: Core
            Reporter: Paul Guo
            Assignee: Ed Espino
             Fix For: 2.3.0.0-incubating


If we kill the postmaster on master, we will see two processes keep running.

pguo      44007      1  0 16:35 ?        00:00:00 postgres: port  5432, master logger process
pguo      44014      1  0 16:35 ?        00:00:00 postgres: port  5432, WAL Send Server process

Well, maybe we should exit the "WAL Send Server process" so that the processes on master are all gone via checking PostmasterIsAlive() in its loop code.

Note in distributed system any process could be killed at any time without any callback, handler etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)