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
If a replica set does not have the ``storage`` role, the ``sharding`` role does not have any privileges.
102
+
If a replica set does not have the ``storage`` sharding role, the ``sharding`` credential role does not have any privileges.
103
103
104
104
105
105
.. _vshard_config_sharding_roles:
@@ -171,8 +171,10 @@ On the other hand, an insufficient number of buckets can lead to decreased granu
171
171
Replica set weights
172
172
~~~~~~~~~~~~~~~~~~~
173
173
174
-
A replica set weight (:ref:`sharding.weight <configuration_reference_sharding_weight>`) defines the storage capacity of the replica set: the larger the weight, the more buckets the replica set can store.
175
-
This can be used to store the prevailing amount of data on a replica set with more memory space.
174
+
A replica set weight defines the storage capacity of the replica set: the larger the weight, the more buckets the replica set can store.
175
+
You can configure a replica set weight using the :ref:`sharding.weight <configuration_reference_sharding_weight>` option.
176
+
This option can be used to store the prevailing amount of data on a replica set with more memory space.
177
+
You can also assign a zero weight to a replica set to initiate :ref:`migration of its buckets <vshard_config_rebalancing>` to the remaining cluster nodes.
176
178
177
179
In the example below, the ``storage-a`` replica set can store twice as much data as ``storage-b``:
178
180
@@ -189,8 +191,6 @@ In the example below, the ``storage-a`` replica set can store twice as much data
189
191
weight: 1
190
192
# ...
191
193
192
-
Using the ``sharding.weight`` option, you can also assign a zero weight to a replica set to initiate :ref:`migration of its buckets <vshard_config_rebalancing>` to the remaining cluster nodes.
193
-
194
194
195
195
.. _vshard_config_rebalancing:
196
196
@@ -585,11 +585,10 @@ Master scheduled downtime
585
585
586
586
To perform a scheduled downtime of a replica set master, it is recommended to:
587
587
588
-
#. Update the configuration of the master and wait for the replicas to get into sync.
588
+
#. Update the configuration to use another instance as a master.
589
+
#. Reload the configuration on all the instances.
589
590
All the requests then are forwarded to a new master.
@@ -599,6 +598,7 @@ Replica set scheduled downtime
599
598
To perform a scheduled downtime of a replica set, it is recommended to:
600
599
601
600
#. Migrate all the buckets to the other cluster storages.
601
+
You can do this by assigning a zero :ref:`weight <vshard-replica-set-weights>` to a replica set to initiate migration of its buckets to the remaining cluster nodes.
0 commit comments