Commit Graph

365 Commits (699fe7efcdbf9c68024e2d2de4463126faf89a5e)

Author SHA1 Message Date
Rahim Kanji 06f160cce1 Compilation fix for old GCC version
3 years ago
Javier Jaramago Fernández 300532d6e2 Fix multiple warnings in logging function calls
3 years ago
Rahim Kanji 097a517792 Compilation fix
3 years ago
René Cannaò ec93211d02
Merge pull request #4024 from sysown/v2.x_LocalDNSCache
3 years ago
Rahim Kanji 29677cb983 Check and remove connection from monitor connection pool if not used for long time.
3 years ago
Rahim Kanji c552fdb111 * Added DNS cache monitoring for ProxySQL servers.
3 years ago
Rahim Kanji ee0059a65c Purge all backend connections when monitor is disabled
3 years ago
Rahim Kanji 357ce44bed Purge all backend connections when monitor is disabled
3 years ago
Rahim Kanji f9c5f8af92 Added Debug logs
3 years ago
Rahim Kanji dbfb99ce71 * Added hostname and ip information in mysql_connection
3 years ago
Rahim Kanji eef3ddfcd6 Heap allocated host pointer for async mysql_real_connect_start function
3 years ago
Rahim Kanji 85fe4e1fdc No need to do lookup if IP was provided
3 years ago
Rahim Kanji 2bbb6305b5 Added DNS Cache enable/disable flag handling.
3 years ago
Rahim Kanji 3161f0b94b Optimization: moving DNS_Record object instead of copying
3 years ago
Rahim Kanji 7805924779 Feature: ProxySQL local DNS Cache
3 years ago
Javier Jaramago Fernández 6e5678315d Fix crashes when number of servers is more than half the value of monitor 'ping|read_only' intervals
3 years ago
Levi Quinn 0ab0757907
fix(issue): ensure that most recent replica_host is treated as master for #3962
4 years ago
Javier Jaramago Fernández 63e8c57309 Fix invalid memory accesses in Aurora monitoring
4 years ago
René Cannaò 8730fcd350
Merge branch 'v2.x' into v2.x_generate_multi_rows
4 years ago
René Cannaò 542b207611 Added new function to create multirows statements for SQLite also for MySQL_Monitor and ProxySQL_Cluster
4 years ago
René Cannaò 7940d867da
Merge pull request #3867 from sysown/v2.x-multilag
4 years ago
René Cannaò 0a28d9a9f1
Merge pull request #3871 from sysown/v2.x-isolate_monitor_mysql_servers
4 years ago
Javier Jaramago Fernández 5569528b04 Move 'mysql_servers' from 'monitor' db into 'monitor_internal' db
4 years ago
René Cannaò 4bfe3e5878 Added mysql-monitor_replication_lag_group_by_host
4 years ago
René Cannaò 8c55b777ee Fixed various minor bugs detected with valgrind
4 years ago
Javier Jaramago Fernández 9e7afd4966 Access 'Monitor::mysql_servers_mutex' through 'GloMyMon' instead of 'this' #3797
4 years ago
Javier Jaramago Fernández ba505284a6 Add missing 'Monitor::mysql_servers_mutex' initialization #3797
4 years ago
Javier Jaramago Fernández c50a7053ad Fix monitoring not working for AWS Aurora auto-discovered instances #3797
4 years ago
Javier Jaramago Fernández 4f94fd3d0f
Merge pull request #3533 from sysown/v2.x-gr_replication_lag_action
5 years ago
René Cannaò 2a5121e52f
Merge pull request #3514 from egezonberisha/pt-heartbeat-query-delay
5 years ago
Hormoz K 7762dea993 add crl, crlpath, and capath options
5 years ago
René Cannaò 194243503a Adding LCOV_EXCL_START around assert(0)
5 years ago
Javier Jaramago Fernández a6c2246276 Replaced 'TEST_GROUPREP' impl to better match approach followed for 'READONLY'
5 years ago
Javier Jaramago Fernández b929758a87 Several improvements to 'group_replication_lag_action'
5 years ago
Javier Jaramago Fernández 53bf18b428 Changed setting readonly servers 'OFFLINE' due to replication lag behavior in favor of general server 'SHUNNING'
5 years ago
Javier Jaramago Fernández 12d91871b7 Fixed possible floating point exception in 'monitor_read_only'
5 years ago
René Cannaò b8c027ee0a Improve query to REPLICA_HOST_STATUS related to Aurora
5 years ago
René Cannaò de698cb156 Improving query to REPLICA_HOST_STATUS related to Aurora
5 years ago
René Cannaò 590c5cb75c Removed unused function monitor_AWS_Aurora_thread()
5 years ago
Egezon Berisha 8c62273687 Change the pt-heartbeat query from MIN to MAX due to a possible daisy-chain replication or multi-master setup
5 years ago
René Cannaò 09d42b5968 Fixed minor uninitialised value in MySQL_Monitor_State_Data()
5 years ago
René Cannaò eac6e75dad Adding a simulator for read_only test
5 years ago
peter 414d59070c
Check if mmsd is not NULL
5 years ago
peter 380a245867
Delay free mmsd
5 years ago
Rolf Martin-Hoster 8b4c7ae881 Fix floating point exception.
5 years ago
Javier Jaramago Fernández 41c5a82aae Closes #3406: Verify fetched rows in 'monitor_group_replication_thread' are not NULL before accessing them
5 years ago
Javier Jaramago Fernández 3111e8b603 Closes #3340: Added new 'repl_lag' error code '-3' in case 'replication_lag_check' timeout
5 years ago
Javier Jaramago Fernández 65870492be Removed hardcoded values for error codes in counters in 'monitor_connect_thread' and no longer required include
5 years ago
Javier Jaramago Fernández 7c1c829565 Compressed multiple 'p_update_mysql_error_counter' with ternary operator and replaced zero error codes with ER_PROXYSQL_OFFLINE_SRV
5 years ago
Javier Jaramago Fernández 9713abd3a0 Improved naming on new 'PROXYSQL_ERR' enums and explicit values
5 years ago
Javier Jaramago Fernández 851339b5f3 Closes #3310: Improve error reporting for 'MySQL_Monitor' and 'MySQL_Session' backend connections via counters
5 years ago
Javier Jaramago Fernández e61b82a439 Removed duplicated call to 'conn_unregister' in 'monitor_group_replication_thread' performed outside proper check
5 years ago
Javier Jaramago Fernández 57726c16fd Closes #3288: Added extra logging to 'monitor_replication_lag_thread' to reflect when 'Seconds_Behind_Master' is NULL
5 years ago
René Cannaò 420913f0a1 Revert PR 3237 on TEST_AURORA
5 years ago
René Cannaò da8979d1ec
Merge pull request #3227 from sysown/v2.1.0-2953
5 years ago
Will Jordan dbde7e2e92 Workaround for Aurora 2.09 bug
5 years ago
Javier Jaramago Fernández 3d4b80b5e4 Honor 'wsrep_sst_donor_rejects_queries' avoiding setting a DONOR node offline during a SST
5 years ago
Javier Jaramago Fernández f6e0e64f42 "Changed prometheus counter naming convention to include '_total' suffix"
5 years ago
Javier Jaramago Fernández 84f4c96afa Multiple changes to multiple metrics definitions
5 years ago
Javier Jaramago Fernández ebedd5e37b Several improvements to prometheus metrics definitions
5 years ago
René Cannaò 67ec92ceb6
Merge pull request #2975 from sysown/v2.1.0-galera_ci
6 years ago
René Cannaò 6428035695 Fixed a compiling issue
6 years ago
Rene Cannao 41b173a83c Fixing a lot of compiler warnings
6 years ago
René Cannaò 208df329ea Improvements to test Galera with SQLite3 Server
6 years ago
Juan Manuel Fernández García-Minguillán 847b6975ec Initialize interr variable in galera monitor
6 years ago
René Cannaò bc0963e3f4
Merge pull request #2833 from sysown/v2.1.0-2687
6 years ago
René Cannaò 55264de664 Fix invalid free
6 years ago
René Cannaò 2bbd84d2c9 Support for SQLite3 plugin
6 years ago
Javier Jaramago Fernández 7f8b07a0db Created new metric counters for registering 'mysql_errors'
6 years ago
Javier Jaramago Fernández dbbfc397a6 "Added helper function and uniformed 'hostgroup_manager' metrics update"
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
Javier Jaramago Fernández c897b25e9f Added metrics help and replaced metrics impl with new array based one for 'mysql_monitor' module
6 years ago
Javier Jaramago Fernández eab412546b Changed previous metrics definitions and added updating
6 years ago
Javier Jaramago Fernández c319db2c3d Added new prometheus metrics mimicking current ones
6 years ago
René Cannaò 2bdf044825 Implementation of OFFLINE_SOFT for pxc_maint_mode
6 years ago
René Cannaò 865b96d343 Code cleanup
6 years ago
val 12e61b89bb Fix galera query in maint_mode
6 years ago
René Cannaò 97c6589700 Merge pull request #2490 from val214/v2.0.9-maint-mode
6 years ago
René Cannaò 1c84ca66ea
Merge pull request #2509 from sysown/v2.0.9-log-expired-password
6 years ago
Valentin Rakush c94e3b4af2 Report expired password error into the monitors error log
6 years ago
Valentin Rakush 7949e0762b Monitor expired password and failed pings
6 years ago
Valentin Rakush 8b59af4ef2 Host goes offline if maint_mode is true
6 years ago
Valentin Rakush 3814c54f6e pxc_maint_mode implementation for galera
6 years ago
René Cannaò a6debf5126 Fix memory leak in monitor_AWS_Aurora_thread_HG()
6 years ago
René Cannaò e062f84c3e
Merge pull request #2399 from val214/v2.0.9-mem-leaks
6 years ago
René Cannaò 67ec4107b7 Fix issue with LOAD MYSQL TO RUNTIME and Aurora
6 years ago
Valentin Rakush 2aac7c3179 Fix mem leak in Monitor connections pool
6 years ago
Valentin Rakush c1ced69cb5 Aurora replication lag: fix for master replication lag
6 years ago
Valentin Rakush cff0a27b78 Aurora replication lag: add estimated_lag_ms column to mysql_server_aws_aurora_log
6 years ago
Valentin Rakush 80a18ed9e2 Aurora replication lag: fix issues, adjust window size
6 years ago
Valentin Rakush 9b8590da0d Aurora replication lag: lag_num_checks (window) implementation
6 years ago
Valentin Rakush cf26350138 Fix for min lag. Use std::max
6 years ago
Valentin Rakush 39a2d29865 Aurora replication lag: padding/min implementation
6 years ago
Valentin Rakush 67ae1ee3bd Fix memory leak of servers in monitor connection pool
6 years ago
Valentin Rakush 51ac79959c Fix memory leak of queue in monitor
6 years ago
Valentin Rakush 591f08fc47 Undo error reporting when group replication hosts result set is empty
6 years ago
Valentin Rakush 1ffd3616c9 Group replication monitoring: count transactions behind events
6 years ago
René Cannaò 4bca7a3d5c Use close_mysql() for failed Monitor connections
6 years ago
René Cannaò bbb9ea3986 Filter Aurora replica with lag > 10m #2336
6 years ago