Skip to content
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

Sync only runtime rules #4738

Open
borgius opened this issue Nov 1, 2024 · 0 comments
Open

Sync only runtime rules #4738

borgius opened this issue Nov 1, 2024 · 0 comments

Comments

@borgius
Copy link

borgius commented Nov 1, 2024

Proxysql Version: 2.7.1
OS: Ubuntu 22

On cluster mode it synchronizes only runtime rules, and as side effect if we disable rules on one node, we can't reenable it on different node since here is no config in memory layer.

  • Disable rules: UPDATE mysql_query_rules SET active=0; LOAD MYSQL QUERY RULES TO RUNTIME;
  • Enable rules: UPDATE mysql_query_rules SET active=1; LOAD MYSQL QUERY RULES TO RUNTIME;
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