-
Notifications
You must be signed in to change notification settings - Fork 977
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
Refactoring replication lag actions + Simulator (combined) #4144
Commits on May 16, 2021
-
Adding a simulator for read_only test
This commit introduces a first simulator for read_only monitoring ProxySQL itself will simulate hundreds of backends across hundreds of hostgroups, all configured in hundreds of clusters, and return read_only values for each of the simulated backend. The read_only value can be configured in table READONLY_STATUS available in the SQLite3Server module. If a backend isn't configured in table READONLY_STATUS , its default read_only value is 1. It is possible to simulate a lot of simultaneous failover running queries like the following: UPDATE READONLY_STATUS SET read_only=1; CREATE TABLE t1 AS SELECT hostname FROM READONLY_STATUS ORDER BY RANDOM() LIMIT 50; UPDATE READONLY_STATUS SET read_only=0 WHERE hostname IN (SELECT hostname FROM t1); DROP TABLE t1;
Configuration menu - View commit details
-
Copy full SHA for eac6e75 - Browse repository at this point
Copy the full SHA eac6e75View commit details
Commits on Jun 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 14428f7 - Browse repository at this point
Copy the full SHA 14428f7View commit details
Commits on Jul 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 12d9187 - Browse repository at this point
Copy the full SHA 12d9187View commit details -
Fixed typo using 'SAFE_SQLITE3_STEP' instead of 'SAFE_SQLITE3_STEP2' …
…providing proper waiting for 'SQLITE_BUSY'
Configuration menu - View commit details
-
Copy full SHA for ccef4ff - Browse repository at this point
Copy the full SHA ccef4ffView commit details -
Added documentation for 'ProxySQL_Admin::sql_query_global_mutex' and …
…'ProxySQL_Admin::save_mysql_servers_runtime_to_database'
Configuration menu - View commit details
-
Copy full SHA for e39211c - Browse repository at this point
Copy the full SHA e39211cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e538e0b - Browse repository at this point
Copy the full SHA e538e0bView commit details -
Removed commented code and commented automatic population of 'mysql_s…
…ervers' and 'mysql_replication_hostgroups' from 'enable_readonly_testing'
Configuration menu - View commit details
-
Copy full SHA for 1d49d39 - Browse repository at this point
Copy the full SHA 1d49d39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c66cbe - Browse repository at this point
Copy the full SHA 2c66cbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for adb3bcd - Browse repository at this point
Copy the full SHA adb3bcdView commit details
Commits on Feb 15, 2023
-
Refactor and optimize read-only actions method
This commit optimizes the read-only actions method by removing the dependency on proxysql admin tables. Instead, a separate mapping container is maintained, which records the state of the HGM servers. This avoids the need to call the commit method on every change, which improves performance. The changes in this commit also ensure that the mapping container is properly updated when servers are added, removed or modified.
Configuration menu - View commit details
-
Copy full SHA for aaa959d - Browse repository at this point
Copy the full SHA aaa959dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 665bdef - Browse repository at this point
Copy the full SHA 665bdefView commit details
Commits on Feb 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3a08040 - Browse repository at this point
Copy the full SHA 3a08040View commit details
Commits on Feb 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a843aed - Browse repository at this point
Copy the full SHA a843aedView commit details -
Merge remote-tracking branch 'Master/v2.x_refactor_read_only_action' …
…into v2.x_refactor_read_only_action_with_simulator
Configuration menu - View commit details
-
Copy full SHA for 7710fcb - Browse repository at this point
Copy the full SHA 7710fcbView commit details -
Merge remote-tracking branch 'Master/v2.2.0-sqliteserver_read_only' i…
…nto v2.x_refactor_read_only_action_with_simulator
Configuration menu - View commit details
-
Copy full SHA for 1e0a1cf - Browse repository at this point
Copy the full SHA 1e0a1cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aa4055 - Browse repository at this point
Copy the full SHA 3aa4055View commit details -
Configuration menu - View commit details
-
Copy full SHA for a73726b - Browse repository at this point
Copy the full SHA a73726bView commit details
Commits on Feb 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0d86d0a - Browse repository at this point
Copy the full SHA 0d86d0aView commit details
Commits on Feb 22, 2023
-
Refactoring replication lag action method
* Introduced support for handling of bulk servers * Commented mysql_servers_wrlock as this method does not use admin tables.
Configuration menu - View commit details
-
Copy full SHA for 55deb8d - Browse repository at this point
Copy the full SHA 55deb8dView commit details
Commits on Mar 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 380e582 - Browse repository at this point
Copy the full SHA 380e582View commit details
Commits on Mar 9, 2023
-
Merge remote-tracking branch 'Master/v2.x_refactor_replication_lag_ac…
…tion' into v2.x_refactor_replication_lag_action
Configuration menu - View commit details
-
Copy full SHA for afc06ab - Browse repository at this point
Copy the full SHA afc06abView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8a94c1 - Browse repository at this point
Copy the full SHA c8a94c1View commit details
Commits on Apr 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8fa49d7 - Browse repository at this point
Copy the full SHA 8fa49d7View commit details