Commit Graph

433 Commits (55fbef61fa8d2ced4e7e5d3a773e857c2cf3c3a9)

Author SHA1 Message Date
René Cannaò 532a0397f7 Faster MySQL_HostGroups_Manager::read_only_action
5 years ago
Javier Jaramago Fernández ddf7ad95b7 Added default initialization for 'auto_increment_delay_multiplex' metric
5 years ago
Javier Jaramago Fernández d507880cbb Added new metric 'proxysql_myhgm_auto_increment_multiplex_total' tracking the number of times that 'auto_increment_delay_multiplex' is triggered
5 years ago
Javier Jaramago Fernández fc2b53845f Fixes #3265: 'update_group_replication_set_writer' now checks found 'writer' status
5 years ago
Javier Jaramago Fernández 23843ed6ee Fixed invalid writes/reads in 'update_group_replication_set_writer' due to query not fitting allocated buffer
5 years ago
René Cannaò 598331cff9 When calling mysql_change_user set collation to default for the given charset if collation ID is greater or equal than 255 (utf8mb4_0900_ai_ci)
5 years ago
René Cannaò f3dba4dcae Do ot use charset_name if not available in SQL3_Free_Connections()
5 years ago
René Cannaò 651f969e1c
Merge pull request #3203 from sysown/v2.1.0-3201
5 years ago
Javier Jaramago Fernández 60b6fd0222 Simplified and improved logic for connection cleanup and creation when a matching connection isn't found
5 years ago
René Cannaò 79298ac6f5
Merge pull request #3217 from sysown/v2.1.0-3216
5 years ago
Javier Jaramago Fernández 16bdd45bcc Always cleanup readers present in the 'writer_hostgroup' for 'writer_is_also_reader=2'
5 years ago
Javier Jaramago Fernández b402479e50 Enforce nodes to be 'REPLACED' with ONLINE status when placed in the offline hostgroup by 'update_galera_set_offline'
5 years ago
René Cannaò 42eb3982f9
Merge pull request #3189 from sysown/v2.1.0-3187
5 years ago
René Cannaò 01ff479421
Revert "Closes #3190: Galera cluster left without readers using 'writer_is_also_reader=2'"
5 years ago
René Cannaò c0d05fa152
Merge pull request #3192 from sysown/v2.1.0-3190
5 years ago
Javier Jaramago Fernández a42bdbdd8b Fixed free connections not being cleanup in case 'match_tracked_options' fails to find matching connection
5 years ago
Javier Jaramago Fernández dbe16e188f Fixed leaving a Galera cluster without any readers when there is just one synced node ('writer')
5 years ago
Javier Jaramago Fernández 208f82b619 Fixed the complete removal of servers that just belong to 'reader_hostgroup' when 'writer_is_also_reader=2'
5 years ago
Javier Jaramago Fernández 76b64bed95 Added extra logging reporting all galera nodes status when ProxySQL moves a node from hostgroup
5 years ago
René Cannaò d8e32d672a Several error codes are now not considered severe enough to shun a node
5 years ago
René Cannaò 070b8205f4
Merge pull request #3128 from sysown/v2.1.0-3127
5 years ago
Javier Jaramago Fernández ab5777063f Added 'NULL' checks to avoid accessing 'GloMTH' in 'push_MyConn_to_pool' after being freed
5 years ago
Javier Jaramago Fernández bc2ba33818 Remove non present servers for prometheus 'connection_pool' gauge metrics
6 years ago
Javier Jaramago Fernández 2d60b06f55 Improved several prometheus metrics labelling and simplified some non-grouping ones
6 years ago
Javier Jaramago Fernández 59696118de Fixed comment typo in 'hg_metrics_map'
6 years ago
Javier Jaramago Fernández f6e0e64f42 "Changed prometheus counter naming convention to include '_total' suffix"
6 years ago
Javier Jaramago Fernández 84f4c96afa Multiple changes to multiple metrics definitions
6 years ago
Javier Jaramago Fernández ebedd5e37b Several improvements to prometheus metrics definitions
6 years ago
René Cannaò aaddb4e568 Port of #3001 to 2.1.0 , related to #3000
6 years ago
René Cannaò 6d785dc103 Changed min max_connections for Aurora autodiscovery
6 years ago
René Cannaò 507a68db29 Variable mysql-monitor_replication_lag_count
6 years ago
Javier Jaramago Fernández a2727739e4 Added new variable 'mysql-monitor_replication_lag_retries'
6 years ago
Jim Riggs 601809e6fd Log emergency check of shunned servers when no servers are available
6 years ago
Javier Jaramago Fernández fa991397bd Reverted buffer allocation and removed unnecessary newline character
6 years ago
Javier Jaramago Fernández 5d5b810b3e Zero initialize the 'uuid_server' array to avoid non-initialized warnings by Valgrind
6 years ago
Javier Jaramago Fernández b105ec2d62 Null terminate GTID string to be processed
6 years ago
Rene Cannao 41b173a83c Fixing a lot of compiler warnings
6 years ago
René Cannaò 9f02f4800c Never reset a connection with client error code
6 years ago
René Cannaò d722bbe62a
Merge pull request #2944 from sysown/v2.1.0-2711
6 years ago
René Cannaò 33d8db02a6 Change the mapping logic for SESSION_TRACK_GTIDS
6 years ago
René Cannaò 16ef9472f8 Re-enable PXC node after pxc_maint_mode is DISABLED #2711
6 years ago
Javier Jaramago Fernández adaca60c1f Fixes segfault related to accesses to 'GloMyLogger' and 'GloMTH' when are already deinitialized
6 years ago
René Cannaò bc0963e3f4
Merge pull request #2833 from sysown/v2.1.0-2687
6 years ago
Javier Jaramago Fernández 98a677d4af Added extra per-table log for mysql_servers checksum generation
6 years ago
René Cannaò 1c0bd25658 Fixing some indentation
6 years ago
René Cannaò d76b79c7fb Removed define USE_MYSRVC_ARRAY
6 years ago
René Cannaò ffc4895720
Merge pull request #2821 from sysown/v2.1.0-sqlite3
6 years ago
René Cannaò 2bbd84d2c9 Support for SQLite3 plugin
6 years ago
René Cannaò e2ea108aa6
Merge pull request #2803 from sysown/v2.1.0-2802
6 years ago
Javier Jaramago Fernández fd204637a5 Fixes #2801: Updated prometheus map to contain missing entry 'p_hg_dyn_counter::proxysql_mysql_error'
6 years ago
Javier Jaramago Fernández 2ab420b9ab Check if 'GTID_Server_Data' is available before trying to access 'active' member
6 years ago
René Cannaò 0a78949d98
Merge branch 'v2.1.0' into v2.0.11-prometheus
6 years ago
val eb638a1b16 fix for galera set writer
6 years ago
val 72fd040681 Fix shunning reader when node goes to MAINTENANCE
6 years ago
val 522fc7164a Fix pxc_maint_mode failback when writer_is_also_reader=2
6 years ago
Javier Jaramago Fernández 7f8b07a0db Created new metric counters for registering 'mysql_errors'
6 years ago
Javier Jaramago Fernández a53988cc90 Removed deprecated double counters metric updates in favor of callback approach
6 years ago
Javier Jaramago Fernández dbbfc397a6 "Added helper function and uniformed 'hostgroup_manager' metrics update"
6 years ago
Javier Jaramago Fernández f3c4fb648e Added missing already defined metric to map and added new one
6 years ago
Javier Jaramago Fernández 75875fbaab Metrics identifier is now consistent with display order
6 years ago
Javier Jaramago Fernández 5feea37abb Moved third-party prometheus included headers before project includes
6 years ago
Javier Jaramago Fernández cdde6dc2fb Removed 'uniform initialization syntax' due to GCC 4.8 limitations
6 years ago
Javier Jaramago Fernández a4e4e57343 Moved all 'metrics_maps' to source files
6 years ago
Javier Jaramago Fernández 864535d3f9 Added support for GCC 4.8 and removed per-module metrics initialization functions
6 years ago
René Cannaò 8cc88ce58e Migration of threads status variables as array
6 years ago
René Cannaò 30aac6465e Improved MySQL_HostGroups_Manager::p_update_connection_pool_update_counter()
6 years ago
Javier Jaramago Fernández 1566ce44a4 Added generic prometheus arrays initialization functions to avoid code duplication
6 years ago
Javier Jaramago Fernández a9226f2636 Added missing required 'wrlock' call before accessing shared resource
6 years ago
Javier Jaramago Fernández f0588c72e1 Fixed typo in several prometheus metric names and identifiers
6 years ago
Javier Jaramago Fernández 33a213e514 Fixed logic conditionally getting info from 'gtid_si' pointer
6 years ago
Javier Jaramago Fernández c48b109019 Replaced 'hostgroups_manager' prometheus metrics with new array based impl
6 years ago
Javier Jaramago Fernández 073337c716 Added new metric 'proxysql_gtid_executed'
6 years ago
Javier Jaramago Fernández 4f60c3356c Added new metrics and fixed ones which weren't initialized
6 years ago
Javier Jaramago Fernández e1e89c6754 Changed previous metrics definitions and added new 'connection_pool' metrics
6 years ago
Javier Jaramago Fernández c319db2c3d Added new prometheus metrics mimicking current ones
6 years ago
Valentin Rakush 0e79eb39f7 Implementation of the session variables array
6 years ago
René Cannaò 7dd76aed94
Merge pull request #2637 from sysown/v2.0.11-warmup
6 years ago
val cdbf70817a Revert "Implementation of the session variables array"
6 years ago
René Cannaò 95e62b0b4b Minor opimization on previous commit
6 years ago
René Cannaò 29142e6e4f Global connection warming support
6 years ago
Valentin Rakush 1fb5c9cf06 Implementation of the session variables array
6 years ago
val befca50203 memory corruption
6 years ago
val a1d9c5ac63 memory alloc/free
6 years ago
René Cannaò 2bdf044825 Implementation of OFFLINE_SOFT for pxc_maint_mode
6 years ago
René Cannaò 0ae253a6ac Code cleanup
6 years ago
René Cannaò e062f84c3e
Merge pull request #2399 from val214/v2.0.9-mem-leaks
6 years ago
René Cannaò 6c551eab57 Allows the same nodes to be part of multiple Aurora clusters
6 years ago
Valentin Rakush f1eb04ce51 Fix flag Active for grop replication hostgroups
6 years ago
Valentin Rakush 539abc680e Fix flag Active is not correctly working
6 years ago
René Cannaò e9dc7a9b60 Implementation of SQLI fingerprints whitelist
6 years ago
René Cannaò 384b411732
Merge pull request #2437 from sysown/v2.0.9-aurora_offline
6 years ago
René Cannaò 67ec4107b7 Fix issue with LOAD MYSQL TO RUNTIME and Aurora
6 years ago
Valentin Rakush 19e7c3f1e2 Fix memory leak in MySQL_HostGroups_Manager (gtid)
6 years ago
Valentin Rakush 0227afaee7 Fix HGM gtid_ev_async leak
6 years ago
Valentin Rakush 41459e4c70 Fix memory leak in MySQL_HostGroups_Manager
6 years ago
Valentin Rakush 6a2bb97964 Fix generation of the group replication hostgroups table
6 years ago
Adrián del Campo 18b20bf8fd Fixed issues generating some queries for galera support
6 years ago
René Cannaò 57e0b2eb2f
Merge pull request #2403 from sysown/v2.0.9-whitelist
6 years ago
Valentin Rakush 17745111ca Aurora replication lag: online upgrade of the mysql_aws_aurora_hostgroups table
6 years ago
Valentin Rakush 80a18ed9e2 Aurora replication lag: fix issues, adjust window size
6 years ago