devlist
unread,Jan 8, 2018, 7:19:28 AM1/8/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Couchbase Mobile
Not really a mobile question, but we need to find out what is going wrong with Couchbase 5.
The new release means we can update documents in the bucket without needing a shadow bucket.
Couchbase 5.0.0 or 5.0.1
Bucket with no Sync Gateway.
Create a new document via REST or web GUI and the CB revision is NOT 1. It could be 5 or 473 for example.
This is without XDCR enabled.
I suspect what is happening is that the document is created with rev 1, but then it’s internally updated multiple times for some reason.
I think this because if XDCR is enabled the copy created on the other CB server has rev 1 !
This weird behaviour totally messes up XDCR as this sequence occurs…
Create a new doc on Server A, rev is 5.
XDCR doc appears on Server B, rev is 1.
Update or delete doc on Server B rev is 2.
Rev 2 is lower than 5 so doc is never synced and doc on Server A is stale.
Update or delete doc on Server A rev is 6.
XDCR doc appears on Server B, rev is 6.
If we remove manually all the documents the behaviour stays broken.
If we purge the bucket then add a document the revision ID is 1.
But then after a while this fault returns.
Any one using CB 5 ?
In Couchbase is there a way to show revision history (like there is in CBL)
Thanks,
Martin