GitHub user kuien opened a pull request:
https://github.com/apache/incubator-hawq/pull/1290
HAWQ-1529. Fix segment resource manager hang when postmaster died
If PostmasterIsAlive() is under implicit declaration, %eax (32-bits) will
be used for comparison rather than %al (8-bits), BUT PostmasterIsAlive() only
set the lower 8-bits (because 'bool' is really a 'char'). Then segment resource
manager will never exit after postmaster died.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kuien/incubator-hawq rmseg
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/1290.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1290
commit 010a493e483785a49cbfadd33bc62c1c1e4b5321
Author: Kuien Liu
Date: 2017-09-25T08:40:54Z
HAWQ-1529. Fix segment resource manager hang when postmaster died
Change-Id: I418f55bdbcc927bbe3b892d77fb99f5b60c1f1eb
---