-
Notifications
You must be signed in to change notification settings - Fork 1k
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 feed has negative pending value #513
Comments
I'm not entirely sure about |
What @dmunch says is correct - we do not guarantee strict ordering, but we do guarantee that for any specific given document, you will get a consistent order from us such that the changes can be replayed in an idempotent fashion. However, the negative pending value is unexplained, and I'm changing the bug report title to reflect that as the ongoing concern in this issue. |
Per IRC chat with @davisp:
In other words, both behaviours are expected with CouchDB 2.0. |
Hi folks,
I'm running a test in which two entries are updated in the following order: test1, test2.
when I query http://127.0.0.1:5984/doctrine_test_database/_changes
Sometimes I get this order:
sometimes this:
Assuming that the documentation says that I must use descending=true to sort by the most recent change, and there's no ascending parameter, so it should be always sorted in ascending way.
The descending parameter is not working properly as well
Besides the order is wrong (should be test2,test1) the pending value is -2 but there are only two changes.
The text was updated successfully, but these errors were encountered: