-
Hi friends, I have a question about sharding. If each server has ten shards and all of my data is in them, why can I lose two nodes, not 4? |
Beta Was this translation helpful? Give feedback.
Answered by
timvisee
May 28, 2024
Replies: 1 comment 4 replies
-
I should mention. I am confused because, in the dashboard, you can see all ten shardes marked as local and present on one node. node: 5 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Each single point is in all replicas of a single shard.
If you have a replication factor of 5, it means you have 5 copies of all your data across your nodes. 5 replications also mean that 4 nodes may fail without taking the whole cluster down.
Above you mention you have 5 nodes. In such case I'd recommend one of the two following configurations to minimize the amount of data on your cluster: