Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1460

WAL Send Server process should exit if postmaster on master is killed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0.0-incubating
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Paul Guo Paul Guo
                Reporter:
                Paul Guo Paul Guo
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: