Commit Graph

773 Commits (08cc2f02fed12e02972874ec5437dfb86bb3e46b)

Author SHA1 Message Date
René Cannaò 9235fbf887 Added 1st testing for mysql_hostgroup_attributes
3 years ago
René Cannaò d61c043bdc Drafting mysql_hostgroup_attributes table
3 years ago
René Cannaò 6778ec0b51
Merge pull request #4081 from sysown/v2.x-freebsd-fixes
3 years ago
René Cannaò 9e40acf999
Merge pull request #4069 from sysown/v2.x-4066-upgrade_deps
3 years ago
Rahim Kanji ae40be4312 Resolve conflicts
3 years ago
René Cannaò 23a36eea00 Fixing 2 typos
3 years ago
Miro Stauder 42c135dab7
Merge branch 'v2.x' into v2.x-4066-upgrade_deps
3 years ago
Miro Stauder fcfbc17407 reimplement timediff_timezone_offset
3 years ago
René Cannaò 7e382f0a3f Avoid duplicate code in vacuum_stats()
3 years ago
René Cannaò ceb5695cd2 Fix command names in load_save_disk_commands
3 years ago
René Cannaò b1a14bd303 If SSL is used for frontend connections or fast_forward , try to consume all the bytes on the network buffer
3 years ago
René Cannaò 36575d273a Several code improvements
3 years ago
René Cannaò 71e2510ef6 Code cleanup on MySQL_HostGroups_Manager
3 years ago
Rahim Kanji 340a4f3318 Added proxysqltest: monitor task forced timeout
3 years ago
Miro Stauder d84f98a18c update libhttpserver to 0.18.2 and libmicrohttpd to 0.9.75
3 years ago
René Cannaò 7e80539c3e More bugfixes and testing on SSL and fast_forward
3 years ago
René Cannaò d836b0b032 More bugfixes and testing on SSL and fast_forward
3 years ago
Javier Jaramago Fernández 300532d6e2 Fix multiple warnings in logging function calls
3 years ago
René Cannaò ec93211d02
Merge pull request #4024 from sysown/v2.x_LocalDNSCache
3 years ago
Rahim Kanji c552fdb111 * Added DNS cache monitoring for ProxySQL servers.
3 years ago
René Cannaò 7dbfea7f05
Merge pull request #4016 from sysown/v2.x-fix_ldap_mapping_startup
3 years ago
René Cannaò 86330fb1db
Merge pull request #3974 from sysown/v2.x-macos
3 years ago
Javier Jaramago Fernández e52ed620af Remove brace initialization to fix compilation for Centos 7
3 years ago
Javier Jaramago Fernández d4aea7c9db Fix support for 'stats_mysql_users' for LDAP plugin
3 years ago
Rahim Kanji bd23629ecc * Handled few cases caused by Percona mysqldump.
3 years ago
Javier Jaramago Fernández c03ddb94d6 Fix 'mysql_ldap_mapping' not being load to runtime at startup
4 years ago
René Cannaò 52842f6056 Build on MacOS
4 years ago
René Cannaò 22eb7d621b Prevent a crash during shutdown if Cluster is running
4 years ago
Miro Stauder 81f61de6c7 make sure LDAP tables are existing and commited to disk before use
4 years ago
Javier Jaramago Fernández c46a152a24 Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-ldap_fixes
4 years ago
René Cannaò 301bb09a4d
Merge pull request #3921 from sysown/v2.x-cluster_cmp_checksums
4 years ago
René Cannaò f960a4d9b7
Merge pull request #3903 from sysown/v2.x-tests_220619
4 years ago
Javier Jaramago Fernández d8429ca71c Replace resultset for Cluster request fetching 'runtime_mysql_servers'
4 years ago
Javier Jaramago Fernández 7a0a83bb20 Fix compilation adding constructor for 'incoming_servers_t'
4 years ago
Javier Jaramago Fernández 2e594bd6b1 Replace space in ProxySQL version Enterprise identifier in favor of dash
4 years ago
Javier Jaramago Fernández c46a805c70 Fix memory leak for 'Scheduler_Row::filename' field
4 years ago
Javier Jaramago Fernández 97369e59e4 Fix minor typos in metrics descriptions
4 years ago
Javier Jaramago Fernández 099c2a5f06 Cluster: Speedup of processing of MySQL Users and MySQL Servers
4 years ago
Javier Jaramago Fernández 3dacb77321 Perform atomic update of Cluster fetched module checksum epochs
4 years ago
Javier Jaramago Fernández e6083250b5 Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-cluster_cmp_checksums
4 years ago
René Cannaò 5e68075edf Cluster: Speed up processing of MySQL Query Rules
4 years ago
René Cannaò 2a5f364fd5
Merge pull request #3888 from sysown/v2.4-clickhouse
4 years ago
Javier Jaramago Fernández 78da12d289 Removed invalid load from disk of 'mysql_ldap_mapping' in 'ProxySQL_Admin::init'
4 years ago
Javier Jaramago Fernández aca6ab6279 Fix crash during startup due to 'GloClickHouseServer' not being yet initialized
4 years ago
Javier Jaramago Fernández fa887b2dc9 Prevent Cluster sync between nodes with/without 'ldap_auth' plugin loaded
4 years ago
Javier Jaramago Fernández 4c4346a710 Add checksum computation after fetch to multiple cluster modules
4 years ago
Javier Jaramago Fernández f30ce31c43 Add a couple of comments at 'ProxySQL_Admin::init'
4 years ago
Javier Jaramago Fernández 894ca75455 Fix a 'one time leak' at 'load_or_update_global_settings' during startup
4 years ago
René Cannaò 5b43bbf860 Fixed bug in changing listener port at runtime
4 years ago
René Cannaò aeeaaba845 Minor test fixes
4 years ago
Javier Jaramago Fernández 958316df31 Check that plugin module is initialized before calling 'has_variable'
4 years ago
René Cannaò 8730fcd350
Merge branch 'v2.x' into v2.x_generate_multi_rows
4 years ago
René Cannaò 05a27c7b70
Merge pull request #3876 from sysown/v2.x-3873
4 years ago
René Cannaò c0fdf02b78 Fixed various compiler warnings
4 years ago
Javier Jaramago Fernández f05ebe3b51 Fix range of 'admin-stats_mysql_digest_to_disk' to match doc #3873
4 years ago
René Cannaò 0a28d9a9f1
Merge pull request #3871 from sysown/v2.x-isolate_monitor_mysql_servers
4 years ago
René Cannaò 7a441834dc
Merge pull request #3866 from sysown/v2.x-tokenizer_valgrind_issues
4 years ago
Javier Jaramago Fernández 5569528b04 Move 'mysql_servers' from 'monitor' db into 'monitor_internal' db
4 years ago
--global 52ea5abfa9 Fix invalid 'write-after-free' reported by ASAN
4 years ago
Miro Stauder 0c37a63906
Merge branch 'v2.x' into CodeQL
4 years ago
René Cannaò f8a0934c13 Added new function to create multirows statements for SQLite
4 years ago
René Cannaò e402b65de1
Merge pull request #3848 from sysown/v2.x-3847
4 years ago
René Cannaò f9b6f16beb
Merge pull request #3824 from sysown/v2.x-proxy_msg_stats
4 years ago
Javier Jaramago Fernández b74797f7b3 Fix deadlock caused by Cluster and Admin #3847
4 years ago
Javier Jaramago Fernández 543bb93e23 Add stats capabilities to log messages
4 years ago
Miro Stauder e84dc7ed0e fix CodeQL alerts
4 years ago
Javier Jaramago Fernández 8956b672f4 Remove 'admin_mysql_ifaces' from metrics labels for 'proxysql_servers_clients_status'
4 years ago
Javier Jaramago Fernández 3e906acc04 Add new metric 'proxysql_servers_clients_status_last_seen_at'
4 years ago
Javier Jaramago Fernández 01a6e1c9bf Add new prometheus metric 'proxysql_version_info' #3483
4 years ago
René Cannaò 8d83bd3562
Merge branch 'v2.x' into v2.1.2-cluster
4 years ago
Javier Jaramago Fernández 77a114ebc8 Fixed 'stats_mysql_client_host_cache/_reset' table definitions with extra spaces for formatting #3734
4 years ago
René Cannaò 00916441b9 Admin support for SELECT current_user() and user()
4 years ago
Javier Jaramago Fernández bcb009fc24 Revert "Merge pull request #3645 from sysown/v2.x-2021"
4 years ago
Jared Jetsel 111117bbc8 Merge branch 'v2.x-3674' of https://github.com/jaredev/proxysql into v2.x-3674
4 years ago
Jared Jetsel 962116f1b6 Fixed typo, memory leak, and documentation.
4 years ago
René Cannaò b59467371a
Merge branch 'v2.x' into v2.x-3674
4 years ago
René Cannaò e892413d1a
Merge branch 'v2.x' into v2.x-2021
4 years ago
René Cannaò 698031eb7a
Merge pull request #3676 from sysown/v2.x-3592
4 years ago
René Cannaò a6edd02a9b Revert "Merge branch 'v2.x' into v2.x-2021"
4 years ago
René Cannaò 8cea730de0
Merge pull request #3661 from sysown/v2.x-3649
4 years ago
René Cannaò ab3f9bcedc PROXYSQLTEST 51 and 52 on debug build only
4 years ago
René Cannaò 79d1d8742c Testing unbalanced weight
4 years ago
Jared Jetsel 0ef478e597 In debug mode, the handlers for ProxySQL_Statistics are called even if the web interface plugin is not loaded. This way the code can be tested even if the plugin is not loaded. Added new member function ProxySQL_Statistics::knows_variable_name(), which is used to check if a variable_name is in the map. This is useful to do a check before get_variable_id_for_name() in instances where it is undesirable to load or create entries in the lookup table, while keeping direct access to the map private and mutex protected. In ProxySQL_Statistics::get_variable_id_for_name, wrapped the variable_id select code in a lambda so that it could be reused instead of calling sqlite3_last_insert_rowid(), as there were some thread safety concerns which potentially could produce incorrect ids. Changed the insert to use execute() instead of execute_statement() instead, sufficient and simpler. Added error in case the function could not find, load, or generate a new id.
4 years ago
Javier Jaramago Fernández d0ed1895fa Fixed typo in 'round_intv_to_time_interval' preventing parameter update
4 years ago
Javier Jaramago Fernández 71a1f64f2d Added new metric 'proxysql_fds_in_use' reporting the current number of file descriptors in use #3592
4 years ago
Javier Jaramago Fernández 6a92cc9238 Added new command 'PROXYSQL_SIMULATOR' with support for simulating connection errors #3649
4 years ago
René Cannaò 7ef783487c Adding skeleton for PROXYSQL_SIMULATOR
4 years ago
Javier Jaramago Fernández 06c386dfd1
Merge pull request #3626 from sysown/v2.x-3625
5 years ago
Javier Jaramago Fernández 0058ecb4f0 Removed 'flush_error_log' call from 'PROXYSQL FLUSH QUERY CACHE'
5 years ago
Javier Jaramago Fernández 515167f5f9 Removed 'flush_error_log' call from 'PROXYSQL FLUSH MYSQL CLIENT HOSTS' #3625
5 years ago
Javier Jaramago Fernández 9aef676973 Added population of 'stats_mysql_client_host_cache' when 'stats_mysql_client_host_cache_reset' is queried
5 years ago
Javier Jaramago Fernández 416a0470a5 Added tables 'stats_mysql_client_host_cache' and 'stats_mysql_client_host_cache_reset' exposing entries in 'client_host_cache'
5 years ago
Javier Jaramago Fernández 2d3da0fca3 Simplified check for query 'PROXYSQL FLUSH MYSQL CLIENT HOSTS' via 'strcasecmp'
5 years ago
Javier Jaramago Fernández 6e533cb5d9 Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-client_err_limit
5 years ago
René Cannaò f7bb4d201b Add get_current_query_rules_fast_routing_count()
5 years ago
René Cannaò cd7e740a51 Get mutex during LOAD PROXYSQL SERVERS TO RUNTIME
5 years ago
René Cannaò 66c4c6b0a8 Adding new mutex in ProxySQL_Admin::save_proxysql_servers_runtime_to_database()
5 years ago
René Cannaò 45e55d4e90 Removing admin_mutex in ProxySQL_Admin.cpp
5 years ago
René Cannaò e1adc955eb Fixing some race condition in Cluster
5 years ago
René Cannaò 48562faaf1 Merge branch 'v2.x' into v2.1.2-cluster
5 years ago