XDCR and document version

Hello, I’m using multiple nodes of couchbase server connected with XDCR. I can’t find the way to determine that the document which the application is working with is up-to-date.
One application writes the data on node A, then it sends message to other application on the node B. How can the other application be sure that the document on the node B is up-to-date? I’ve tried to use CAS values, but they are different on nodes that connected with XDCR.

1 Like