Commit Graph

396 Commits (3a481ecb89d2ca82deaec03d7da45c8f46cbba0b)

Author SHA1 Message Date
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
René Cannaò ce4a4a2464 Code cleanup and speeding compile time
6 years ago
René Cannaò 80e92b144d [WIP] Second commit for mysql firewall whitelist
6 years ago
Valentin Rakush 39a2d29865 Aurora replication lag: padding/min implementation
6 years ago
Valentin Rakush 00acc3f7ae Aurora replication lag configuration
6 years ago
René Cannaò bdc75c7063
Merge pull request #2384 from sysown/v2.0.9-kill
6 years ago
René Cannaò 364ba71002 Fix race condition on KILL CONNECTION
6 years ago
René Cannaò feccb76427 Revert "Fix race condition on KILL CONNECTION"
6 years ago
René Cannaò b959f29306 Fix race condition on KILL CONNECTION
6 years ago
Valentin Rakush 23752ac703 Fix memory leak in HGM mysql_servers generation
6 years ago
Valentin Rakush 4cdbd2af61 Fix mem leak in HGMCU thread
6 years ago
Valentin Rakush 9a315ddbdf Fix memory leak of the HGM threads objects
6 years ago
Valentin Rakush 1ffd3616c9 Group replication monitoring: count transactions behind events
6 years ago
René Cannaò 2cefe2810c Fixing a race condition during graceful shutdown
6 years ago
René Cannaò 1ac092490d Variable aurora_max_lag_ms_only_read_from_replicas was not evaluated
6 years ago
René Cannaò f3d15f4897
Merge pull request #2290 from acampoh/v2.0.7-fix-galera-support
6 years ago
René Cannaò 50876113f7 Renaming variable aurora_only_read_from_replicas into aurora_max_lag_ms_only_read_from_replicas
6 years ago
René Cannaò 35705f769a Adding variable aurora_only_read_from_replicas
6 years ago
Valentin Rakush 440851ec6b Update all assertions to check SQLITE_OK
6 years ago
Adrián del Campo f9e19ba03e Ported back the galera support fix to v2.0.7
7 years ago
René Cannaò 85f425af86 Do not disable backend for some errors codes #2261
7 years ago
René Cannaò 99b4dd4bbd
Merge pull request #2243 from sysown/v2.0.7.2
7 years ago
René Cannaò aaf83eec78 Finalizing the support for more session variables
7 years ago
René Cannaò d02c854e9b Implement auto discovery for Aurora writer too
7 years ago
René Cannaò 48ab04f5dc Merge branch 'v2.0.6-aurora_discovery' into v2.0.7.4
7 years ago
René Cannaò 5336e72f1c For Aurora, do not use the writer if there are good readers candidates
7 years ago
René Cannaò b2975490c5 Implementation and simulation of AWS Aurora auto-discovery
7 years ago
René Cannaò 495278c76b MySQL_HostGroups_Manager::commit() reports for how long it locked
7 years ago
René Cannaò 2d3aaf79e5 Replace endpoint_address with domain_name
7 years ago
René Cannaò ee5b54d983 Create a wrapper around sqlite3_prepare_v2
7 years ago
René Cannaò 590a24c8c6 Tracking `CLIENT_MULTI_RESULTS`
7 years ago
René Cannaò 30b4b34c81 Use 32 bits for capabilities flags
7 years ago
René Cannaò 6691a867fa Fix issues/FR #2120 , #2121 and #2125
7 years ago
René Cannaò 9ed7094cfe Implemeting of more locking in SELECT statements
7 years ago
René Cannaò 9604e9fbfb Adding age of sessions and connections #2055
7 years ago
René Cannaò a6897eaa0d Adding more internal info in JSON format #2055
7 years ago
René Cannaò 88c2c6e3d4
Merge pull request #2044 from sysown/v2.0.1-aurora
7 years ago
René Cannaò 817e20c222 Improvement on Galera and HGM
7 years ago