config: use vshard-ee if available
The new closed-source `vshard-ee` module was recently introduced. It is based on the open-source `vshard` module and, as far as I know, provides the same API. Let's configure `vshard-ee` in the same way as `vshard` if sharding is enabled in tarantool's configuration. Prefer `vshard-ee` if both are available. Fixes https://github.com/tarantool/tarantool-ee/issues/815 @TarantoolBot document Title: config: vshard-ee is now supported The declarative configuration supports `vshard-ee` in addition to `vshard` since Tarantool 3.1.1 and 3.2+. `vshard` is mentioned in the documentation at least [here][1]. All such places should be updated to mention both `vshard-ee` and `vshard`. [1]: https://www.tarantool.io/en/doc/latest/reference/configuration/configuration_reference/#sharding
Showing
- changelogs/unreleased/config-support-vshard-ee.md 4 additions, 0 deletionschangelogs/unreleased/config-support-vshard-ee.md
- src/box/lua/config/applier/credentials.lua 4 additions, 2 deletionssrc/box/lua/config/applier/credentials.lua
- src/box/lua/config/applier/sharding.lua 5 additions, 3 deletionssrc/box/lua/config/applier/sharding.lua
- test/box-luatest/upgrade/2.11.0/vshard/storage-gen.lua 4 additions, 1 deletiontest/box-luatest/upgrade/2.11.0/vshard/storage-gen.lua
- test/config-luatest/vshard_test.lua 22 additions, 12 deletionstest/config-luatest/vshard_test.lua
- test/config-luatest/vshard_upgrade_test.lua 5 additions, 2 deletionstest/config-luatest/vshard_upgrade_test.lua
Loading
Please register or sign in to comment