Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_changes with doc_ids filter does not return deleted docs #1702

Closed
snej opened this issue Apr 17, 2016 · 1 comment · Fixed by #1717
Closed

_changes with doc_ids filter does not return deleted docs #1702

snej opened this issue Apr 17, 2016 · 1 comment · Fixed by #1717
Assignees
Labels
Milestone

Comments

@snej
Copy link
Contributor

snej commented Apr 17, 2016

A request to _changes using filter=_doc_ids does not return any entries for deleted documents. This will cause problems for clients using this mode to pull a specific set of documents, because they won't find out when one of those documents is deleted.

I compared with CouchDB 1.6.1 — it does return entries for deleted documents in this case.

@snej
Copy link
Contributor Author

snej commented Apr 17, 2016

I have a new CBL/iOS unit test that reproduce this problem, but I'm going to have to comment out the bit that requests a deleted doc, in order to get the test to pass with the current Sync Gateway. The test is -[ChangeTrackerTests test_docIDs], in case you want to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants