-
Notifications
You must be signed in to change notification settings - Fork 976
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 cluster module mysql_servers #4169
Commits on Apr 6, 2023
-
* Added separate fetching of mysql_server_incoming and runtime_mysql_server records based on algorithm selection. * Few memory leaks fix * Code refactoring
Configuration menu - View commit details
-
Copy full SHA for 12d830c - Browse repository at this point
Copy the full SHA 12d830cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32f9f72 - Browse repository at this point
Copy the full SHA 32f9f72View commit details -
* Added runtime mysql server logic in commit.
* Changed commit signature. * Few fixes
Configuration menu - View commit details
-
Copy full SHA for 09f7651 - Browse repository at this point
Copy the full SHA 09f7651View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3821f56 - Browse repository at this point
Copy the full SHA 3821f56View commit details
Commits on Apr 10, 2023
-
* Rename mysql_servers_incoming to mysql_servers_v2
* Fetching mysql_servers_v2 records from admin * Added comments.
Configuration menu - View commit details
-
Copy full SHA for 1122988 - Browse repository at this point
Copy the full SHA 1122988View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1af0586 - Browse repository at this point
Copy the full SHA 1af0586View commit details
Commits on Apr 18, 2023
-
* The code block responsible for syncing admin variables has been mov…
…ed ahead of the 'mysql_servers' code block. This ensures that the most recent value of 'admin-cluster_mysql_servers_sync_algorithm' is available in mysql_servers sync. * Reset global checksum if 'admin-cluster_mysql_servers_sync_algorithm' is changed.
Configuration menu - View commit details
-
Copy full SHA for bacf3a7 - Browse repository at this point
Copy the full SHA bacf3a7View commit details -
Created TAP test to ensure the cluster synchronization of 'runtime_my…
…sql_servers' and 'mysql_servers_v2' across all nodes. The test involves creating two replica nodes, one with a monitor enabled and the other with a monitor disabled. The test verifies that the correct records are synced among these nodes based on the value of 'admin-cluster_mysql_servers_sync_algorithm'.
Configuration menu - View commit details
-
Copy full SHA for 625675d - Browse repository at this point
Copy the full SHA 625675dView commit details
Commits on Apr 19, 2023
-
* Cleared duplicate code. * Added comments
Configuration menu - View commit details
-
Copy full SHA for e8b24ff - Browse repository at this point
Copy the full SHA e8b24ffView commit details
Commits on Apr 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5114069 - Browse repository at this point
Copy the full SHA 5114069View commit details -
* The cluster template file now includes "cluster_sync_interfaces=fal…
…se." * In the event of any failure, it's crucial to call the cleanup function to prevent any orphaned replica instances from remaining active.
Configuration menu - View commit details
-
Copy full SHA for f350038 - Browse repository at this point
Copy the full SHA f350038View commit details -
Configuration menu - View commit details
-
Copy full SHA for 082a59d - Browse repository at this point
Copy the full SHA 082a59dView commit details
Commits on Apr 26, 2023
-
Merge remote-tracking branch 'Master/v2.x' into v2.x_refactor_cluster…
…_mysql_servers # Conflicts: # include/ProxySQL_Cluster.hpp # include/proxysql_admin.h # lib/MySQL_HostGroups_Manager.cpp # lib/ProxySQL_Admin.cpp # lib/ProxySQL_Cluster.cpp
Configuration menu - View commit details
-
Copy full SHA for feeb747 - Browse repository at this point
Copy the full SHA feeb747View commit details
Commits on May 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 13f1a4a - Browse repository at this point
Copy the full SHA 13f1a4aView commit details
Commits on May 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9ad8c38 - Browse repository at this point
Copy the full SHA 9ad8c38View commit details
Commits on May 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1decc6a - Browse repository at this point
Copy the full SHA 1decc6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 129737c - Browse repository at this point
Copy the full SHA 129737cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a5a9ac - Browse repository at this point
Copy the full SHA 9a5a9acView commit details
Commits on May 8, 2023
-
Avoid incrementing mysql_servers and mysql_servers_v2 versions when c…
…hange is triggered from monitoring module
Configuration menu - View commit details
-
Copy full SHA for 09b2a7d - Browse repository at this point
Copy the full SHA 09b2a7dView commit details -
Merge remote-tracking branch 'Master/v2.x' into v2.x_refactor_cluster…
…_mysql_servers # Conflicts: # lib/MySQL_HostGroups_Manager.cpp
Configuration menu - View commit details
-
Copy full SHA for ed64090 - Browse repository at this point
Copy the full SHA ed64090View commit details -
Merge remote-tracking branch 'Master/v2.x_refactor_cluster_mysql_serv…
…ers' into v2.x_refactor_cluster_mysql_servers
Configuration menu - View commit details
-
Copy full SHA for fb5abdb - Browse repository at this point
Copy the full SHA fb5abdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2119ba - Browse repository at this point
Copy the full SHA b2119baView commit details
Commits on Jun 13, 2023
-
Merge remote-tracking branch 'Master/v2.x' into v2.x_refactor_cluster…
…_mysql_servers_final # Conflicts: # lib/MySQL_HostGroups_Manager.cpp # lib/ProxySQL_Cluster.cpp
Configuration menu - View commit details
-
Copy full SHA for 063af84 - Browse repository at this point
Copy the full SHA 063af84View commit details
Commits on Jun 25, 2023
-
Added ProxySQL Cluster internal working documentation and flowchart
TODO: Update documentation: mysql_servers_v2
Configuration menu - View commit details
-
Copy full SHA for 249f023 - Browse repository at this point
Copy the full SHA 249f023View commit details
Commits on Jul 10, 2023
-
Fix servers resultsets not updated for empty config
If these resultsets are not updated, checksums will always mismatch between the peer cluster nodes in case servers are deleted. The primary will hold the correct checksum ('0x0'), but will report the old resultset to the peer node, the second will compute a checksum different than the expected '0x0'. Cycle won't stop until config is updated in the target primary.
Configuration menu - View commit details
-
Copy full SHA for 43d6274 - Browse repository at this point
Copy the full SHA 43d6274View commit details
Commits on Jul 11, 2023
-
Simplified resultset and checksum generation for 'mysql_servers'
- Resultsets for 'runtime_mysql_servers' and 'mysql_servers_v2' are now directly generated by the SQL query. - Checksum computations are simplified to 'SQLite3_result::raw_checksum' and equivalent function 'mysql_raw_checksum'.
Configuration menu - View commit details
-
Copy full SHA for f48dfce - Browse repository at this point
Copy the full SHA f48dfceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 253e309 - Browse repository at this point
Copy the full SHA 253e309View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa71a5c - Browse repository at this point
Copy the full SHA fa71a5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 664fba9 - Browse repository at this point
Copy the full SHA 664fba9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f53c18 - Browse repository at this point
Copy the full SHA 5f53c18View commit details
Commits on Jul 12, 2023
-
Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x_refactor_…
…cluster_mysql_servers
Configuration menu - View commit details
-
Copy full SHA for 7f0ef59 - Browse repository at this point
Copy the full SHA 7f0ef59View commit details
Commits on Jul 13, 2023
-
Fix invalid propagation of 'main.mysql_servers' config by 'commit'
Config should only be used for checksum computation and cluster resultset generation for 'LOAD MYSQL SERVERS TO RUNTIME'. Otherwise user config ('main.mysql_servers') would be promoted at each 'commit' call, and propagated through the cluster members.
Configuration menu - View commit details
-
Copy full SHA for 8dab09e - Browse repository at this point
Copy the full SHA 8dab09eView commit details
Commits on Jul 19, 2023
-
Fix invalid fallback response for 'CLUSTER_QUERY_MYSQL_SERVERS_V2'
If 'MySQL_HostGroups_Manager::incoming_mysql_servers' happens to be empty when a 'CLUSTER_QUERY_MYSQL_SERVERS_V2' request is received in Admin, since there wasn't any user config promoted to runtime yet, the response should be an empty resulset.
Configuration menu - View commit details
-
Copy full SHA for c4c4977 - Browse repository at this point
Copy the full SHA c4c4977View commit details