We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author: @racktear I tried to launch both router and storage on the same node this way:
local vshard_cfg = { sharding = { { -- replicaset #1 { uri = 'localhost:3301', name = 'storage_1_a', master = true }, } } } vshard.router.cfg(vshard_cfg) vshard.storage.cfg(vshard_cfg, 'storage_1_a')
But it fails, because the call to vshard.router.cfg destroys the configuration table passed to it.
vshard.router.cfg
As a result, I get this:
./vshard/util.lua:41: Sharding config must be array of replicasets
The text was updated successfully, but these errors were encountered:
Gerold103
No branches or pull requests
Author: @racktear
I tried to launch both router and storage on the same node this way:
But it fails, because the call to
vshard.router.cfg
destroys the configuration table passed to it.As a result, I get this:
The text was updated successfully, but these errors were encountered: