Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#5272) fix checkpointing against Cloudant/CouchDB 2.0
An attempt to provide a better fix for #5145. It seems like it's safe to eagerly write a checkpoint in the event there are no changes returned (e.g. because a filter did not generate results). This also removes some assertions around last_seq / since values in the tests, since they don't hold in CouchDB 2.x / Cloudant. This at least allows the tests to pass - possibly this means we need more tests to cover situations where a small number of docs are returned.
- Loading branch information
1 parent
3485f34
commit a893456
Showing
2 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters