I have a 4 node cluster. My goal is to have 2 shards with two replicas
each and only allowing 1 core on each node. I have a cluster policy set to:
[{"replica":"2", "shard": "#EACH", "collection":"test",
"port":"8983"},{"cores":"1", "node":"#ANY"}]
I then manually create a collection with:
name
My scenario is:
- 60 GB collection
- 2 shards of ~30GB
- Each shard having 2 replicas so I have a backup
- So I have 4 nodes with each node holding a single core
My goal is to have autoscaling handle when I lose a node. So upon loss of
a node the nodeLost event deletes the node. The