@@ -2398,15 +2398,14 @@ The ``security`` section defines configuration parameters related to various sec
2398
2398
sharding
2399
2399
--------
2400
2400
2401
- The ``sharding `` section defines configuration parameters related to sharding.
2401
+ The ``sharding `` section defines configuration parameters related to :ref: ` sharding < vshard-admin >` .
2402
2402
2403
2403
.. NOTE ::
2404
2404
2405
2405
Sharding support requires installing the :ref: `vshard <vshard >` module.
2406
2406
The minimum required version of ``vshard `` is 0.1.25.
2407
2407
2408
2408
- :ref: `sharding.bucket_count <configuration_reference_sharding_bucket_count >`
2409
- - :ref: `sharding.connection_outdate_delay <configuration_reference_sharding_connection_outdate_delay >`
2410
2409
- :ref: `sharding.discovery_mode <configuration_reference_sharding_discovery_mode >`
2411
2410
- :ref: `sharding.failover_ping_timeout <configuration_reference_sharding_failover_ping_timeout >`
2412
2411
- :ref: `sharding.lock <configuration_reference_sharding_lock >`
@@ -2453,21 +2452,21 @@ The ``sharding`` section defines configuration parameters related to sharding.
2453
2452
| Default: 3000
2454
2453
| Environment variable: TT_SHARDING_BUCKET_COUNT
2455
2454
2455
+ .. TODO: Remove: for internal use
2456
+ .. _configuration_reference_sharding_connection_outdate_delay:
2456
2457
2457
- .. _ configuration_reference_sharding_connection_outdate_delay :
2458
+ .. confval:: sharding.connection_outdate_delay
2458
2459
2459
- .. confval :: sharding.connection_outdate_delay
2460
+ The delay (in seconds) to outdate old replica set and replica objects after reconfiguration.
2460
2461
2461
- The delay (in seconds) to outdate old replica set and replica objects after reconfiguration.
2462
-
2463
- .. NOTE ::
2462
+ .. NOTE::
2464
2463
2465
- This option should be defined at the :ref: `global level <configuration_scopes >`.
2464
+ This option should be defined at the :ref:`global level <configuration_scopes>`.
2466
2465
2467
- |
2468
- | Type: number
2469
- | Default: nil
2470
- | Environment variable: TT_SHARDING_CONNECTION_OUTDATE_DELAY
2466
+ |
2467
+ | Type: number
2468
+ | Default: nil
2469
+ | Environment variable: TT_SHARDING_CONNECTION_OUTDATE_DELAY
2471
2470
2472
2471
2473
2472
.. _configuration_reference_sharding_discovery_mode :
@@ -2514,7 +2513,7 @@ The ``sharding`` section defines configuration parameters related to sharding.
2514
2513
2515
2514
.. NOTE ::
2516
2515
2517
- This option should be defined at the :ref: `replica set level <configuration_scopes >`.
2516
+ `` sharding.lock `` can be specified at the :ref: `replica set level <configuration_scopes >` or higher .
2518
2517
2519
2518
|
2520
2519
| Type: boolean
@@ -2621,7 +2620,7 @@ The ``sharding`` section defines configuration parameters related to sharding.
2621
2620
If it is not specified, a rebalancer is selected automatically from master instances of replica sets.
2622
2621
2623
2622
There can be at most one replica set with the ``rebalancer `` role.
2624
- Additionally, this replica set should have a storage role.
2623
+ Additionally, this replica set should have a `` storage `` role.
2625
2624
2626
2625
**Example: **
2627
2626
@@ -2730,7 +2729,7 @@ The ``sharding`` section defines configuration parameters related to sharding.
2730
2729
2731
2730
.. NOTE ::
2732
2731
2733
- This option should be defined at the :ref: `instance level <configuration_scopes >`.
2732
+ `` sharding.zone `` can be specified at any :ref: `level <configuration_scopes >`.
2734
2733
2735
2734
|
2736
2735
| Type: integer
0 commit comments