Skip to content

Disabling query_parser_read_write_splitting config not working with HOT reload #928

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

Closed
adis-io opened this issue May 19, 2025 · 1 comment

Comments

@adis-io
Copy link

adis-io commented May 19, 2025

Describe the bug
Disabling query_parser_read_write_splitting config not working with HOT reload. I'll try to create a reproducible case

To Reproduce
Steps to reproduce the behavior:

  1. Run pgcat with query_parser_read_write_splitting = true
  2. Change config to query_parser_read_write_splitting = false
  3. Use HOT reload
  4. Run queries where query_parser_read_write_splitting is used

Expected behavior
Role inferring is NOT enabled

Actual behavior
Role inferring IS enabled

@adis-io
Copy link
Author

adis-io commented May 20, 2025

Turns out query_parser_read_write_splitting cannot be enabled without enabling query_parser_enabled. HOT reload was failing I missed error

@adis-io adis-io closed this as completed May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant