Hi Team,
To resolve data inconsistencies we need to use persistTo and replicateTo in our application in java sdk.
Can you please provide a sample code on how these gonna work using java.
Thanks
Hi Team,
To resolve data inconsistencies we need to use persistTo and replicateTo in our application in java sdk.
Can you please provide a sample code on how these gonna work using java.
Thanks
I recommend you check out the documentation (i.e. https://developer.couchbase.com/documentation/server/5.1/sdk/java/document-operations.html)
You can easily do this on every mutation in the Java SDK like so: bucket.upsert(doc, PersistTo.MASTER, ReplicateTo.ONE); and so forth.
Hi @daschl,
Thanks for your response.
Few questions daschl…
Thanks
Kritesh