GitHub user rnewson opened a pull request:
https://github.com/apache/couchdb-couch-replicator/pull/58
Prevent couch_replicator_manager crashing when replicator db is deleted
couch_replicator_manager can crash in a couple of spots if the replicator
db is deleted between the time the scan finds it and the resume_scan message is
processed.
This patch also reverts the jitter patch which attempted to address this
situation.
COUCHDB-3311
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch-replicator
83663-crashes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-replicator/pull/58.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 #58
----
commit 1e413b8afa6eb156eb5293d1dc0d5726cd5063fc
Author: Robert Newson <[email protected]>
Date: 2017-03-01T11:15:55Z
Revert "Restore adding some jitter-ed sleep to shard scanning code."
This reverts commit 45d739af3fcf8b4f8e3ccca152cb3c2d781dc2fc.
commit 7a2b2b68bf4afa6d20b56a8ae51361f83981412a
Author: Robert Newson <[email protected]>
Date: 2017-03-01T11:14:02Z
fix crashes when replicator db is deleted
BugzID: 83663
----
---
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.
---