GitHub user zhangh43 opened a pull request:

    https://github.com/apache/incubator-hawq/pull/1096

    HAWQ-1282. Shared Input Scan may result in endless loop.

    There are residual process after running some queries. Through the call 
stack, we find that there is an endless loop in function writer_wait_for_acks() 
in shared input scan.
    This PR includes:
    1 add max retry times to avoid this problem.
    2 fix file handler leak in retry_read() and retry_write() of shared input 
scan.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zhangh43/incubator-hawq hawq1282

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-hawq/pull/1096.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 #1096
    
----
commit 0fef36c5f9dbd39d9cee99170886ce034c67f992
Author: hubertzhang <[email protected]>
Date:   2017-01-19T05:58:48Z

    HAWQ-1282. Shared Input Scan may result in endless loop.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to