How to enable replication? I really couldn't find this


#1

Hello. I can’t find where to add replication between two servers. If I add another node to the cluster, data will split between them like half and half.

The only place that I found to add a replica was on XCDR page, but it looks like there is for replications between nodes from different clusters.

So, how do I do this?
thanks.


#2

Couchbase distinguishes between replication at a cluster level and replication between clusters (since they have very different approaches and thus need to be managed differently).

Within a cluster, when you create a bucket you can set how many replicas you’ll have within that bucket. When you add a node and rebalance, the number of replicas is maintained, so no additional setup is needed. Couchbase does it for you automatically.