Hi Couch base Experts,
We have got two clusters with replication on, we want to identify which cluster, our java application is writing to. So we are thinking of adding an unique document to each cluster, we can then query the document to find out name of the cluster. But issue is, with replication on, both documents would become available in both clusters and our logic to identify cluster based on existence of a document will fail. Has anyone faced similar issue before? can we turn off replication for a particular set of documents?
You could set cluster name in settings on admin UI:
And then you could query it via REST call