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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0.0-incubating
    • Core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: