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 -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/517BA238-E029-4C8A-AEBD-DCD53554ACAB%40mac.com. For more options, visit https://groups.google.com/d/optout.
