This time, suppose you define one replica shard.
这一次,假设您定义一个复制碎片。
The other 51 replica shards are also moved to the second container so that you have balance, and, for each shard, its primary and replica are in separate containers.
另外51个复制碎片也移动到第二个容器以便平衡,对于每个碎片,它的主碎片和复制碎片都位于不同的容器中。
Replica shards are backup copies of all the data in the primary shard, and their main purpose is to recover from a primary shard failure to provide high availability.
复制碎片是主碎片中所有数据的备份副本,它们的主要目的是从主碎片失败中恢复,提供高可用性。
应用推荐