-
Notifications
You must be signed in to change notification settings - Fork 227
selected wrong shard and the connection keep reporting fatal #80
New issue
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
Comments
Thanks for reporting. Could you provide a full example in SQL that I can run on my end? I'm unable to reproduce the bug currently with the above instructions. |
hmmm...I can't reproduce it either...I think it may partially relate to #81
|
Yup, Postico opens a transaction automatically and won't work here. I think you can disable that feature or use psql instead. |
seems no config for that, I'll report to postico then :) |
I found the bug you originally saw I think and fixing it in #84 . It's subtle, so very good find, thank you! |
* Support reloading the entire config (including sharding logic) without restart. * Fix bug incorrectly handing error reporting when the shard is set incorrectly via SET SHARD TO command. selected wrong shard and the connection keep reporting fatal #80. * Fix total_received and avg_recv admin database statistics. * Enabling the query parser by default. * More tests.
Describe the bug
selected wrong shard and the connection keep reporting fatal
To Reproduce
SET shard TO '2';
, it reports FATAL: shard 2 is more than configured 2SET shard TO '0';
, it reports FATAL: shard 2 is more than configured 2Expected behavior
be able to set shard to 0 and 1 after setting a wrong one
The text was updated successfully, but these errors were encountered: