GitHub user mikewallace1979 opened a pull request:
https://github.com/apache/couchdb-couch/pull/11
2365 fix failed multipart process leak
Test is added in a separate commit to make verifying the fix easier - the
two commits will be squashed together before merge.
COUCHDB-2365
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/couchdb-couch
2365-fix-failed-multipart-process-leak
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch/pull/11.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 #11
----
commit 8f9bd3e6c762b58a2d7d3bdc06131a606d904783
Author: Mike Wallace <[email protected]>
Date: 2014-10-07T22:45:11Z
[squash] Add a test for COUCHDB-2365
commit fd7f88895240b6fb5f8672ab48d8d18655803ee9
Author: Mike Wallace <[email protected]>
Date: 2014-10-07T16:09:34Z
Make couch_stream monitor the stream opener
This commit fixes a process leak which would happen when a process
opened a couch_stream and exited with reason normal before closing
the stream.
This patch makes the couch_stream gen_server monitor the process
which opens the stream. When that monitor sends an exit signal
the couch_stream gen_server is stopped and the process dies.
Closes COUCHDB-2365
----
---
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.
---