GitHub user iilyak opened a pull request:
https://github.com/apache/couchdb-couch-epi/pull/4
The race condition between providers is fixed
In previous design there is a race condition between the time we read the
current definitions in the generated module and the time we compile new
version of it. This race led to overwriting of data of already
configured providers.
This commit fixes the issue by introducing couch_epi_module_keeper
process. This process is named by generated module name and it is
essentially a requests serializer.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch-epi fix-race-condition
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-epi/pull/4.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 #4
----
commit 0ed4dfd943beceda8234ad1b37d0a17a79fcf5e6
Author: ILYA Khlopotov <[email protected]>
Date: 2015-07-14T15:27:37Z
The race condition between providers is fixed
In previous design there is a race condition between the time we read the
current definitions in the generated module and the time we compile new
version of it. This race led to overwriting of data of already
configured providers.
This commit fixes the issue by introducing couch_epi_module_keeper
process. This process is named by generated module name and it is
essentially a requests serializer.
----
---
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.
---