How replication and vbuckets works
for me is unclear how actually works replication.
Let's say that I have 4 servers: A1, A2, B1, B2. On each I have (for example) 1 GB. A want have A1 and A2 in one vbucket (so total size for using will be 2 GB). Both servers will be replicated to B (B1 and B2). So I have 1 replica of 2 servers.
How I do this?
Now in settings, I set first node (A1) and set 1 replica. In next steps I add servers A2, B1 and B2. It's ok? What actually means "Join cluster"? How I determine decomposition on servers? Or in how order I must add servers A2, B1 and B2 to do this?