GitHub user iilyak opened a pull request:
https://github.com/apache/couchdb-fabric/pull/62
Use the correct sequence for shard replacement
Cherry-pick from Cloudant to 2.0
The call to unpack the since sequence for _changes incorrectly filtered
the value for any shard that didn't exist. This means that any shard
that was moved ended up requiring a complete rescan which is a bug. This
just sets the update sequence to the range of the shard being replaced
rather than zero.
COUCHDB-3055
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-fabric
44287-use-correct-sequence-for-shard-replacement
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fabric/pull/62.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 #62
----
commit 5d0995966c117e3cf946216aff41116c2020c212
Author: Paul J. Davis <[email protected]>
Date: 2015-02-11T03:49:40Z
Use the correct sequence for shard replacement
The call to unpack the since sequence for _changes incorrectly filtered
the value for any shard that didn't exist. This means that any shard
that was moved ended up requiring a complete rescan which is a bug. This
just sets the update sequence to the range of the shard being replaced
rather than zero.
COUCHDB-3055
----
---
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.
---