Objects lost in couchbase


#1

Hi,
We are using Couch 4.0 for transnational data processing application. Sometimes we find objects are getting lost.
Ex, we create customer and thereafter create and account and tag it to customer. When trying to tag to customer we find customer object is not there in couch.

Can anyone let us know the reason for that?


#2

If you try to tag the object right away you might have consistency issue. You should use k/v access for strong consistency. Or query with the right options (stale to false for views and scan_consistency=request_plus for n1ql).