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

pendingDocumentIDs is incorrect #1274

Closed
666tos opened this issue Jun 6, 2016 · 1 comment
Closed

pendingDocumentIDs is incorrect #1274

666tos opened this issue Jun 6, 2016 · 1 comment

Comments

@666tos
Copy link

666tos commented Jun 6, 2016

When syncing database for the first time (just pulling), pendingDocumentIDs of push replication contains all documents which were pulled.
changesCount is actually 0
When stopping/starting replication pendingDocumentIDs are cleaned up.

Also, noticed that pendingDocumentIDs sometimes don't clean up properly and some documents are never removed


  • Version: 1.2.1
  • Client OS: iOS 9.3.1
  • Server: 4.1
@snej
Copy link
Contributor

snej commented Jun 6, 2016

This must be related to echo suppression, where docs inserted by a pull shouldn't be pushed back. When the pusher skips over the pulled revision, it sounds like it isn't advancing the last-sequence checkpoint past it.

pendingDocumentIDs was re-implemented a few months ago in commit f7dc8dc, but this isn't in a release yet (it'll be in 1.3), and I suspect it still has the same problem.

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

No branches or pull requests

3 participants