config: introduce sharding role rebalancer
Part of #8862 @TarantoolBot document Title: rebalancer sharding role in config A new role for sharding was introduced - 'rebalancer'. This role can be present at replicaset scope or above. A new change has also been made to address this requirement: sharding.roles can now only be present in replicaset scope or above. There can be at most one replicaset with the rebalancer role. Additionally, this replicaset must also have a storage role. If a replicaset with this role exists, then the vshard rebalancer can only be present in the replicaset with the rebalancer role. If the rebalancer role is not specified, a rebalancer is selected automatically from among the masters of the replicasets.
Showing
- changelogs/unreleased/gh-8862-sharding-role-rebalancer.md 1 addition, 0 deletionschangelogs/unreleased/gh-8862-sharding-role-rebalancer.md
- src/box/lua/config/configdata.lua 17 additions, 0 deletionssrc/box/lua/config/configdata.lua
- src/box/lua/config/instance_config.lua 15 additions, 0 deletionssrc/box/lua/config/instance_config.lua
- test/config-luatest/instance_config_schema_test.lua 11 additions, 0 deletionstest/config-luatest/instance_config_schema_test.lua
- test/config-luatest/vshard_test.lua 193 additions, 0 deletionstest/config-luatest/vshard_test.lua
Loading
Please register or sign in to comment