You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -3154,14 +3156,7 @@ The ``sharding`` section defines configuration parameters related to :ref:`shard
3154
3156
.. confval:: sharding.bucket_count
3155
3157
3156
3158
The total number of buckets in a cluster.
3157
-
3158
-
``sharding.bucket_count`` should be several orders of magnitude larger than the potential number of cluster nodes, considering potential scaling out in the future.
3159
-
3160
-
If the estimated number of nodes in a cluster is M, then the data set should be divided into 100M or even 1000M buckets, depending on the planned scaling out.
3161
-
This number is greater than the potential number of cluster nodes in the system being designed.
3162
-
3163
-
Keep in mind that too many buckets can cause a need to allocate more memory to store routing information.
3164
-
On the other hand, an insufficient number of buckets can lead to decreased granularity when :ref:`rebalancing <vshard-rebalancing>`.
3159
+
Learn more in :ref:`vshard_config_bucket_count`.
3165
3160
3166
3161
.. NOTE::
3167
3162
@@ -3180,22 +3175,6 @@ The ``sharding`` section defines configuration parameters related to :ref:`shard
This option should be defined at the :ref:`global level <configuration_scopes>`.
3303
+
* ``auto`` (default): if there are no replica sets with the ``rebalancer`` sharding role (:ref:`sharding.roles <configuration_reference_sharding_roles>`), a replica set with the rebalancer is selected automatically among all replica sets.
3304
+
* ``manual``: one of the replica sets should have the ``rebalancer`` sharding role. The rebalancer is in this replica set.
3305
+
* ``off``: rebalancing is turned off regardless of whether a replica set with the ``rebalancer`` sharding role exists or not.
msgid"A field defining the configuration of relative weights for each zone pair in a replica set. See the :ref:`Replica weights <vshard-replica-weights>` section."
99
+
msgid"A field defining the configuration of relative weights for each zone pair in a replica set."
0 commit comments