couchdb icon indicating copy to clipboard operation
couchdb copied to clipboard

Couch DB scan inconsistency issue

Open vipulbalina opened this issue 2 years ago • 1 comments

Hi Team,

Currently I am facing the issue where the first time I upload a document and write to query all the information( or node details) are not coming up. But when I update the information I am getting all the details.

I have read on internet about the scan inconsistency as the issue. Please can you let me know the fix.

https://stackoverflow.com/questions/48297158/couchbase-sync-gateway-after-make-some-update-in-document-i-not-get-immediate

Vipul

vipulbalina avatar Aug 30 '22 03:08 vipulbalina

I wasn't able to tell if it's the _view results query you're asking about. If it is, when you're updating documents, it may take some time for the documents to be indexed. You can don't mind receiving stale results a bit you can use the update=false parameter. See https://docs.couchdb.org/en/stable/maintenance/performance.html#views for more details.

It maybe be helpful if you could provide specific steps to reproduce or at least specific API calls.

nickva avatar Sep 01 '22 16:09 nickva

Closing since there is no activity in a few months

nickva avatar Dec 02 '22 20:12 nickva