diff --git a/how eba540af7da16b312050cab4b003e3e54c7bc457 b/how eba540af7da16b312050cab4b003e3e54c7bc457 new file mode 100644 index 0000000000..9972a69205 --- /dev/null +++ b/how eba540af7da16b312050cab4b003e3e54c7bc457 @@ -0,0 +1,46807 @@ +commit eba540af7da16b312050cab4b003e3e54c7bc457 (HEAD -> v2.x-2411025) +Author: Rene Cannao +Date: Thu Jan 25 07:54:55 2024 +0000 + + Remove redundant code from MySQL_Session about charsets check + +commit b757c97e8aed7cd454f9d05eed51bef9f0efb303 (origin/v2.x-2411025) +Author: Rene Cannao +Date: Thu Jan 25 04:27:02 2024 +0000 + + Removed several assert() from MySQL_Variables in non-debug build + +commit 725027b791159721a90c26b45e1b71ba5c0f255a +Author: Rene Cannao +Date: Thu Jan 25 04:48:12 2024 +0000 + + Fixed optimization in previous commit + +commit 1d1170145c1f436980d4da136d25d823e716e162 +Author: Rene Cannao +Date: Thu Jan 25 03:58:50 2024 +0000 + + Minor code optimizations + + About: + handler_again___verify_backend_multi_statement() + handler_again___verify_init_connect() + +commit 78fd49ed3a22a976112973e31883ccb48ed8efe8 +Author: Rene Cannao +Date: Thu Jan 25 03:27:00 2024 +0000 + + Minor code optimization + +commit 57038024af4816d75f2c30276198fe050843aa7f +Author: Rene Cannao +Date: Thu Jan 25 01:32:25 2024 +0000 + + Minor optimizations found with profiler + +commit 647dbd2e430652eee117257ae88204b78c683552 (origin/v2.x, origin/HEAD, v2.x) +Merge: 06844eda a3df0602 +Author: René Cannaò +Date: Wed Jan 24 18:47:30 2024 +0700 + + Merge pull request #4439 from sysown/v2.x-4438 + + Do not download mysql-boost-5.7.44.tar.gz if already present #4438 + +commit a3df0602395f0d9bc61a87a996169a367b7ffe4c (origin/v2.x-4438) +Author: René Cannaò +Date: Wed Jan 24 05:03:34 2024 +0000 + + Do not download mysql-boost-5.7.44.tar.gz if already present #4438 + +commit 06844eda3f08dcf8f4d95201ed84d6f6d9b2afbd +Merge: 3c36711f 33a5df27 +Author: René Cannaò +Date: Tue Jan 23 13:12:39 2024 +0700 + + Merge pull request #4429 from sysown/v2.x-4335 + + Deprecate mysql-default_tx_isolation #4335 + +commit 3c36711f7fe1363f690b89d2f31dae3593ef2125 +Author: Miro Stauder +Date: Sat Jan 20 13:22:56 2024 +0100 + + Update CI-codeql.yml + +commit 635f07556a8feaef53c8fa2fdecb48cd5c9f6827 +Author: Miro Stauder +Date: Sat Jan 20 13:09:13 2024 +0100 + + Update CI-codeql.yml + +commit 1516097d74c721709ed8e308132d4401ce53cc76 +Merge: 587f49e1 bb562ec4 +Author: René Cannaò +Date: Fri Jan 19 17:41:23 2024 +0700 + + Merge pull request #4432 from sysown/v2.x-year + + Update copyright year + +commit 587f49e15079798b31d70637db3bfe8a54e56840 +Author: Miro Stauder +Date: Fri Jan 19 09:51:00 2024 +0100 + + remove 'if: always()' from top level action jobs 'run' + +commit bb562ec48421e2998b588c08bdbb3df28a64cd8a (origin/v2.x-year) +Author: René Cannaò +Date: Fri Jan 19 03:05:07 2024 +0000 + + Update copyright year + +commit 33a5df27ddafd632abdec1227c197abd568f882d (origin/v2.x-4335) +Author: René Cannaò +Date: Fri Jan 19 01:20:39 2024 +0000 + + Fixing tap test after deprecating mysql-default_tx_isolation + +commit 7f57f20e5af4ca25ca30ec3a6098a4d98feb6570 +Merge: 7d429c69 41cd7407 +Author: René Cannaò +Date: Fri Jan 19 07:16:35 2024 +0700 + + Merge pull request #4430 from sysown/v2.x-4241 + + Added metric MultiplexDisabled_ext #4241 + +commit 7d429c69ad7b3c75b5d5fdd110f340797617ddc9 +Merge: acf2b7bd 53262987 +Author: René Cannaò +Date: Fri Jan 19 07:16:05 2024 +0700 + + Merge pull request #4428 from sysown/v2.x-pause_status + + Added new status variable mysql_listener_paused + +commit acf2b7bd7eef0417f199cd0b490e44dc1e1ca217 +Merge: 26738b4c e958946b +Author: René Cannaò +Date: Fri Jan 19 07:15:44 2024 +0700 + + Merge pull request #4427 from sysown/v2.x-4396 + + Handle STATUS command without backends + +commit 26738b4c15b447e58df53e0f665a84b337e1c985 +Merge: 44ebd622 93fca249 +Author: René Cannaò +Date: Fri Jan 19 07:15:26 2024 +0700 + + Merge pull request #4425 from sysown/v2.x-4355 + + Fast shutdown for TERM signal #4355 + +commit 44ebd62289d3f29a8491631b3715e18f3ccf63e3 +Merge: 2840e18e 496ee02c +Author: René Cannaò +Date: Fri Jan 19 07:15:06 2024 +0700 + + Merge pull request #4424 from sysown/v2.x-2091 + + Input validation for mysql-server_capabilities + +commit 41cd740701f9e304e9d1842a54a9018372f1326f (origin/v2.x-4241) +Author: René Cannaò +Date: Thu Jan 18 05:04:53 2024 +0000 + + Added metric MultiplexDisabled_ext #4241 + + In the output of PROXYSQL INTERNAL SESSION and stats_mysql_processlist.extended_info , + MultiplexDisabled was only returning the output of MySQL_Connection::MultiplexDisabled() . + If there was a transaction, or an error, multiplexing was disabled but MultiplexDisabled() was + still reporting false. Therefore it was necessary to also check server_status flag and last_errno. + This commits intruduces MultiplexDisabled_ext , that reports the output of: + MySQL_Connection::MultiplexDisabled() || MySQL_Connection::isActiveTransaction() + + This should make troubleshooting easier. + + Also, removed any reference to deprecated STATUS_MYSQL_CONNECTION_TRANSACTION . + + Closes #4241 + +commit d2c8d655a887ed191b4a381ac86f1379692d9616 +Author: René Cannaò +Date: Thu Jan 18 04:44:11 2024 +0000 + + Deprecate mysql-default_tx_isolation #4335 + + Variable mysql-default_tx_isolation is unused. + +commit 53262987ace90f879edab4d6613d02df311d025b (origin/v2.x-pause_status) +Author: René Cannaò +Date: Thu Jan 18 04:34:00 2024 +0000 + + Added new status variable mysql_listener_paused + + New variable mysql_listener_paused added to table stats_mysql_global . + The variable is a boolean: + - true : listener is paused because PROXYSQL PAUSE was executed + - false : listener is not paused + + The variable is also reported by Prometheus exporter as proxysql_mysql_listener_paused + + Related to #4391 + +commit e958946b82781bb75a4ce23a99c4bc4348bd0980 (origin/v2.x-4396) +Author: René Cannaò +Date: Thu Jan 18 03:55:46 2024 +0000 + + Handle STATUS command without backends + + Handles special queries executed by the STATUS command in mysql cli . + Specifically: + - "select DATABASE(), USER() limit 1" + - "select @@character_set_client, @@character_set_connection, @@character_set_server, @@character_set_database limit 1" + + Closes #4396 + Closes #4426 + +commit 93fca249140e394a17b7a94cd2965f2e9c31f01d (origin/v2.x-4355) +Author: René Cannaò +Date: Thu Jan 18 02:13:23 2024 +0000 + + Fast shutdown for TERM signal #4355 + + Closes #4355 + +commit 496ee02cae6be6499e8b45ad3a24be2719d53d46 (origin/v2.x-2091) +Author: René Cannaò +Date: Thu Jan 18 01:45:26 2024 +0000 + + Input validation for mysql-server_capabilities + + Input validation on mysql-server_capabilities assumed that it was 16 bits (for historical reasons). + This has now improved and supports up to 32 bits. + + Notes: + - some capabilities are changed at runtime while performing the handshake with the client + - even if we support 32 bits capabilities, many of them do not have any real meaning for proxysql (not supported) + + Closes #2091 + +commit 2840e18e133a4ead4376b2d6a94d9c5839a55e59 +Merge: 436fb08c 9b00eb33 +Author: René Cannaò +Date: Mon Jan 15 09:24:42 2024 +0700 + + Merge pull request #4295 from sysown/v2.x-aurora_autodiscovery-refactor_cluster_mysql_servers-gr_bootstrap_mode + + Merge of several PRs into single one + +commit 436fb08c208bd5f5a10e19bbce26ca6bf9a771aa +Merge: c0ea4d63 8ad30f1a +Author: René Cannaò +Date: Fri Jan 12 11:50:39 2024 +0700 + + Merge pull request #4411 from sysown/v2.6.0-set_testing-240-iterate-all-rhg + + iterate all reader hostgroups in set_testing-240 + +commit 9b00eb33a592ef191d97c0bb70236cb13127c2f7 (origin/v2.x-aurora_autodiscovery-refactor_cluster_mysql_servers-gr_bootstrap_mode) +Author: Javier Jaramago Fernández +Date: Thu Jan 11 11:22:51 2024 +0100 + + Make 'test_cluster_sync_mysql_servers' exit gracefully in clusterless env + + Current GitHub actions testing environment lacks of a ProxySQL cluster. + This change allows the test to gracefully exit when the env conditions + for it are not met. + +commit c0ea4d6392139117a03dc0a2ec5cb261048ef228 +Merge: c835d332 5e321a97 +Author: René Cannaò +Date: Thu Jan 11 16:29:41 2024 +0700 + + Merge pull request #4414 from sysown/v2.x_issue_4399 + + Fixed crash on frequently querying stats_mysql_query_digest* tables + +commit c835d33295afd5ba7a631759362fceb9ec875697 +Merge: daf00fd7 862a1a70 +Author: René Cannaò +Date: Thu Jan 11 16:29:30 2024 +0700 + + Merge pull request #4416 from sysown/v2.x-4415 + + Fix Admin deadlock on concurrent connections - Closes #4415 + +commit 5e321a979813968460f95c0fbbf810cbc57cb6a3 (origin/v2.x_issue_4399) +Author: Rahim Kanji +Date: Thu Jan 11 11:18:34 2024 +0500 + + Added regression test + +commit 862a1a70852490cf4abfc2c73f51caa79926fcdd (origin/v2.x-4415) +Author: Javier Jaramago Fernández +Date: Wed Jan 10 19:20:12 2024 +0100 + + Fix Admin deadlock on concurrent connections - Closes #4415 + +commit 6156125905e2ac1c830c58e7b560e3ae110fd721 +Author: Rahim Kanji +Date: Wed Jan 10 16:53:39 2024 +0500 + + Fixed ProxySQL crash on querying stats_mysql_query_digest and stats_mysql_query_digest_rest + +commit daf00fd7bdab17f7abcea923abe324ae67847f25 +Merge: a3cb2833 856c7e32 +Author: René Cannaò +Date: Wed Jan 10 16:09:01 2024 +0700 + + Merge pull request #4413 from sysown/v2.x_fixed_tap_rpath + + TAP tests rpath fix + +commit 856c7e321a7edc2d494cb529eb16936025697738 (origin/v2.x_fixed_tap_rpath) +Author: Rahim Kanji +Date: Wed Jan 10 11:14:53 2024 +0500 + + Added rpath + +commit 83cf46dd83733a25b0e909961a84a198daae0c52 +Merge: e8d22546 a3cb2833 +Author: René Cannaò +Date: Tue Jan 9 16:31:08 2024 +0700 + + Merge branch 'v2.x' into v2.x-aurora_autodiscovery-refactor_cluster_mysql_servers-gr_bootstrap_mode + +commit a3cb28332f430912e1c6a260182ddc65e7f75ed2 +Merge: 885db4a8 4e69e9bd +Author: René Cannaò +Date: Tue Jan 9 16:30:03 2024 +0700 + + Merge pull request #4407 from sysown/v2.x_update_mariadb_connector_to_3.3.8 + + Update MariaDB Connector to Version 3.3.8 + +commit 885db4a8fcf4f718cecc575268f6c3fa0bf7447f +Merge: c41331ad a5990ead +Author: René Cannaò +Date: Tue Jan 9 16:17:53 2024 +0700 + + Merge pull request #4409 from sysown/v2.6.0-clang-fix + + fix clang issue + +commit 8ad30f1a2ecaf02b97f5377638712a0030c0e7a4 (origin/v2.6.0-set_testing-240-iterate-all-rhg) +Author: Miro Stauder +Date: Mon Jan 8 11:22:07 2024 +0000 + + keep test duration constant, divide num queries by num RHGs + +commit 12e83686516c13a1ebf6025574eba624ed5651dc +Author: Miro Stauder +Date: Mon Jan 8 08:42:46 2024 +0000 + + iterate all reader hostgroups in set_testing-240 + +commit 4e69e9bd7485cabd2db5547edd961b6e8b0e0453 (origin/v2.x_update_mariadb_connector_to_3.3.8) +Author: Rahim Kanji +Date: Fri Jan 5 12:24:21 2024 +0500 + + Added query rule to route 'SELECT @rpl_semi_sync_slave=?' and 'SET @rpl_semi_sync_slave=1' queries to writer HG and disable multiplexing. + +commit a5990ead2d418a9ac2d5f094540d7f67899b3245 (origin/v2.6.0-clang-fix) +Author: Miro Stauder +Date: Wed Jan 3 21:36:41 2024 +0000 + + fix clang issue + +commit 6b76ceb5e7867a6ce1d9045eac9687f591618688 +Author: Rahim Kanji +Date: Mon Jan 1 12:09:36 2024 +0500 + + removed treat warning as error flag + +commit e8220847dd977d9e9867989489057dc788aa8b2f +Author: Rahim Kanji +Date: Fri Dec 29 15:42:32 2023 +0500 + + Few fixes + +commit a9047c6a8d15583f1d8c2e2b32faaa63d2f66f85 +Author: Rahim Kanji +Date: Fri Dec 29 13:28:31 2023 +0500 + + Updated x509cache.patch + +commit 7cd7027ad0005686fba46d8a27f3d05ee03c3b67 +Author: Rahim Kanji +Date: Fri Dec 29 13:05:42 2023 +0500 + + Added error checking + +commit 465ff35cc2e8cf059379816dadd8bc94c801d765 +Author: Rahim Kanji +Date: Thu Dec 28 12:42:15 2023 +0500 + + Few fixes + +commit 6b4fd99cf3512f1c901e6fd36aedcb1719efe6b6 +Author: Rahim Kanji +Date: Wed Dec 27 14:37:34 2023 +0500 + + Replaced [[maybe_unused]] with __attribute__((unused)) + +commit 91fda8895d40677fca506a4f71bd3f342a6bf7d7 +Merge: 0267ee45 c41331ad +Author: Rahim Kanji <87704158+rahim-kanji@users.noreply.github.com> +Date: Wed Dec 27 13:32:34 2023 +0500 + + Merge branch 'v2.x' into v2.x_update_mariadb_connector_to_3.3.8 + +commit 0267ee45b9c23f16fe5d270f0bdb3fc4df5bd3f9 +Author: Rahim Kanji +Date: Wed Dec 27 13:27:43 2023 +0500 + + Removed mariadb-connector-c-3.1.9-src.tar.gz + +commit 0b408255f8a1e455c7d4018045ee24ff2d8c69b8 +Author: Rahim Kanji +Date: Wed Dec 27 13:21:55 2023 +0500 + + Updated mariadb_client link + +commit 30d51e6a8922a696adb88965d565bbaa94a751dc +Author: Rahim Kanji +Date: Wed Dec 27 13:10:20 2023 +0500 + + Fixed warnings + +commit 9ac7aa0f8fec7bbea1a914cd16dcb0cadf33ca2e +Author: Rahim Kanji +Date: Wed Dec 27 12:50:19 2023 +0500 + + Updated mariadb_rpl.patch + +commit 7ede266b63c3c1a956638b434e943fdcdb0a092a +Author: Rahim Kanji +Date: Wed Dec 27 12:10:16 2023 +0500 + + Updated x509cache.patch + +commit d915f1ef6a9990a5f40e58d8445a31019892ed62 +Author: Rahim Kanji +Date: Wed Dec 27 12:01:20 2023 +0500 + + Updated mariadb_com.h.patch + +commit a233795190855117e1ca28888ec27515f380d2c8 +Author: Rahim Kanji +Date: Wed Dec 27 11:16:31 2023 +0500 + + Removed old sslkeylogfile patches + +commit 9edb69c944e011db507e964b611c901a6c4ab07d +Author: Rahim Kanji +Date: Tue Dec 26 18:59:23 2023 +0500 + + Updated ma_charset.c.patch + +commit d1484bcaed05f78125a812aa0ac1f2965f226fe0 +Author: Rahim Kanji +Date: Tue Dec 26 15:58:46 2023 +0500 + + Updated mariadb_com.h.patch + +commit 1e42720e159099f982fcd820e41aa1f42a79db61 +Author: Rahim Kanji +Date: Tue Dec 26 15:29:06 2023 +0500 + + Updated client_deprecate_eof.patch + +commit 18ff61e835d3e5a1c391bd3626984b1c3e9cc9d2 +Author: Rahim Kanji +Date: Sun Dec 24 20:16:19 2023 +0500 + + Fixed unreferenced variable warning + +commit 4973cc48aa2151964fa681b9a44087cbb389d508 +Author: Rahim Kanji +Date: Sun Dec 24 19:29:01 2023 +0500 + + Fixed compilation error + +commit c41331ad793e83dadf09c0e8301653119148566c +Merge: e6626673 38e9bc56 +Author: René Cannaò +Date: Fri Dec 22 16:18:51 2023 +0700 + + Merge pull request #4395 from sysown/v2.x_unified_makefile_fixes + + Consolidated PR#4387 & PR#4368: Refactor Makefiles, Build Targets and fixed TAP tests linking + +commit e6122bec9f1df9f3fdf8f7b0b1338b935cf71872 +Author: Rahim Kanji +Date: Thu Dec 21 16:43:35 2023 +0500 + + Updated sslkeylogfile.patch + +commit 7ed3293b1fdaafaf67415f4777f5eaf71bea3965 +Author: Rahim Kanji +Date: Thu Dec 21 16:15:12 2023 +0500 + + Updated empty_split_compress_packet.patch + +commit 3158ff182de13c56155094c497fbd273e4525125 +Author: Rahim Kanji +Date: Thu Dec 21 15:55:12 2023 +0500 + + Updated mariadb_stmt_store_result_err.patch + +commit f1811284806b0118c41729ccb98496206fadf39d +Author: Rahim Kanji +Date: Thu Dec 21 15:40:12 2023 +0500 + + Updated ps_buffer_stmt_read_all_rows.patch + +commit 445e99c0e0d5a99c95d642135d54c61c57f0a6f1 +Author: Rahim Kanji +Date: Thu Dec 21 15:34:03 2023 +0500 + + Updated cr_new_stmt_metadata_removal.patch + +commit b7eaa5e0cbcf146d54e7530076d0174271d58149 +Author: Rahim Kanji +Date: Thu Dec 21 12:39:54 2023 +0500 + + Updated zutil.c-multiplication-overflow.patch + +commit 24733834919a3676e51cf802ac90eb24d60e8a6f +Author: Rahim Kanji +Date: Thu Dec 21 12:29:26 2023 +0500 + + Updated ma_array.c-multiplication-overflow.patch + +commit 7e047b5dc1b30b317a78cb049bc25a639ee2b852 +Author: Rahim Kanji +Date: Thu Dec 21 12:19:17 2023 +0500 + + Updated mariadb_dyncol.c-multiplication-overflow.patch + +commit e70d23bc0c224b7f976240173c1d899fd15dfcd6 +Author: Rahim Kanji +Date: Thu Dec 21 11:16:13 2023 +0500 + + Updated mariadb_asan.patch + +commit b1ac8bbe76230db169cd8078a2ee75cd8480e5e9 +Author: Rahim Kanji +Date: Thu Dec 21 10:51:45 2023 +0500 + + Updated unittest_charset.c.patch + +commit ace0fdad9ca6066e0fbbfda3615f37051b85edb3 +Author: Rahim Kanji +Date: Thu Dec 21 10:49:22 2023 +0500 + + Updated unittest_basic-t.c.patch + +commit 25a65f26ef087dfb2c6b1ecc4797e8a2dc21d318 +Author: Rahim Kanji +Date: Wed Dec 20 12:57:16 2023 +0500 + + Updated ma_charset.c.patch + +commit d055acea50713a516a07e9644d378c10576d00c4 +Author: Rahim Kanji +Date: Wed Dec 20 12:52:07 2023 +0500 + + Updated ma_alloc.c.patch + +commit cd3ba0adf6c749ec8b541ca46d75ec2a11b059e9 +Author: Rahim Kanji +Date: Wed Dec 20 12:39:46 2023 +0500 + + Updated ma_priv.h.patch + +commit 29da460cf323e83ef6172b68b6fca6cf841b90bb +Author: Rahim Kanji +Date: Wed Dec 20 12:18:10 2023 +0500 + + Updated mysql.h.patch + +commit f0589f034c66837b7c17966da7016a6d7653838e +Author: Rahim Kanji +Date: Wed Dec 20 12:03:51 2023 +0500 + + Updated ma_password.c.patch + +commit 661fba5dae57ab98d1b48f55ece95dddcb8eb59a +Author: Rahim Kanji +Date: Wed Dec 20 12:03:18 2023 +0500 + + Updated mariadb_async.c.patch + +commit e6626673aac742c2709ba80a5f84c5371629417d +Merge: da78fd0a 8df7951f +Author: René Cannaò +Date: Wed Dec 20 08:38:07 2023 +0700 + + Merge pull request #4403 from sysown/v2.x_issue_4402 + + Garbage Values in MySQL Fields when Alias Length exceeds 250 characters + +commit e8d22546894a92ba9bd5cd02f86559c515c2b050 +Merge: c3e932a6 da78fd0a +Author: Javier Jaramago Fernández +Date: Tue Dec 19 18:53:00 2023 +0100 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-aurora_autodiscovery-refactor_cluster_mysql_servers-gr_bootstrap_mode + +commit d4c7832cc9c0a87028618b6cbf34ff4886b004e6 +Author: Rahim Kanji +Date: Tue Dec 19 16:52:36 2023 +0500 + + Updated mariadb_lib.c.ipv6_fix.patch + +commit 7ab875991cd1d397b32266bbedab9d9f4f8a03f7 +Author: Rahim Kanji +Date: Tue Dec 19 16:33:01 2023 +0500 + + Updated mariadb_lib.c.collation.patch + +commit 38e9bc56a8fda94b04e800827d8441d19c7d8d57 (origin/v2.x_unified_makefile_fixes) +Author: Rahim Kanji <87704158+rahim-kanji@users.noreply.github.com> +Date: Tue Dec 19 16:05:46 2023 +0500 + + removed extra line + +commit 7e202c92ee0390dff9aa071ddf2d9ac445a97dfd +Author: Rahim Kanji +Date: Tue Dec 19 15:55:44 2023 +0500 + + Updated mariadb_lib.c.patch + +commit e9b3956b6a637149993f77fe49496678504267af +Author: Rahim Kanji +Date: Tue Dec 19 14:54:48 2023 +0500 + + Updated mariadb_stmt.c.patch + +commit 8df7951fe66154e665fe08fcfdfc45e0dd22b0d1 (origin/v2.x_issue_4402) +Author: Rahim Kanji +Date: Tue Dec 19 10:34:37 2023 +0500 + + * Executing a query with a table or column alias exceeding 250 characters impacts the length of the MySQL field for the database name and column name, respectively, leading to garbage values being read at the end. + * Added TAP test + +commit be0e4b111c1e5f8fafc5656abe29fab538e38d66 +Author: Rahim Kanji +Date: Mon Dec 18 16:30:23 2023 +0500 + + Updated ma_context.h.patch + +commit a8e00bdc81e3cae019d41f6f05eda141a0205469 +Author: Rahim Kanji +Date: Mon Dec 18 16:29:10 2023 +0500 + + Removed ConnectorName.patch + +commit da78fd0a2bf543823de66022d60e34d009eb8b06 +Author: Miro Stauder +Date: Mon Dec 18 09:30:03 2023 +0100 + + GH actions - add mariadb-connector-c tests + +commit 747c6b3970b5748a8de210850870011690d1576d +Author: Miro Stauder +Date: Mon Dec 18 09:26:41 2023 +0100 + + HG actions - always run tests, even if builds fail, required cache might be available + +commit 48d3d8e9702ed2af81b64ff342008a6078fd930a +Author: Rahim Kanji +Date: Wed Dec 13 15:07:18 2023 +0500 + + Updated plugin_auth_CMakeLists.txt patch + +commit 7c36085a61b910a5e5a3670e92f6873e1515eabc +Author: Rahim Kanji +Date: Wed Dec 13 15:06:42 2023 +0500 + + Added mariadb-connector-c-3.3.8 + +commit e6981f2f009513b2bc4ce3e8c74581f02e1a1561 +Author: Miro Stauder +Date: Wed Dec 13 10:06:24 2023 +0100 + + Update CI-basictests.yml + +commit 282aae705d5982bc3061a6fc7f3bbca59155396b +Merge: 9fa66158 e8af97d8 +Author: Rahim Kanji +Date: Fri Dec 8 14:57:12 2023 +0500 + + Merge remote-tracking branch 'Master/v2.x' into v2.x_unified_makefile_fixes + + # Conflicts: + # lib/Makefile + +commit 9fa661583b05ad48d56e3c0089f0ea9ca29ebd3e +Author: Rahim Kanji +Date: Fri Dec 8 14:40:39 2023 +0500 + + Removed duplicate header file + +commit e8af97d82c70a9fb901c6421b1d1c4c717db32eb +Merge: 1e98de78 bd7846f4 +Author: René Cannaò +Date: Fri Dec 8 15:56:22 2023 +0700 + + Merge pull request #4397 from sysown/v2.x_cleanup231208 + + Various cleanup in MySQL_Thread.cpp + +commit 6cb80643f5efc63be85df944d0668f027b08db9e +Merge: 7b0e18d1 1e98de78 +Author: Rahim Kanji +Date: Fri Dec 8 10:31:02 2023 +0500 + + Merge remote-tracking branch 'Master/v2.x' into v2.x_unified_makefile_fixes + + # Conflicts: + # test/tap/tap/Makefile + # test/tap/tests/Makefile + +commit bd7846f430d4c0fd0eefe88cb90411ea2e9f6860 (origin/v2.x_cleanup231208) +Author: René Cannaò +Date: Fri Dec 8 03:04:21 2023 +0000 + + Move ProxySQL_Poll() to its own source file + +commit 51818120658381d5a567e9a7ec9050611ed721cc +Author: René Cannaò +Date: Fri Dec 8 02:57:13 2023 +0000 + + Removed redundant near_pow_2() + +commit 699fe7efcdbf9c68024e2d2de4463126faf89a5e +Author: René Cannaò +Date: Fri Dec 8 02:55:43 2023 +0000 + + Moved proxysql_find_charset_* functions out of MySQL_Thread.cpp + +commit 1e98de78afbf448f6a0afaa9ada00e77cf2e3fdd +Merge: 4b99077b 676c6dfe +Author: René Cannaò +Date: Fri Dec 8 09:32:22 2023 +0700 + + Merge pull request #4365 from sysown/v2.x_warning_support + + Added warnings handling + +commit 4b99077bd3f7c3b636ce7e3127215cd0d9e6d744 +Merge: 2aa6d506 59c3f9cd +Author: René Cannaò +Date: Fri Dec 8 09:21:58 2023 +0700 + + Merge pull request #4394 from sysown/v2.6.0-centos9 + + add CentOS 9 Stream builds + +commit 7b0e18d1206fe27005d699177113e4cf0b8b1db9 +Author: Rahim Kanji +Date: Fri Dec 8 01:03:04 2023 +0500 + + Removed MySQL_Protocol.h + +commit b046f50a0b19a2654e7a30b8c07dd5cdef62d860 +Author: Rahim Kanji +Date: Fri Dec 8 00:37:19 2023 +0500 + + Fixed deprecate_eof_support tests library linking. + +commit 08832f1c4dc143178c6b1ae168429eb44c4b5250 +Author: Rahim Kanji +Date: Fri Dec 8 00:36:15 2023 +0500 + + When C++17 is present, the build_*_default (formerly build_*_clickhouse) will be initiated. If the C++ standard falls within the range of C++11 up to, but not including, C++17, the build_*_legacy will be activated. + ClickHouse targets arenow default build targets. In order to ensure backward compatibility, ClickHouse targets are still available. + +commit 4af5dd2a1d4439ad29fefce08a12a3a368f6d078 +Merge: 3bb51ee1 2aa6d506 +Author: Rahim Kanji +Date: Thu Dec 7 14:25:40 2023 +0500 + + Merge remote-tracking branch 'Master/v2.x' into v2.x_testing_ci_test_failures + + # Conflicts: + # deps/Makefile + # lib/set_parser.cpp + +commit 3bb51ee13414b438d7bf7a36457cd752a4cf5844 +Author: Rahim Kanji +Date: Thu Dec 7 13:59:10 2023 +0500 + + Added TAP tests release build support + +commit 520d90eaf0c453feae117b1c3c119c12ee20ef6d +Author: Rahim Kanji +Date: Thu Dec 7 13:50:49 2023 +0500 + + Fixed libraries linking + +commit a52a3c742757a467a15a9258e7d49b739d8ed3d1 +Author: Rahim Kanji +Date: Wed Dec 6 15:38:29 2023 +0500 + + Fixed memory leaks + +commit 30d1cb77520cc8022ec3eb9032358d2e4207e354 +Author: Rahim Kanji +Date: Wed Dec 6 13:06:50 2023 +0500 + + Addressed library linking issue, ensuring TAP tests consistently utilize our custom-built OpenSSL library. + +commit 230411326f02917cb22838440df9aebfe29f0dfe +Author: Rahim Kanji +Date: Wed Dec 6 12:48:32 2023 +0500 + + Fixed dependencies + +commit d437768b2e3ee3fca028cdda0706eea633fd8d9c +Author: Rahim Kanji +Date: Wed Dec 6 12:33:29 2023 +0500 + + Remove libmysqlclient.a on clean + +commit 38cbba283327617f85092b02c7cca8bd968abeea +Author: Rahim Kanji +Date: Wed Dec 6 12:32:42 2023 +0500 + + Removed invalid argument + +commit ffe6df3f8744814ea80b907436e501bc46ecf390 +Author: Rahim Kanji +Date: Wed Dec 6 12:31:30 2023 +0500 + + Fixed build_deps_debug compiler flags + +commit 59c3f9cd3badf373dc63c28d834a02b98e054b83 (origin/v2.6.0-centos9) +Author: Miro Stauder +Date: Tue Dec 5 22:02:41 2023 +0000 + + add CentOS 9 Stream builds + +commit 2aa6d506ee3e273e52bf8cbe8d903446cd2a5b76 +Author: Miro Stauder +Date: Tue Dec 5 11:43:21 2023 +0100 + + Create CI-3p-sqlalchemy.yml + +commit 398eb15e4a33060fa6a8a0152517a8abeb383b84 +Merge: 2bf41ce7 f9946f9f +Author: Rahim Kanji +Date: Tue Dec 5 10:31:10 2023 +0500 + + Merge remote-tracking branch 'Master/v2.6.0-more-makefile-fixes' into v2.x_testing_ci_test_failures + + # Conflicts: + # test/tap/tap/Makefile + # test/tap/tests/Makefile + # test/tap/tests_with_deps/deprecate_eof_support/Makefile + +commit 8fdc7f010ef6c2d7b4125ebc606584cd01b39220 +Merge: 91b04d52 2ddc8186 +Author: René Cannaò +Date: Mon Dec 4 21:07:25 2023 +0700 + + Merge pull request #4340 from sysown/v2.x-2.6_new_defaults_2 + + V2.x new default for mysql-set_parser_algorithm + +commit 91b04d521b68864bf2670b9220ec7f367c2ef9d3 +Merge: 5775b6aa c2d58b3a +Author: René Cannaò +Date: Fri Dec 1 17:27:42 2023 +0700 + + Merge pull request #4392 from sysown/v2.x-webui_fixes + + Several required fixes for the `WebInterfacePlugin` + +commit c2d58b3ab453e39d01fc5ffadb44b33f238c8323 +Author: Javier Jaramago Fernández +Date: Thu Nov 30 09:26:38 2023 +0100 + + Disable 'examples' compilation for 'libhttpserver' + +commit a31f58fc3b8162a0b76bd64b2d56d67a94c5658a +Author: Javier Jaramago Fernández +Date: Thu Nov 30 09:20:02 2023 +0100 + + Add escaped URL tokenization to 'libhttpserver' + + Previously 'libhttpserver' only exposed method 'get_path_pieces()', this + method makes use of the internal 'standardized_url' for tokenizing the + URL. This method has the limitation of performing the escaping prior to + the tokenization of elements, incurring into improper tokenization. The + new introduced function 'get_url_pieces()' corrects this behavior. + +commit 0e5fe23f3633e7eee77e4f51bb78198cc07a4809 +Author: Javier Jaramago Fernández +Date: Thu Nov 30 09:05:07 2023 +0100 + + Remove global 'static strings' from 'libhttpserver' + + Invalid double-free were taking place during plugin de-initialization + due to ODR violations motivated by these objects. Simplest solution is + making them not require 'allocation/deallocation'. + +commit bb0f2da42c557a1182896a644c1e58f3382fdd5b +Author: Javier Jaramago Fernández +Date: Thu Nov 30 08:48:09 2023 +0100 + + Fix Valgrind reported 'realloc' of zero length + +commit 5a0dc26353f800015e7321e5687e802b80ebc661 +Author: Javier Jaramago Fernández +Date: Thu Nov 30 08:46:58 2023 +0100 + + Log loading errors for 'WebInterface' and 'LDAPAuth' plugins + +commit f9946f9f9f899b8c153a3ce7f933c2331ba82c20 +Author: Miro Stauder +Date: Tue Nov 28 22:33:48 2023 +0000 + + fix concurent dependency build, more cleanups + +commit 5775b6aa38403d688cfd0a8618acc76e3960136e +Merge: 28578a4b 786be5f8 +Author: René Cannaò +Date: Wed Nov 29 06:43:46 2023 +0700 + + Merge pull request #4385 from sysown/v2.x_issue_4380 + + Remove any trailing spaces and semicolons from the SET statement + +commit 28578a4ba6a396deed88449857029f4a5fa61a6b +Merge: c845cde3 d34f472b +Author: René Cannaò +Date: Wed Nov 29 06:43:29 2023 +0700 + + Merge pull request #4390 from sysown/v2.x_no_reg_test_3273 + + Disable TAP reg_test_3273_ssl_con-t + +commit 676c6dfe80ff9ef63081938581f41783897c8490 (origin/v2.x_warning_support) +Author: Rahim Kanji +Date: Tue Nov 28 13:18:18 2023 +0500 + + Added README + +commit 2bf41ce79b65d8fe8ac2c6918ec52692b87e9659 (origin/v2.x_testing_ci_test_failures) +Author: Rahim Kanji +Date: Mon Nov 27 15:10:29 2023 +0500 + + Fixed linking issue + +commit d8d12f39ec093893ac59a62b7d858f131f831dca +Author: Rahim Kanji +Date: Mon Nov 27 13:35:07 2023 +0500 + + Few fixes + +commit bddf376f160ffec3c2e7fdfce3b10c2bc0660435 +Author: Rahim Kanji +Date: Mon Nov 27 13:34:18 2023 +0500 + + Removed curl static library from libtap.so + +commit 786be5f89b67433f807950c857cf69d4d1f111d9 (origin/v2.x_issue_4380) +Author: Rahim Kanji +Date: Mon Nov 27 12:00:02 2023 +0500 + + Updated TAP test + + * Added functionality for generating strings composed of randomly selected characters from ';' and ' ', with lengths ranging from 1 to 8. These generated strings are intended to be appended to executed queries. + +commit 8606742583e229d292fef7ab3dd961ef9f6bd4f6 +Merge: f26ea6b4 c845cde3 +Author: Rahim Kanji +Date: Mon Nov 27 01:05:01 2023 +0500 + + Merge remote-tracking branch 'Master/v2.x' into v2.x_warning_support_final + + # Conflicts: + # test/tap/tests/set_testing-240-t.cpp + +commit f26ea6b44ec471b9f22a1bb5e42cbeda63d78c14 +Author: Rahim Kanji +Date: Mon Nov 27 01:01:39 2023 +0500 + + * Overriding some of the mariadb APIs to extract the warning count and print it in the log. This override will apply to all TAP tests, except when the TAP test is linked with the MySQL client library (LIBMYSQL_HELPER defined). + * Avoid closing of same mysql connection twice on error. + * Disabled warning count logging on few TAP tests + * Enable CLIENT_DEPRECATE_EOF on 20% of total mysql connections + +commit 68e256c455306981ea0523d41292a4e053664327 +Author: Miro Stauder +Date: Sun Nov 26 11:08:53 2023 +0000 + + fix paths and deps + +commit 1bcca12ee6e94d15a2535ab5a7fba6bc26340139 +Author: Miro Stauder +Date: Sat Nov 25 17:36:02 2023 +0000 + + fix mysql-client RelWithDebInfo build args + +commit 4d614cfde9f40005c282d5540a2999beb61089b9 +Author: Miro Stauder +Date: Sat Nov 25 17:00:40 2023 +0000 + + build mysql-client from mysql-boost-5.7.x source + +commit b71b1e9c3b0d55a9ec35b11834a28b803dbd9219 +Author: Miro Stauder +Date: Sat Nov 25 12:10:42 2023 +0000 + + also clean test/deps + +commit d34f472b1a5d241b9cae2df64220ea1a847dbe97 (origin/v2.x_no_reg_test_3273) +Author: René Cannaò +Date: Fri Nov 24 10:38:21 2023 +0000 + + Disable TAP reg_test_3273_ssl_con-t + +commit 581a0957b0c6b170a8e874442f9e952b05709095 +Author: Rahim Kanji +Date: Fri Nov 24 13:08:21 2023 +0500 + + Fixed test_wexecvp_syscall_failures-t compiling + +commit 4c6765cf4f39d98158ea3f5b1e82a5113e765704 +Merge: 30c88476 0a2c79ff +Author: Miro Stauder +Date: Thu Nov 23 17:04:44 2023 +0000 + + Merge branch 'v2.6.0-more-makefile-fixes' of https://github.com/sysown/proxysql into v2.6.0-more-makefile-fixes + +commit 30c88476c8cc66cdda09b8a2799f6b0075e9f64c +Author: Miro Stauder +Date: Wed Nov 22 12:21:00 2023 +0000 + + fix symlink creation + +commit 7c8db3f83d06893cd4f92354c8180d5d55199c0a +Author: Miro Stauder +Date: Wed Nov 22 12:13:50 2023 +0000 + + fix typos + +commit 42ad09252a469859c6ff22d1cc7a149bb2f62335 +Author: Miro Stauder +Date: Wed Nov 22 12:00:06 2023 +0000 + + revert broken symlinks + +commit 06facee46a920860d6b6d5aaf2ffbdcecce725b7 +Author: Miro Stauder +Date: Thu Nov 2 16:03:06 2023 +0000 + + more makefile fixes + +commit 803510fa5e6edc6187059898075ffd032d8afbdd +Author: Miro Stauder +Date: Tue Oct 31 14:24:24 2023 +0000 + + fix mysql includes + +commit 8b064494143d3cb4d2c0c94cef494ec725325209 +Author: Miro Stauder +Date: Mon Oct 30 18:36:18 2023 +0000 + + add external test deps to the main repo + +commit a849b13be395d47a3019cef6cbf3131241337665 +Author: Miro Stauder +Date: Fri Oct 27 07:59:44 2023 +0000 + + more makefile fixes + +commit 2dbcfc8f077905faf60cbcbeebd81e5094f4089c +Author: Miro Stauder +Date: Thu Oct 26 07:08:45 2023 +0000 + + more refactoring and fixes + +commit 8720d396dd939fa4b989d30aea09af874e0c69dd +Author: Miro Stauder +Date: Wed Oct 25 13:37:23 2023 +0000 + + more refactoring and fixes + +commit c78819bda9358600560bd12e33da65e258d41ea6 +Author: Miro Stauder +Date: Tue Oct 24 07:21:54 2023 +0000 + + use inludes from our deps intead of system + +commit c92a93b69bf66055926c0b1af9fd432136f2b365 +Author: Miro Stauder +Date: Tue Oct 24 07:20:07 2023 +0000 + + fix conditional debug messages + +commit e3c1d9bc7cebbf13302541f5c184d22a2d523fc6 +Author: Miro Stauder +Date: Tue Oct 24 07:19:28 2023 +0000 + + refactor makefiles + +commit c845cde30d7a675b09ed47d5b0207068ad179392 +Merge: 4fa48093 02291df1 +Author: René Cannaò +Date: Thu Nov 23 16:08:58 2023 +0700 + + Merge pull request #4382 from sysown/v2.x-set_testing_fix + + Updating set_testing-240-t + +commit fef6eea51959e41651d56ebc08b09c57a1f94450 +Author: Rahim Kanji +Date: Thu Nov 23 00:17:59 2023 +0500 + + Added ssl libs in fwd_eof_ok_query test + +commit 02291df1311a3ce587347a4d3f4a7156a7635327 (origin/v2.x-set_testing_fix) +Author: Miro Stauder +Date: Wed Nov 22 17:43:12 2023 +0100 + + Update set_testing-240-t.cpp + + use only readers from the default infra for now + +commit 0a2c79ff06717ba29e70513ba6fd6b94fe59c3b0 +Author: Miro Stauder +Date: Wed Nov 22 12:21:00 2023 +0000 + + fix symlink creation + +commit bb0f4721dabf7eb657b48845230f805e18d10c4b +Author: Miro Stauder +Date: Wed Nov 22 12:13:50 2023 +0000 + + fix typos + +commit e512fad7f376eaf425b74ed34328af4ddf7f6806 +Author: Miro Stauder +Date: Wed Nov 22 12:00:06 2023 +0000 + + revert broken symlinks + +commit 2f96438479a80375106e016dffca8af353de3391 +Author: Rahim Kanji +Date: Wed Nov 22 15:33:04 2023 +0500 + + Added proxysql/deps/openssl library path + +commit c9b5e014d7990671712091b7a1abd662327783a3 +Author: Rahim Kanji +Date: Wed Nov 22 12:49:54 2023 +0500 + + Removed static ssl libs from shared tap library + +commit 873cb441a6625ef6d712b7c3adaa865e35ff3d81 +Author: Miro Stauder +Date: Tue Nov 21 14:17:33 2023 +0100 + + Update set_testing-240-t.cpp + + fix connection creation for testuser + +commit 7eeaf0bb401e837773a1547dda2f31bc8bce9c5b +Author: René Cannaò +Date: Tue Nov 21 09:28:53 2023 +0000 + + Use right port on set_testing-240-t.cpp + +commit 09eb50a83e3f5f9fe1a44782c7685046a344042b +Author: Rahim Kanji +Date: Tue Nov 21 13:55:07 2023 +0500 + + Remove any trailing spaces and semicolons from the SET statement + +commit 4fa48093249c206bb7dc55cd5d27f1e548f67da0 +Author: Miro Stauder +Date: Tue Nov 21 09:22:51 2023 +0100 + + Update CI-3p-mysql-connector-j.yml + +commit a4116bd21432b63a765f3b03a2d4c3838511058d +Author: Miro Stauder +Date: Tue Nov 21 09:20:53 2023 +0100 + + Create CI-3p-php-pdo-mysql.yml + +commit e1c489acb1b7ae6c984f9db12815b8591382fe0e +Author: Rahim Kanji +Date: Tue Nov 21 00:57:50 2023 +0500 + + * If the backend server has CLIENT_DEPRECATE_EOF enabled, and the client does not support CLIENT_DEPRECATE_EOF, warning_count will be '0' in intermediate EOF packet. + * Suppress the display of warning counts in the "SHOW WARNINGS" statement. + +commit e3b6b3923b80dd1640d6aff66fc6ca85742b5f41 +Author: Miro Stauder +Date: Sun Nov 19 11:35:20 2023 +0100 + + Update CI-basictests.yml + +commit 751620bff8d08e6622f2908f07056b9c7f47dd00 +Author: Miro Stauder +Date: Fri Nov 17 13:36:52 2023 +0100 + + Update CI-basictests.yml + +commit fa3a65d5bacaa7f70d52dc9de1416e088b49a06a +Author: René Cannaò +Date: Fri Nov 17 11:35:24 2023 +0000 + + Updating set_testing-240-t + + - added again support for multiple parsers + - use non-root + +commit e997f6b8bb6895883d4b03f7ae5e9df0eb366751 +Merge: b6deb15e a8446dee +Author: René Cannaò +Date: Fri Nov 17 18:04:00 2023 +0700 + + Merge pull request #4381 from sysown/v2.x-depr_checksum_vars_fix + + Fix interactions between 'checksum_%' and '%_diffs_before_sync' variables + +commit b6deb15ec36e82d8c180944d1efc616221c8ffbb +Merge: d79fc845 989687c6 +Author: René Cannaò +Date: Fri Nov 17 18:03:44 2023 +0700 + + Merge pull request #4372 from sysown/v2.x_prep_stmt_mem_usage + + Added memory usage monitoring for the prepared statement cache. + +commit d79fc845504b14267fbfa4e7c1ff5a36926f159e +Author: Miro Stauder +Date: Thu Nov 16 15:49:04 2023 +0100 + + Update CI-shuntest.yml + +commit 17ec0f014097d7ed295c7af7bc0e7104d43dcb69 +Author: Miro Stauder +Date: Thu Nov 16 15:00:14 2023 +0100 + + Update CI-repltests.yml + +commit 045d6bcaeb3abf2b32fde2ce4784932963175594 +Author: Rahim Kanji +Date: Thu Nov 16 13:01:05 2023 +0500 + + * Execute all test cases with 'CLIENT_DEPRECATE_EOF' both enabled and disabled. + * Introduced 'ps_type' enum to differentiate between preparing a statement and executing a statement + * Fixed issue where the warning count fails to reset when the SET statement generates a warning. + * Resolved the issue where the 'server_status' and 'warning count' were not accurately represented in the statement. + * Replaced 'mysql_warning_count' with 'mysql_stmt_warning_count' for retrieving the warning count in statements. + * Added 'handle_warning' field in hostgroup_attributes TAP test + * Updated warnings TAP test + +commit ffb66769917b26588e6fc84082b7a5810a8df74a +Merge: dae3d669 03148697 +Author: Rahim Kanji +Date: Tue Nov 14 16:02:02 2023 +0500 + + Merge branch 'v2.x_hostgroup_attr_settings' into v2.x_warnings_support + +commit a8446deef0ac909b684f1d648cf7cb162ed67aa1 (origin/v2.x-depr_checksum_vars_fix) +Merge: c4b53348 eb2a1ecc +Author: Javier Jaramago Fernández +Date: Tue Nov 14 11:28:52 2023 +0100 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-depr_checksum_vars_fix + +commit dae3d669b9c6c27e949dd96b26d9fadba39dd7e4 +Author: Rahim Kanji +Date: Tue Nov 14 15:06:26 2023 +0500 + + * Setting 'warning_count' as soon as query is executed. + * 'MySQL_Connection::warning_count' will be globally employed for managing multiplexing control and transmitting the warning count to the client + * Fixed prepare statement bug: When preparing, if the digest matches, the result set is retrieved from the cache and sent to the client. + + Note: + Currently using 'mysql_warning_count' to retrieve the warning count for prepared statement. + +commit eb2a1eccefd61561d1561e4040352cdec954d344 +Merge: 34868712 03148697 +Author: René Cannaò +Date: Tue Nov 14 05:34:26 2023 +0300 + + Merge pull request #4374 from sysown/v2.x_hostgroup_attr_settings + + Introduced 'hostgroup_settings' column to 'mysql_hostgroup_attributes' and it's counterpart 'runtime_hostgroup_attributes' table + +commit c4b53348d8be552f0fa75a3150e6c672e9175a69 +Author: Javier Jaramago Fernández +Date: Mon Nov 13 16:30:39 2023 +0100 + + Improve testing for 'cluster modules checksum sync' + + - Improve test doc related to module checksums sync. + - Add two way sync testing between primary and secondary. + - Add support for testing deprecated 'checksum_%' variables. + +commit 437fcad1d45dbc5a4af0be7867dd9dba75a6697e +Author: Javier Jaramago Fernández +Date: Mon Nov 13 10:06:21 2023 +0100 + + Fix interactions between 'checksum_%' and '%_diffs_before_sync' + + - Introduced dependency between 'checksum_variables' and their + corresponding '%_diffs_before_sync' variable. Checksum variables being + 'false' implies a '0' value. Variable dependencies need to be + introduced in the handler for both variables, since order can't be + assumed. + - Added missing sets statements for 'GloProxyCluster' variables when + updating '%_diffs_before_sync'. + - Fixed typo in 'cluster_ldap_variables_diffs_before_sync' handling, + creating unintentional checksum resets. + +commit 34868712667aa0c7033369efa6b670c8216b53cb +Author: Miro Stauder +Date: Sun Nov 12 12:27:32 2023 +0000 + + add builds for fedora39 + +commit 05208e2839640fed7e413742e01b9dfd4b0692fa +Author: Rahim Kanji +Date: Tue Nov 7 17:26:34 2023 +0500 + + * Update warning_count as soon as query is executed. + +commit 03148697d732e97061adb0cdfbd17fa3aeafd354 (origin/v2.x_hostgroup_attr_settings) +Author: Rahim Kanji +Date: Mon Nov 6 17:17:52 2023 +0500 + + Added 'mysql_galera_hostgroups' table sync check. + +commit 7223ba19705ae2f3877f1735a62bec88e2ea82ce +Author: Rahim Kanji +Date: Mon Nov 6 12:49:56 2023 +0500 + + Updated test_mysql_hostgroup_attributes-1-t TAP test + +commit 8262d6096203b0beca348a60470787062956cd4f +Merge: 2706b4e0 988194c7 +Author: Rahim Kanji +Date: Mon Nov 6 12:27:30 2023 +0500 + + Merge branch 'v2.x_hostgroup_attr_settings' into v2.x_warnings_support + +commit 988194c77e3746de90c3ca520dada0faa3063bd3 +Author: Rahim Kanji +Date: Mon Nov 6 12:26:20 2023 +0500 + + Updated TAP test + +commit 2706b4e05c8ffbd4fdb221f811eca7157014402a +Author: Rahim Kanji +Date: Mon Nov 6 12:24:37 2023 +0500 + + Updated cluster TAP test + +commit 743cd502a5f45af0cb680bbe670e41a75498f707 +Author: Rahim Kanji +Date: Mon Nov 6 12:24:01 2023 +0500 + + * Updated variable name from 'mysql-query_cache_with_warnings_support' to 'mysql-query_cache_handle_warnings' + * Introduced global variable 'mysql-handle_warnings' to control warning support in ProxySQL + * Included 'handling_warnings' flag in the 'mysql_hostgroup_attributes' table (hostgroup_settings). This flag holds top priority and can override the value of the global variable 'mysql_handle_warnings'. + +commit 2d0c8bf6f86264a4d13201b4c337c07773bff99f +Merge: 461d20e4 f16290d7 +Author: René Cannaò +Date: Fri Nov 3 17:30:31 2023 +0100 + + Merge pull request #4375 from sysown/v2.x-231102 + + Prevent assert after fcntl() for O_NONBLOCK + +commit c619b2d9c72dda146cfdb84237427a3b174a2634 +Author: Miro Stauder +Date: Thu Nov 2 16:03:06 2023 +0000 + + more makefile fixes + +commit f16290d78d1e7ff8d9eefcf343913eed77ba0768 (origin/v2.x-231102) +Author: René Cannaò +Date: Thu Nov 2 10:51:33 2023 +0000 + + Prevent assert after fcntl() for O_NONBLOCK + + There are several asserts after fcntl() in + MySQL_Thread::create_new_session_and_client_data_stream() . + This commit removes the assert after F_SETFL with O_NONBLOCK. + This because it is possible that proxysql is already shutting down. + The entry in the error log is kept. + +commit 18073159506967db43720cef9bb561595837e8fd +Merge: b588798a ade6fb0e +Author: Rahim Kanji +Date: Thu Nov 2 12:37:03 2023 +0500 + + Merge branch 'v2.x_hostgroup_attr_settings' into v2.x_warnings_support + +commit ade6fb0e2b68aa9a6f0cfbdad99a923b54e5192a +Author: Rahim Kanji +Date: Thu Nov 2 12:29:57 2023 +0500 + + * Added 'hostgroup_settings' column (JSON-Formatted) to 'mysql_hostgroup_attributes' and it's counterpart 'runtime_mysql_hostgroup_attributes' table to accommodate new hostgroup attributes. + * Added missing 'servers_defaults' column in ProxySQL cluster syncing. + +commit 461d20e4141fda792e560c1bfb955c7eac0084bc +Author: Miro Stauder +Date: Wed Nov 1 13:51:37 2023 +0100 + + Update README.md + +commit 983062e3da52b834bf6084fe7f2e666b1fb60227 +Merge: a86d7583 4ffb96bf +Author: René Cannaò +Date: Tue Oct 31 16:53:23 2023 +0100 + + Merge pull request #4317 from sysown/v2.6-CodeQL-fixes + + various warnings fixes + +commit b9396092a259f30e30f80d05d1957d4af7d15d7b +Author: Miro Stauder +Date: Tue Oct 31 14:24:24 2023 +0000 + + fix mysql includes + +commit 01586df482d42423111300f8e3c0f36d16a52232 +Author: Miro Stauder +Date: Mon Oct 30 18:36:18 2023 +0000 + + add external test deps to the main repo + +commit b588798a08d55a81a697cf625be26d5085c86cde (origin/v2.x_warnings_support) +Author: Rahim Kanji +Date: Tue Oct 31 10:39:39 2023 +0500 + + Few fixes + +commit 989687c68aa77941426e0032ec9260963b2e1824 (origin/v2.x_prep_stmt_mem_usage) +Author: Rahim Kanji +Date: Mon Oct 30 13:08:24 2023 +0500 + + Implemented memory usage monitoring for the prepared statement cache with the following changes: + + * Added two new variables to the 'stats_memory_metrics' table: + prepare_statement_metadata_memory + prepare_statement_backend_memory + * Introduced corresponding variables in the Prometheus exporter to measure memory usage of prepare statement metadata and prepare statement backend. + +commit a86d75830fa8bb5ccfb35c31d787e8f12cf5fb70 +Merge: e458e674 9bb88715 +Author: René Cannaò +Date: Mon Oct 30 10:18:00 2023 +0100 + + Merge pull request #4371 from sysown/v2.6.0-update_to_openssl_v3.1.4 + + V2.6.0 update to openssl v3.1.4 + +commit e458e6748eb86c1654ff0c36e93f924a7703c23b +Merge: fc4f72fb 2f987ae6 +Author: René Cannaò +Date: Sun Oct 29 08:39:10 2023 +0100 + + Merge pull request #4362 from sysown/v2.6.0-update_to_libmicrohttpd_v0.9.77 + + update to libmicrohttpd v0.9.77 + +commit fc4f72fb074c9efbef443d4f418e856c4e4da1b7 +Merge: a209b867 871385c8 +Author: René Cannaò +Date: Sun Oct 29 08:35:28 2023 +0100 + + Merge pull request #4359 from sysown/v2.x_update_to_curl_v8.4.0 + + update curl to v8.4.0 + +commit a209b8676d7d7dbe4d074489b57f0ce07c5bc2d7 +Merge: a89dc6f9 8dd5cf1b +Author: René Cannaò +Date: Sun Oct 29 08:34:15 2023 +0100 + + Merge pull request #4363 from sysown/v2.6.0-update_to_sqlite3_v3.43.2 + + update to sqlite3 v 3.43.2 + +commit 8ade3a6a957dde13a8f63e4326c04dd911b51421 +Author: Miro Stauder +Date: Fri Oct 27 07:59:44 2023 +0000 + + more makefile fixes + +commit 9bb887150bd537c7d16e4c28e93f6aeaf4064131 (origin/v2.6.0-update_to_openssl_v3.1.4) +Author: Miro Stauder +Date: Thu Oct 26 08:03:46 2023 +0000 + + update to openssl v3.1.4 + +commit f43b5074c0407594d383b303ba62235256b06208 +Author: Miro Stauder +Date: Thu Oct 26 07:08:45 2023 +0000 + + more refactoring and fixes + +commit 0b1b7f0c25057b1e33962504aa46edfed17c99c6 +Author: Miro Stauder +Date: Wed Oct 25 13:37:23 2023 +0000 + + more refactoring and fixes + +commit 6c15528757b2e3a67655f0e73659ca9eefa23ded +Author: Miro Stauder +Date: Tue Oct 24 07:21:54 2023 +0000 + + use inludes from our deps intead of system + +commit 9185c968762a267d48550dae6bdabf4966bec9f2 +Author: Miro Stauder +Date: Tue Oct 24 07:20:07 2023 +0000 + + fix conditional debug messages + +commit cfb7599fc920d8d3af24c5a104105e17fd0ca61d +Author: Miro Stauder +Date: Tue Oct 24 07:19:28 2023 +0000 + + refactor makefiles + +commit a47d0ef48492a46a1ed38ede81d02701173161c5 +Author: Rahim Kanji +Date: Mon Oct 23 14:53:21 2023 +0500 + + Remove old mysql query rule entries + +commit 0c85c4f458257f722ea729412ad34818cf93294a +Author: Rahim Kanji +Date: Mon Oct 23 13:15:47 2023 +0500 + + Remove *.so files from tap folder on make clean + +commit 30f989722b83a18b65c25e261825ce7a96bb85e5 +Author: Rahim Kanji +Date: Mon Oct 23 12:41:32 2023 +0500 + + Changed digest to match_digest + +commit c28f88eb15bc9b5cfe32b716a463ae6a5c5a7872 +Author: Rahim Kanji +Date: Mon Oct 23 10:11:46 2023 +0500 + + Added delay between query execution + +commit d2b8f7d54e6e79a88778dcb4791d3cd5fa633182 +Author: Rahim Kanji +Date: Sat Oct 21 14:43:58 2023 +0500 + + Fixed code style + +commit b668021dade3a4bb768afc4012d72667b133c35e +Author: Rahim Kanji +Date: Sat Oct 21 14:29:38 2023 +0500 + + Added TAP test + +commit 6b295477d6ba665d114d1e5f432b5b23d5e9b235 +Author: Rahim Kanji +Date: Fri Oct 20 11:51:08 2023 +0500 + + Enhanced Warnings handling in ProxySQL: + + * Implemented 'SHOW WARNINGS' and 'SHOW COUNT(*) FROM WARNINGS' query handling. + * When a query produces warnings, the warning count is now included in the query response. + + Additionally, a new variable 'mysql-query_cache_with_warnings_support' has been introduced for the query cache feature: + + * A value of '0' means that if a query execution produces warnings, the resultset will not be saved in the query cache. + * A value of '1' indicates that if a query produces warnings, the resultset will be saved in the query cache, but the warning count in that resultset will be set to '0'. + + ** Note: + * Warning handling is dependent on the query digest and 'mysql-query_digests' must be enabled for it to work. + * Warnings saved in logfile ['mysql-log_mysql_warnings_enabled'] and the current feature can work in conjunction with each other. + +commit 2f987ae660e20f8606738eab2152cd0d242082d8 (origin/v2.6.0-update_to_libmicrohttpd_v0.9.77) +Author: Miro Stauder +Date: Thu Oct 19 08:24:33 2023 +0000 + + remove unneded libmicrohttpd for old distros + +commit 8dd5cf1bd3f3cdbbea745ce6e9eccb9f6b06acd3 (origin/v2.6.0-update_to_sqlite3_v3.43.2) +Author: Miro Stauder +Date: Wed Oct 18 07:30:02 2023 +0000 + + update to sqlite3 v 3.43.2 + +commit a89dc6f9f22952d7612e4e9cbd950805d5ae32e8 +Author: Miro Stauder +Date: Tue Oct 17 20:13:55 2023 +0200 + + Update CI-shuntest.yml + +commit f1e995aa1b01a2a66183af2fe8b0d8ed7d41bdb2 +Author: Miro Stauder +Date: Tue Oct 17 20:13:34 2023 +0200 + + Update CI-repltests.yml + +commit 1f621ad64117f8e471f9845d7c65abe46dc9c36b +Author: Miro Stauder +Date: Tue Oct 17 20:13:21 2023 +0200 + + Update CI-maketest.yml + +commit 0a58b3e218d58097fe7fa1b586c4999c02a7ec8b +Author: Miro Stauder +Date: Tue Oct 17 20:13:08 2023 +0200 + + Update CI-codeql.yml + +commit 32ce90c17a4f2c4f6f5a4254d0eb3dbc98a2ddf0 +Author: Miro Stauder +Date: Tue Oct 17 20:12:49 2023 +0200 + + Update CI-cb_taptests.yml + +commit 7ce5f9cb369cb5d45afd814b69edd2773597bb14 +Author: Miro Stauder +Date: Tue Oct 17 20:12:25 2023 +0200 + + Update CI-3p-mysql-connector-j.yml + +commit 4fdf9d3f2dc92ad6ea16822353e521d2b98b3fcc +Author: Miro Stauder +Date: Tue Oct 17 20:12:12 2023 +0200 + + Update CI-basictests.yml + +commit c4375eacd60bc8ec34c2c6cffb3b631247c8d31c +Author: Miro Stauder +Date: Tue Oct 17 20:11:49 2023 +0200 + + Update CI-package-build.yml + +commit ca75017312a4b5fe960eea0b7c3a09995f83f230 +Author: Miro Stauder +Date: Tue Oct 17 20:11:31 2023 +0200 + + Update CI-selftests.yml + +commit c69795c27272c8c8f4467e5b9bfb802a1a2ad447 +Author: Miro Stauder +Date: Tue Oct 17 20:11:06 2023 +0200 + + Update CI-taptests.yml + +commit 1d69def10faf844fb891ff4caf12d4a23cb753cb +Author: Miro Stauder +Date: Tue Oct 17 20:10:53 2023 +0200 + + Update CI-taptests-groups.yml + +commit ae38ae3f35798aa06206dbc0a66a4a7206877b4b +Author: Miro Stauder +Date: Tue Oct 17 20:10:41 2023 +0200 + + Update CI-taptests-ssl.yml + +commit 79eacefd05b1f1838351f8d788f2962673ec98ea +Author: Miro Stauder +Date: Tue Oct 17 20:10:25 2023 +0200 + + Update CI-builds.yml + +commit 578be52c856014d185d7fe18ab6f1bd89390ebd1 +Author: Miro Stauder +Date: Tue Oct 17 13:37:59 2023 +0000 + + update to libmicrohttpd v0.9.77 + +commit 6e54b2bdb9efbb06b0349c23250bf4e4496c120c (origin/v2.6.0-update_to_openssl_v3.1.3) +Author: Miro Stauder +Date: Tue Oct 17 07:33:49 2023 +0000 + + update to openssl v3.1.3 + +commit 871385c8ee643b254e7c238e2aa833746354556a (origin/v2.x_update_to_curl_v8.4.0) +Author: Miro Stauder +Date: Wed Oct 11 16:29:28 2023 +0000 + + update curl to v8.4.0 + +commit 6bf96ea6332684ded96edb99998776bc6b91b75f +Merge: 277b59a2 52f206d3 +Author: René Cannaò +Date: Tue Oct 3 10:12:30 2023 +0200 + + Merge pull request #4351 from sysown/v2.x_bugfix_4348 + + Added duplicate server check to prevent redundant server inspections + +commit 277b59a252b821f586c3ec385183d753d5b370e8 +Author: Miro Stauder +Date: Mon Oct 2 15:45:08 2023 +0200 + + Update CI-taptests.yml + +commit 317b2bc379efdbae26b4aa2b81d765d0c662a4c3 +Author: Miro Stauder +Date: Mon Oct 2 15:44:52 2023 +0200 + + Update CI-taptests-ssl.yml + +commit dffa69dcdd6c1bed5788dda4f4fd91d2f3de23a7 +Author: Miro Stauder +Date: Mon Oct 2 15:44:41 2023 +0200 + + Update CI-taptests-groups.yml + +commit b0e7a2b9e575b13c4cf8c1a1cba1a4b681d75fe3 +Author: Miro Stauder +Date: Mon Oct 2 15:44:07 2023 +0200 + + Update CI-shuntest.yml + +commit 0893884dcae2b9de3e69231176a12e3a2079525e +Author: Miro Stauder +Date: Mon Oct 2 15:43:54 2023 +0200 + + Update CI-selftests.yml + +commit 51f56a57923a08ba1ebd698f2795311a6d9effc9 +Author: Miro Stauder +Date: Mon Oct 2 15:43:42 2023 +0200 + + Update CI-repltests.yml + +commit d9cf38a37759be779e3dc79835af57d552de5b0a +Author: Miro Stauder +Date: Mon Oct 2 15:43:10 2023 +0200 + + Update CI-package-build.yml + +commit 9d4d97cef22498f67cdf8b4edbc42cad86c8dd6a +Author: Miro Stauder +Date: Mon Oct 2 15:42:52 2023 +0200 + + Update CI-maketest.yml + +commit 815d4dc78d41d0994a95bc3c617029be240a8b38 +Author: Miro Stauder +Date: Mon Oct 2 15:42:37 2023 +0200 + + Update CI-codeql.yml + +commit c01ce82e7edb5347abad90bc260a48860506d018 +Author: Miro Stauder +Date: Mon Oct 2 15:41:13 2023 +0200 + + Update CI-cb_taptests.yml + +commit 99263a946b89e79195bdca0b3cedb21ceaa5910a +Author: Miro Stauder +Date: Mon Oct 2 15:39:39 2023 +0200 + + Update CI-basictests.yml + +commit 63552857d1d1e7aa3038a89d2f5d45ee5eadfffe +Author: Miro Stauder +Date: Mon Oct 2 15:39:22 2023 +0200 + + Update CI-3p-mysql-connector-j.yml + +commit 5c52a596e6a9c3a1edcb7ec7742812fbd9e87971 +Author: Miro Stauder +Date: Mon Oct 2 15:38:40 2023 +0200 + + Update CI-builds.yml + +commit 52f206d36cb0d57eee158b207bface971d53a67a (origin/v2.x_bugfix_4348) +Author: Rahim Kanji +Date: Mon Sep 25 14:50:12 2023 +0200 + + Added writer_hostgroup in duplicate check.\n Added INSERT OR IGNORE on mysql_server_galera_log table. + +commit 90e3247bf3fc54e126e643162fbc23619fd00767 +Author: Rahim Kanji +Date: Thu Sep 21 13:41:53 2023 +0200 + + Added duplicate server check to prevent redundant server inspections, that can cause unique constraint error on mysql_server_galera_log table. + +commit 2ddc8186b775eaf8dab374bfcac7cd5a32f9fe3f (origin/v2.x-2.6_new_defaults_2) +Author: René Cannaò +Date: Wed Sep 13 18:54:47 2023 +0000 + + Revert "Revert "Remove trailing spaces and semicolon from SET statements #4341"" + + This reverts commit 707ec90f7b0fa0d8eaa0611555854da4dbfb03f6. + +commit fc7cdfa6999dbea17ab98842799a4207bedfbd28 +Author: René Cannaò +Date: Wed Sep 13 18:54:22 2023 +0000 + + Adding more debugging in reg_test_3427 TAP + +commit 707ec90f7b0fa0d8eaa0611555854da4dbfb03f6 +Author: René Cannaò +Date: Tue Sep 12 21:27:40 2023 +0000 + + Revert "Remove trailing spaces and semicolon from SET statements #4341" + + This reverts commit 5ccd4154f6a714030023c38a1d1a7afe79bc3897. + +commit 5ccd4154f6a714030023c38a1d1a7afe79bc3897 +Author: René Cannaò +Date: Mon Sep 11 17:29:35 2023 +0000 + + Remove trailing spaces and semicolon from SET statements #4341 + +commit 06d45796546d64e239891cfe65987c2abe21928b +Author: René Cannaò +Date: Mon Sep 11 16:49:43 2023 +0000 + + More fixed on Set Parser 2 + +commit 454ab610f6fbf133bfd906b4268106f3d6e3268e +Author: René Cannaò +Date: Fri Sep 8 07:40:51 2023 +0000 + + Minor improvement on generateRE_parse1v2 + +commit 7f75053926f9794f484b18d9ba6d330f57a7af28 +Author: René Cannaò +Date: Wed Sep 6 13:41:35 2023 +0000 + + Minor improvement on generateRE_parse1v2 + +commit 99e0e963ed75556a3ddfa0ebd3f4c67af8a16a22 +Merge: 61eaf212 97b49849 +Author: René Cannaò +Date: Wed Sep 6 15:19:32 2023 +0200 + + Merge pull request #4339 from sysown/v2.x-2.6_new_defaults + + Changing several defaults in 2.6.0 + +commit 61eaf2124549c6033ce70534cfac90324ad0dde3 +Author: Miro Stauder +Date: Tue Sep 5 14:15:02 2023 +0200 + + Update CI-taptests-ssl.yml + +commit 2a521538e347f6c5697fdfc8dc81006906e749f2 +Author: Miro Stauder +Date: Tue Sep 5 14:14:29 2023 +0200 + + Create CI-taptests-groups.yml + +commit 7d1f01e8ece18c88ec1213b6d843ffda69484ba7 +Author: Miro Stauder +Date: Tue Sep 5 09:38:46 2023 +0200 + + Update CI-taptests-ssl.yml + +commit 25ac7d91e77cf742bf8e42ee534a92fbe1667f12 +Author: Miro Stauder +Date: Tue Sep 5 09:38:07 2023 +0200 + + Rename CI-taptests-ssl to CI-taptests-ssl.yml + +commit ca581f6e855b0af85bc7826bf203b6ab32c028dd +Author: Miro Stauder +Date: Tue Sep 5 09:36:57 2023 +0200 + + Create CI-taptests-ssl + +commit 5a7d2ea9bae1c2d04fbde29f468030fe5b6b7151 +Author: Miro Stauder +Date: Mon Sep 4 13:31:07 2023 +0200 + + Update CI-taptests.yml + +commit 2b34a8280397c00b7dd1ec2876230b68d69cbdcf +Author: Miro Stauder +Date: Mon Sep 4 13:30:48 2023 +0200 + + Update CI-shuntest.yml + +commit 1e23b8e2e1817f1f3fce234e16dde9338a603360 +Author: Miro Stauder +Date: Mon Sep 4 13:30:30 2023 +0200 + + Update CI-selftests.yml + +commit 076f9506b4ae184716971a442731b9b3d38d8b6c +Author: Miro Stauder +Date: Mon Sep 4 13:30:13 2023 +0200 + + Update CI-repltests.yml + +commit 254f2572cdd5d6c59e8f6d7e8999ca912887ac41 +Author: Miro Stauder +Date: Mon Sep 4 13:29:54 2023 +0200 + + Update CI-package-build.yml + +commit 7ebec562effd147789d2e4dd36571f9c07fea461 +Author: Miro Stauder +Date: Mon Sep 4 13:29:30 2023 +0200 + + Update CI-maketest.yml + +commit 6cbac7ead308ff4dc317842614a0634526d31ec5 +Author: Miro Stauder +Date: Mon Sep 4 13:29:08 2023 +0200 + + Update CI-codeql.yml + +commit 0dc3d66ad609058a58d0d87690430a04142d43c5 +Author: Miro Stauder +Date: Mon Sep 4 13:28:48 2023 +0200 + + Update CI-cb_taptests.yml + +commit aa36a2be788f8572e27f83053d75bf7c76d9fa70 +Author: Miro Stauder +Date: Mon Sep 4 13:28:18 2023 +0200 + + Update CI-3p-mysql-connector-j.yml + +commit 354ea29595d1d51d620519cd0c3d6377392f21f8 +Author: Miro Stauder +Date: Mon Sep 4 13:28:01 2023 +0200 + + Update CI-basictests.yml + +commit 18d8e69b19e7d0e877e93aae5180e2cd571994e4 +Author: René Cannaò +Date: Sun Sep 3 21:20:25 2023 +0000 + + Changing default for set_parser_algorithm + +commit 97b49849b8588478be45668e5bf63b1525f2a206 (origin/v2.x-2.6_new_defaults) +Author: René Cannaò +Date: Fri Sep 1 10:27:12 2023 +0000 + + Change default query_digests_groups_grouping_limit + +commit 4d3350772b52df6478f1adbd934fa393aa72eb59 +Merge: 94a5aa44 0ee88afc +Author: René Cannaò +Date: Fri Sep 1 10:51:25 2023 +0200 + + Merge pull request #4337 from sysown/v2.x-TAP_ping + + V2.x tap ping + +commit 94a5aa44a35724c35a31f9bb1e23bd17a727db66 +Author: Miro Stauder +Date: Fri Sep 1 09:17:13 2023 +0200 + + Update CI-selftests.yml + +commit 6b84b42a685727f08d24444eb8360398f09ec15d +Author: René Cannaò +Date: Fri Sep 1 06:10:44 2023 +0000 + + Note on set_parser_algorithm + + A commit just to trigger CI + +commit 0ee88afc78389a44358786a1f1844ef31b8aa2c6 (origin/v2.x-TAP_ping) +Author: René Cannaò +Date: Fri Sep 1 06:06:33 2023 +0000 + + Deleting test_backend_conn_ping-*-t + +commit 235e9391d38661c860ef1d728200f96015d553cf +Author: Miro Stauder +Date: Thu Aug 31 13:50:49 2023 +0200 + + Update CI-builds.yml + +commit dc364eb25475b90502bb9dc3239221b1cc8e0079 +Author: René Cannaò +Date: Thu Aug 31 11:35:59 2023 +0000 + + Temporary reverse set_parser_algorithm to 1 + +commit d78c89e04feb358c4e14fdf264dedb8d16eed35a +Merge: c643a259 5008b3dd +Author: René Cannaò +Date: Thu Aug 31 10:58:24 2023 +0000 + + Merge branch 'v2.x-TAP_ping' of https://github.com/sysown/proxysql into v2.x-TAP_ping + +commit c643a25995f9ad3c6340216b3fbbed8626b39023 +Author: René Cannaò +Date: Thu Aug 31 10:57:40 2023 +0000 + + Allow margin of error in test_backend_conn_ping-t + +commit 5008b3dd6f88f60ab5ff1bcd925d211f9994f7e9 +Merge: 74db971f 7d81a233 +Author: René Cannaò +Date: Thu Aug 31 10:13:31 2023 +0200 + + Merge branch 'v2.x' into v2.x-TAP_ping + +commit 7d81a2335ed7f31be50004c1f46d1ef383857a0b +Merge: bb0d291b 41083485 +Author: René Cannaò +Date: Thu Aug 31 10:10:33 2023 +0200 + + Merge pull request #4330 from sysown/v2.x-tap_dyn + + Dynamically linking on TAP tests + +commit bb0d291b73e8c424c233e992dca2316454c601a0 +Author: Miro Stauder +Date: Thu Aug 31 10:08:22 2023 +0200 + + Update CI-basictests.yml + +commit 4666ff56bc9af7cccb0741d9f939f832e1978287 +Author: Miro Stauder +Date: Thu Aug 31 09:40:30 2023 +0200 + + Update CI-basictests.yml + +commit 74db971f38a2c834175701e07b383cc6d684e3ea +Author: René Cannaò +Date: Wed Aug 30 21:33:33 2023 +0000 + + Further debugging of test_backend_conn_ping-t + +commit b02841f401818c704106c8014758fd5ae138b60c +Author: René Cannaò +Date: Wed Aug 30 19:33:44 2023 +0000 + + Further debugging for test_backend_conn_ping-t + +commit b93df2e95871ce6fbf29f17638e393848f8d8c0d +Author: René Cannaò +Date: Wed Aug 30 19:04:20 2023 +0000 + + Changing several defaults + + * monitor_history from 600000 to 7200000 (from 10 minutes to 2 hours) + * use_tcp_keepalive from false to true + * tcp_keepalive_time from 0 to 120 + * set_parser_algorithm from 1 to 2 + * server_version from 5.5.30 to 8.0.11 + * have_ssl from false to true + +commit 4958adaf77c6dd1db652569bb894eb5588971f96 +Author: René Cannaò +Date: Wed Aug 30 15:36:26 2023 +0000 + + Further debugging for test_backend_conn_ping-t + +commit 6c3a86dee075604f9e24e3c3ff6ce17690d0681d +Author: René Cannaò +Date: Wed Aug 30 13:20:50 2023 +0000 + + Adding SESSIONS_FOR_CONNECTIONS_HANDLER in test_backend_conn_ping-t + + This allows a margin of error. + While ping is running, some free connections become used. + In MySQL , these connections are not in Sleep mode. + +commit 34a4431eb998dab1d18187e26281b30ce602d363 +Author: René Cannaò +Date: Wed Aug 30 10:57:37 2023 +0000 + + Make clones of test_backend_conn_ping + +commit 32f610932eb3c5f5d9296c258da81f11a02c75ac +Author: René Cannaò +Date: Wed Aug 30 10:55:59 2023 +0000 + + Adding more verbosity in test_backend_conn_ping-t + +commit 41083485596e2f001ffb00858543170258861037 (origin/v2.x-tap_dyn) +Author: René Cannaò +Date: Wed Aug 30 08:53:33 2023 +0000 + + Update on TAP Makefile + +commit 049bb28a805bfd2ece6b80b2bd503d33465e6d89 +Author: Miro Stauder +Date: Wed Aug 30 08:59:46 2023 +0200 + + Update test_backend_conn_ping-t.cpp + +commit c9c1cffc28a84dbc29d38c1fe22beebd5bdd5d80 +Author: Miro Stauder +Date: Tue Aug 29 21:15:16 2023 +0200 + + Update test_backend_conn_ping-t.cpp + +commit c4d35322cb35c9f2174973d13df2c44956e3ef1e +Author: Miro Stauder +Date: Tue Aug 29 17:27:58 2023 +0200 + + Update .env + +commit dddecea387801589eb6a871acdcf0598544ebb3e +Author: Miro Stauder +Date: Tue Aug 29 16:01:15 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit 6fa38808590c726618e2781f1fc462b1476f6376 +Author: Miro Stauder +Date: Tue Aug 29 09:45:08 2023 +0200 + + Update Makefile + +commit a8992f64462f7dcc171da2398e6c41d3e53b6bf2 +Author: Miro Stauder +Date: Mon Aug 28 21:28:38 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit 714b79516b7f507ab6c13f7bae928f906219c10e +Author: Miro Stauder +Date: Mon Aug 28 21:00:11 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit b1f1bc37992b777ba16b3883cd1aa59413bd54d8 +Author: Miro Stauder +Date: Mon Aug 28 11:05:24 2023 +0200 + + Update Makefile + +commit b3e0b7177d1a0a68714cfdbf7207b1e18cc0a3b4 +Author: Miro Stauder +Date: Mon Aug 28 09:49:35 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit ed8a897ee6f93493d65256e789a5468b7fab7b78 +Author: Miro Stauder +Date: Sat Aug 26 09:53:52 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit d4984dab1bda0fb8d56cb035f06f5e005c66045d +Author: Miro Stauder +Date: Sat Aug 26 09:07:23 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit 807d7b39d7231f22e4b2802910124ec463e64bf6 +Author: Miro Stauder +Date: Fri Aug 25 15:28:44 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit 0e80aab27e4533484c418ceb2f0d1e27b9605577 +Author: Miro Stauder +Date: Fri Aug 25 14:43:15 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit 3e371a9c5e4444eac2f0f6f474ca07ca33d35504 +Author: Miro Stauder +Date: Fri Aug 25 13:53:13 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit d104d672d4592ce505a23f6222550d96ec0bc064 +Author: Miro Stauder +Date: Fri Aug 25 13:07:19 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit 7eb2a0baf533e09f002854d315d582df660075f8 +Author: Miro Stauder +Date: Fri Aug 25 10:48:03 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit 0b3015d2e77eb149306148ea7d17d86b1e523456 +Author: Miro Stauder +Date: Fri Aug 25 10:10:43 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit fdaca409ac130fe17affd814d4a2dff75311c7bc +Author: Miro Stauder +Date: Fri Aug 25 09:39:19 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit 0546f74aa083c5795d839ba1c9dceb6d67d7482e +Author: Miro Stauder +Date: Fri Aug 25 08:27:19 2023 +0200 + + Update kill_connection3-t.cpp + +commit 9d31ad629c01f6c7d950365d08b4ba3f77ff5588 +Author: Miro Stauder +Date: Thu Aug 24 19:25:39 2023 +0200 + + Update test_query_rules_fast_routing_algorithm-t.cpp + +commit e2bdae6431944a4a65b715b8b8e4e51c732db252 +Author: Miro Stauder +Date: Thu Aug 24 18:43:41 2023 +0200 + + Update test_clickhouse_server-t.cpp + +commit 7a9678eb57e60478efa7bf5431345b16e2b16146 +Author: Miro Stauder +Date: Thu Aug 24 17:52:19 2023 +0200 + + Update reg_test_3765_ssl_pollout-t.cpp + +commit 4b20b74b5c93ed729c91aa2fafd2346172463004 +Author: Miro Stauder +Date: Thu Aug 24 15:34:16 2023 +0200 + + Update mysql-test_ssl_CA-t.cpp + +commit 4574f6d9d0ee310fe8212940242ee674b64582dd +Author: Miro Stauder +Date: Thu Aug 24 14:39:07 2023 +0200 + + Update kill_connection3-t.cpp + +commit 8c780ac6c9bb352528c35eb374ac664525825f05 +Author: René Cannaò +Date: Tue Aug 22 08:16:53 2023 +0000 + + More changes to Makefile for TAP dynamic linking + +commit ac878c0248fef7850a7c112351c96040eadf3ed5 +Author: René Cannaò +Date: Sun Aug 20 05:33:07 2023 +0000 + + Update Makefile + +commit 2c3452f5fe3ffa0e4161815e8d5d9abb51666a73 +Author: René Cannaò +Date: Sun Aug 20 05:12:31 2023 +0000 + + Update Makefile + +commit 08203c4908a3a83482e2b6165fcffb472274ff9c +Author: René Cannaò +Date: Sun Aug 20 04:32:44 2023 +0000 + + Adding symlinks + +commit a373cb558ade8c5d04d91efb0866a8a94f3aa312 +Merge: 00f94a98 52b82d7a +Author: René Cannaò +Date: Sun Aug 20 03:56:00 2023 +0000 + + Merge branch 'v2.x-tap_dyn' of https://github.com/sysown/proxysql into v2.x-tap_dyn + +commit 00f94a98ba4ce70a3cabb7aa5dec8410f4f44bf3 +Author: René Cannaò +Date: Sun Aug 20 03:55:08 2023 +0000 + + Again statically linking libcurl + +commit 52b82d7a7b1cd26d9bc9a14f784d4325bea20a8f +Author: René Cannaò +Date: Sat Aug 19 10:42:25 2023 +0700 + + Update Makefile + +commit 2d258a90a6fe30c5a095829f3b3ed83170d76b5b +Author: René Cannaò +Date: Sat Aug 19 02:37:35 2023 +0000 + + TAP tests to use installed curl + +commit c2d632457780a931002285f616e4024ac1e54cb0 +Author: René Cannaò +Date: Fri Aug 18 11:15:29 2023 +0000 + + Move proxysqlTap_find_charset_collate out of utils.cpp + + proxysqlTap_find_charset_collate() has been moved out of utils.cpp to allow + statically linking + +commit fbdb1c61760da3b3ae40adff6065b171614d1267 +Author: René Cannaò +Date: Fri Aug 18 10:18:01 2023 +0000 + + Initial commit to support dynamic linking in TAP + +commit 154c4a4c29966133387db73253097749dcf8369a (tag: v2.5.5) +Author: Miro Stauder +Date: Wed Aug 16 07:40:50 2023 +0200 + + Update CI-taptests.yml + +commit 221596b224074e7d9cad4a26a43897ca674f2d7a +Merge: 82dd1323 bb2b429b +Author: Javier Jaramago Fernández +Date: Tue Aug 15 12:17:22 2023 +0200 + + Merge pull request #4321 from sysown/v2.x-4314 + + Fix infinite loop for SSL connections - Closes #4314 + +commit bb2b429bca1e3ff9a7ce332d2312c4722452a0a2 (origin/v2.x-4314) +Author: Javier Jaramago Fernández +Date: Tue Aug 15 12:07:02 2023 +0200 + + Simplify check introduced in commit '6c9e4c05' + + - Removed redundant part of check. + - Updated comment, elaborating on 'POLLHUP' omission in the check. + +commit 82dd13238d5f3517ee6982d283244bc52ab5b606 +Author: Miro Stauder +Date: Mon Aug 14 11:56:02 2023 +0200 + + Update CI-taptests.yml + +commit 1f54ab34ceb3ca9c9b23fc54a994091f31450512 +Author: Miro Stauder +Date: Mon Aug 14 11:52:15 2023 +0200 + + Update CI-maketest.yml + +commit a8d24c7a54af4e34d8f6f26c62aeb9638a02bab2 +Author: Miro Stauder +Date: Mon Aug 14 11:50:57 2023 +0200 + + Update CI-cb_taptests.yml + +commit 7bbd2b70d1572332e4f8e151087a7bf383f14dd4 +Author: Miro Stauder +Date: Mon Aug 14 11:48:42 2023 +0200 + + Update CI-basictests.yml + +commit 17cbcf7e363b1f1db1a20f1fddbb9391977830be +Author: Miro Stauder +Date: Mon Aug 14 11:37:51 2023 +0200 + + Update CI-codeql.yml + +commit 4cf2a8fe8122a3e886c1f611c4a727a0ef427d42 +Author: Miro Stauder +Date: Mon Aug 14 11:37:09 2023 +0200 + + Update CI-codeql.yml + +commit 6aaf9c81cc21305234cdab81b0d3e9256fb0d905 +Author: Javier Jaramago Fernández +Date: Fri Aug 11 10:03:33 2023 +0200 + + Improve regression tests measuring CPU usage + + - Fix regression test 'reg_test_3273_ssl_con-t' with more restrictive + traffic control rules so they don't affect the whole interface. + - Fix measurement of CPU usage in two regression tests. + +commit 4ffb96bf003a184f08908c0f9dbed42038a01e7d (origin/v2.6-CodeQL-fixes) +Author: Miro Stauder +Date: Fri Aug 11 08:46:14 2023 +0200 + + remove dead code + +commit f1b8a1beeb2d139bca0e9150abf5a6caf5a85eaa +Author: Miro Stauder +Date: Fri Aug 11 08:43:40 2023 +0200 + + Rename ci-shuntest.yml to CI-shuntest.yml + +commit f3da216998f530fefbbaa9acc296c851ff43d81e +Author: Miro Stauder +Date: Fri Aug 11 08:43:22 2023 +0200 + + Rename ci-selftests.yml to CI-selftests.yml + +commit 235d2134fb2cd1238bd8351d180a6de4f1094081 +Author: Miro Stauder +Date: Fri Aug 11 08:43:11 2023 +0200 + + Rename ci-repltests.yml to CI-repltests.yml + +commit b4a0e723038c8d6116f0897acaed39acf64f66e5 +Author: Miro Stauder +Date: Fri Aug 11 08:42:58 2023 +0200 + + Rename ci-maketest.yml to CI-maketest.yml + +commit 677f7b3168c82cd669463e709e66e34ac6d04aa3 +Author: Miro Stauder +Date: Fri Aug 11 08:42:43 2023 +0200 + + Rename ci-cb_taptests.yml to CI-cb_taptests.yml + +commit 41e8d76c508b94bba17f8eab3341b611f86f2581 +Author: Miro Stauder +Date: Fri Aug 11 08:42:29 2023 +0200 + + Rename ci-builds.yml to CI-builds.yml + +commit 7dbade413b2bd324059e337991628c3a361547a4 +Author: Miro Stauder +Date: Fri Aug 11 08:42:17 2023 +0200 + + Update and rename codeql.yml to CI-codeql.yml + +commit 8ff23fecd950e1f466b70a3f7f86acb6259f7166 +Author: Miro Stauder +Date: Fri Aug 11 08:40:56 2023 +0200 + + Update and rename ci-taptests.yml to CI-taptests.yml + +commit 8f8cbcdfd3cea2823b592483626bc1eb444c6b25 +Author: Miro Stauder +Date: Fri Aug 11 08:39:32 2023 +0200 + + Update ci-shuntest.yml + +commit d772192649148c217dfc4846c43c178863674d5e +Author: Miro Stauder +Date: Fri Aug 11 08:38:17 2023 +0200 + + Update ci-selftests.yml + +commit 0b8265e57a409762a780da521f391cc18e40f536 +Author: Miro Stauder +Date: Fri Aug 11 08:37:51 2023 +0200 + + Update ci-selftests.yml + +commit 2c5d907705c116a429bc209779127bc542428dab +Author: Miro Stauder +Date: Fri Aug 11 08:37:01 2023 +0200 + + Update ci-repltests.yml + +commit c06d86284ee18b3efc7b5b8e8e75aa9215abaf39 +Author: Miro Stauder +Date: Fri Aug 11 08:35:53 2023 +0200 + + Update ci-cb_taptests.yml + +commit 1031d4dc3f4caa361ae424a963ced0535ffcd0ac +Author: Miro Stauder +Date: Fri Aug 11 08:34:44 2023 +0200 + + Update ci-maketest.yml + +commit d2714353dc8ed658f3bb40ff4c272fdcd2682238 +Author: Miro Stauder +Date: Fri Aug 11 08:33:49 2023 +0200 + + Update ci-cb_taptests.yml + +commit 7e0abb3f16f449e49eebbce93ef04a72c78b8f41 +Author: Miro Stauder +Date: Fri Aug 11 08:33:22 2023 +0200 + + Update ci-cb_taptests.yml + +commit 9d13cd81b5dbfae8f65eef6105da87f117f65c7b +Author: Miro Stauder +Date: Fri Aug 11 08:32:20 2023 +0200 + + Update ci-builds.yml + +commit 6c9e4c058b9bfe9aebfff5f05991f2a3a6dd4021 +Author: Javier Jaramago Fernández +Date: Fri Aug 11 08:30:48 2023 +0200 + + Fix infinite loop for SSL connections - Closes #4314 + + If a peer closes the socket under certain timing conditions, e.g. during + connection establishment, an infinite loop will take place if 'POLLHUP' + and 'POLLIN' are set in the socket, and no data is present, just the + final 'EOF'. + +commit 1a835056a5b9c9f67599312a55d8d90a9197a0a3 +Author: Miro Stauder +Date: Thu Aug 10 11:07:57 2023 +0200 + + Rename ci-basictests.yml to CI-basictests.yml + +commit 0f2bd6b9c9f135f0eb8a4fe179c7c4fc6045207a +Author: Miro Stauder +Date: Thu Aug 10 11:07:38 2023 +0200 + + Update ci-basictests.yml + +commit 79b66a22f0ade469786238fb85f2e275b1dbceb0 +Author: Miro Stauder +Date: Thu Aug 10 11:05:43 2023 +0200 + + Update CI-3p-mysql-connector-j.yml + +commit 18a6f02023a57a3a91c61bbbc260e7cca9d34a09 +Author: Miro Stauder +Date: Thu Aug 10 11:05:28 2023 +0200 + + Update CI-package-build.yml + +commit f64d1cef683c5fa5748c22df2c52d467e21a7cc5 +Author: Miro Stauder +Date: Thu Aug 10 09:42:41 2023 +0200 + + Update CI-package-build.yml + +commit aee0c6752c94331f0e55dbb90aa8d6084279cc22 +Author: Miro Stauder +Date: Thu Aug 10 09:40:54 2023 +0200 + + Update CI-3p-mysql-connector-j.yml + +commit 00d681d8f1b77562c169105079575545b9c17d8e +Author: Miro Stauder +Date: Thu Aug 10 09:19:22 2023 +0200 + + Update CI-package-build.yml + +commit ee6b45ea6090a84cc2a437f5c9a3ef7db510a4be +Author: Miro Stauder +Date: Thu Aug 10 09:16:39 2023 +0200 + + Update CI-package-build.yml + +commit f044db82e7e38e999b37f609508bef0bf16ea004 +Author: Miro Stauder +Date: Thu Aug 10 09:15:27 2023 +0200 + + Update and rename package-build.yml to CI-package-build.yml + +commit 5358419284367efa3b732fa50a7afb1cf0b6b557 +Author: Miro Stauder +Date: Wed Aug 9 20:04:08 2023 +0200 + + Update CI-3p-mysql-connector-j.yml + +commit e952804c6ea7a19609f790c60b7db9df1221c668 +Author: Miro Stauder +Date: Wed Aug 9 20:01:59 2023 +0200 + + Update CI-3p-mysql-connector-j.yml + +commit 7596803a11e54b81247ad30f056e57feb1a876f1 +Author: Miro Stauder +Date: Wed Aug 9 20:00:14 2023 +0200 + + Rename ci-3p-mysql-connector-j.yml to CI-3p-mysql-connector-j.yml + +commit e6b1dc8f09c08d6f553ca2d121c27dfb9a879070 +Author: Miro Stauder +Date: Wed Aug 9 19:31:38 2023 +0200 + + Create ci-3p-mysql-connector-j.yml + +commit b1dc534757a9c81148d8c6ab6d1598c652150ecb +Author: Miro Stauder +Date: Tue Aug 8 09:49:14 2023 +0000 + + refactor out pktH + +commit 917154bf93ea606332686811070133c5eab57634 +Author: Miro Stauder +Date: Tue Aug 8 07:38:59 2023 +0000 + + fix pktH init/destructor + +commit 61f0c4636bf42d2cd39ac2c1b802c8981dc6ba8c +Author: Miro Stauder +Date: Mon Aug 7 20:09:47 2023 +0000 + + various warnings fixes + +commit 48ea68dae0393a3c9bca9e66b4124c7225fc8ef9 +Author: Miro Stauder +Date: Thu Aug 3 14:05:33 2023 +0200 + + fix omitted BUILD_TYPE change + +commit e03236050a35012f7f844f30596f203af7f10441 +Author: Miro Stauder +Date: Thu Aug 3 11:54:02 2023 +0200 + + Update package-build.yml + +commit e653308bb5c2e2dcaa63227a96a1a93acea8829e +Author: Miro Stauder +Date: Thu Aug 3 11:33:29 2023 +0200 + + Update codeql.yml + +commit fdc304cbd038d68b135631f158df4ef248830f5b +Author: Miro Stauder +Date: Thu Aug 3 11:33:04 2023 +0200 + + Update ci-shuntest.yml + +commit cefc73b1e26cb1762aa2e73c0c3e7744ec3e9fcf +Author: Miro Stauder +Date: Thu Aug 3 11:32:47 2023 +0200 + + Update ci-selftests.yml + +commit 4c7c4babffffb2bda4bd24108fd1a21154ab9402 +Author: Miro Stauder +Date: Thu Aug 3 11:32:23 2023 +0200 + + Update ci-repltests.yml + +commit 63860810a9f321b4416cf7b64c9d0416b1a668e4 +Author: Miro Stauder +Date: Thu Aug 3 11:32:05 2023 +0200 + + Update ci-maketest.yml + +commit 5ff8d84e7272b97665f2e0162b00b64ff37ccd8f +Author: Miro Stauder +Date: Thu Aug 3 11:31:36 2023 +0200 + + Update ci-builds.yml + +commit 598585016a428f9ab9142b336be4cad18857c0a9 +Author: Miro Stauder +Date: Thu Aug 3 11:31:14 2023 +0200 + + Update ci-basictests.yml + +commit 11ce58dcba3a9667efb70a5a6620395ebe0bbda1 +Author: Miro Stauder +Date: Thu Aug 3 11:29:57 2023 +0200 + + Update package-build.yml + +commit f35ebaba84c779728f021580381ddfeb5981d024 +Author: Miro Stauder +Date: Thu Aug 3 11:29:05 2023 +0200 + + Update ci-taptests.yml + +commit 3d84dc410c5afbb6383567034be9c10e3ac82d53 +Merge: cbb817cb 58eaf8bb +Author: René Cannaò +Date: Thu Aug 3 15:24:14 2023 +0700 + + Merge pull request #4304 from sysown/v2.6.0-tap_test_fixes + + V2.6.0 tap test fixes + +commit cbb817cbb6b12c87c017bb105cd24246736823b1 +Merge: c90d0b67 0b0e9dd3 +Author: René Cannaò +Date: Thu Aug 3 15:23:52 2023 +0700 + + Merge pull request #4313 from sysown/v2.6-deprecate_old_clickhouse_2 + + Deprecate clickhouse-cpp 1.0.0 + +commit c90d0b678ba2f0501df206d33592ad8384ba006c +Author: Miro Stauder +Date: Wed Aug 2 21:18:20 2023 +0200 + + Update ci-maketest.yml + +commit 0b0e9dd3041d0249dca995e56ff6254b88153254 (origin/v2.6-deprecate_old_clickhouse_2) +Author: Miro Stauder +Date: Wed Aug 2 15:26:07 2023 +0000 + + fix BUILD_TYPE + +commit 1aa0d4275581ed3fa612fc09bc6431da4a69bcd4 +Author: René Cannaò +Date: Wed Aug 2 11:53:16 2023 +0000 + + Deprecate clickhouse-cpp 1.0.0 + + This commit also remove clickhouse support on various clang builds, and on centos7 + +commit c1ef56e04265c91a8c68bf2c0c8d633b0ceaca3d +Author: Miro Stauder +Date: Wed Aug 2 09:53:28 2023 +0200 + + Update ci-builds.yml + +commit ef17fca532cafd9ae9e2d49050c09cb164929ddd +Merge: 9af1e932 8792a64c +Author: René Cannaò +Date: Wed Aug 2 07:19:05 2023 +0700 + + Merge pull request #4310 from sysown/v2.x_update_dns_records_count + + Increment DNS cache record count when the records are cleared from the DNS cache, given that both the MySQL servers and ProxySQL servers tables are empty + +commit 9af1e9321a1736bf63c9b7d465a64b7a6bfcc9e8 +Merge: 970d06b9 a9e8d7e6 +Author: René Cannaò +Date: Tue Aug 1 22:39:43 2023 +0700 + + Merge pull request #4308 from sysown/v2.x-4300 + + Fix Admin support for MySQL client `8.1.0` - Closes #4300 + +commit 970d06b98bda381a13f31dbc439b77e2e275b719 +Merge: a97fd04a a72d508a +Author: René Cannaò +Date: Tue Aug 1 19:28:13 2023 +0700 + + Merge pull request #4303 from sysown/v2.x-clickhouse230726 + + V2.x minor fixes for Clickhouse Server + +commit a9e8d7e6576b163b9c64bb7d6bc7927539c835cd (origin/v2.x-4300) +Author: Javier Jaramago Fernández +Date: Tue Aug 1 12:01:48 2023 +0200 + + Fix minor typo in 'get_dollar_quote_error' + +commit 8792a64c0a30b26e9ccb7c51bffe06e8e6330fd3 (origin/v2.x_update_dns_records_count) +Author: Rahim Kanji +Date: Tue Aug 1 12:49:46 2023 +0500 + + Increment DNS cache record count when the records are cleared from the DNS cache, given that both the MySQL servers and ProxySQL servers tables are empty. + +commit a72d508a2b50a8a982cbe169b38340987654b7e5 (origin/v2.x-clickhouse230726) +Merge: cc888844 2ddf092c +Author: René Cannaò +Date: Tue Aug 1 07:40:24 2023 +0000 + + Merge branch 'v2.x-clickhouse230726' of https://github.com/sysown/proxysql into v2.x-clickhouse230726 + +commit cc8888449ad74571aa652ba00fcc5437765f00c4 +Author: René Cannaò +Date: Tue Aug 1 07:37:16 2023 +0000 + + Support for DECIMAL in Clickhouse + + A previous commit was not correctly handling date/time. + Improved testing + +commit bfca112ca786cfe01219f99655006b54f76051e3 +Merge: 600ddfa1 a97fd04a +Author: Javier Jaramago Fernández +Date: Tue Aug 1 08:47:39 2023 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-4300 + +commit 600ddfa1547ad7a15c20ab732da34be78a8e3c7b +Author: Javier Jaramago Fernández +Date: Tue Aug 1 08:35:49 2023 +0200 + + Make dollar sign support check '8.1' specific #4300 + +commit a97fd04a5374d19ac241bb23289d496b9ec5fdbb +Merge: c5295254 24e3848e +Author: René Cannaò +Date: Tue Aug 1 07:57:05 2023 +0700 + + Merge pull request #4307 from sysown/v2.x-4272 + + Fix file descriptor leak introduced in x509 cache #4272 + +commit 2ddf092cf42215d73968e8721cb0511590774cbe (v2.x-clickhouse230726) +Author: Miro Stauder +Date: Tue Aug 1 02:50:21 2023 +0200 + + Update ci-taptests.yml + +commit 58eaf8bbe1ba65cf47d5528d2396b14fdf69bb7c (origin/v2.6.0-tap_test_fixes) +Merge: e59cf455 c5295254 +Author: Miro Stauder +Date: Tue Aug 1 01:28:45 2023 +0200 + + Merge branch 'v2.x' into v2.6.0-tap_test_fixes + +commit e59cf455d2caca9bf7ca766bc64465df1ceb491f +Author: Miro Stauder +Date: Tue Aug 1 01:27:25 2023 +0200 + + Update ci-taptests.yml + +commit c5295254beeeea4f3eae1ea4ec477ebf47f790d8 +Author: Miro Stauder +Date: Tue Aug 1 00:02:12 2023 +0200 + + Update ci-taptests.yml + +commit 07d09c0bab2340721ec9a903be838b423582b609 +Merge: 15fb37ff d36605ef +Author: René Cannaò +Date: Mon Jul 31 22:21:44 2023 +0700 + + Merge pull request #4306 from sysown/v2.x-4264 + + Fix `COMMIT|ROLLBACK` forwarding to backend connections - Closes #4264 + +commit 15fb37ff9035deb26db1b665b50087c264d3292c +Merge: 8e7aaefa 786b29e9 +Author: René Cannaò +Date: Mon Jul 31 22:13:37 2023 +0700 + + Merge pull request #4296 from sysown/v2.x-fast_routing_race_cond_fix + + Fix race condition when reloading 'Query Rules Fast Routing' + +commit 1039dfa747caa1578219de411cf677fb1e025200 +Author: Javier Jaramago Fernández +Date: Mon Jul 31 16:31:20 2023 +0200 + + Add regression test for issue #4300 + +commit ecf4f69fe072ca5f8bd97eba66cc5d7677309b82 +Author: Javier Jaramago Fernández +Date: Mon Jul 31 16:19:57 2023 +0200 + + Fix Admin support for MySQL client '8.1.0' - Closes #4300 + + MySQL client check command for dollars quote support ('SELECT $$'), is + now intercepted in both MySQL and Admin interfaces. The error reported + to the client is dependent of 'mysql-server_version' variable value. + +commit 24e3848eaf9862a82a8539059d6191aa0471c38c (origin/v2.x-4272) +Author: René Cannaò +Date: Mon Jul 31 13:29:25 2023 +0000 + + Fix file descriptor leak introduced in x509 cache #4272 + + In PR #4120 a file descriptor leak was introduced. CA file was being opened but never closed. + + Thanks @jhampson-dbre for pointing it out + +commit dc580e9f92099fddac34e30cbeddb503b323fb9b +Author: René Cannaò +Date: Mon Jul 31 12:56:10 2023 +0000 + + Graceful handle DB::Exception but not Illegal type + + Partial revert of commit bf87d8d91167ae0831b7fb358b31cd16ddbca375 + +commit c545f515093a4c6bdf685d803a54545c79af9ed5 +Author: Miro Stauder +Date: Sat Jul 29 15:39:11 2023 +0000 + + various connection related fixes + +commit 05abd9db6348a5790c6e914c0e06a639671e2d8f +Author: Miro Stauder +Date: Fri Jul 28 21:51:41 2023 +0000 + + cleanup formating + +commit 9351cfc212a82a148b9a841e2a0229436d47e2fb +Author: Miro Stauder +Date: Fri Jul 28 19:10:19 2023 +0000 + + rename tests + +commit d36605efbca0ef71e4a3981cb69e540b36805ea7 (origin/v2.x-4264) +Author: Javier Jaramago Fernández +Date: Fri Jul 28 19:39:41 2023 +0200 + + Add missing 'plan' to regression test for #4264 + +commit 0d8860e8a219bcbca13f8c071dc2ca408cb4f86a +Author: Javier Jaramago Fernández +Date: Fri Jul 28 19:23:57 2023 +0200 + + Remove old commented code for 'IsActiveTransaction' impl + +commit 3843a54bede315ca4e2d0827539a9bc4bf40eeed +Author: Javier Jaramago Fernández +Date: Fri Jul 28 19:19:53 2023 +0200 + + Remove duplicate code from several tests + +commit f35cebfb3ae183b3da16abe08b071b6823e21c34 +Author: Javier Jaramago Fernández +Date: Fri Jul 28 17:52:26 2023 +0200 + + Add regression test for issue #4264 + + - General testing for 'COMMIT|ROLLBACK' routing. + - Add multiple testing utility functions. + +commit bb40e9e4319b8b96705a3a00536d2b6ce8730020 +Author: Javier Jaramago Fernández +Date: Fri Jul 28 17:19:23 2023 +0200 + + Fix 'COMMIT|ROLLBACK' forwarding to backend connections - Closes #4264 + + These commands are now forwarded to the backend connections from a + session with potential transaction statuses, using the following + priority order: + 1. Connections flagged with 'SERVER_STATUS_IN_TRANS', or + 'autocommit=0' when 'autocommit_false_is_transaction' is set. + 2. Connections with 'autocommit=0' holding a 'SAVEPOINT'. + 3. Connections with 'unknown transaction status', e.g: connections + with errors. + +commit 98401106a318a4060a4ae573ee7c0aae3738cd90 +Author: Miro Stauder +Date: Fri Jul 28 11:06:12 2023 +0000 + + default user needs to 'testuser' for this PR + +commit 2511f6c794f4cc251421725e0f4fdf86c89ac93d +Author: Miro Stauder +Date: Fri Jul 28 10:55:56 2023 +0200 + + Update ci-taptests.yml + +commit 5cb7365a9bf103b44257a397233a663f22ee34ab +Merge: 83e15fb4 8e7aaefa +Author: Miro Stauder +Date: Fri Jul 28 00:23:25 2023 +0200 + + Merge branch 'v2.x' into v2.6.0-tap_test_fixes + +commit 83e15fb4e7b09e9d0d6eeed164021b5dd8ed198d +Author: Miro Stauder +Date: Thu Jul 27 23:37:52 2023 +0200 + + Update ci-basictests.yml + +commit 8e7aaefa928951dfc8add1833e90e14acb11c6f2 +Author: Miro Stauder +Date: Thu Jul 27 23:36:07 2023 +0200 + + Update ci-basictests.yml + +commit d3a584f923b57b50c203cd8d5779d70c128ce47d +Author: Miro Stauder +Date: Thu Jul 27 23:21:01 2023 +0200 + + Update ci-taptests.yml + +commit 1c614e4566a53679a04d9d780c7b15fdc0b4d145 +Author: Miro Stauder +Date: Thu Jul 27 23:18:28 2023 +0200 + + Update ci-taptests.yml + +commit 94af7d6806a3341818bd91c2f0ba9021c15b36d5 +Author: Miro Stauder +Date: Thu Jul 27 23:17:07 2023 +0200 + + Update ci-taptests.yml + +commit 9d07ffc4ccfc97c0f9e09deea861761f2ed53bd6 +Author: Miro Stauder +Date: Thu Jul 27 20:46:51 2023 +0000 + + fix warnings + +commit 00e73a19bce6ec87f5fc312bce84e13c225bd82f +Author: Miro Stauder +Date: Thu Jul 27 18:41:18 2023 +0000 + + cleanups + +commit f865bb504e0f6569073394250f0f3af9dda6e8a7 +Author: Miro Stauder +Date: Thu Jul 27 18:37:09 2023 +0000 + + fix connection strings and related + +commit ba87de8037b232b9409d8d9a917ff37ee2b91763 +Author: Miro Stauder +Date: Thu Jul 27 18:18:43 2023 +0000 + + fix database names + +commit b4438f7315dd9b0c7417a9a8688fa31dfc03969d +Author: Miro Stauder +Date: Thu Jul 27 18:11:45 2023 +0000 + + add extra users to CommandLine + +commit 8686c3150c5a36e256b2fffc976a8a45e44d15a4 +Author: René Cannaò +Date: Wed Jul 26 13:37:02 2023 +0000 + + Support for DECIMAL in Clickhouse + +commit bf87d8d91167ae0831b7fb358b31cd16ddbca375 +Author: René Cannaò +Date: Wed Jul 26 11:02:32 2023 +0000 + + Close clickhouse client in case of an exception from clickhouse server + +commit 786b29e9a7ca19698d92747c4bd3b8698b5c5958 (origin/v2.x-fast_routing_race_cond_fix) +Author: Javier Jaramago Fernández +Date: Thu Jul 20 15:51:08 2023 +0200 + + Minor fixes for test 'test_digest_umap_aux-t' + + - Fixed check interval taking into account rounding error (1). + - Fixed some compilation warnings + - Added some notes on test assumptions + +commit d3a34712dfdf689948763bd5f012c728aced2c9f +Author: Javier Jaramago Fernández +Date: Thu Jul 20 14:04:44 2023 +0200 + + Improve function resource acquisition readability + + - Improved readability for the locked map acquisition for function + 'search_rules_fast_routing_dest_hg'. + - Improved function documentation and added note about usage. + +commit 4b5fe5888ee0aa8b599672b7addb2c7522f8f388 +Author: Javier Jaramago Fernández +Date: Thu Jul 20 09:27:31 2023 +0200 + + Fix race condition when reloading 'Query Rules Fast Routing' + +commit c640f1b98382673450e367ac87b3126366907c63 (tag: 2.6.0) +Author: Miro Stauder +Date: Wed Jul 19 16:04:56 2023 +0000 + + bump version to 2.6.0 at the beginning of the development cycle + +commit c3e932a6416e280002677878147d3c6e299acf25 +Author: Javier Jaramago Fernández +Date: Wed Jul 19 17:15:20 2023 +0200 + + Remove outdated commented code from Aurora implementation + +commit f5f56ef7ccd86f75ce03209f130610e5bd8cb764 +Author: Javier Jaramago Fernández +Date: Wed Jul 19 14:50:43 2023 +0200 + + Fix crash during shutdown due to 'mysql_servers_v2' global checksum + +commit 055176b4d079c4e3010e4f91a20ac435c348cb9e +Author: Javier Jaramago Fernández +Date: Wed Jul 19 14:49:19 2023 +0200 + + Fix minor compiler warning in 'proxy_debug' call + +commit a4b6bd0b8fdc411ebee2dafed3eebed30093ce59 +Author: Javier Jaramago Fernández +Date: Wed Jul 19 11:00:28 2023 +0200 + + Refactor and homogenization of checksums computation + + - Simplified checksum computation for monitoring actions + - Refactored checksum computation for 'mysql_servers' and + 'mysql_servers_v2' modules in 'commit'. + +commit d15b40ab436538045a47ff69dd353e56006b279d (tag: v2.5.4) +Merge: ef2f4f7b 792db85b +Author: René Cannaò +Date: Wed Jul 19 15:08:07 2023 +0700 + + Merge pull request #4288 from sysown/v2.x_read_only_actions_offline_hard_servers + + Fixed potential crash when read_only_actions creates a server that is already present in hgm container in OFFLINE HARD state + +commit ef2f4f7b8052de0b9be68a9b810cdbc3d7ae0bd8 +Author: Miro Stauder +Date: Tue Jul 18 18:18:10 2023 +0000 + + re-set version to 2.5.4 retroactively + +commit 3b8e23e75ad6d7972863d2113f98b518b870a738 +Author: Javier Jaramago Fernández +Date: Fri Jul 14 18:23:23 2023 +0200 + + 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. + +commit 792db85b20725512a8659778815b45dbc6df6b03 (origin/v2.x_read_only_actions_offline_hard_servers) +Author: Rahim Kanji +Date: Tue Jul 18 14:47:13 2023 +0500 + + Improved TAP test + +commit 7ddedf682984ec179f89d025012bb6d9ae72cd2a +Author: Miro Stauder +Date: Tue Jul 18 10:36:49 2023 +0200 + + Update ci-taptests.yml + +commit 3cb9e5f7f87d7ca9ecfa875fe2f2d671d9d9bb0c +Merge: 8a6ac7a0 d450d86b +Author: René Cannaò +Date: Tue Jul 18 13:41:20 2023 +0700 + + Merge pull request #4290 from sysown/v2.x-prometheus0717 + + Minor changes in mysql error code reported by Prometheus exporter + +commit 8a6ac7a0e94f1c5e8b6268ada683a677dbb1e021 +Merge: 299c833e e2249682 +Author: René Cannaò +Date: Tue Jul 18 13:34:59 2023 +0700 + + Merge pull request #4291 from sysown/v2.x-patch_libdaemon_umask + + Remove `libdaemon` imposed `umask` value when forking + +commit e2249682822825f1107413c7cb6f30b28ee8505c (origin/v2.x-patch_libdaemon_umask) +Author: Javier Jaramago Fernández +Date: Mon Jul 17 19:20:50 2023 +0200 + + Remove 'libdaemon' imposed 'umask' value when forking + +commit 6b58a004e674b9cbf22060ce043ecc8c127a6d1d +Merge: a10f4271 858c430b +Author: Javier Jaramago Fernández +Date: Mon Jul 17 15:12:55 2023 +0200 + + Merge branch 'v2.x-gr_bootstrap_mode' into v2.x-aurora_autodiscovery-refactor_cluster_mysql_servers-gr_bootstrap_mode + +commit 858c430b5997099ed6caba2b4414cc503df7e2b0 +Merge: 6ec2bbc1 299c833e +Author: Javier Jaramago Fernández +Date: Mon Jul 17 15:10:28 2023 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-gr_bootstrap_mode + +commit d450d86bcb18d24e8a02c3fbb1b505e54639fc76 (origin/v2.x-prometheus0717) +Author: René Cannaò +Date: Mon Jul 17 09:23:13 2023 +0000 + + Adding "code" in mysql error code counters exported to Prometheus + +commit 3ebf494eb428fede2e7215c3df02725ea5c8f064 +Author: René Cannaò +Date: Mon Jul 17 09:21:30 2023 +0000 + + Changing error type in MySQL_Monitor_State_Data::create_new_connection() + +commit d93da933764a84d5a426e5b118303f8ee6ac7831 +Author: Rahim Kanji +Date: Mon Jul 17 14:15:51 2023 +0500 + + Added hostgroup_manager_verbose check + +commit 0072e0084115ebc73efd7f7527b50ff9b54eb4ce +Author: Rahim Kanji +Date: Mon Jul 17 11:27:16 2023 +0500 + + Added TAP test + +commit 65c859659f4ed053d46c0bb272e7b943096491e6 +Author: Rahim Kanji +Date: Mon Jul 17 11:26:45 2023 +0500 + + If a backend server, which has an active connection with a client, is removed, it remains in the hgm container until the client closes the connection. However, this can lead to a crash if the 'read_only_actions' function creates a server that already exists in the container but is in an OFFLINE state. + + To address this issue, the fix involves checking the host group container when a new server is added through 'read_only_actions.' If the server is found to be already present, it is marked as online instead of adding a new server. + +commit 299c833eb3b7464262692ca055f9c6439f04b5a6 +Merge: e02813c9 8d03589c +Author: René Cannaò +Date: Mon Jul 17 11:40:08 2023 +0700 + + Merge pull request #4283 from sysown/v2.x_reordering_mysql_variables + + Reordered SQL_ISOLATION_LEVEL, SQL_TRANSACTION_READ, and SQL_WSREP_SYNC_WAIT tracked variables + +commit e02813c956e2f14f39c96b77456f7cb11c727af7 +Merge: 5c65fd15 a2dee41c +Author: René Cannaò +Date: Mon Jul 17 11:34:42 2023 +0700 + + Merge pull request #4280 from sysown/v2.x_transaction_isolation_level_support + + Adding SET TRANSACTION ISOLATION LEVEL * support + +commit 5c65fd150ba856982af95ddcb47d3bd13a282bd3 +Merge: 4c77e09e 83efe7d7 +Author: René Cannaò +Date: Mon Jul 17 11:07:26 2023 +0700 + + Merge pull request #4286 from sysown/v2.x-fix_stats_query_digests_timestamps + + Fix timestamps regression for `stats_mysql_query_digest` + +commit 4c77e09ee809f692cc1a34a3ce67cb07345e3ad2 +Merge: b9083238 c025ec0c +Author: René Cannaò +Date: Fri Jul 14 15:42:06 2023 +0700 + + Merge pull request #4287 from sysown/v2.x-change_user_compression + + V2.x change user compression #4158 + +commit b9083238687e215ebd28aef0e884eaec385f1bb6 +Merge: fb53926c 7852829b +Author: René Cannaò +Date: Fri Jul 14 15:39:31 2023 +0700 + + Merge pull request #4277 from sysown/v2.6.0-distro-targets + + refactor distro targets + +commit a10f42712102189800af06ecf36c827dab225ed6 +Merge: d13dda05 8dab09ec +Author: Javier Jaramago Fernández +Date: Thu Jul 13 16:07:48 2023 +0200 + + Merge branch 'v2.x_refactor_cluster_mysql_servers' of github.com:sysown/proxysql into v2.x-aurora_autodiscovery-refactor_cluster_mysql_servers + +commit 8dab09ec11f03e42f9f746f70295ba1bb918b17d +Author: Javier Jaramago Fernández +Date: Thu Jul 13 13:28:59 2023 +0200 + + 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. + +commit c025ec0c63751d34062bcf8f14462bf9c351b280 (origin/v2.x-change_user_compression) +Author: René Cannaò +Date: Thu Jul 13 04:36:23 2023 +0000 + + Revert "Reduce privileges on create_mysql_user() for TAP" + + This reverts commit b0ef5147c9cf441f2fe7d0aee5d43ffcffdeb40b. + +commit d8e36d09352fd72255f18d3563562b43ad15b7d8 +Author: René Cannaò +Date: Thu Jul 13 04:21:17 2023 +0000 + + Implemented run_funct_timeout() + +commit db632cd7f5a41b9d6ab5e5eca152ceccbae98825 +Author: René Cannaò +Date: Thu Jul 13 03:59:04 2023 +0000 + + Preserve STATUS_MYSQL_CONNECTION_COMPRESSION after connection reset + + In MySQL_Connection::reset() we were forgetting the value of + STATUS_MYSQL_CONNECTION_COMPRESSION. + De-facto disabling compression if it was enabled. + +commit b0ef5147c9cf441f2fe7d0aee5d43ffcffdeb40b +Author: René Cannaò +Date: Thu Jul 13 02:41:53 2023 +0000 + + Reduce privileges on create_mysql_user() for TAP + +commit d13dda054338ce83a7a06fd19595ba873f3b48c2 +Merge: 3fb6ab91 fb53926c +Author: Javier Jaramago Fernández +Date: Wed Jul 12 13:29:29 2023 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-aurora_autodiscovery + +commit 7f0ef596ed1c91e74aea42e3ac30c495152ec35c +Merge: 5f53c185 fb53926c +Author: Javier Jaramago Fernández +Date: Wed Jul 12 12:30:52 2023 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x_refactor_cluster_mysql_servers + +commit 5f53c185d07c3cb0fae49d690fe06c2641dfba7c +Author: Javier Jaramago Fernández +Date: Tue Jul 11 21:27:51 2023 +0200 + + Remove outdated comments and minor indentation fixes + +commit 664fba97d4a7bdb83acc06ccf64646ccfedc7752 +Author: Javier Jaramago Fernández +Date: Tue Jul 11 18:37:10 2023 +0200 + + Improve doc for 'pull_mysql_servers_v2_from_peer' + +commit fa71a5cce3dba0a0b3e50cdcfa622f4a581247de +Author: Javier Jaramago Fernández +Date: Tue Jul 11 18:36:19 2023 +0200 + + Improve doc for 'mysql_servers_sync_algorithm' + +commit 253e309aa02283d3452773b53808244d26c67118 +Author: Javier Jaramago Fernández +Date: Tue Jul 11 18:01:51 2023 +0200 + + Cleanup left commented function 'update_runtime_mysql_servers_table' + +commit f48dfce6cf91e73ac4ee2ae0e39c70dd0c950205 +Author: Javier Jaramago Fernández +Date: Tue Jul 11 17:54:16 2023 +0200 + + 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'. + +commit 83efe7d790fda7bfb39f976a7dd21a164774d996 (origin/v2.x-fix_stats_query_digests_timestamps) +Author: Javier Jaramago Fernández +Date: Tue Jul 11 12:59:03 2023 +0200 + + Add regression testing for 'stats_mysql_query_digest' timestamps + + - Added regression testing for timestamps 'first_seen' and 'last_seen'. + - Make the test idempotent by cleaning up 'stats_mysql_query_digest'. + +commit dfe8588017d8b7eac30aef7921e6e611a1a96f70 +Author: Javier Jaramago Fernández +Date: Tue Jul 11 12:47:19 2023 +0200 + + Fix timestamps regression for 'stats_mysql_query_digest' + +commit 43d627406056fb30a52018925b94bd7c4454a29a +Author: Javier Jaramago Fernández +Date: Mon Jul 10 14:34:39 2023 +0200 + + 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. + +commit a2dee41c8dd07e3c7349450537cf8f20813fd40a (origin/v2.x_transaction_isolation_level_support) +Author: Rahim Kanji +Date: Fri Jul 7 16:31:37 2023 +0500 + + Potential fix for CI test failure + +commit 8d03589cf93d75f33092d1fd9f07251b1058bbd1 (origin/v2.x_reordering_mysql_variables) +Author: Rahim Kanji +Date: Fri Jul 7 15:06:40 2023 +0500 + + Moved SQL_ISOLATION_LEVEL, SQL_TRANSACTION_READ, and SQL_WSREP_SYNC_WAIT to the higher bound. + +commit a908f2a17b2d93ee5ef0c0bfc9740bdd3f724f9e +Author: Rahim Kanji +Date: Fri Jul 7 12:18:52 2023 +0500 + + Added transaction_isolation_level and transaction_read_only variable support. + +commit e2c45a990109d5fce439fb33135bd0213043ba10 +Author: Rahim Kanji +Date: Thu Jul 6 23:59:45 2023 +0500 + + Added TAP test + + * Test next transaction isolation level + * Test next transaction access mode + +commit a3d29863e8d1f206da3a83ad2b092f5fec230cac +Author: Rahim Kanji +Date: Mon Jul 3 16:47:46 2023 +0500 + + Adding SET TRANSACTION ISOLATION LEVEL * support + +commit 3fb6ab9146c91c6c10ac82d5891bfa2dae1e351b +Author: Javier Jaramago Fernández +Date: Wed Jul 5 13:19:50 2023 +0200 + + Fix compilation on Centos 6 due to old GCC limitations with 'auto' + +commit 7852829b7521a06e69ff6e89c7485d5f9eaf5feb (origin/v2.6.0-distro-targets) +Author: Miro Stauder +Date: Mon Jul 3 12:17:48 2023 +0000 + + rename var + +commit fb53926cf54058bedff761a36f2c099357ca9b85 +Merge: c07d4b03 a6ff9e33 +Author: René Cannaò +Date: Sat Jul 1 00:19:19 2023 +0200 + + Merge pull request #4274 from sysown/v2.x-4268 + + Reworking of SET parser + +commit a6ff9e33bac59299529429a6a184f3d81c2c036d (origin/v2.x-4268) +Author: René Cannaò +Date: Fri Jun 30 19:58:42 2023 +0000 + + Initialize thr_SetParser + +commit cfa6d891d3db1fca60e6c95d432805a82bfff9ef +Merge: 97463ca9 c07d4b03 +Author: Javier Jaramago Fernández +Date: Fri Jun 30 15:16:05 2023 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-aurora_autodiscovery + +commit 97463ca96c3b58ea4fc74322eb4e62a8d6888cf7 +Author: Javier Jaramago Fernández +Date: Fri Jun 30 13:47:41 2023 +0200 + + Fix invalid use of SHUNNED servers for checksum computation in 'read_only_action_v2' + +commit efe83fea55b361549ea1e3abccd662f7c5f966a4 +Author: Javier Jaramago Fernández +Date: Fri Jun 30 13:47:00 2023 +0200 + + Fix propagation of 'OFFLINE_HARD' servers due to 'read_only_action_v2' + +commit 3d06427efe44698eac50dfb8d54e699a325bb1b5 +Author: Javier Jaramago Fernández +Date: Fri Jun 30 13:02:25 2023 +0200 + + Improve simulator support for AWS Aurora + + - Preserve old simulator behavior via 'TEST_AURORA_RANDOM' macro. + - Add new deterministic behavior for testing particular scenarios. + - Add support for simulating multiple clusters via an updated + 'REPLICA_HOST_STATUS' table and hostgroup based selection. + - Provide a sensible default population for manual testing. + +commit 813355c3d45c36c40480b046148f9fdf1ef08320 +Author: Javier Jaramago Fernández +Date: Thu Jun 29 16:09:21 2023 +0200 + + Honor hostgroup attributes for AWS Aurora auto-discovery + + - Refactor of 'commit' checksums computation. + - Refactor update of 'AWS_Aurora_Hosts_resultset'. + - Fix invalid use of SHUNNED|SHUNNED_REPLICATION_LAG servers for + checksum computation via 'MYSQL_SERVERS_CHECKSUM_QUERY'. + +commit bb411e26137b5ac16fa28ee10d015c4a3bf9db21 +Merge: 603b071b 1450a7f6 +Author: René Cannaò +Date: Fri Jun 30 09:31:42 2023 +0000 + + Merge remote-tracking branch 'origin/v2.6.0-makefile-fixes' into v2.x-4268 + +commit 603b071b59589839c7c5ac939dc637a0d7556980 +Merge: 970922bb 62a2ecd4 +Author: René Cannaò +Date: Fri Jun 30 09:26:47 2023 +0000 + + Merge branch 'v2.x-no_tap.a' into v2.x-4268 + +commit c07d4b030a0763703cc3c149ebcc5ef11b82c79a +Author: Miro Stauder +Date: Thu Jun 29 18:31:06 2023 +0200 + + Update ci-builds.yml + +commit 2d5359a4a044c1e56de5da8a4853c2468df7a113 +Author: Javier Jaramago Fernández +Date: Thu Jun 29 09:41:36 2023 +0200 + + Fix invalid servers removal when present in multiple AWS Aurora clusters + +commit 72cfd2452aec689880d2de03fde0eee1aea3d70e +Author: Javier Jaramago Fernández +Date: Thu Jun 29 09:15:21 2023 +0200 + + Fix AWS Aurora new writer not honoring 'new_reader_weight' + + When a writer is also placed in the reader hostgroup due to + 'writer_is_also_reader', this new reader should also honor + 'new_reader_weight'. + +commit 4524bcba6ce39847082801ad018e763c5840e9eb +Author: Javier Jaramago Fernández +Date: Thu Jun 29 09:10:06 2023 +0200 + + Fix AWS Aurora replicas not being SHUNNED due to replication lag + + Since the same 'AWS_Aurora_status_entry' index was being used for + computing the previous and current statuses, no difference was being + found, and no action taken. + +commit c091813de60f7a076e37855e1a0b294459f90d48 +Author: Miro Stauder +Date: Wed Jun 28 20:46:16 2023 +0000 + + refactor distro targets + +commit 9e3ab519e83565cf4e54b789941f30e5ff1395ca +Author: Javier Jaramago Fernández +Date: Wed Jun 28 18:16:02 2023 +0200 + + Add helper functions for server creation/destruction in hostgroup + +commit 6ec2bbc1d29474f177d55f3b266021ccfa8f4a32 (origin/v2.x-gr_bootstrap_mode) +Author: Javier Jaramago Fernández +Date: Wed Jun 28 17:04:07 2023 +0200 + + Update 'mysql_servers' checksum when adding auto-discovered GR servers + +commit 4f73331defd1f6ca0d8e7faafe92d23a96c70cea +Author: Javier Jaramago Fernández +Date: Wed Jun 28 16:35:49 2023 +0200 + + Add functions for breaking down 'commit' checksum generation + +commit bf5d8cbc73f2ba1044f248be8f8a1bc11098996c +Author: Javier Jaramago Fernández +Date: Wed Jun 28 16:35:49 2023 +0200 + + Add functions for breaking down 'commit' checksum generation + +commit 970922bb6f6e88d007616a40ad547542be410e45 +Author: René Cannaò +Date: Wed Jun 28 13:32:37 2023 +0000 + + Adding test for issue #4268 + +commit 37f8a50b90f17f32c0bc4d753527142c4dcc1496 +Author: René Cannaò +Date: Wed Jun 28 13:14:10 2023 +0000 + + Adding variable mysql-set_parser_algorithm + + Variable mysql-set_parser_algorithm defines which algorithm is used by SetParser + for the parsing of SET statements. + If value is 1: parse1() is used + If value is 2: parse1v2() is used + + parse1v2() allows also the using a single SetParser per MySQL_Thread to + process all SET statements. Regex is compiled only once. + + set_testing-240-t was also modified to test both algorithms + +commit 6044195b85eee5e2ff1486d5fe0aca57006e4aa1 +Merge: 188a56b3 c57bfb39 +Author: René Cannaò +Date: Wed Jun 28 14:57:39 2023 +0200 + + Merge pull request #4276 from sysown/v2.x-test_digest_230627 + + Minor change in test_digest_umap_aux-t + +commit 38724bb401c338fd3d7884c7d876a363ac73cc97 +Author: René Cannaò +Date: Wed Jun 28 11:30:17 2023 +0000 + + Error handling for incomplete parsing in SetParser + + If parse1() or parse1v2() is not able to parse the whole query, + it doesn't return any result (thus causes an error) + +commit 536bd62f5411ece8ae9d9c7ec0f6069ea39e3be1 +Author: René Cannaò +Date: Wed Jun 28 09:46:19 2023 +0000 + + Add support for optimizer_switch syntax + +commit dcd4a4f72f61be8bf123a21ebf6cc505a667bb8e +Author: René Cannaò +Date: Wed Jun 28 09:00:28 2023 +0000 + + Make SetParser reusable + + Added set_query() to change the query. + parse1v2() is now able to only once: + - generate the pattern + - compile the regex + +commit 188a56b3ada56cb71221f777147c5bec525587a5 +Merge: e5b14a4e 5443b45f +Author: René Cannaò +Date: Wed Jun 28 10:21:43 2023 +0200 + + Merge pull request #4270 from sysown/v2.x-4269 + + Handle utf8mb3 as an alias for utf8 + +commit 62a2ecd45bec4a0d1f3e2dce96534760647588b3 (origin/v2.x-no_tap.a) +Author: René Cannaò +Date: Wed Jun 28 06:58:02 2023 +0000 + + More clean up of TAP Makefile and tests + +commit c57bfb39b6ed137d449e4cb780195fc5b4cd0c43 (origin/v2.x-test_digest_230627) +Author: René Cannaò +Date: Wed Jun 28 06:07:46 2023 +0000 + + Minor changes in TAP reg_test_3765_ssl_pollout-t + +commit 0869799c3b9c274a27c51f35b50d3df7acf63de3 +Author: René Cannaò +Date: Tue Jun 27 21:45:27 2023 +0000 + + Minor change in test_digest_umap_aux-t + +commit e5b14a4ed2daa18cec79448f3148bc216f38679e +Merge: c71cf927 1450a7f6 +Author: René Cannaò +Date: Tue Jun 27 23:24:45 2023 +0200 + + Merge pull request #4273 from sysown/v2.6.0-makefile-fixes + + fix build dependency cascade + +commit 337f04ef55dec3498aaecf83f89f26337d1c53bb +Author: René Cannaò +Date: Tue Jun 27 21:14:45 2023 +0000 + + Minor changes in TAP Makefile + + Disabling jemalloc from TAP tests it saves around 5MB per binary + + Also renamed proxysql_find_charset_collate() in proxysqlTap_find_charset_collate() + +commit b167adc5af292d01dfc7629a738194cc07606001 +Author: René Cannaò +Date: Tue Jun 27 18:35:57 2023 +0000 + + Minor tuning on Makefile + +commit 150bdeed496353b1b3f9f2f5f920022da2bfc58a +Author: René Cannaò +Date: Tue Jun 27 18:14:06 2023 +0000 + + Adding 2 more tests + +commit 745204bde515c2f6472c55b5bb2a3d7482330c1d +Author: René Cannaò +Date: Tue Jun 27 18:06:56 2023 +0000 + + Adding setparser_test_common.h + + setparser_test_common.h includes the tests for both + setparser_test2.cpp and setparser_test3.cpp + +commit c71cf9274ffabf577b4915770c96e3e5bcc5fa16 +Author: Miro Stauder +Date: Tue Jun 27 10:34:36 2023 +0200 + + Update ci-taptests.yml + +commit 131d2e8792e151cfdf8073418c6e1bf3a5d1688c +Author: René Cannaò +Date: Tue Jun 27 08:12:50 2023 +0000 + + Initial rewriting of SetParser + +commit ed405d458bf753b1336f462137f95bd2ee9dc713 +Author: Miro Stauder +Date: Tue Jun 27 09:51:54 2023 +0200 + + Update ci-repltests.yml + +commit b14e230d8c065fa0c48b652ab0d58a56ee36c2d7 +Author: Miro Stauder +Date: Tue Jun 27 09:49:25 2023 +0200 + + Update ci-maketest.yml + +commit 1450a7f692972d7463581ff2cf7ffbfe14e7bbcb (origin/v2.6.0-makefile-fixes) +Author: Miro Stauder +Date: Mon Jun 26 20:53:47 2023 +0000 + + fix build dependency cascade + +commit 4b49c38ea7c075a2e99c0d4ac4b644b88da217da +Author: René Cannaò +Date: Mon Jun 26 14:11:22 2023 +0000 + + Adding setparser_test2 , possible as a complete replacement of setparser_test + +commit 5443b45f2e6bef65bad1871d39487e7e858af1f6 (origin/v2.x-4269) +Author: René Cannaò +Date: Mon Jun 26 10:52:09 2023 +0000 + + Handle utf8mb3 as an alias for utf8 + + Fixes issue #4269 + + proxysql_find_charset_name() converts "utf8mb3" to "utf8". + proxysql_find_charset_collate_names() also remove "mb3" from collation names. + +commit 249f023fbea14b7caefd1834f7af3ed0e675641b +Author: Rahim Kanji +Date: Mon Jun 26 02:35:49 2023 +0500 + + Added ProxySQL Cluster internal working documentation and flowchart + + TODO: + Update documentation: mysql_servers_v2 + +commit 2ce28d960725e136278f096eb1b9cbe017cd291d +Author: Miro Stauder +Date: Thu Jun 22 11:27:34 2023 +0200 + + Update package-build.yml + +commit 54e09005f696c1a9d4facd2596a8abf141c3130d (tag: 2.5.4) +Author: Miro Stauder +Date: Thu Jun 22 07:39:47 2023 +0000 + + bump version to 2.6.0 at the beginning of the development cycle + +commit 86ce115529ee104e0bf4cd4f0a0670e39dc3a869 (tag: v2.5.3) +Merge: a876e27e 73ac61b0 +Author: René Cannaò +Date: Mon Jun 19 21:55:05 2023 +0200 + + Merge pull request #4216 from sysown/v2.x-track_slow_query_vars + + Track some slow query variables + +commit a876e27e77c31686d9db0ae126337a46cfdf87aa +Merge: b721055e 2955f7d6 +Author: René Cannaò +Date: Mon Jun 19 21:45:19 2023 +0200 + + Merge pull request #4265 from sysown/v2.5.3-debian12 + + add debian12 support + +commit 73ac61b0fb97ec6c27435fdd79bbf16bb597a896 (origin/v2.x-track_slow_query_vars) +Author: René Cannaò +Date: Mon Jun 19 16:57:04 2023 +0000 + + Remove tracking of log_queries_not_using_indexes + + log_queries_not_using_indexes is not enabled because in MySQL it is *only* + a global variable, while in MariaDB is a global *and* session variable . + We believe it is not the time to create a lot of exceptions and complex logic + for conflicting backend implementations + +commit dc732c56280d4eb69bcd3fe21128576d20eb9636 +Author: René Cannaò +Date: Mon Jun 19 13:34:04 2023 +0000 + + Add support for sql_quote_show_create #4254 + +commit 32fb42245a6ca892eb03fd6333cef3c3ffd52d82 +Author: René Cannaò +Date: Mon Jun 19 12:49:24 2023 +0000 + + Adding 2 variables in possible_unknown_variables + +commit 2955f7d6d3640071429e98712e127d84f0f82483 (origin/v2.5.3-debian12) +Author: Miro Stauder +Date: Mon Jun 19 08:16:49 2023 +0000 + + add debian12 support + +commit b721055e0c2fd77dbbd7e288cd0312cb2e4b61f6 +Merge: 106a3206 fa6fe55a +Author: René Cannaò +Date: Mon Jun 19 09:53:30 2023 +0200 + + Merge pull request #4263 from sysown/v2.5.3-upgrade-sqlite3 + + update SQLite3 to v3.42.0 + +commit 106a3206db425bcb5390909d2655624945cec4da +Merge: 2e0c65cc d39dacb5 +Author: René Cannaò +Date: Mon Jun 19 09:51:33 2023 +0200 + + Merge pull request #4257 from sysown/v2.x-closefd_restapi + + Close fd after fork() also on REST API + +commit fa6fe55ad0e7e77d516908b95af77e26d7817a7a (origin/v2.5.3-upgrade-sqlite3) +Author: Miro Stauder +Date: Fri Jun 16 11:21:41 2023 +0000 + + update SQLite3 to v3.42.0 + +commit d39dacb575ba85b302d9adb67cf8ea6411a7ab2c (origin/v2.x-closefd_restapi) +Author: René Cannaò +Date: Wed Jun 14 10:50:13 2023 +0000 + + Adding missing include + +commit d79c5cfba3eb6354f5c2391e8c53aebf4c906ba2 +Author: René Cannaò +Date: Wed Jun 14 09:56:45 2023 +0000 + + Close fd after fork() also on REST API + + Closing the file descriptors also on REST API after the fork. + It excludes all the pipes. + close_all_non_term_fd() accepts a vector of FDs to exclude + +commit 2e0c65cc5cff8d5d12f276fd7a0b010fe7d34e6b +Merge: 2600029d 7899ca1d +Author: René Cannaò +Date: Tue Jun 13 19:19:26 2023 +0200 + + Merge pull request #4238 from sysown/v2.x-tap_tests_env_files + + add dotenv to libtap + +commit 2600029d8fb5968c7a982ad073f3e5b75a7f2aaa +Author: René Cannaò +Date: Tue Jun 13 16:01:43 2023 +0000 + + Add SO_REUSEPORT for ClickHouse_Server too + +commit 5f9b9f613bf87dc3f2d16818591709160121da25 +Merge: 96016c3b 28f09bfb +Author: René Cannaò +Date: Tue Jun 13 16:33:29 2023 +0200 + + Merge pull request #4256 from sysown/v2.x_ssl_cert_fix + + Reload TLS certificate after fork + +commit 7899ca1d5f34583449e964732c877aa958e1ab51 (origin/v2.x-tap_tests_env_files) +Author: René Cannaò +Date: Tue Jun 13 14:23:39 2023 +0000 + + Close all FDs in Scheduler + + When scheduler calls ProxySQL_External_Scheduler::run_once() , + after fork() we call close_all_non_term_fd() to close all file descriptors. + +commit 28f09bfb7c809a94a9b09b25704bb9c3a3624723 (origin/v2.x_ssl_cert_fix) +Author: Rahim Kanji +Date: Tue Jun 13 10:11:25 2023 +0500 + + Reload certificate after fork() + +commit b3d84c0c50ef7ae884b8bdd0d04b5879f6648728 +Merge: 08b15e72 96016c3b +Author: Miro Stauder +Date: Tue Jun 13 10:27:39 2023 +0200 + + Merge branch 'v2.x' into v2.x-tap_tests_env_files + +commit 063af84f7f307caa581e067135a4d83d94edc415 +Merge: b2119ba2 96016c3b +Author: Rahim Kanji +Date: Tue Jun 13 11:00:04 2023 +0500 + + 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 + +commit 96016c3b996c17f0afdfcb579793cade6f557373 +Merge: e05ce099 25da524c +Author: René Cannaò +Date: Tue Jun 13 00:02:15 2023 +0200 + + Merge pull request #4253 from sysown/v2.x-tap20230609-3 + + Several compiling fixes in TAP + +commit 08b15e72392b72c6d5b05c8f23ce7bf8090f31cd +Author: Miro Stauder +Date: Mon Jun 12 13:12:58 2023 +0000 + + make 'loading' diag messages conditional + +commit 25da524c41bad14d24cc42e501497e6e7ab43a8c (origin/v2.x-tap20230609-3, v2.x-tap20230609-3) +Author: René Cannaò +Date: Mon Jun 12 09:41:02 2023 +0000 + + Adding plan() in several TAP tests + +commit 83759f0df10147d61614007b7fca4cdde13ddf12 +Author: René Cannaò +Date: Mon Jun 12 09:23:25 2023 +0000 + + Fix compiling of fwd_eof_ok_query + + Also added several debugging information + +commit 482c80844945c8c55d3e40478915914def5f28fe +Author: René Cannaò +Date: Fri Jun 9 05:32:55 2023 +0000 + + Several compiling fixes in TAP + +commit e05ce099beb3bb4eb948d6565f959a17063b9419 +Merge: 7b5989b9 c61507e5 +Author: René Cannaò +Date: Mon Jun 12 09:28:45 2023 +0200 + + Merge pull request #4252 from sysown/v2.x-tap20230609-2 + + Add SO_REUSEPORT for SQLite3_Server and other minor changes + +commit c61507e5e1a2e2b2cce8d57315f726fe137263bc (origin/v2.x-tap20230609-2, v2.x-tap20230609-2) +Author: René Cannaò +Date: Sun Jun 11 22:56:17 2023 +0000 + + Adding many sleep() in test_sqlite3_server_and_fast_routing-t + + Probably this TAP test creates a lot of TCP connections. + sleep() may help in releasing sockets. + sleep() may also help delaying benchmark while Cluster is reconfiguring + +commit 9a7b2c331883cba3c2965452b2414847341f517c +Author: René Cannaò +Date: Fri Jun 9 13:05:39 2023 +0000 + + Prevent an assert() during shutdown + +commit f32d5345830e7e132333193b9305692a7efca947 +Author: René Cannaò +Date: Fri Jun 9 12:59:16 2023 +0000 + + Add SO_REUSEPORT for SQLite3_Server too + +commit d8275063b263e6187da6c320355ad9e2edf40c81 +Author: René Cannaò +Date: Fri Jun 9 12:54:55 2023 +0000 + + Better error handling when calling bind()/listen() + +commit d2eb34e109ea0f2adccf7463f42e535bfaacf2fd +Author: Miro Stauder +Date: Fri Jun 9 13:50:07 2023 +0000 + + cleanups + +commit 7b5989b983cf4965394d580536c7a4ea290edb4b +Merge: 6396e1aa 95b22b96 +Author: René Cannaò +Date: Fri Jun 9 15:01:55 2023 +0200 + + Merge pull request #4247 from sysown/v2.x_ssl_support_kill_query + + Added SSL connection support in kill_query_thread + +commit 6396e1aa548145cb3a585de93581bc9305e17e1e +Merge: 85777ee6 ff722142 +Author: René Cannaò +Date: Fri Jun 9 15:01:23 2023 +0200 + + Merge pull request #4250 from sysown/v2.x_unix_socket_ssl + + SSL support on Unix Socket reinstated + +commit 85777ee63af1c0e314fea3a22f060c436add81ef +Merge: 0cb329e8 ada46214 +Author: René Cannaò +Date: Fri Jun 9 15:00:56 2023 +0200 + + Merge pull request #4242 from sysown/v2.x_ssl_keylog_support + + Special handling of relative file paths supplied in the 'admin-ssl_keylog_file' variable + +commit ff722142bfc9d7df19409059e5d8289573e1db49 (origin/v2.x_unix_socket_ssl) +Author: Rahim Kanji +Date: Fri Jun 9 14:53:36 2023 +0500 + + SSL support on Unix Socket reinstated + +commit 0cb329e845a2bc9d4c8246f015273eea7c6511f9 +Author: Miro Stauder +Date: Thu Jun 8 20:57:45 2023 +0200 + + Update ci-cb_taptests.yml + +commit e7a477aada048abdc0ea177b9827a0cbce5cc454 +Merge: 549a8280 a89a28d6 +Author: Javier Jaramago Fernández +Date: Thu Jun 8 18:50:47 2023 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-aurora_autodiscovery + +commit 95b22b96fbbfe9bc079ee9848124fa303afad367 (origin/v2.x_ssl_support_kill_query) +Author: Rahim Kanji +Date: Thu Jun 8 16:38:19 2023 +0500 + + Added SSL connection support in kill_query_thread + +commit a89a28d6b4451812ac01b88ae9cbcccfa7e80db1 +Author: Miro Stauder +Date: Thu Jun 8 10:47:35 2023 +0200 + + Update ci-cb_taptests.yml + +commit 47b444f6f2a34866449b07307d1cb3677fa4fbc4 +Author: Miro Stauder +Date: Thu Jun 8 10:37:00 2023 +0200 + + Update ci-cb_taptests.yml + +commit e2b6c5eab64085c77b1cc60dab84ab8fd4d5e484 +Author: Miro Stauder +Date: Thu Jun 8 10:01:38 2023 +0200 + + Update ci-cb_taptests.yml + +commit 3fe4cd3874a06a3c8928002eee3e614b2e94d62a +Author: Miro Stauder +Date: Thu Jun 8 08:38:53 2023 +0200 + + Update ci-cb_taptests.yml + +commit 764447fe61847dab2d5ce99dcca099549b105da2 +Author: Miro Stauder +Date: Wed Jun 7 12:05:11 2023 +0200 + + Update ci-cb_taptests.yml + +commit ada4621401131f3eb50219c053711db1fb6db898 (origin/v2.x_ssl_keylog_support) +Author: Rahim Kanji +Date: Wed Jun 7 12:20:38 2023 +0500 + + Special handling for 'admin-ssl_keylog_file' is only filename is provided. + +commit ed6b5d1f4b669cb0f39ace60f37e332d38abec4e +Author: Miro Stauder +Date: Tue Jun 6 15:36:25 2023 +0000 + + fix plan + +commit 22e0713cc48468c1a010fb07238a8a74f5814aa8 +Author: Miro Stauder +Date: Tue Jun 6 15:44:57 2023 +0200 + + Create ci-cb_taptests.yml + +commit 390d810fa68a3e39c9b513cf4e9331937aa65e77 +Author: Miro Stauder +Date: Tue Jun 6 13:29:31 2023 +0000 + + update tap test, remove extra file + +commit 0acf5bd94f012e50ea0069884bc528ddb9f36b00 +Merge: 20bdcd7e dfd45f50 +Author: René Cannaò +Date: Tue Jun 6 13:37:40 2023 +0200 + + Merge pull request #4236 from sysown/v2.x_ssl_keylog_support + + Added support for SSLKEYLOGFILE + +commit dfd45f507155765cb49541a93fd6abe9ba4b5c75 +Author: Rahim Kanji +Date: Tue Jun 6 16:03:24 2023 +0500 + + * Updated NSS Key Log Format URL + * Updated proxysql sslkeylogfile warning message + +commit f19c03af5add3767e94677a7e113a40e9a1540d9 +Author: Miro Stauder +Date: Tue Jun 6 10:12:09 2023 +0000 + + remove extra filename and fix path + +commit 20bdcd7e9c1e87a5bf588429897e08716322042e +Merge: 030ec8cc a33ea961 +Author: René Cannaò +Date: Tue Jun 6 11:54:08 2023 +0200 + + Merge pull request #4235 from sysown/v2.x_issue_4194 + + Fixed DNS cache disabling from config + +commit 030ec8cc5f265779859c564bea52ba4fd07a40fc +Merge: 42008d83 1e22c83b +Author: René Cannaò +Date: Tue Jun 6 11:53:52 2023 +0200 + + Merge pull request #4239 from sysown/v2.x-dynamic_test_mysql_query_rules_fast_routing + + Tunes on test_mysql_query_rules_fast_routing-t + +commit 096d9fba5a99602ac1a7d1c12d2346799cbce106 +Author: Miro Stauder +Date: Tue Jun 6 08:41:22 2023 +0000 + + use absolute paths based on readlink of '/proc/self/exe' + +commit 1d4a59b6bc47b2885d06a136769b4bd85f9afc07 +Author: Miro Stauder +Date: Tue Jun 6 08:40:31 2023 +0000 + + update gitignore + +commit a1fcf5d94f7cb55ef308fe5e0c4069a8f127ac86 +Author: Rahim Kanji +Date: Tue Jun 6 00:13:34 2023 +0500 + + Added SSLKeylog in ProxySQL Modules + +commit beb93196bc31d86b04a66c03e6fbdd74786eaf88 +Author: Rahim Kanji +Date: Tue Jun 6 00:12:24 2023 +0500 + + Added SSLKEYLOGFILE support in mariadb client library + +commit 06a1d5a9fe75cd026b2dbfbe6687e81b057c375d +Author: Miro Stauder +Date: Fri Jun 2 17:40:51 2023 +0000 + + add per folder and per test env file loading to TAP tests + +commit 1e22c83b8473c1538995f1e2e4bb1fc156af6a6b (origin/v2.x-dynamic_test_mysql_query_rules_fast_routing) +Author: René Cannaò +Date: Fri Jun 2 08:41:07 2023 +0000 + + Tunes on test_mysql_query_rules_fast_routing-t + + * predeterminated parameters and not random + * removed duplicated code + +commit 42008d834ef806ec2bbb43de29463740f3548023 +Merge: 3efa344a 92390ea8 +Author: René Cannaò +Date: Fri Jun 2 10:11:25 2023 +0200 + + Merge pull request #4237 from sysown/v2.x_coredump_stats_fix + + Removed reset coredump stats from admin set_variables + +commit 8f899e34f9fe5e1c95ccb62bd9c9a157b94bb89f +Author: Rahim Kanji +Date: Fri Jun 2 01:42:55 2023 +0500 + + Added support for SSLKEYLOGFILE + + * 'admin-ssl_keylog_file' variable has been introduced to allow users to specify the path for the SSLKEYLOG file. The file path can be an absolute path or relative to the ProxySQL data directory. + * Assigning an empty path to the 'admin-ssl_keylog_file' variable signifies that the SSLKEYLOG file feature is disabled. + * In case an invalid path is provided for the SSLKEYLOG file, ProxySQL will automatically revert to the last valid path value. + * 'PROXYSQL FLUSH LOGS' command can be used to rotate SSLKEYLOG file. + + # Conflicts: + # lib/mysql_connection.cpp + +commit 92390ea81ea73c691dae7327fb2a1fa41bcb04d0 (origin/v2.x_coredump_stats_fix) +Author: Rahim Kanji +Date: Fri Jun 2 01:48:33 2023 +0500 + + Reset coredump stats exclusively when the 'LOAD COREDUMP TO RUNTIME' command is executed + +commit a33ea961fa54ebe01414bd117ab4fc853e125378 (origin/v2.x_issue_4194) +Author: Rahim Kanji +Date: Thu Jun 1 11:59:07 2023 +0500 + + Removed thread variable refreshing on initialization of monitor DNS cache thread + +commit f5a548c2740fadb930b02a82145251c5399d371e +Author: Javier Jaramago Fernández +Date: Wed May 31 13:07:58 2023 +0200 + + Fix compilation for Centos 6 + +commit ae911d5f23cab93d253d9015ac53230a45a0b564 +Author: Javier Jaramago Fernández +Date: Wed May 31 12:12:06 2023 +0200 + + Improve parsing of URI used for bootstrap mode + + - URI parsing now handles properly more optional groups. + - Fixed default port when optional group is missing from URI. + - Some URI sensitive info has been excluded from non-debug builds. + +commit 3efa344a8bc3a98b85d4b81566086a9c306052b0 +Author: Miro Stauder +Date: Wed May 31 10:51:22 2023 +0200 + + Update ci-taptests.yml + +commit a999d621864bd174150dafc55d252b074e1c1830 +Author: Javier Jaramago Fernández +Date: Tue May 30 19:26:21 2023 +0200 + + Fix typo on 'BOOTSTRAP_SELECT_USERS' query for RELEASE builds + +commit d619ecfc46c57d9dcac87ce2abbadd702d30bb38 +Merge: a2f2156c c4ccfa65 +Author: René Cannaò +Date: Tue May 30 18:48:50 2023 +0200 + + Merge pull request #4229 from sysown/v2.x-poll_optimization + + Minor optimizations , fixed memory leaks and invalid reads + +commit f8d5fedc538c26590edecf338cc80a8ae8d476d7 +Author: Javier Jaramago Fernández +Date: Tue May 30 18:21:26 2023 +0200 + + Improve documentation for '--bootstrap' command line option + +commit 3a8256082e6134f5eeacd55019ab25c123e8fbac +Merge: fe8428e1 a2f2156c +Author: Javier Jaramago Fernández +Date: Tue May 30 16:44:46 2023 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-gr_bootstrap_mode + +commit fe8428e1cf54c38cb9c1b80db56503b4154f7f34 +Author: Javier Jaramago Fernández +Date: Tue May 30 16:30:54 2023 +0200 + + Remove/Move several explicit 'MySQL_Session' status flag changes + + Setting 'MySQL_Session::status', and 'client_myds::DSS' flags before a + call to 'RequestEnd' is redundant, and in some scenarios even dangerous. + 'RequestEnd' should handle this for regular sessions. + +commit ff2e1a2b857c8e25ea95311f8248fa8cf6cb4744 +Author: Javier Jaramago Fernández +Date: Tue May 30 13:52:54 2023 +0200 + + Fix crash when attempting to log failed 'SET NAMES' + + Session 'status' and 'client_myds->DSS' should never be modified for a + regular session prior to calling 'RequestEnd'. It's 'RequestEnd' + responsibility to appropriately change these statuses after the rest of + cleanup operations for the request has taken place, including logging. + +commit c4ccfa65beaa2e0ec991f4537f657faec542fd70 (origin/v2.x-poll_optimization) +Author: René Cannaò +Date: Tue May 30 11:49:28 2023 +0000 + + Fixed memory leak in SQLite3_Server + +commit 28d790a6e6d328d804ead0ddae6d431ac3f2762c +Author: Javier Jaramago Fernández +Date: Mon May 29 08:27:05 2023 +0200 + + Fix minor GCC warnings + +commit 4d9e210eb28611c7449371d63b9168396eef126e +Author: Javier Jaramago Fernández +Date: Thu May 25 09:59:56 2023 +0200 + + WIP: Initial commit adding support for bootstrap mode + + - Introduced multiple new command line options + - Gave additional meaning to 'mysql-default_collation_connection' + +commit a2f2156c43fbc6459708264dbd1ec3f3c3285414 +Author: Miro Stauder +Date: Mon May 29 17:02:36 2023 +0200 + + fix expected interfaces config + +commit 9f4cf9a21c2223d30e32861672be21a9393fc7c8 +Author: René Cannaò +Date: Mon May 29 14:52:21 2023 +0000 + + Move test_sqlite3_server-t from port 6035 to 6036 + +commit 3453c0306f5dcc6c96f21638bc241ef87617c7d3 +Author: René Cannaò +Date: Mon May 29 14:50:39 2023 +0000 + + Do not perform query logging in fast_forward mode + +commit e35b944ca17f31e9d62fe22535733b9666cb8647 +Author: René Cannaò +Date: Mon May 29 13:19:26 2023 +0000 + + Added destructor to MySQL_STMT_Manager_v14() + +commit 53f933cb46546b97732a77bc26df8e98e8fa7fa3 +Author: René Cannaò +Date: Mon May 29 13:18:34 2023 +0000 + + Remove assert() in proxy_debug_func() + + During shutdown the write to debug database may fail: it is expected + +commit c8ad9c080ee63e30535a7429d6a04be0301ac1a5 +Author: René Cannaò +Date: Mon May 29 13:17:55 2023 +0000 + + Fixed memory not not initialized during handshake + +commit 86fc8ab56463083f93640b6cb5287dfb1a88b735 +Author: René Cannaò +Date: Sat May 27 10:38:53 2023 +0000 + + Minor optimizations + + Inspired by 33fba7641a37fcc38ab0777fd32a87199c19a27b + +commit 182aef9ca6ee81ccd06cfc2538398e188db66b62 +Merge: 204cb401 1ad30c6c +Author: René Cannaò +Date: Sat May 27 09:06:18 2023 +0200 + + Merge pull request #4207 from sysown/v2.x-hostgroup_attributes_servers_defaults + + Add new `servers_defaults` column to `mysql_hostgroup_attributes` + +commit 204cb401b30727620ed00327b44734063d8a5bae +Merge: 4db025e4 c4dae72a +Author: René Cannaò +Date: Sat May 27 08:49:50 2023 +0200 + + Merge pull request #4225 from sysown/v2.x_troubleshooting-feature + + Feature for troubleshooting purpose + +commit 4db025e4ce95de0272aecbab13192b32d6079069 +Merge: e017b8ae 5f008b89 +Author: René Cannaò +Date: Sat May 27 08:05:03 2023 +0200 + + Merge pull request #4226 from sysown/v2.x-fix_charset_init_handshake + + Fix default collation in 'initial handshake' (`mysql-default_collation_connection`) + +commit e017b8ae534585c33bf6675c6743f7faa0d6bce8 +Author: Miro Stauder +Date: Fri May 26 09:25:12 2023 +0200 + + Update ci-taptests.yml + +commit c4dae72a45dc1d15104bc015c55a3533c050d29d (origin/v2.x_troubleshooting-feature) +Author: Rahim Kanji +Date: Wed May 24 16:50:10 2023 +0500 + + Implemented the functionality to generate a coredump upon reaching a specific source file and line number. + + To enable coredump feature, specify the filename and line number in the coredump_filters table. + + Example: + INSERT INTO coredump_filters (filename,line) VALUES ('mysql_data_stream.cpp', 498); + LOAD COREDUMP TO RUNTIME; + + Note: + * It is important to note that coredump filters cannot be persisted on disk and will always be empty when a new instance is created. + * Filenames are case-sensitive + + * 'admin-coredump_generation_threshold', has been introduced to specify the maximum number of core files that can be generated. + * 'admin-coredump_generation_interval_ms', has been implemented to define the time gap between the generation of core files. + +commit 6b608b6a9193abe5e046870c0c790fd829177430 +Author: Javier Jaramago Fernández +Date: Wed May 24 11:14:11 2023 +0200 + + Remove multiple signal handlers from TAP suite 'plan' function + +commit 5f008b8925e8158e39b8550bd3ac01dc7443beb2 (origin/v2.x-fix_charset_init_handshake) +Author: Javier Jaramago Fernández +Date: Tue May 23 10:00:19 2023 +0200 + + Add 'plan' for TAP with all collations expressed by protocol + +commit b812563ecafcff6fcc5e180d7d7bbfb4bedd5106 +Author: Javier Jaramago Fernández +Date: Mon May 22 16:55:53 2023 +0200 + + Add TAP test verifying behavior of 'mysql-default_collation_connection' + +commit 5a3f005655377a01dfc0863982a04dc1e268d3af +Author: Javier Jaramago Fernández +Date: Mon May 22 16:08:32 2023 +0200 + + Fix default collation in 'initial handshake' ('mysql-default_collation_connection') + + Collation selected via 'mysql-default_collation_connection' was + incorrecly reported in 'initial handshake' via 'charset', thus reporting + the default collate for that 'charset' instead of the chosen one. + +commit f9c2bc7b80a48b333d1ce7126514fdc007d05d6a +Author: Javier Jaramago Fernández +Date: Mon May 22 16:08:16 2023 +0200 + + Fix missing includes for tests compilation in recent GCC version + +commit fb7edb578de4e75c389bfb737718ddb87dddbf54 +Author: Rahim Kanji +Date: Fri May 19 12:21:32 2023 +0500 + + Implemented data packet history queue for storing packets sent/received by frontend and backend. + +commit 3d806b3898209b3d7ef67192fc4768dbd15477e6 +Author: Miro Stauder +Date: Wed May 17 13:39:25 2023 +0200 + + Update ci-maketest.yml + +commit 7f822df035621be4700310f67db3233216c46733 +Author: Miro Stauder +Date: Wed May 17 09:52:59 2023 +0200 + + Update ci-selftests.yml + +commit 357cb57224aba26e3313cf143201f1330375600f (tag: 2.5.3) +Author: Miro Stauder +Date: Tue May 16 07:46:40 2023 +0000 + + bump version to 2.5.3 at the beginning of the development cycle + +commit 7f727b3acadcac3042cd4bdd7cc821858df58d1d (tag: v2.5.2) +Merge: b5f69981 cd352ff1 +Author: René Cannaò +Date: Thu May 11 13:05:36 2023 +0200 + + Merge pull request #4213 from sysown/v.2x_dns_cache_issue_4210 + + DNS module no longer regards the UNIX socket path as a hostname + +commit b5f6998124dcb5a163f6416d779b1f55a42dfc13 +Author: Miro Stauder +Date: Thu May 11 09:53:38 2023 +0200 + + Update ci-builds.yml + +commit 5a41e0a796f39b7fd87c991b3b9f2269b39afed1 +Author: Miro Stauder +Date: Thu May 11 09:53:05 2023 +0200 + + Update ci-builds.yml + +commit cd352ff141ba2f2fc56ff397a8eccbc176e8b227 (origin/v.2x_dns_cache_issue_4210) +Author: Rahim Kanji +Date: Thu May 11 11:14:27 2023 +0500 + + Disable SSL and Compression for UNIX Socket + +commit 41211f5b39ec44465065ff114de9887901641a12 +Author: Phil Porada +Date: Wed May 10 13:46:16 2023 -0400 + + Track some slow query variables + +commit 3865c818737804451304714234bd0e904ccee054 +Author: Rahim Kanji +Date: Wed May 10 15:35:03 2023 +0500 + + DNS Cache module has been updated so that it no longer regards the UNIX socket path as a hostname. + +commit 490c44564da58696e9cbb7742dbe029bf1aa0fbd +Author: Miro Stauder +Date: Wed May 10 08:18:08 2023 +0200 + + Update ci-repltests.yml + +commit fe1b69c6de3c880f4b7e2f9c75e6286a2253bff7 +Author: Miro Stauder +Date: Tue May 9 20:13:24 2023 +0200 + + Update ci-maketest.yml + +commit 819c37c8b2e44cbf13c5e2e9ac0ff6db20ff716f +Author: Miro Stauder +Date: Tue May 9 19:21:22 2023 +0200 + + Update Makefile + +commit 2f016dd6d06d1737bd09cac2d84b3d02bcfbbc18 +Merge: 46d4f8be 65f7e20e +Author: René Cannaò +Date: Tue May 9 18:35:06 2023 +0200 + + Merge pull request #4205 from sysown/v2.x-ssl3_warnings2 + + Fixes several compiler warnings - DO NOT MERGE + +commit 549a8280cf16d49fe469947ba6db93af65ad8d7b (origin/v2.x-gr_autodiscovery) +Author: Javier Jaramago Fernández +Date: Tue May 9 12:38:48 2023 +0200 + + Improve error reporting for invalid monitoring GR resultsets + +commit 46d4f8beed7f6d32c5f6ddd7a8a39fbc38e1058d +Author: Miro Stauder +Date: Mon May 8 21:40:45 2023 +0200 + + Create ci-maketest.yml + +commit 4ee5c8bdde04daa3263ed9e6773b6d3293da947b +Author: Javier Jaramago Fernández +Date: Mon May 8 17:05:53 2023 +0200 + + Improve recovery (OFFLINE_HARD) optimization for GR autodiscovered servers + + In case an autodiscovered server is found 'OFFLINE_HARD', the recovery + logic now properly updates the 'servers_defaults' values for the server, + in the same way as for a new discovered server. + +commit af80944cfe2bceba556a1c20d66e0b757a35d8bc +Author: Javier Jaramago Fernández +Date: Mon May 8 09:56:44 2023 +0200 + + Add support for Group Replication (GR) autodiscovery + + - Add support for autodiscovery for GR for MySQL8. + - Allow to configure autodiscovered servers defaults via + 'mysql_hostgroup_attributes'. + - Add support for GR autodiscovery for Cluster Simulator. + - Improve server 'viable_candidate' detection for MySQL 8, + 'RECOVERING' state is now also considered. + +commit ef3d6bd5a7c7c518d6c43bf8f750967642959348 +Author: Javier Jaramago Fernández +Date: Mon May 8 09:54:49 2023 +0200 + + Fix DEBUG 'conn_unregister' flow for GR monitoring with async_handlers + +commit 1ad30c6ca198a5ef7bbdd37afc093f2aef7665ae (origin/v2.x-hostgroup_attributes_servers_defaults) +Author: Javier Jaramago Fernández +Date: Mon May 8 20:23:24 2023 +0200 + + Fix invalid query for 'servers_defaults' tap test + +commit af3dc2f85a5a373410c7ef0d5614305752554776 +Author: Javier Jaramago Fernández +Date: Mon May 8 17:28:21 2023 +0200 + + Add support for 'servers_defaults' column to 'test_mysql_hostgroup_attributes-1' + +commit f8e705df5af2e0b3fc8538b803d3ab427fadae73 +Author: Javier Jaramago Fernández +Date: Mon May 8 17:25:51 2023 +0200 + + Make 'server_defaults' tap test recover previous disk 'mysql_hostgroup_attributes' + +commit b2119ba20312291bf4f25b00957f040de02370ca +Author: Rahim Kanji +Date: Mon May 8 16:42:52 2023 +0500 + + Fixed typo + +commit fb5abdbfb910287234ae2a6528e670cb8aba9c0a +Merge: ed640905 9a5a9ac6 +Author: Rahim Kanji +Date: Mon May 8 16:06:11 2023 +0500 + + Merge remote-tracking branch 'Master/v2.x_refactor_cluster_mysql_servers' into v2.x_refactor_cluster_mysql_servers + +commit ed640905497cec4a58e820544eeec7f828cde81a +Merge: 09b2a7d9 3dcc531d +Author: Rahim Kanji +Date: Mon May 8 16:02:57 2023 +0500 + + Merge remote-tracking branch 'Master/v2.x' into v2.x_refactor_cluster_mysql_servers + + # Conflicts: + # lib/MySQL_HostGroups_Manager.cpp + +commit 9a351dcd16c3683d5068dd77c0db38373e9c25a7 +Author: Javier Jaramago Fernández +Date: Mon May 8 12:56:33 2023 +0200 + + Improve coverage for tap test for 'servers_defaults' + +commit 722ffb310df3f0bae98334370e5359a293e26697 +Author: Javier Jaramago Fernández +Date: Mon May 8 12:54:24 2023 +0200 + + Fix minor doc typos in 'MySrvC' definition + +commit 09b2a7d9d2743bb05670ef8102e20abd6de357ce +Author: Rahim Kanji +Date: Mon May 8 15:55:47 2023 +0500 + + Avoid incrementing mysql_servers and mysql_servers_v2 versions when change is triggered from monitoring module + +commit 3dcc531dbf69c08f50ab886cff69a715b9b68f82 +Merge: e9374a3c a83921dc +Author: René Cannaò +Date: Mon May 8 12:11:16 2023 +0200 + + Merge pull request #4209 from sysown/v2.x_dns_cache_update_message + + Updated DNS Cache warning message. + +commit a83921dca749e4c30afb5435c3bde5bbf7021cad (origin/v2.x_dns_cache_update_message) +Author: Rahim Kanji +Date: Fri May 5 16:12:40 2023 +0500 + + * Updated DNS Cache warning message. + * Few tweaks + +commit 65f7e20eae0f716bf2bfc4b4b498f7f83f6cf234 (origin/v2.x-ssl3_warnings2) +Author: René Cannaò +Date: Mon May 8 07:34:43 2023 +0000 + + Fixed mistake introduced in the previous commit + +commit d5137fe361eb1907eca9f2553728dd3e6933b435 +Author: Javier Jaramago Fernández +Date: Sun May 7 21:50:59 2023 +0200 + + Add test for 'mysql_hostgroup_attributes' entry 'servers_defaults' + +commit c396313cbf444fff6b3cb1929700169cd324701d +Author: Javier Jaramago Fernández +Date: Sun May 7 21:32:14 2023 +0200 + + Add new 'servers_defaults' capability to 'mysql_hostgroup_attributes' + +commit d8a7e99bc33cbf5255792e7caddf9e7a3a06edec +Author: René Cannaò +Date: Mon May 8 06:08:05 2023 +0000 + + Removed code deprecated in previous commit + +commit e9374a3c04988b815f0251a19084625b2a07610d +Merge: f7b2c5e7 5954dbe3 +Author: René Cannaò +Date: Sun May 7 22:58:31 2023 +0200 + + Merge pull request #4206 from sysown/v2.x-0507typo + + Fix a typo + +commit f7b2c5e766dcdb93025536264043b4ce0984081f +Merge: 1da5fac2 0f417fc8 +Author: René Cannaò +Date: Sun May 7 16:47:13 2023 +0200 + + Merge pull request #4203 from sysown/v2.x-log_insert_id2 + + V2.x log last_insert_id + +commit 0f417fc8e36a94eb9f98138475beaba1fe23b4bd (origin/v2.x-log_insert_id2) +Author: René Cannaò +Date: Sun May 7 12:25:58 2023 +0000 + + Fixed typo in test_log_last_insert_id-t + +commit 1da5fac22ce37b482260d5a3f6d15b9eb4d4e9b6 +Merge: 5ccbe938 8ecaac93 +Author: René Cannaò +Date: Sun May 7 14:21:47 2023 +0200 + + Merge pull request #4202 from sysown/v2.x-flagout2 + + Weighted flagOUT in mysql_query_rules + +commit 5954dbe39c4ecd10bc45433fd62f680aae8240db (origin/v2.x-0507typo) +Author: René Cannaò +Date: Sun May 7 11:27:49 2023 +0000 + + Fix a typo + +commit a31f83473db92540ebd4f84d681278eebf82e192 +Author: René Cannaò +Date: Sun May 7 11:25:19 2023 +0000 + + Fix several warnings + +commit 801e59c79ea4469e1dbccf208c4101c3287b184c +Author: René Cannaò +Date: Mon Nov 15 15:22:26 2021 +0100 + + First commit to remove OpenSSL3 deprecated functions + +commit b546d51d9047a9f5afc57f0bcc5cff1937f93921 +Author: René Cannaò +Date: Sun May 7 00:19:37 2023 +0000 + + Fix uninitialized variable + +commit 8ecaac93951d40b94da78fbe34b462f4bcce1371 (origin/v2.x-flagout2) +Author: René Cannaò +Date: Sat May 6 10:46:20 2023 +0000 + + Adding TAP test for weight flagOUT + +commit 5ccbe9383f50d1bb434601658a9a5ba1b54f7432 +Author: Miro Stauder +Date: Fri May 5 18:37:41 2023 +0200 + + Rename c-cpp.yml to ci-shuntest.yml + +commit d87fb0db37aed63b40fff33541a9ae403ba83e6a +Author: Miro Stauder +Date: Fri May 5 18:35:48 2023 +0200 + + ci-shumtest.yml + +commit 6962e7814a137eb39360d3e5aa87987b997ba6c5 +Author: Miro Stauder +Date: Fri May 5 16:11:02 2023 +0200 + + Update docker-compose.yml + + fix typo + +commit b6a04707c56686b3e496b7b77795ba4b8d4feb18 +Author: Miro Stauder +Date: Fri May 5 13:54:30 2023 +0200 + + Update package-build.yml + +commit 07fca74ca4e915a73770a4b08e7ddf707b15a35e +Merge: 7a03fce7 4f091109 +Author: René Cannaò +Date: Fri May 5 10:47:25 2023 +0200 + + Merge pull request #4201 from sysown/v2.x_read_only_update_server_status + + Update server status from SHUNNED to ONLINE if 'read_only' value is successfully retrieved + +commit 7a03fce74b991f3ef87e4fae9ec79126d45a384a +Merge: cac91e64 b3cc739a +Author: René Cannaò +Date: Fri May 5 10:47:16 2023 +0200 + + Merge pull request #4199 from sysown/v2.x-fedora38 + + V2.x fedora38 + +commit 4f091109a9ca0bf6c2c0b5824af64ef595fdee49 (origin/v2.x_read_only_update_server_status) +Author: Rahim Kanji +Date: Fri May 5 00:58:53 2023 +0500 + + If the 'read_only' value is successfully retrieved from the backend server, update server status from '*SHUNNED' to 'ONLINE' as this indicates that the server is now ONLINE. + +commit af710229b3c6d492e8ccb24e8107be0b821cd6e8 +Author: René Cannaò +Date: Fri Apr 14 19:30:08 2023 +0000 + + Move the end timer for stats_time_query_processor + +commit b5677e3ba9e6cf001d6c1701d9f0db27b421e389 +Author: René Cannaò +Date: Fri Apr 14 19:10:16 2023 +0000 + + Adding flagOUTs in mysql_query_rules.attributes + + in JSON format + +commit fcb2acd67cce592b15492339be95ec325e41102e +Author: René Cannaò +Date: Thu May 4 11:15:13 2023 +0000 + + Added TAP test for logging last_insert_id + + Also modified the Logger to log last_insert_id in JSON format only if not 0 + +commit 9a5a9ac66e35861d5833190996a0dc15659dfec0 +Author: Miro Stauder +Date: Thu May 4 11:13:46 2023 +0000 + + fix clang issue + +commit 129737caafa2bc42c1c1ad2e20d57404047ada77 +Author: Miro Stauder +Date: Thu May 4 11:13:17 2023 +0000 + + fix old compiler issue + +commit c0745b42c28acb7961a9671e7287e8f5edfb3596 +Author: René Cannaò +Date: Fri Apr 21 11:22:51 2023 +0000 + + Adding last_insert_id and last_gtid to MySQL_Logger + +commit 1decc6a993b5aa951c9e038c973b9d1ae4741d74 +Author: Rahim Kanji +Date: Thu May 4 13:37:52 2023 +0500 + + Added delay to avoid race condition in tap test + +commit cac91e642b71549c0e8b03d3728f41443488fca7 +Author: Miro Stauder +Date: Thu May 4 10:28:44 2023 +0200 + + Update ci-taptests.yml + +commit 4e5e7fc381cbd2da5277a5f96cd495c8ed6d7bcc +Author: Miro Stauder +Date: Thu May 4 09:44:44 2023 +0200 + + Update ci-taptests.yml + +commit 445eb6c5755175e65bd41352170f49f578fa6378 +Author: Miro Stauder +Date: Thu May 4 09:11:52 2023 +0200 + + Update ci-taptests.yml + +commit 5b7d57ac1c357cca845603941ccf8e64351c60ba +Author: Miro Stauder +Date: Thu May 4 08:48:03 2023 +0200 + + Create ci-taptests.yml + +commit 48240b232cec9b0abf442843aa0d17f403db8c0d +Author: Miro Stauder +Date: Thu May 4 08:43:19 2023 +0200 + + Update ci-selftests.yml + +commit d1731fe6cb9919df859a08e62fc84ed104fcc048 +Author: Miro Stauder +Date: Thu May 4 08:42:36 2023 +0200 + + Update ci-repltests.yml + +commit dfd177f3d1e84eb57fc1e2f64362b544a19f73d5 +Author: Miro Stauder +Date: Thu May 4 08:40:31 2023 +0200 + + Update ci-builds.yml + +commit dad6378f379fe3252e9dd1ef95bcd2311680629d +Merge: 6b939bb6 6653c494 +Author: René Cannaò +Date: Thu May 4 07:43:08 2023 +0200 + + Merge pull request #4196 from sysown/v2.x_monitor_ssl_fix + + Resolved issue of monitor checks failing + +commit 6b939bb6fd78e96be6a2521ff4166322c0816c95 +Merge: 6bbbfac4 4ba58070 +Author: René Cannaò +Date: Thu May 4 07:42:51 2023 +0200 + + Merge pull request #4198 from sysown/v2.x-fix_test_builds + + V2.x fix test builds + +commit b3cc739a3c763aa25ec2e01e4949ad07086ca72e (origin/v2.x-fedora38) +Author: Miro Stauder +Date: Wed May 3 17:48:13 2023 +0000 + + fix clang issues + +commit 58555b639f426464b2ae97f3130b4bb2e7c3e9e4 +Author: Miro Stauder +Date: Wed May 3 17:47:23 2023 +0000 + + add fedora38 + +commit 6bbbfac414f25e69929811a08738adacc25b1e65 +Author: Miro Stauder +Date: Wed May 3 12:15:12 2023 +0200 + + Update ci-builds.yml + +commit 85561ef9e572b77faccf4725a748caf9c233b9a9 +Author: Miro Stauder +Date: Wed May 3 12:03:28 2023 +0200 + + Update package-build.yml + +commit b2bea69a96ddb22706545a49c7f03ea99c777aa3 +Author: Miro Stauder +Date: Wed May 3 11:53:50 2023 +0200 + + Update ci-selftests.yml + +commit eaa94eecc95185fb7df87efa9a866b2e1db7785e +Author: Miro Stauder +Date: Wed May 3 11:53:19 2023 +0200 + + Update ci-repltests.yml + +commit f0cf07e05da11271b21b7da70c90ca512486ca54 +Author: Miro Stauder +Date: Wed May 3 11:43:23 2023 +0200 + + Update ci-basictests.yml + +commit c95d14699f7df1f7d3d6415c4962cf51265e0f0c +Author: Miro Stauder +Date: Wed May 3 11:39:47 2023 +0200 + + Update ci-basictests.yml + +commit 4ba580702b934303ff0d0f84156a6a2732bf57f1 (origin/v2.x-fix_test_builds) +Author: Miro Stauder +Date: Wed May 3 07:45:22 2023 +0000 + + fix tests dump_table_mysql_servers rename + +commit 65fc79abe7d06de670372d8c948b4b4eaa29cee2 +Author: Miro Stauder +Date: Wed May 3 07:43:28 2023 +0000 + + fix tests spookyhash include + +commit e62b72ce2e1d5b57ae6157d0bbd4d9122dd6b3ee +Author: Miro Stauder +Date: Wed May 3 07:41:59 2023 +0000 + + fix tests coredumper linking + +commit 9ad8c38a7003cc318fbccf8736b593f0221656b8 +Author: Rahim Kanji +Date: Wed May 3 12:02:22 2023 +0500 + + Fixed tap test + +commit a1f5c36dc96e045bb8f15abb1be682adf1c0c82d +Author: Miro Stauder +Date: Tue May 2 21:17:50 2023 +0200 + + Update ci-builds.yml + +commit 8b1dcd304d658d04547af6eb5667674ed643f759 +Author: Miro Stauder +Date: Tue May 2 21:17:25 2023 +0200 + + Update ci-builds.yml + +commit 48f2a79a29e46d062a2608fa92f0b17973358591 +Author: Miro Stauder +Date: Tue May 2 16:50:44 2023 +0200 + + Update ci-builds.yml + +commit d042fab52e33c35525e6ad2c65b82d5dc61948d7 +Author: Miro Stauder +Date: Tue May 2 16:20:06 2023 +0200 + + Update ci-builds.yml + +commit 5fe99c3c5efe0662eb51ef02ba44a37dfa6bd9d4 +Author: Miro Stauder +Date: Tue May 2 15:50:52 2023 +0200 + + Update ci-builds.yml + +commit 2f41fe84bc93eadb5abef6894311b3954abc27f8 +Author: Miro Stauder +Date: Tue May 2 15:45:26 2023 +0200 + + Update ci-builds.yml + +commit 13f1a4a2cc8c50c2f896a852d34ae38e5ec3d77d +Merge: feeb7475 583f3d07 +Author: Rahim Kanji +Date: Tue May 2 12:00:18 2023 +0500 + + Merge remote-tracking branch 'Master/v2.x' into v2.x_refactor_cluster_mysql_servers + +commit 583f3d07e3162081193e3bfbad1ddda432754edf +Author: Miro Stauder +Date: Tue May 2 08:54:21 2023 +0200 + + Update ci-builds.yml + +commit 6653c494427f3d77c16fdec2a17b42ded0d8da2e (origin/v2.x_monitor_ssl_fix) +Author: Rahim Kanji +Date: Mon May 1 02:44:13 2023 +0500 + + If an error occurs while communicating with the backend server and the connection is SSL-based, OpenSSL's thread-based error queue is cleared. + +commit 06c724bf9b032cb1ac3a227dc72c5620ac8d88ce +Merge: 7c61f514 708bbc9f +Author: René Cannaò +Date: Fri Apr 28 11:04:00 2023 +0200 + + Merge pull request #4195 from sysown/v2.x-fix_sqlite3_in_tap_tests + + fix sqlite3 includes in tap tests + +commit 7c61f5143dfb260016638ffd2806a0e1a8725e14 +Merge: 3afccb3a acaf6021 +Author: René Cannaò +Date: Fri Apr 28 11:03:45 2023 +0200 + + Merge pull request #4193 from sysown/v2.x-old_compiler_fixes_for_85e6907 + + further old compiler fixes + +commit 3afccb3af8e9487b229098e05d21d0e95ee4bde4 +Author: Miro Stauder +Date: Thu Apr 27 15:40:37 2023 +0200 + + Update ci-builds.yml + +commit 9235fa4923bbf712906f97c81778fc7c22cbd45b +Author: Miro Stauder +Date: Thu Apr 27 12:44:25 2023 +0200 + + Create ci-builds.yml + +commit 708bbc9f52a88189735bad5a308a012431450b55 (origin/v2.x-fix_sqlite3_in_tap_tests) +Author: Miro Stauder +Date: Wed Apr 26 19:25:56 2023 +0000 + + fix sqlite3 includes in tap tests + +commit feeb74756db317203457b4fd45553441403c95cf +Merge: 082a59d4 85e6907b +Author: Rahim Kanji +Date: Wed Apr 26 12:25:37 2023 +0500 + + 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 + +commit acaf602175bd37b8fc4febe3858e1cfe2ef6edb0 (origin/v2.x-old_compiler_fixes_for_85e6907) +Author: Miro Stauder +Date: Tue Apr 25 15:47:17 2023 +0000 + + further old compiler fixes + +commit 85e6907bab48853391f1dfdbad4dca656ff7d1ac +Merge: f50c26b4 5427675b +Author: René Cannaò +Date: Tue Apr 25 11:21:05 2023 +0200 + + Merge pull request #4184 from sysown/v2.x-old_compiler_fixes + + fix list/tuple initialization for old gcc + +commit 5427675b9d5693487fead0ba7e405e5b3eb6c71e (origin/v2.x-old_compiler_fixes) +Merge: 177a8672 f50c26b4 +Author: René Cannaò +Date: Tue Apr 25 11:20:23 2023 +0200 + + Merge branch 'v2.x' into v2.x-old_compiler_fixes + +commit f50c26b4607012623355519971b8c015d2ebe7dd +Merge: 680bc0a8 a93da776 +Author: René Cannaò +Date: Tue Apr 25 11:18:33 2023 +0200 + + Merge pull request #4182 from sysown/v2.x-query_rules_fast_routing_algorithm + + Add new variable 'mysql-query_rules_fast_routing_algorithm' + +commit 680bc0a8399092c4ea038f7faa8e35b53626e6e3 +Merge: d3ce2e92 46805fc4 +Author: René Cannaò +Date: Tue Apr 25 11:13:16 2023 +0200 + + Merge pull request #4188 from sysown/v2.x-coredumper + + Adding again google coredumper + +commit d3ce2e92da7aa44b6567512cefc6def4d9995885 +Merge: 097d8a71 4f7859ba +Author: René Cannaò +Date: Tue Apr 25 11:12:40 2023 +0200 + + Merge pull request #4189 from sysown/v2.x-glovars_shutdown + + Alternative to Fix invalid memory accesses to 'GloVars::checksums_values' during shutdown + +commit 4f7859ba3f074f1dd13fa16564c9f8b83da3f6ce (origin/v2.x-glovars_shutdown) +Author: René Cannaò +Date: Tue Apr 25 09:11:26 2023 +0000 + + Remove unnecessary call to ProxySQL_Checksum_Value constructor in ProxySQL_Checksum_Value_2 constructor + +commit 097d8a717c087efe9225d40dc700570ff67dd449 +Merge: 00e37a6f e252e229 +Author: René Cannaò +Date: Tue Apr 25 11:10:30 2023 +0200 + + Merge pull request #4180 from saunderst/proxysql_client_connections_total-metrics-fix + + Remove redundant client_connections metrics from MySQL_Thread + +commit 00e37a6fef74cf09069980062dda180c763e538b +Merge: 305874c2 deb074b0 +Author: René Cannaò +Date: Tue Apr 25 11:04:56 2023 +0200 + + Merge pull request #4191 from sysown/v2.x-add_new_tracked_variables + + Add several new tracked variables + +commit 305874c25fc3f3d48d6776143592070904a920fd +Merge: a0b27a51 a34e6808 +Author: René Cannaò +Date: Tue Apr 25 11:03:59 2023 +0200 + + Merge pull request #4186 from sysown/v2.x-uds_conns + + Improved handling of Unix socket + +commit 177a86728f63fb4658a83c03920467df7d48b70e +Author: Miro Stauder +Date: Tue Apr 25 10:48:56 2023 +0200 + + Update package-build.yml + +commit a0b27a5116123650e0251d5d5e4ea41aa78aecb1 +Author: Miro Stauder +Date: Tue Apr 25 10:36:56 2023 +0200 + + Update package-build.yml + +commit deb074b091b0b29f4a1a41cb0cc4bae38e102d26 (origin/v2.x-add_new_tracked_variables) +Author: Javier Jaramago Fernández +Date: Mon Apr 24 19:23:23 2023 +0200 + + Add support to 'set_testing-240-t' for new variables + +commit 04fb2cad33e20cd87eb651e5e89f0a3f1a3ab6cd +Author: Javier Jaramago Fernández +Date: Mon Apr 24 19:20:25 2023 +0200 + + Add two new session tracking variables + + - Added variable 'sql_generate_invisible_primary_key'. + - Added variable 'sql_require_primary_key'. + +commit 492d0ea2a54bb34695117670fe1acdba316ca697 +Author: Javier Jaramago Fernández +Date: Mon Apr 24 19:19:14 2023 +0200 + + Fix 'set_testing-240' for variable 'max_statement_time' + +commit 98d56a585e4e811c3732ceb24ba50ad199c52272 +Author: Miro Stauder +Date: Mon Apr 24 15:27:51 2023 +0000 + + clang fix + +commit b1be9b5a71f6ee1623119b933db3a8d7745ec4f5 +Author: Miro Stauder +Date: Mon Apr 24 15:27:29 2023 +0000 + + old gcc fixes + +commit a93da77616076913f9841a4f8701087a0e138f18 (origin/v2.x-query_rules_fast_routing_algorithm) +Author: Javier Jaramago Fernández +Date: Sun Apr 23 23:16:51 2023 +0200 + + Fix outdated comment for '__reset_rules' function + +commit 43372bcfc9bca3262abfe5907f8f63b099be208e +Author: Javier Jaramago Fernández +Date: Sun Apr 23 23:07:52 2023 +0200 + + Optimize locking for 'search_rules_fast_routing_dest_hg' + + - Add parameter for conditionally locking inside function. + - Move potential syscalls outside the 'pthread_rwlock_rdlock' section. + - Reduce number of 'sprintf' calls. + - Improved PROXYSQLTEST 11/15 with data randomly exceeding function + default buffer size. + +commit 36e5a13b8a1606baff4770251ae02420a89c3537 +Author: Javier Jaramago Fernández +Date: Sun Apr 23 23:03:59 2023 +0200 + + Lock 'Query_Processor' for 'query_rules_fast_routing_algorithm' variable update + +commit 34b4e3720d639f65a827009ea28f7e4f99e872b7 +Author: René Cannaò +Date: Sun Apr 23 11:39:10 2023 +0000 + + Code erroneously skipped from previous commit + +commit 6b47f0a3b34c265d13e8097ec4380f38720ec41f +Author: René Cannaò +Date: Sun Apr 23 11:02:55 2023 +0000 + + Alternative to Fix invalid memory accesses to 'GloVars::checksums_values' during shutdown + + This is an alternative implementation of commit cfb34ef256a29f3610ea24104a6a7445e5227756 + because it was failing to compile on clang 14 , that was complaining about + a missing unnamed destructor + +commit 46805fc445423b7822925e285d9dc7e1b94207c9 (origin/v2.x-coredumper) +Author: René Cannaò +Date: Sun Apr 23 10:22:44 2023 +0000 + + Fix path in libev + +commit 0891a5b56c77e9e697490bd65d45cd6937e33d21 +Author: René Cannaò +Date: Sun Apr 23 09:56:25 2023 +0000 + + Renaming thread_info_t to mon_thread_info_t + + Apparently thread_info_t is already defined in OSX , so it wasn't able to compile + +commit 31c10cbfe0ebfb809654e91f651b4f0579078edc +Author: René Cannaò +Date: Sun Apr 23 09:55:19 2023 +0000 + + Fix compiler error + +commit c1a36bdd9b0547fd4e03cb809e312c72a0e9487a +Author: René Cannaò +Date: Sun Apr 23 09:38:52 2023 +0000 + + compile curl on OSX + +commit 5821f2ef85c57606bf64164b0efbc86007329a30 +Author: René Cannaò +Date: Sun Apr 23 09:10:54 2023 +0000 + + Revert commit 3d66b6f076729d7b1c1eba7f47159e97df848f20 + + Not more needed after latest upgrade of libmicrohttpd + +commit 7a20f7345db36fb127bb6ddf1f253622f845857e +Merge: ff778c1a 4ee3d93f +Author: René Cannaò +Date: Sun Apr 23 10:58:56 2023 +0200 + + Merge pull request #4187 from sysown/v2.x-4177 + + Various optimization to RESTAPI configuration + +commit 3b00c7b6557e9206445d2490b7ede629098f75fb +Author: René Cannaò +Date: Sun Apr 23 08:57:11 2023 +0000 + + Various Makefile cleanup + +commit d24964659575386d717c90e34401e5363ff51cd1 +Author: René Cannaò +Date: Sat Apr 22 22:41:10 2023 +0000 + + Adding again google coredumper + + Adding the improved version from Percona: + https://github.com/Percona-Lab/coredumper + At commit cb6cead . + + Adding commands: + - PROXYSQL COREDUMP (for not compressed core dump) + - PROXYSQL COMPRESSEDCOREDUMP (for compressed core dump) + + Both commands accept an optional argument as a filename. + + Commands are only available on x86_64 , and not on ARM . + +commit 4ee3d93f1204136de1a258c799fe8a0f17cd23cb (origin/v2.x-4177) +Author: René Cannaò +Date: Sat Apr 22 20:44:35 2023 +0000 + + Various optimization to RESTAPI configuration + + Including fixing bug #4177 + +commit a34e680813187989865e15fb57c9157dbef3d420 (origin/v2.x-uds_conns) +Author: René Cannaò +Date: Fri Apr 21 21:10:54 2023 +0000 + + Different handling of POLLHUP in read_from_net() + + In MySQL_Data_Stream::read_from_net() we used to close the socket + as soon as POLLHUP was received from poll(). + We now call shut_soft() only if POLLIN is not set . + + This means that if we receive data (POLLIN) we process it + temporarily ignoring POLLHUP . + In this way we can intercept a COM_QUIT executed by the client + before closing the socket + +commit fd595ff6a3e53d4063fdbe24317a5b8e1b262e39 +Author: Javier Jaramago Fernández +Date: Fri Apr 21 21:20:30 2023 +0200 + + Add missing linker flag for 'sqlite3' for tap 'tests_with_deps' + +commit ff778c1a1e8d9a3b1b78851cc4ec7dbde9426005 +Merge: 6be662d0 ef969096 +Author: René Cannaò +Date: Fri Apr 21 20:01:13 2023 +0200 + + Merge pull request #4127 from sysown/v2.x_refactor_read_only_action_with_simulator + + Refactor and optimize read-only actions + Simulator (combined) + +commit 6be662d0077dda50aa2bffeaf77f7e84b890329b +Author: Miro Stauder +Date: Fri Apr 21 18:38:52 2023 +0200 + + Update package-build.yml + +commit 6b0d09d75d0228b25e250816a3b2268cf8baae01 +Author: Samantha +Date: Mon Mar 20 13:22:59 2023 -0400 + + Add max_statement_time test. + +commit 77ebc606cdb0b4e7e51bfacfef3901399395e791 +Author: Samantha +Date: Fri Mar 17 11:48:56 2023 -0400 + + Add support for MariaDB max_statement_time + +commit ccf3dfb52b6d051f1ff9dea76d8e560f60a12ab6 +Author: Javier Jaramago Fernández +Date: Fri Apr 21 18:32:04 2023 +0200 + + Cleanup of test 'test_query_rules_fast_routing_algorithm-t' utilities + + - Moved new tap utility functions to 'utils.h'. + - Removed previously borrowed utilities from another PR. + +commit 949532ac8e5e2b1acdc7ad74af2995fb5a503d38 +Merge: 9138da15 d99b2c95 +Author: Javier Jaramago Fernández +Date: Fri Apr 21 18:10:55 2023 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-query_rules_fast_routing_algorithm + +commit 9138da15c3d56288671ded5fe719eff44335bd4f +Author: Javier Jaramago Fernández +Date: Fri Apr 21 17:52:37 2023 +0200 + + Improve 'test_query_rules_fast_routing_algorithm-t' + + - Added new utility functions for checking 'debugdb' written entries. + - Test now performs simultaneous checks on 'logfile' and 'debugdb'. + - Moved lambda functions into proper functions. + +commit d99b2c957b666eb5094a88497a183ef6787a7d05 +Author: Miro Stauder +Date: Fri Apr 21 17:47:53 2023 +0200 + + Update ci-basictests.yml + +commit ef9690967c882cfa3bc5a9d2bdca7491148eb8e4 (origin/v2.x_refactor_read_only_action_with_simulator) +Merge: 4bc48a81 4bf58c1c +Author: René Cannaò +Date: Fri Apr 21 13:41:18 2023 +0000 + + Merge branch 'v2.x' into v2.x_refactor_read_only_action_with_simulator + +commit 4bf58c1cda0e3fbf20d4b32bdb919f3d8619f373 +Merge: 952ec718 4df6b5d7 +Author: René Cannaò +Date: Fri Apr 21 13:29:44 2023 +0200 + + Merge pull request #4161 from sysown/v2.x-cluster_sync_disabled_modules_checksums + + Deprecate `admin-checksum_*` variables in favor of `*_diffs_before_sync` variables + +commit 4df6b5d706af246590b9b7dd56a4f3c3b69c5adb (origin/v2.x-cluster_sync_disabled_modules_checksums) +Merge: 8fb5d248 952ec718 +Author: René Cannaò +Date: Fri Apr 21 13:25:16 2023 +0200 + + Merge branch 'v2.x' into v2.x-cluster_sync_disabled_modules_checksums + +commit 952ec7187859ac2d7759dd1e96fb087dedfefcc0 +Author: Miro Stauder +Date: Fri Apr 21 11:04:57 2023 +0200 + + Update ci-basictests.yml + +commit d6dfe3a839f1b76a469906556f4921b30a71331a +Merge: daeff5f5 11cf0f3f +Author: René Cannaò +Date: Fri Apr 21 10:42:08 2023 +0200 + + Merge pull request #4178 from sysown/v2.x-fix_curl_in_tap_tests + + V2.x fix curl in tap tests + +commit daeff5f5443fcbb0096b86f653fd0228409065f2 +Author: Miro Stauder +Date: Fri Apr 21 10:39:40 2023 +0200 + + Update ci-basictests.yml + +commit 9eea17a54058cfd89e2294f901992de395583ad6 +Merge: dd90e740 8fa49d79 +Author: René Cannaò +Date: Fri Apr 21 10:36:46 2023 +0200 + + Merge pull request #4144 from sysown/v2.x-replication_lag_simulator + + Refactoring replication lag actions + Simulator (combined) + +commit dd90e74079e2bae2c7e2fe3c2004213663a6bb8f +Author: Miro Stauder +Date: Fri Apr 21 09:26:46 2023 +0200 + + Create ci-basictests.yml + +commit 082a59d4c9eb4a44f6cdb9a46306ebbdd0824296 +Author: Rahim Kanji +Date: Fri Apr 21 00:58:18 2023 +0500 + + Fixed test case. + +commit 8331858179d2097ba5c519b3978f4a6fa306f8c8 +Author: Javier Jaramago Fernández +Date: Thu Apr 20 19:04:51 2023 +0200 + + Remove thread variable for 'mysql-query_rules_fast_routing_algorithm' + + - Thread variable has been replaced for new variable in 'Query_Processor'. + - Computation for 'mysql_query_rules_memory' is now performed by Admin + during 'load_mysql_query_rules_to_runtime' instead of lazily by the + MySQL_Threads. + +commit 4bc48a81fe5ad25d70df36d30d29b1130fe37c66 +Author: Rahim Kanji +Date: Thu Apr 20 22:28:12 2023 +0500 + + In the constructor of MySrvC, a maximum latency value is accepted in milliseconds, which is then converted into microseconds. + + Fixed in read_only_actions_v2. + +commit e30c0e2a276aeb3a5d5eb91082b68ce192d88014 +Author: Javier Jaramago Fernández +Date: Wed Apr 19 17:55:29 2023 +0200 + + Add testing for 'mysql-query_rules_fast_routing_algorithm' + + - Improved test 'test_sqlite3_server_and_fast_routing-t' for performing + the same checks with both supported values for the variable. + - Added new test 'test_query_rules_fast_routing_algorithm-t' + +commit abccb392010b6eb3240fd24b4a17c8f6d189189c +Author: Javier Jaramago Fernández +Date: Wed Apr 19 16:04:32 2023 +0200 + + Add new variable 'mysql-query_rules_fast_routing_algorithm' + + - Implemented new variable 'query_rules_fast_routing_algorithm' that + allows choosing between the classic per-thread hashmaps for + 'query_rules_fast_routing' searches (1), and a new unique global + hashmap (2). + - Improved locking time on 'QueryProcessor::rwlock' during + 'load_mysql_query_rules_to_runtime'. + - Changed computation of 'mysql_query_rules_memory' to be lazily + updated by threads themselves while building the per-threads maps. + - Fixed 'ProxySQL_Admin::stats___memory_metrics' report of the memory + metrics. + - Improved 'PROXYSQLTEST 17' command, for being able to micro-benchmark + and check 'query_rules_fast_routing_algorithm'. + +commit f35003802ed709edf05964e67e0ccc525416a50d +Author: Rahim Kanji +Date: Thu Apr 20 15:47:46 2023 +0500 + + * The cluster template file now includes "cluster_sync_interfaces=false." + * In the event of any failure, it's crucial to call the cleanup function to prevent any orphaned replica instances from remaining active. + +commit 5114069018ea76116dfb8e9523e46660e2f6547e +Author: Rahim Kanji +Date: Thu Apr 20 11:27:30 2023 +0500 + + * Fixed test case + +commit e8b24ff290e53a8894737a02e5d5a650325ce4a1 +Author: Rahim Kanji +Date: Thu Apr 20 01:32:29 2023 +0500 + + * Added more test cases. + * Cleared duplicate code. + * Added comments + +commit 8fa49d79df87c2c61db7a918f43b5e76d11e74f6 (origin/v2.x-replication_lag_simulator) +Author: Rahim Kanji +Date: Tue Apr 18 15:18:11 2023 +0500 + + * Added few types to make code more readable + +commit 0268495d52746011f7887dfddaa12e730341f3d9 +Author: Rahim Kanji +Date: Tue Apr 18 14:59:14 2023 +0500 + + * Fixed the functionality of 'mysql-monitor_writer_is_also_reader' + +commit 625675ddbd7fe0a5071030ccb69e434c1e94372e +Author: Rahim Kanji +Date: Tue Apr 18 12:46:43 2023 +0500 + + Created TAP test to ensure the cluster synchronization of 'runtime_mysql_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'. + +commit bacf3a728eedb0cd3d981aae32283360eceb2606 +Author: Rahim Kanji +Date: Tue Apr 18 12:24:26 2023 +0500 + + * The code block responsible for syncing admin variables has been moved 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. + +commit 11cf0f3f8dafc300cdc98af223d96468193455ee (origin/v2.x-fix_curl_in_tap_tests) +Author: Miro Stauder +Date: Tue Apr 18 06:34:41 2023 +0000 + + use our deps/curl includes + +commit 810f86a2f97266c1983ddccd84e78695cec6efe7 +Merge: f577d134 4c3dab14 +Author: René Cannaò +Date: Mon Apr 17 14:19:05 2023 +0200 + + Merge pull request #4096 from sysown/v2.x-digest_umap_aux + + Add several optimizations to stats_mysql_query_digest table fetching + +commit 4c3dab1496470f9181f19f4d8c8c233a084fca55 (origin/v2.x-digest_umap_aux) +Author: René Cannaò +Date: Sun Apr 16 22:09:56 2023 +0000 + + Speed up on purge_query_digests_async() + + Responsible for the various TRUNCATE commands on stats_mysql_query_digest(_reset) + +commit a1de300a8b8f3ee123223a4081422a85db21f5e2 +Author: René Cannaò +Date: Sun Apr 16 21:43:25 2023 +0000 + + Adding TAP test with new PROXYSQLTEST commands + +commit be4ee20dd5556bdf4042ca9907657de7013e8f30 +Author: René Cannaò +Date: Sun Apr 16 20:49:47 2023 +0000 + + Always initialize curtime1 in QP timers + +commit e252e2297264f95ffea9a537fe53860d5ab2b4b6 (origin/v2.x-proxysql_client_connections_total-metrics-fix) +Author: Thomas Saunders +Date: Tue Mar 7 15:55:46 2023 -0800 + + remove redundant client_connections metrics from MySQL_Thread + +commit f577d1341a068143cfe1cb8610a9c1b705ea6fe2 +Merge: 7a9e8647 c2c32687 +Author: René Cannaò +Date: Thu Apr 13 20:19:08 2023 +0200 + + Merge pull request #4165 from sysown/v2.x-update-openssl3.1 + + update OpenSSL to 3.1.0 + +commit 8fb5d24869ed50f715463f042d7679ddbb76b336 +Author: Javier Jaramago Fernández +Date: Thu Apr 13 14:48:20 2023 +0200 + + Increase port regain attempts and prevent stall for 'test_sqlite3_server-t' + +commit 44098b0d79f06e17741513f5b8c0dd70d71ac916 +Author: Javier Jaramago Fernández +Date: Thu Apr 13 14:47:40 2023 +0200 + + Fix 'test_cluster_sync-t' assumption on 'mysql_servers' status + +commit 3f79710878a434e4f72da3b8557c6ce817105d68 +Author: Javier Jaramago Fernández +Date: Wed Apr 12 19:47:22 2023 +0200 + + Improve 'test_sqlite3_server-t' resiliency to port collisions + + - Provided script for checking failure scenario for 'test_sqlite3_server-t' + - Moved generic utils from tests into 'utils.cpp' + - Improved several utility functions + +commit 1af0586d117c2e3dd6d632b0b62e22b8a9fe3cc8 +Author: Rahim Kanji +Date: Tue Apr 11 01:06:43 2023 +0500 + + * Added saving mysql_servers to disk. + * Added detailed comments. + +commit 11229888b4e80542567d956c759d5691528c597f +Author: Rahim Kanji +Date: Sat Apr 8 01:52:33 2023 +0500 + + * Rename mysql_servers_incoming to mysql_servers_v2 + * Fetching mysql_servers_v2 records from admin + * Added comments. + +commit 3821f562a895f1082efd7af86e48c9263996b094 +Author: Rahim Kanji +Date: Fri Apr 7 01:36:05 2023 +0500 + + * Added comments + * Few issues fixed + +commit 09f76511b1f2caa7f928ac2e6aa1d04b2e94aa19 +Author: Rahim Kanji +Date: Thu Apr 6 16:36:33 2023 +0500 + + * Added runtime mysql server logic in commit. + * Changed commit signature. + * Few fixes + +commit 32f9f727d0e503b8cce17f984f4f798fdbe1a8a2 +Author: Rahim Kanji +Date: Thu Apr 6 12:37:25 2023 +0500 + + Fixed code styling + +commit 12d830cb35ece8c7abfa5b5dd4b4b85786b7fb3f +Author: Rahim Kanji +Date: Thu Apr 6 11:55:14 2023 +0500 + + Refactoring ProxySQL Cluster + + * Added separate fetching of mysql_server_incoming and runtime_mysql_server records based on algorithm selection. + * Few memory leaks fix + * Code refactoring + +commit f5b4bc193c86648e1ed527a38b9457cc8a1785cf +Author: Javier Jaramago Fernández +Date: Mon Apr 3 21:34:59 2023 +0200 + + Add checksum based fetch verification to 'test_cluster_sync-t' test + + - Module checksum fetch verification logic + - Module sync disable via '*_diffs_before_sync' variables + - Error log output checking + +commit 43ec5745d7541a5fa8a8d345b3ca85edc183664b +Author: Javier Jaramago Fernández +Date: Mon Apr 3 21:25:57 2023 +0200 + + Fix extra non-required 'diff_check' before sync for Cluster + +commit b05b6d8b53e8d95ebb9ac6b8c19d323233be2889 +Author: Javier Jaramago Fernández +Date: Mon Apr 3 21:23:41 2023 +0200 + + Fix deadlock between Admin session and 'ProxySQL_Cluster' + +commit cfb34ef256a29f3610ea24104a6a7445e5227756 +Author: Javier Jaramago Fernández +Date: Mon Apr 3 20:37:48 2023 +0200 + + Fix invalid memory accesses to 'GloVars::checksums_values' during shutdown + +commit 555a91d8bb10fc59ef3611cd87907e68f923905a +Author: Javier Jaramago Fernández +Date: Tue Mar 28 14:50:20 2023 +0200 + + Fix 'proxy_info' line style to fit in 'max-line-width' + +commit d61d989249591a9837ffca53c7b1efe56bb8278b +Author: Javier Jaramago Fernández +Date: Tue Mar 28 14:37:03 2023 +0200 + + Deprecate 'admin-checksum_*' variables + + Checksums are now always computed for each module. Enabling/Disabling + modules synchronization for Cluster is now only dependent of + 'cluster_*_diffs_before_sync' variables. + +commit 7a9e86479780517122827837147d40682417346a +Author: Miro Stauder +Date: Mon Apr 3 11:19:47 2023 +0200 + + Update README.md + +commit 226252f8fe8249defa283a36ad3dc72dfc101db6 +Author: Miro Stauder +Date: Tue Mar 28 22:28:49 2023 +0200 + + Create ci-repltests.yml + +commit c2c326879771e5d85f533ea4c522d738eacdbf49 (origin/v2.x-update-openssl3.1) +Author: Miro Stauder +Date: Tue Mar 28 18:26:19 2023 +0000 + + run openssl verify-bio_st-match.sh script before build + +commit e65854c2c8bbeaf1a5799f25c52a47ed1d87e0a7 +Author: Javier Jaramago Fernández +Date: Tue Mar 28 14:06:06 2023 +0200 + + Remove incorrectly ported checks over checksums 'diff_check' from previous impl + +commit 446783432adcd9095110515f899a0ae931c42835 +Author: Javier Jaramago Fernández +Date: Sat Mar 25 09:45:57 2023 +0100 + + Avoid modules cluster sync when 'admin-checksum_%' variables are disable + +commit f0d022adb82dd1b8da3486e98945bc4f5ab3dd6f +Author: Javier Jaramago Fernández +Date: Sat Mar 25 09:36:49 2023 +0100 + + Rework impl avoiding cluster sync for 'mysql_servers' for 'admin-checksum_mysql_servers=0' + +commit 6365a962a0e674ecd217cb430225b8b4c0fe58a5 +Author: Javier Jaramago Fernández +Date: Sat Mar 25 09:18:28 2023 +0100 + + Fix missing new-line at logging message for 'admin-checksum_mysql_servers' + +commit 35075061508a36b37608b52462733ce24502f629 +Author: Javier Jaramago Fernández +Date: Fri Mar 24 11:46:41 2023 +0100 + + Reset global checksums when variable 'admin-checksum_mysql_servers' is re-enabled + + Also introduces the function 'Reset_Global_Checksums' that allows to + reset the global checksums for all the cluster nodes. + +commit 6132aa9de94914f74f953f148a76c9dc1edd4a67 +Author: Javier Jaramago Fernández +Date: Fri Mar 24 11:43:30 2023 +0100 + + Avoid cluster sync for 'mysql_servers' for 'admin-checksum_mysql_servers=0' + +commit 1b05ff43edfbf6f600e76206c1d6cdba77f34c19 +Author: Miro Stauder +Date: Thu Mar 23 11:29:48 2023 +0000 + + update OpenSSL to 3.1.0 + +commit 8af813715af7dd927c14a6002e5302d062c054fc +Merge: ace7ba8e 3326def0 +Author: René Cannaò +Date: Wed Mar 22 16:15:13 2023 +0700 + + Merge pull request #4149 from sysown/v2.x-disk_debug + + Debug logging to disk + +commit 3326def0d17ddedea30f968b4775bd09f8d77d97 (origin/v2.x-disk_debug) +Author: René Cannaò +Date: Tue Mar 21 18:43:21 2023 +0000 + + Do not attach debugdb_disk database + +commit e45bcbfd2bc2d0eec4280c1a73b3a9095d2848a1 +Author: René Cannaò +Date: Tue Mar 21 16:55:00 2023 +0000 + + Adding more verbosity in a TAP test + +commit ad9e06b835a5f920a5a265ecf162a83f2e510028 +Author: René Cannaò +Date: Mon Mar 20 11:07:23 2023 +0000 + + Adding more verbosity in a TAP test + +commit ace7ba8ec03e9ee8ba4122fbc25d88dceff6df71 +Author: Miro Stauder +Date: Mon Mar 20 09:00:52 2023 +0100 + + Update package-build.yml + +commit 80e53fa56b2f1f71485d63c78d3adfb9056486a4 +Author: René Cannaò +Date: Thu Mar 16 09:07:22 2023 +0000 + + Disable TAP test test_debug_filters-t + +commit 6a4acf1c788c4bc485263241b9708c2c86e00fcc +Author: René Cannaò +Date: Thu Mar 16 09:04:05 2023 +0000 + + Revert "Commit on debug_log every 10 seconds" + + This reverts commit 5461eb0529d7bfd7f54df8b26bdb562024882081. + +commit 3f5d4d51e26b9af0ef13f21aab715845469ccd73 +Merge: 228c78d0 ad59cc7b +Author: René Cannaò +Date: Wed Mar 15 16:32:30 2023 +0700 + + Merge pull request #4139 from sysown/v2.x-minimize_race_condition + + Removing mysql object from connection pool as soon as failure is detected. + +commit f35b044a7ec3eaf25725348fb0114d6abe62b868 +Merge: c7c71c99 2978fb31 +Author: Rahim Kanji +Date: Tue Mar 14 17:19:44 2023 +0500 + + Merge remote-tracking branch 'Master/v2.x_refactor_read_only_action_with_simulator' into v2.x_refactor_read_only_action_with_simulator + +commit c7c71c99d3d0390c4d77bb4343c40ab1f443e60f +Author: Rahim Kanji +Date: Tue Mar 14 17:19:17 2023 +0500 + + Fixed logging and comments + +commit 5461eb0529d7bfd7f54df8b26bdb562024882081 +Author: René Cannaò +Date: Tue Mar 14 11:06:04 2023 +0000 + + Commit on debug_log every 10 seconds + +commit b128e917cdf3debdd02122131a6857b3c5032223 +Author: René Cannaò +Date: Tue Mar 14 10:51:40 2023 +0000 + + Do not create indexes on debug_log + +commit 2978fb31362041f37dac9015f6a0adb9fea9f127 +Merge: 446c9ec0 228c78d0 +Author: Rahim Kanji <87704158+rahim-kanji@users.noreply.github.com> +Date: Tue Mar 14 13:30:33 2023 +0500 + + Merge branch 'v2.x' into v2.x_refactor_read_only_action_with_simulator + +commit 446c9ec0c814a6bc0a61cfa6d7d9fda0fee67cd3 +Author: Rahim Kanji +Date: Tue Mar 14 13:22:46 2023 +0500 + + Added logging + +commit e87e115644427aafb65ccd6a12baa37c784a77a5 +Author: René Cannaò +Date: Tue Mar 14 04:23:14 2023 +0000 + + Trying to reduce contention in debug logging + +commit 228c78d044e105d13ccfce7d86d1b3b86d9892fa +Author: Javier Jaramago Fernández +Date: Mon Mar 13 19:44:11 2023 +0100 + + Fix invalid connection selection for 'reg_test_compression_split_packets-t' + + DDL queries were causing an implicit COMMIT for the transaction started + in a freshly created connection required for the test logic. Cleanup is + now performed via implicit ROLLBACK. + +commit ff186b4e5429d00c348b21b3da0548d4a596eb10 +Author: René Cannaò +Date: Mon Mar 13 17:20:38 2023 +0000 + + In debug_log add backtrace only if verbosity >= 10 + +commit e324521271abb125aaaf7e9cb98f76f25a1d3e88 +Author: Rahim Kanji +Date: Mon Mar 13 16:37:47 2023 +0500 + + Updated cluster sync hostgroup id + +commit 58494dcbba0b1aec9baf8d4e738df8c3b01d039a +Author: René Cannaò +Date: Mon Mar 13 09:55:12 2023 +0000 + + Add debugging for LOGENTRY + +commit cd623ec33b718f300bf5668a6b4e2d518bb8db2b +Author: René Cannaò +Date: Mon Mar 13 09:53:21 2023 +0000 + + Debug logging to disk + + Minor changes in the implementation + +commit d4d2298a6f2cf564bda8ba33b279175035dd13fb +Author: René Cannaò +Date: Mon Mar 13 07:11:43 2023 +0000 + + Debug logging to disk + + Introduced new schema debugdb_disk (on disk) and table debug_log . + + Debug entries will now go to this new table based on the value of + variable admin-debug_output . If: + 1) default behavior: write to stderr + 2) write only to debugdb_disk.debug_log + 3) 3 = 1+2 = write to stderr and to debugdb_disk.debug_log + + All these functionalities exist only on debug build. + + Table debugdb_disk.debug_log has also a column named "note" that can be used + to write user notes during debugging. + +commit 794f14f5a5f35c724d6f99025cc06ee37e382001 +Author: Rahim Kanji +Date: Fri Mar 10 21:07:57 2023 +0500 + + Adding max_allowed_packet value verification + +commit 17790fdefafb9d8544e217fcd6a8c27304e66ab6 (tag: 2.5.2) +Author: Miro Stauder +Date: Fri Mar 10 08:10:03 2023 +0000 + + bump version to 2.5.2 at the beginning of the develpment cycle + +commit d1700b45047aad12fc93be91e42db1c882f14160 +Author: Rahim Kanji +Date: Fri Mar 10 00:14:39 2023 +0500 + + Resetting checksum before recalculation + +commit c8a94c12fd1de70ba620a8aaee23372b6f04413c +Author: Rahim Kanji +Date: Thu Mar 9 16:08:03 2023 +0500 + + Few fixes + +commit afc06ab8dc513788d9bfc5501a7266feb21388a3 +Merge: 380e5820 55deb8dd +Author: Rahim Kanji +Date: Thu Mar 9 15:52:43 2023 +0500 + + Merge remote-tracking branch 'Master/v2.x_refactor_replication_lag_action' into v2.x_refactor_replication_lag_action + +commit 44b09e0a64b45cd4890e3cfe2adb00679a157ff4 +Author: Rahim Kanji +Date: Thu Mar 9 14:46:03 2023 +0500 + + Revert "Removed incoming_replication_hostgroups flag" + + This reverts commit 3aa4055109ef61bdaa399b288dfa427e71f71cfe. + +commit c673ef533f13fcf1f4bf70c8fa2cc01abb1b075c +Author: Rahim Kanji +Date: Thu Mar 9 12:09:39 2023 +0500 + + Removed update code from copy and renamed method to copy_if_not_exists + +commit bedaa6c5854d041f9cc7fd622a36f721c62b40cf (tag: v2.5.1) +Author: Miro Stauder +Date: Wed Mar 8 23:01:22 2023 +0100 + + Update package-build.yml + +commit e4d0c62193f7af0e0627608524bab8bfe6565eb2 +Author: Miro Stauder +Date: Wed Mar 8 22:47:50 2023 +0100 + + Update package-build.yml + +commit 3c3112ab2daa3ddb6fd1b575742a46d516093c12 +Author: Rahim Kanji +Date: Wed Mar 8 23:45:34 2023 +0500 + + Calculate hash only if initialized + +commit 64f43e5d2b90e85cf82965b92f6fcd9677c2d559 +Author: Miro Stauder +Date: Wed Mar 8 19:41:21 2023 +0100 + + Update README.md + +commit 4bf7f765562c3a0d4f3d8bb5ed6f627927c2329f +Author: Miro Stauder +Date: Wed Mar 8 13:33:51 2023 +0100 + + Update package-build.yml + +commit 3121eee0376be07aa998e7278d03b8fabe99b5ab +Author: Miro Stauder +Date: Wed Mar 8 11:36:57 2023 +0100 + + Update package-build.yml + +commit 666225ddd22001b4c3f990a72845f63cdb21a546 +Merge: 8efe681c 3328fa34 +Author: René Cannaò +Date: Wed Mar 8 16:40:52 2023 +0700 + + Merge pull request #4138 from sysown/v2.x-remove_default_query_rules_in_deprecate_eof_cache-t + + Remove default query rules in deprecate_eof_cache-t + +commit 8efe681c3f05d57c140a2c0318c62f45cc6f287d +Merge: a29bb988 be7d6c00 +Author: René Cannaò +Date: Wed Mar 8 16:11:25 2023 +0700 + + Merge pull request #4119 from sysown/CodeQL + + CodeQL scan and fixes + +commit a29bb9883ebac77f351f301ab44625f82768601d +Author: Miro Stauder +Date: Wed Mar 8 09:15:59 2023 +0100 + + Update package-build.yml + +commit e0e06711d8343bc15aab36402e8a64057c445390 +Author: Rahim Kanji +Date: Wed Mar 8 12:33:04 2023 +0500 + + Some improvements and fixes + +commit 230465e976f58f0c30e1846e018aa9afb7905060 +Author: Miro Stauder +Date: Tue Mar 7 21:38:10 2023 +0100 + + Update package-build.yml + +commit dace4ff19ea41bbd1e61c9aa76bc3b57a312566b +Author: Miro Stauder +Date: Tue Mar 7 21:27:31 2023 +0100 + + Update package-build.yml + +commit a8019413c42ca203c3c52fcffe9fd3df5556e2f3 +Author: Miro Stauder +Date: Tue Mar 7 18:53:39 2023 +0000 + + fix compilation on old distros + +commit 34054560a2dee26e8f3ceae39b88e8ce56271a51 +Author: Miro Stauder +Date: Tue Mar 7 14:31:14 2023 +0100 + + Update package-build.yml + +commit a78d86e15c3211c66fd7273ee6db466c40cbcf9d +Merge: a5768014 21d398b0 +Author: René Cannaò +Date: Tue Mar 7 19:25:51 2023 +0700 + + Merge pull request #4120 from sysown/v2.x_mariadb_ssl_x509cache + + Modifiy MariaDB Client to use a shared x509 cache #4117 + +commit a57680142d40fb6ed933befcb693e4d1651a3bf8 +Author: Miro Stauder +Date: Tue Mar 7 10:44:07 2023 +0100 + + Update ci-selftests.yml + +commit 40b626363b832dc7e87a9adcb462861cebb79c48 +Author: Miro Stauder +Date: Mon Mar 6 19:45:01 2023 +0100 + + Create package-build.yml + +commit e06295eddabbf4b35b4e85e53a9fe786c4b2447f +Merge: 7c2f6bf8 116aed83 +Author: René Cannaò +Date: Mon Mar 6 18:28:56 2023 +0700 + + Merge pull request #4143 from sysown/v2.x-revf72879e0b + + Revert "Use only Galera fro set-testing_240-t" + +commit 380e5820750f79fe38fd34de64389ccb255eebdc +Author: Rahim Kanji +Date: Sun Mar 5 16:10:55 2023 +0500 + + Added Replication Lag simulator + +commit 116aed8391f5315d4ec77fc6bb987d511f087f3d (origin/v2.x-revf72879e0b) +Author: René Cannaò +Date: Fri Mar 3 11:44:47 2023 +0000 + + Revert "Use only Galera fro set-testing_240-t" + + This reverts commit f72879e0b6621c38f7db74e619295bca7db970be. + +commit 7c2f6bf80884afe428a76dc87128dd0e880e6553 +Merge: 7a718cf8 6673efcf +Author: René Cannaò +Date: Fri Mar 3 16:22:39 2023 +0700 + + Merge pull request #4142 from RULCSoft/fix-typo + + Fix typo - consecutive 'the' occurrences + +commit 6673efcfaa14a2bc199e9856d48b6e6e6d6b29da +Author: Jorge Vallecillo +Date: Thu Mar 2 15:29:11 2023 -0600 + + Fix typo - consecutive 'the' occurrences + +commit 7a718cf82a6dd44e3fdf7f8a9df87788dd0d85bb +Merge: 75a78895 4589c09c +Author: René Cannaò +Date: Thu Mar 2 14:18:05 2023 +0700 + + Merge pull request #4124 from marcdejonge/issue-2861-ssl-on-reader-nodes + + Solving issue #2861 + +commit 75a78895ce6b3f6e71ed44fa6308158e36d1de3d +Merge: 7ef4cc06 76430156 +Author: René Cannaò +Date: Thu Mar 2 14:08:12 2023 +0700 + + Merge pull request #4131 from sysown/v2.x-3863 + + Support sql_mode with spaces + +commit 7ef4cc06ed3e7f33ced818abb168fb2cf450f55d +Merge: 591d6ff5 aac20d5f +Author: René Cannaò +Date: Thu Mar 2 14:07:46 2023 +0700 + + Merge pull request #4135 from sysown/v2.x-3957 + + Fix max_transaction_time + +commit 21d398b0a8de2738ad2912ca8cff748cd72f434b (origin/v2.x_mariadb_ssl_x509cache) +Author: René Cannaò +Date: Thu Mar 2 04:39:24 2023 +0000 + + Fix in TAP mysql-test_ssl_CA-t + +commit f1d4494082bdea72af596c0b06bb92d6dfa7a688 +Author: René Cannaò +Date: Thu Mar 2 04:18:35 2023 +0000 + + Adding TAP test to trigger X509 cache + +commit aac20d5f5cdec2a1a9338ce65eb6c6a79355c41a (origin/v2.x-3957) +Author: René Cannaò +Date: Thu Mar 2 02:37:31 2023 +0000 + + Improving TAP test test_max_transaction_time-t + +commit ad59cc7b686864e66489fe37e6bde5b6f307a258 (origin/v2.x-minimize_race_condition) +Author: Rahim Kanji +Date: Wed Mar 1 16:47:12 2023 +0500 + + Unregister connection handling for group replication + +commit a3316077c724a1d1e08903759f7c24bd9807edc0 +Author: Rahim Kanji +Date: Wed Mar 1 15:29:47 2023 +0500 + + Unregistering connection from connection pool as soon as failure is detected to minimize race condition. + (This only impacts debug build) + +commit 1902eb5a7b946797a13aa8fb37bfe3218cb60ad8 +Author: René Cannaò +Date: Wed Mar 1 09:05:12 2023 +0000 + + More testing in test_max_transaction_time-t + + IN PROXYSQL SESSION INTERNAL replace transaction_started_at with transaction_time_ms + +commit bd7f8901fc7197cf9291db1cb5af7449e7823b44 +Author: Javier Sánchez Parra +Date: Wed Mar 1 08:55:23 2023 +0100 + + Fix informative message in test_max_transaction_time-t + +commit 069140f79ec78cdc172b5a28712ac4a65652ec11 +Author: René Cannaò +Date: Mon Feb 27 20:57:46 2023 +0000 + + Automatically start a transaction when running a query + + This commit also introduces 2 output for PROXYSQL INTERNAL SESSION: + - active_transactions + - transaction_started_at + + Enhanced the TAP tests to also verify the above metrics + +commit 66e7f1da88291e0b3dcde8cd1eb2a618596b870f +Author: Javier Sánchez Parra +Date: Mon Feb 27 17:49:07 2023 +0100 + + Set active_transactions and transaction_started_at when the query completes + +commit 3328fa3408b5759b084ccad8c3561cd6cf7147a1 (origin/v2.x-remove_default_query_rules_in_deprecate_eof_cache-t) +Author: Javier Sánchez Parra +Date: Mon Feb 27 15:53:28 2023 +0100 + + Remove default infra query rules from deprecate_eof_cache-t + +commit 79bbf5e817e41085eba7d14ebb025405b0386e4f +Author: Javier Sánchez Parra +Date: Mon Feb 27 15:45:11 2023 +0100 + + Remove unneeded cleanup in deprecate_eof_cache-t.cpp + +commit 0aa60813fb2a6d9284a9437783f91eb955ec461b +Author: Javier Sánchez Parra +Date: Mon Feb 27 13:29:52 2023 +0100 + + save unneeded fetching of all 'server_status' + +commit 1df86c78ac6590a64e9b3f3237eb98060e134c3f +Author: Javier Sánchez Parra +Date: Mon Feb 27 09:39:49 2023 +0100 + + Add test for max_transaction_time + +commit b2312c07ffca09d0f438e0aed10ece0211e15fef +Author: Javier Sánchez Parra +Date: Thu Feb 23 17:46:07 2023 +0100 + + Fix max_transaction_time boundaries between transactions + + Fixes issue #3957 + +commit 830f7c9485043f18d1ea856c966411161f691c2f +Author: René Cannaò +Date: Fri Feb 24 00:16:59 2023 +0000 + + Adding AWS SSL certificates (for TAP test) + +commit 591d6ff52366c336a81a2c923cd9e489a85312e3 +Author: Miro Stauder +Date: Thu Feb 23 10:49:09 2023 +0000 + + update version to 2.5.1 + +commit be7d6c0015b26c82f78c103eb26fad9f29f24611 (origin/CodeQL) +Merge: e6150364 294c4f58 +Author: Miro Stauder +Date: Wed Feb 22 17:35:04 2023 +0100 + + Merge branch 'v2.x' into CodeQL + +commit 76430156570adc09d387c248cae365528c0cc6e6 (origin/v2.x-3863) +Author: Javier Sánchez Parra +Date: Tue Feb 21 18:50:59 2023 +0100 + + Add test for sql_mode with spaces + +commit 0b75166cbfda4bb7ba583245fd8f729836ca70a5 +Author: Javier Sánchez Parra +Date: Tue Feb 21 10:59:41 2023 +0100 + + Support sql_mode with spaces + +commit e2b2690a2872e8a2f2f7ac07ec075fbd296b35d4 +Author: Javier Sánchez Parra +Date: Wed Feb 22 14:21:11 2023 +0100 + + Split VAR_VALUE_P1 regex to improve readability + +commit 294c4f5898a22da249602a5c9d124a36eb2e586a +Author: Miro Stauder +Date: Wed Feb 22 13:51:38 2023 +0100 + + Update codeql.yml + +commit 42ef04900cb3894e29b6d3faa6e10180f540a8ce +Author: Miro Stauder +Date: Wed Feb 22 13:50:58 2023 +0100 + + Update ci-selftests.yml + +commit c3b1f9b28280019b5de7da925a0025aef940c6fd +Author: Miro Stauder +Date: Wed Feb 22 13:32:07 2023 +0100 + + add status badges to README + +commit fdebe711395854eb2ce8d3623076dffe86526d72 +Author: Miro Stauder +Date: Wed Feb 22 13:09:45 2023 +0100 + + Update codeql.yml + +commit 32831d1d1963df880dd645dba30693ee7bbbb96a +Author: Miro Stauder +Date: Wed Feb 22 10:57:21 2023 +0100 + + Update and rename build.yml to ci-selftests.yml + +commit 55deb8ddac84f0f1c6bdca332ef222f5b7b773d3 (origin/v2.x_refactor_replication_lag_action) +Author: Rahim Kanji +Date: Wed Feb 22 14:48:22 2023 +0500 + + Refactoring replication lag action method + + * Introduced support for handling of bulk servers + * Commented mysql_servers_wrlock as this method does not use admin tables. + +commit 0d86d0aa483ff288561c85189fd975786daf976a +Author: Rahim Kanji +Date: Tue Feb 21 18:26:55 2023 +0500 + + Warning fix + +commit 0da59a662045cba483bb9eb81709c8fe124f7f69 +Author: Javier Sánchez Parra +Date: Mon Feb 20 16:23:57 2023 +0100 + + Honor reset and copy options in get_query_digests_reset_v2() + +commit a19edfd42888044a73fe35ed0a3c7f64b9cbf9c1 +Author: Javier Sánchez Parra +Date: Mon Feb 20 13:08:20 2023 +0100 + + Various bug fixes in get_query_digests_v2() + +commit a73726b1cce005ac212fd6d94cca748da5021f74 +Author: Rahim Kanji +Date: Sat Feb 18 02:37:29 2023 +0500 + + Renaming variables + +commit 3aa4055109ef61bdaa399b288dfa427e71f71cfe +Author: Rahim Kanji +Date: Fri Feb 17 19:42:40 2023 +0500 + + Removed incoming_replication_hostgroups flag + +commit b6a59f37e77c7dc875719fe91029a932604a84f6 +Author: René Cannaò +Date: Fri Feb 17 11:19:11 2023 +0000 + + Update .gitignore for openssl + +commit 1e0a1cf038e81a2f67581e52d1a303638dd795d0 +Merge: 7710fcbb a843aedb +Author: Rahim Kanji +Date: Fri Feb 17 15:46:14 2023 +0500 + + Merge remote-tracking branch 'Master/v2.2.0-sqliteserver_read_only' into v2.x_refactor_read_only_action_with_simulator + +commit 7710fcbbaae3df7a895f905f21ea7259780298ec +Merge: 2790ed9f 665bdef5 +Author: Rahim Kanji +Date: Fri Feb 17 15:45:53 2023 +0500 + + Merge remote-tracking branch 'Master/v2.x_refactor_read_only_action' into v2.x_refactor_read_only_action_with_simulator + +commit 12a064313f4e42f9a8e80ad228cc610fa9f9b68d +Author: Javier Sánchez Parra +Date: Fri Feb 17 08:54:13 2023 +0100 + + Make default new algorithm to get query digest map + +commit baddb46fe308bbfd83f15d13f9590f18edc61d05 +Author: Javier Sánchez Parra +Date: Thu Feb 16 18:31:58 2023 +0100 + + Fix memory leak in get_query_digests_reset_v2 not using resultset + +commit 1644c9a87093423a5bbd56c97296d4bfacc6b469 +Author: Javier Sánchez Parra +Date: Thu Feb 16 10:28:30 2023 +0100 + + Add a second group of auxiliary maps + + This way, we can merge previous maps without locking the mutex. We move + locking the mutex for merging the second group of auxiliary maps. This + second merge it is faster than the previous merge, because the second + group of auxiliary maps is not going to grow large. + +commit a5bd44fccf5bee9574588aa5c9b039b83b725d49 +Author: Javier Sánchez Parra +Date: Wed Feb 15 17:44:20 2023 +0100 + + Clear auxiliary maps outside the lock + +commit 79fdc6817e5911b9529193e864f94c1f0e845ffd +Author: Javier Sánchez Parra +Date: Wed Feb 15 17:43:40 2023 +0100 + + Fix memory leak when merging digests umaps + +commit baa70fc6fdd26158514d387e5628671e380af380 +Author: Javier Sánchez Parra +Date: Wed Feb 15 16:41:18 2023 +0100 + + Revert always writing to DB in Query_Processor + +commit 45522e47a4d5fa62624966465b10800e686eedd9 +Author: Javier Sánchez Parra +Date: Wed Feb 15 16:25:24 2023 +0100 + + Add copy parameter to ProxySQL_Test___GetDigestTable_v2() + +commit 222d8b576b183baa22703268e4c8e03930181d19 +Author: Javier Sánchez Parra +Date: Wed Feb 15 10:49:30 2023 +0100 + + Add PROXYSQLTESTs to get and reset the digest map with old and new algorithms + +commit 2c13dfdc520be9dbf71fd1d1df65a8293ffa4361 +Author: Javier Sánchez Parra +Date: Tue Feb 14 18:13:47 2023 +0100 + + Make PROXYSLQTEST 22 and 24 return the number of row affected + +commit ba41bad72c5582c016cad78296fa693e6fc661a7 +Author: Javier Sánchez Parra +Date: Tue Feb 14 15:53:40 2023 +0100 + + Add PROXYSQLTESTs to get the digest map with old and new algorithms + +commit 81bab9e878aeb9e8520c4321be43eb284aa048f7 +Author: René Cannaò +Date: Sat Feb 11 22:58:23 2023 +0000 + + Various bug fixes in v2.x-digest_umap_aux + +commit 14ba7475d400594680fe061cf6f903371785bfda +Author: Javier Sánchez Parra +Date: Fri Feb 10 10:52:44 2023 +0100 + + Create stats_mysql_query_digest statements directly from the digest_umap + +commit 6fb18bd2ac35902044d35da1c457f8d36e3afc45 +Author: Javier Sánchez Parra +Date: Fri Feb 10 09:41:50 2023 +0100 + + Move get digest text code to its own function + +commit 28095e3109f42564a5a2791f87fc2ce1652cd73a +Author: Javier Sánchez Parra +Date: Mon Feb 6 18:21:27 2023 +0100 + + Add auxiliary maps in get_query_digests_reset() to improve performance + +commit a7153d2637f3f040ba3ce7e4c528dd8735dda331 +Author: Javier Sánchez Parra +Date: Tue Jan 31 10:42:54 2023 +0100 + + Add testing for the auxiliary map in get_query_digests() + +commit 263d645baddbc1ef94791f60b0871e349efd2303 +Author: Javier Sánchez Parra +Date: Mon Jan 30 10:05:28 2023 +0100 + + Add auxiliary maps in get_query_digests() to improve performance + + Otherwise, all queries processed by ProxySQL have to wait for + get_query_digest() to finish reading the maps. + + With this patch, ProxySQL stores query digests in the auxiliary maps + while the main maps are being used by get_query_digests(). Once + get_query_digests() finish reading the main maps, it merge the auxiliary + maps in to the main maps and clear the content of the auxiliary maps. + +commit a843aedb7c848c4fd850b3d0cc06f1de119fdccd (origin/v2.2.0-sqliteserver_read_only) +Author: Rahim Kanji +Date: Fri Feb 17 11:29:16 2023 +0500 + + Removed sql_query_global_mutex from read_only_action method + +commit 2790ed9fabaefe5badc2a28de99c0201c1c15195 +Author: Miro Stauder +Date: Thu Feb 16 12:00:58 2023 +0100 + + Update build.yml + +commit a51d5c22015609bbffb955af779fd97eef5edd08 +Author: Miro Stauder +Date: Thu Feb 16 11:53:27 2023 +0100 + + Create build.yml + +commit 21e8da55e64758f9897e208cb854d280cae61860 +Merge: 14c47182 bba2d024 +Author: René Cannaò +Date: Thu Feb 16 10:50:23 2023 +0100 + + Merge pull request #4122 from sysown/v2.x-update-openssl + + update openssl to 3.0.8 + +commit 3a0804031cbebaa2fb0fc04df9a723e4a32bd7ab +Merge: adb3bcd1 14c47182 +Author: Rahim Kanji +Date: Thu Feb 16 14:47:43 2023 +0500 + + Resolving conflicts + + # Conflicts: + # lib/MySQL_Monitor.cpp + +commit 665bdef562ddcf82800eef6ee9fc96b2cd40f2a6 +Author: Rahim Kanji +Date: Wed Feb 15 14:32:59 2023 +0500 + + Removed assert if server is not found. + +commit 4589c09c4ad758500f42a677ec8e6a2a71e5bbec +Author: Marc de Jonge +Date: Wed Feb 15 09:32:35 2023 +0100 + + Switch to use tabs instead of spaces + +commit 692d4ed26c3b6fcf38c15a0e7c2d2e36a5b8313d +Author: Marc de Jonge +Date: Wed Feb 15 09:27:53 2023 +0100 + + Add logic to take the max_connections and use_ssl settings from any previous writer + + This only gets executed when a new writer is set for AWS Aurora. + +commit aaa959d024d18f7c8d8e93bedbdabab5d98eb36e +Author: Rahim Kanji +Date: Wed Feb 15 12:24:02 2023 +0500 + + Refactor and optimize read-only actions method + + This commit optimizes the read-only actions method by removing the dependency on proxysql admin tables. Instead, a separate mapping container is maintained, which records the state of the HGM servers. This avoids the need to call the commit method on every change, which improves performance. + The changes in this commit also ensure that the mapping container is properly updated when servers are added, removed or modified. + +commit bba2d024c42a207760b6a9777e3bc33c85e9bfb6 (origin/v2.x-update-openssl) +Author: Miro Stauder +Date: Mon Feb 13 14:23:00 2023 +0000 + + don't taint OpenSSL with extra patches + +commit 5ea077b829b09844816c0add4155e214f1767d51 +Author: Miro Stauder +Date: Mon Feb 13 12:54:17 2023 +0000 + + update OpenSSL to 3.0.8 + +commit 8f6022358a43ada869141680111f27017452f85c +Author: René Cannaò +Date: Tue Feb 14 11:03:38 2023 +0000 + + Modifiy MariaDB Client to use a shared x509 cache #4117 + +commit 14c471826c39b19e4b3d853c51a8e19a2065f81d +Merge: 8b066330 6fe447c6 +Author: René Cannaò +Date: Tue Feb 14 11:25:56 2023 +0100 + + Merge pull request #4101 from sysown/v2.x-libhttpserver_cond_patching + + Revert removed conditional for patches for older GCCs for 'libhttpserver' + +commit e6150364e10566e78d7cdde6dc8d09f32229aa9e +Author: Miro Stauder +Date: Mon Feb 13 18:04:18 2023 +0000 + + fixes for issues detected by CodeQL + +commit 83e4dc3aef97020752ccfc947d3eb88e4f65b117 +Author: Miro Stauder +Date: Mon Feb 13 16:31:39 2023 +0100 + + Update codeql.yml + +commit 9df03d4f98567ccdae81739e75dad09b2f8d4645 +Author: Miro Stauder +Date: Mon Feb 13 16:27:07 2023 +0100 + + Update codeql.yml + +commit 4f0b7342b19fb307b4d3b30ab252514f1849bd5b +Author: Miro Stauder +Date: Mon Feb 13 16:14:50 2023 +0100 + + Update codeql.yml + +commit 1ac837c4d0ee0e54d5943153c8a455a2cd95f63d +Author: Miro Stauder +Date: Mon Feb 13 15:51:57 2023 +0100 + + Update codeql.yml + +commit 8b066330d41e966aac02d3c8cc1ce1ccf1249a6b +Merge: 347608b0 73093304 +Author: René Cannaò +Date: Sun Feb 12 21:53:50 2023 +0100 + + Merge pull request #4110 from sysown/v2.x-HG_init_connect + + mysql_hostgroup_attributes.init_connect + +commit 73093304e165d045de3d731d78ae73d034b6d089 (origin/v2.x-HG_init_connect) +Author: René Cannaò +Date: Sun Feb 12 18:20:09 2023 +0000 + + Cleanup on TAP mysql-init_connect-2-t + +commit 347608b00f55e89773b99f9e1d1c7131aa5435be +Merge: e7eb690e db67c66f +Author: René Cannaò +Date: Sun Feb 12 13:33:19 2023 +0100 + + Merge pull request #4114 from sysown/v2.x_fast_forward_SSL_2302 + + Set correct backend encryption when switching to fast_forward + +commit e7eb690ea204a53e41bcb15ba99003af91e9e616 +Merge: 23603e53 643b7ca2 +Author: René Cannaò +Date: Sun Feb 12 13:33:04 2023 +0100 + + Merge pull request #4105 from sysown/v2.x-assign_hostgroup_from_previous_query + + Assign hostgroup from previous query + +commit 73efc770e62201041266ad4daf82ddcd2d48bc89 +Author: René Cannaò +Date: Sun Feb 12 12:06:16 2023 +0000 + + Reduce verbosity on Resetting hostgroup attributes + +commit 5aa49082a35ca0ea12514e3e5d90915d24dbf28e +Author: René Cannaò +Date: Sun Feb 12 11:43:39 2023 +0000 + + TAP test mysql_hostgroup_attributes.init_connect + + TAP test mysql-init_connect-2-t.cpp for mysql_hostgroup_attributes.init_connect + as a modified version of mysql-init_connect-1-t.cpp + +commit 23603e535d2bf7dc5f5d64dc5b889ec30ed92b98 +Merge: 76971cb4 530353be +Author: René Cannaò +Date: Sat Feb 11 22:45:52 2023 +0100 + + Merge pull request #4090 from sysown/v2.x-log_close_fast_forward + + Log 'fast_forward' conns close due to 'log_unhealthy_connections' + +commit db67c66fbdaf0a5d7d7b74001edeed6c9272a4c0 (origin/v2.x_fast_forward_SSL_2302) +Author: René Cannaò +Date: Sat Feb 11 21:42:29 2023 +0000 + + Allow cleanup in TAP test_backend_conn_ping-t + +commit 5a07dfb6c30580d1c136c6fc3db80add5f9f65e1 +Author: René Cannaò +Date: Sat Feb 11 19:01:55 2023 +0000 + + Add support for ROWS_QUERY_LOG_EVENT for tap test + +commit 76971cb4e6df20a9bd45601ff0a3eec0b9f67571 +Merge: 4d5b3cc1 93860bc7 +Author: René Cannaò +Date: Fri Feb 10 18:34:47 2023 +0100 + + Merge pull request #4106 from sysown/v2.x-fix_set_names_use_after_free + + Fix 'user-after-free' when logging rewrited 'SET NAMES' queries + +commit 4d5b3cc193199bab3768dd830ff1e52734a847d0 +Merge: 3778b9be 010abbcf +Author: René Cannaò +Date: Fri Feb 10 18:34:05 2023 +0100 + + Merge pull request #4108 from sysown/v2.x_ipv6_crash_fix + + IPv6 causes crash if OS is not properly configured to route it + +commit 3778b9be39a69586249f8fbef83e013223238442 +Merge: 18b1b858 2bcfba09 +Author: René Cannaò +Date: Fri Feb 10 18:32:32 2023 +0100 + + Merge pull request #4099 from sysown/v2.x-query_digest_op_fixes + + Minor fix for parentheses handling for 'query_digests' + +commit 18b1b8586b97f82d5e0913c14ba0f8ff739c7827 +Merge: 72310550 cd56726e +Author: René Cannaò +Date: Fri Feb 10 18:31:53 2023 +0100 + + Merge pull request #4102 from sysown/v2.x-gr_mon_mem_leak + + Fix memory leak in resultset for 'group_replication_lag_action' + +commit 7231055060595a2258a884c38ff200f7f1564088 +Merge: d220a425 b275ff34 +Author: René Cannaò +Date: Fri Feb 10 18:31:29 2023 +0100 + + Merge pull request #4104 from sysown/v2.x-fix_freeing_twice_multiple_prepared_statements-t + + Fix read-after-free in test multiple_prepared_statements-t + +commit e487ddf8ecfddebe661b61afa775fa577ce4e34d +Author: René Cannaò +Date: Wed Feb 8 22:49:30 2023 +0000 + + Set correct backend encryption when switching to fast_forward + + When receiving MYSQL_COM_BINLOG_DUMP , MYSQL_COM_BINLOG_DUMP_GTID or + MYSQL_COM_REGISTER_SLAVE , proxysql automatically switches to fast_forward . + Although it is important to correctly configure "encrypted" in the backend + data stream if needed. + Used PMC-10005 for reference , as this is implemented similarly in many + parts of the code. + During the switch proxy_info() now also reports the client and the + command received. + +commit ee91abd64dedfbdefac3380f80bffdf63b55a765 +Author: René Cannaò +Date: Wed Feb 8 18:53:07 2023 +0000 + + Patch on mariadb_rpl.{c|h} + + Patching mariadb_rpl.c and mariadb_rpl.h to recognize (recognize only, no + processing) GTID events and V2 events. + +commit 1e73cada44343fd5956a893a52e9b2aaf174f245 +Author: René Cannaò +Date: Wed Feb 8 18:48:37 2023 +0000 + + Adding repository note for test_binlog_reader-t + +commit d655695d086468338e8bf4e578f4caf6a2f2fece +Author: René Cannaò +Date: Tue Feb 7 12:37:42 2023 +0000 + + mysql_hostgroup_attributes.init_connect + + Implementation of MySQL HostGroup Attribute mysql_hostgroup_attributes.init_connect + +commit 010abbcfae075280d5e03ab4980932a89a430170 (origin/v2.x_ipv6_crash_fix) +Author: Rahim Kanji <87704158+rahim-kanji@users.noreply.github.com> +Date: Mon Feb 6 20:01:11 2023 +0500 + + Update mariadb_lib.c.ipv6_fix.patch + +commit 2cfd0934eff8eaee1661f4dfc875bed98dab3a76 +Author: Rahim Kanji +Date: Mon Feb 6 19:13:37 2023 +0500 + + Fixed crash if IPv6 IP is used and OS is not properly configured to route it. + +commit 93860bc70c51312d38bc95093c52236536e570ce (origin/v2.x-fix_set_names_use_after_free) +Author: Javier Jaramago Fernández +Date: Mon Feb 6 13:46:22 2023 +0100 + + Add new 'LOGENTRY' Admin command + + This command adds a new entry line in the error log with the provided + message. + +commit bd83a90f27ce6a2e6247dddfd6784394e52552f0 +Author: Javier Jaramago Fernández +Date: Mon Feb 6 13:42:28 2023 +0100 + + Fix 'user-after-free' when logging rewrited 'SET NAMES' queries + +commit 643b7ca2dbe3e644aa7e3e8c46907b6cc36f464e (origin/v2.x-assign_hostgroup_from_previous_query) +Author: Javier Sánchez Parra +Date: Thu Jan 19 10:31:43 2023 +0100 + + Add test checking binlog reader uses previous hostgroup + + When a COM_REGISTER_SLAVE command is received, test that ProxySQL will + automatically switch from not fast_forward mode to fast_forward mode. + It also test that the destination hostgroup assigned from previous + COM_QUERY commands is the one used to establish the fast_forward + connection. To test this we look at how many connections are closed in + the hostgroup that should have been used for the fast_forward + connections. + +commit 1e00e1f021a2fbd5af68aa0abc1b53e79d8ca311 +Author: Javier Sánchez Parra +Date: Mon Jan 16 10:28:05 2023 +0100 + + Assign hostgroup from previous COM_QUERY + + The destination hostgroup assigned from previous COM_QUERY commands is + the one used to establish the fast_forward connection. As a result, + multiple binlog clients can consume binlog events from different MySQL + hostgroups using the same username. + +commit b275ff345f49ab1c927e9e01a831c5e205071c1b (origin/v2.x-fix_freeing_twice_multiple_prepared_statements-t) +Author: Javier Sánchez Parra +Date: Thu Feb 2 15:14:37 2023 +0100 + + Fix read-after-free in test multiple_prepared_statements-t + + The test closes half the MySQL connections and later tries to close all + the connections, even the ones that have been closed before. + +commit cd56726e8bbdc256e57df2e31e3beeea6e1cf157 (origin/v2.x-gr_mon_mem_leak) +Author: Javier Jaramago Fernández +Date: Thu Feb 2 11:38:55 2023 +0100 + + Fix memory leak in resultset for 'group_replication_lag_action' + +commit 6fe447c6d9d3fb39ca48ef1e731903368b2d23d3 (origin/v2.x-libhttpserver_cond_patching) +Author: Javier Jaramago Fernández +Date: Wed Feb 1 19:49:37 2023 +0100 + + Revert removed conditional for patches for older GCCs for 'libhttpserver' + +commit 2bcfba09362b16f1d5c9873071a4d5ab06b7a60d (origin/v2.x-query_digest_op_fixes) +Author: Javier Jaramago Fernández +Date: Wed Feb 1 12:25:14 2023 +0100 + + Add diggest tests for operators removal for parentheses + +commit b1e099e1e40e61cfa7ba1c761ddbea754eddab7d +Author: Javier Jaramago Fernández +Date: Wed Feb 1 12:11:02 2023 +0100 + + Fix '+|-' operators removal after ')' for 'query_digests' + + Handling plus and minus operator removal for parenthesis for + 'query_digest'. + +commit d220a42599a386d1d6409f6bd832009ff2465727 (tag: v2.5.0, tag: 2.5.1) +Author: Miro Stauder +Date: Tue Jan 31 20:48:32 2023 +0100 + + fix version number to 2.5.0 + +commit cfe5c0bcf0317109255056b0e1d12142fc39b799 +Merge: 0c1d7a41 dcf9a4a3 +Author: René Cannaò +Date: Tue Jan 31 12:50:22 2023 +0100 + + Merge pull request #4091 from sysown/v2.x-HGMimpr01_mysql_hostgroup_attributes + + Drafting mysql_hostgroup_attributes + +commit 0c1d7a41ec2098454bc869b1ee701dc5080c3290 +Merge: 4547128c 2bf31f21 +Author: René Cannaò +Date: Tue Jan 31 12:20:50 2023 +0100 + + Merge pull request #4097 from sysown/v2.x_runtimetableupdate_commit + + Commented updating of runtime tables in load_mysql_servers_to_runtime + +commit 4547128c0a5af2b4218242415d844dc2751175a2 +Merge: d05a1611 1188b0e2 +Author: René Cannaò +Date: Mon Jan 30 23:39:15 2023 +0100 + + Merge pull request #4082 from sysown/v2.x-group_replication_rework + + Monitor 'Group replication' rework + +commit 2bf31f2177eed4f163154ebad306d977ba2b9fff (origin/v2.x_runtimetableupdate_commit) +Author: Rahim Kanji +Date: Mon Jan 30 16:10:59 2023 +0500 + + Commented updating of runtime tables in commit + +commit 1188b0e2bcfb5cd254c38f9577adda0177302700 (origin/v2.x-group_replication_rework) +Author: Javier Jaramago Fernández +Date: Mon Jan 30 10:32:09 2023 +0100 + + Fix 'purge_mysql_servers_table' skipping 'OFFLINE_HARD' servers + +commit 3687dc2211993269f25d45c31ba75ddba318260b +Author: Javier Jaramago Fernández +Date: Mon Jan 30 10:31:33 2023 +0100 + + Addapt GR rework to 'MySQL_Monitor' async API + +commit 0f08ba0d7088508ba76ae55f8bd7a25bb81c2c94 +Author: Miro Stauder +Date: Wed Jan 25 14:06:34 2023 +0000 + + fix compilation on GCC 4.8 + +commit d05a1611e21e9bfd8828836b71b585f0232bfa16 +Merge: a48d4780 b73ab99c +Author: René Cannaò +Date: Mon Jan 30 09:46:04 2023 +0100 + + Merge pull request #4094 from sysown/v2.x_refactoring_monitor + + Fixed timeout message for replication lag + +commit b73ab99c04275811f1fa1253f130979f2a2774f7 (origin/v2.x_refactoring_monitor) +Author: Rahim Kanji +Date: Mon Jan 30 11:51:40 2023 +0500 + + Fixed timeout message + +commit dcf9a4a3623682441cdc30e544be3442e881312b (origin/v2.x-HGMimpr01_mysql_hostgroup_attributes) +Author: René Cannaò +Date: Sun Jan 29 22:23:55 2023 +0000 + + mysql_hostgroup_attributes.throttle_connections_per_sec + + Implementation of mysql_hostgroup_attributes.throttle_connections_per_sec + + If mysql_hostgroup_attributes is configured, + mysql_hostgroup_attributes.throttle_connections_per_sec has higher + priority than global variable mysql-throttle_connections_per_sec_to_hostgroup + +commit 7b00d05233ec8d98b9f4e7053f6d0156b635990c +Author: René Cannaò +Date: Sun Jan 29 22:17:01 2023 +0000 + + mysql_hostgroup_attributes free_connections_pct and connection_warming + + Implementation of mysql_hostgroup_attributes.free_connections_pct and mysql_hostgroup_attributes.connection_warming + + If mysql_hostgroup_attributes is configured: + - mysql_hostgroup_attributes.free_connections_pct has higher priority than global variable mysql-free_connections_pct + - mysql_hostgroup_attributes.connection_warming has higher priority than global variable mysql-connection_warming + +commit f3c604eb848d587f2bd9015f436db200799e155b +Author: René Cannaò +Date: Sun Jan 29 21:55:59 2023 +0000 + + Implemented mysql_hostgroup_attributes.multiplex + + If mysql_hostgroup_attributes.multiplex: + - 0 : multiplexing is always disabled + - 1 : multiplexing is enabled for the hostgroup, but other criteria can disable multiplexing (transaction, temp tables, query rules, etc) + +commit 3837de61e294a3de5a7b88b638fba1dd14ae10d1 +Author: René Cannaò +Date: Sun Jan 29 18:09:05 2023 +0000 + + Various minor fixes + + Fixes: + * minor memory leak when running CHECKSUM command + * minor memory leak in load_mysql_servers_to_runtime() + * not initialized json in MySQL_Event (valgrind doesn't like it) + * not initialized variable MySQL_Thread::shutdown in the constructor + +commit 9235fbf887f66e5fc6b9da29a2b2fc407b95bc10 +Author: René Cannaò +Date: Sun Jan 29 01:14:44 2023 +0000 + + Added 1st testing for mysql_hostgroup_attributes + + This commit adds some minimal testing for mysql_hostgroup_attributes . + It helped detecting some bugs. + +commit a48d47802b160dcc48f015cd8ba572eb65eb7be2 +Merge: 49114a78 e75ddf25 +Author: René Cannaò +Date: Sat Jan 28 21:05:18 2023 +0100 + + Merge pull request #4093 from sysown/v2.x-1486_t2 + + Improve the testing of query cache refresh + +commit e75ddf252ff0d29749b5ca966a164ee35d737b4f (origin/v2.x-1486_t2) +Author: René Cannaò +Date: Sat Jan 28 20:04:12 2023 +0000 + + Improve the testing of query cache refresh + +commit 49114a7867dd0e3354b6e40b6f0ba058a4cb4908 +Merge: 62182da2 5788b9ba +Author: René Cannaò +Date: Sat Jan 28 21:01:10 2023 +0100 + + Merge pull request #4092 from sysown/v2.x-CI2463 + + Avoid duplicate entries in Galera_Hosts_resultset + +commit 5788b9ba8083dc7eed5fb6e2c5a517b941bfd9cc (origin/v2.x-CI2463) +Author: René Cannaò +Date: Sat Jan 28 18:12:23 2023 +0000 + + Avoid duplicate entries in Galera_Hosts_resultset + + Galera_Hosts_resultset is populated by a query on mysql_servers JOIN mysql_galera_hostgroups . + An incorrect GROUP BY could have caused some servers to be present more than once. + +commit 62182da20b53e3036bf6f585e4bfd517e3737bde +Merge: c350aa6b 51df157f +Author: René Cannaò +Date: Sat Jan 28 15:12:19 2023 +0100 + + Merge pull request #4086 from sysown/v2.x-1486 + + Add soft TTL to Query Cache entries + +commit d61c043bdc2182fc20e38a6275654dd3546c0889 +Author: René Cannaò +Date: Sat Jan 28 14:07:53 2023 +0000 + + Drafting mysql_hostgroup_attributes table + +commit 21a97b853a967751d61742f9ba4f71000cc139ad +Merge: 02d6e58d 6778ec0b +Author: Javier Jaramago Fernández +Date: Fri Jan 27 14:44:36 2023 +0100 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-group_replication_rework + +commit c350aa6b09658cd2989d05052c0054c0b0ceabd8 +Merge: 6778ec0b b66f23fc +Author: René Cannaò +Date: Fri Jan 27 13:22:51 2023 +0100 + + Merge pull request #3807 from sysown/v2.x-3583 + + Resolves #3583 - Session fast forward enabled when COM_BINLOG_DUMP_GTID is received + +commit 530353bea0762db07944736a782bfd641985b1a5 (origin/v2.x-log_close_fast_forward) +Author: Javier Jaramago Fernández +Date: Fri Jan 27 12:32:38 2023 +0100 + + Log 'fast_forward' conns close due to 'log_unhealthy_connections' + + This is an improvement over commit '5751d71d'. Instead of avoiding to log + when closing 'fast_forward' connections, now we log a dedicated message. + +commit 51df157f3bed8f646c0093614b066785273d7bb9 (origin/v2.x-1486) +Author: René Cannaò +Date: Fri Jan 27 10:54:55 2023 +0000 + + Rename query_cache_soft_ttl_percentage to query_cache_soft_ttl_pct + +commit 6778ec0b5108bd9b5b6b9dc2be9b205a9bf5b78c +Merge: 5ac59bf7 4048a1e9 +Author: René Cannaò +Date: Fri Jan 27 11:29:09 2023 +0100 + + Merge pull request #4081 from sysown/v2.x-freebsd-fixes + + FreeBSD fixes - convert current timezone + +commit 5ac59bf7e323ce1c9064be881668457eb696411e +Merge: 9e40acf9 7062ae00 +Author: René Cannaò +Date: Fri Jan 27 11:26:10 2023 +0100 + + Merge pull request #4080 from sysown/v2.x-fix_aws_ping_counters + + Fix 'AWS_NO_PINGABLE_SRV' error counters + +commit 9e40acf99909bb1efcc4aa88b13e95c9d765c69e +Merge: cedbad5a f4e9f9c8 +Author: René Cannaò +Date: Fri Jan 27 11:25:32 2023 +0100 + + Merge pull request #4069 from sysown/v2.x-4066-upgrade_deps + + upgrade deps - part of #4066 + +commit cedbad5a5de5ac40d5241f16848f7448fd4668fd +Merge: e5f252e1 ae40be43 +Author: René Cannaò +Date: Fri Jan 27 11:24:37 2023 +0100 + + Merge pull request #4063 from sysown/v2.x_refactoring_monitor + + Refactoring ProxySQL Monitor Module + +commit b66f23fcbdee87c84c8bd05c7c9c2da626a12a79 (origin/v2.x-3583) +Author: Javier Jaramago Fernández +Date: Fri Jan 27 10:56:49 2023 +0100 + + Improve comments for 'MYSQL_COM_BINLOG_DUMP' session preparation + +commit 982272aa968e5b59252ae78466618ee9fb0440b1 +Author: Javier Jaramago Fernández +Date: Fri Jan 27 10:52:36 2023 +0100 + + Fix 'connect_timeout' and 'connect_retries' for 'MYSQL_COM_BINLOG_DUMP' + + Fix honoring of 'connect_timeout_server_max' and + 'connect_retries_on_failure' for 'fast_forward' sessions created by + 'MYSQL_COM_BINLOG_DUMP' when session still doesn't own a backend + connection. + +commit f87910d0c94984f17633212ebdea5f263cb27b1e +Author: Javier Sánchez Parra +Date: Wed Jan 25 10:35:05 2023 +0100 + + Add test for Query Cache soft ttl + +commit ae40be4312505a24c94e9fc2cabea6a5c1ba9b0c +Merge: 3bb4bcf1 e5f252e1 +Author: Rahim Kanji +Date: Wed Jan 25 20:08:52 2023 +0500 + + Resolve conflicts + + # Conflicts: + # lib/MySQL_Monitor.cpp + +commit 3bb4bcf1c166175e1b23e84c8780b0a5dc937d13 +Author: Rahim Kanji +Date: Wed Jan 25 20:05:27 2023 +0500 + + * Added few comments and fixed comment style + +commit f5281b236bc5d0151d9d07aa937eb1e5ba2149f7 +Author: Javier Sánchez Parra +Date: Mon Jan 23 10:25:36 2023 +0100 + + Add soft TTL to Query Cache entries + + When Query Cache entries reach the soft ttl, the next query hit the + backend and refresh the entry. While the refresh happens, other queries + keeps getting the "old" Query Cache entry. + + Soft ttl is a percentage of the cache ttl and is defined by a global + variable for all the entries. If the value is 0, soft ttl is disabled + and no used. + +commit 23a36eea004344ab42d223b74ed8bcbba83b08d7 (origin/v2.x-HGMimpr01) +Author: René Cannaò +Date: Tue Jan 24 23:12:09 2023 +0000 + + Fixing 2 typos + +commit e5f252e1a5b67e7891776d08cd4e751785f402e2 +Author: René Cannaò +Date: Tue Jan 24 20:11:08 2023 +0000 + + Some tap test cleanup + +commit eba15b4c8d2cee311ec0e16cf0c5e4a9bbc3cba2 +Merge: e8db84eb d33c5587 +Author: René Cannaò +Date: Tue Jan 24 20:19:25 2023 +0100 + + Merge pull request #4088 from sysown/v2.x-debug230123 + + Some debugging code to troubleshoot a crash + +commit d33c5587e2dcb94c4ea4cf5e37f41cd54847f955 (origin/v2.x-debug230123) +Author: René Cannaò +Date: Tue Jan 24 15:49:41 2023 +0000 + + Assert on fcntl() only if not during shutdown + +commit f4e9f9c88bd4a55c8cf0d7781a02e117f0633103 (origin/v2.x-4066-upgrade_deps) +Author: Miro Stauder +Date: Tue Jan 24 15:41:11 2023 +0000 + + add missing patch + make libhttpserver patches unconditional + +commit b375151e13742cf1c0c6630d91130035d678ce2b +Author: René Cannaò +Date: Mon Jan 23 20:13:54 2023 +0000 + + Some debugging code to troubleshoot a crash + +commit 42c135dab7852b9df93d1e80baa4590c032b9dd5 +Merge: 2cef18c9 e8db84eb +Author: Miro Stauder +Date: Mon Jan 23 20:21:24 2023 +0100 + + Merge branch 'v2.x' into v2.x-4066-upgrade_deps + +commit 02d6e58d68eec7655e29fdd9d4982c7b591c6d4f +Author: Javier Jaramago Fernández +Date: Fri Jan 20 19:35:27 2023 +0100 + + Fix GR constant servers reconfig when available writers exceeds 'max_writers' + + Since servers present in 'backup_writer_hostgroup' where not considered + as previously configured writers, everytime the number of available + writers exceeded 'max_writers' an unwanted server reconfiguration was + triggered for each of these servers at every monitoring action. + +commit 2ffbf94fb7a5e69a5a2e2629314b66a74d15aaa7 +Author: Javier Sánchez Parra +Date: Mon Jan 23 08:49:39 2023 +0100 + + Cleanup unused QueryEntry::set() + +commit 3c086fe95b69d13829aa98382c7d0b85964fa10b +Author: Javier Jaramago Fernández +Date: Fri Jan 20 19:24:00 2023 +0100 + + Fix GR servers reconfiguration due to SHUNNED writer + + When writer was set as SHUNNED due to replication lag, and + 'mysql_servers' table was regenerated (via servers reconfiguration or + other action). SHUNNED writer wasn't considered a found writer, + triggering an unwanted server reconfiguration. + +commit 2cef18c93e456370137a42d7c2ff9bd3e3325307 +Merge: d8df2bf4 2aff8616 +Author: René Cannaò +Date: Fri Jan 20 14:49:54 2023 +0100 + + Merge pull request #4075 from sysown/v2.x-4066-upgrade_deps_sqlite3 + + upgrade deps - sqlite3 - part of #4066 + +commit 4048a1e9b5001ca2ac001887c1e0e1923fa77ec0 (origin/v2.x-freebsd-fixes) +Merge: f095b778 f319cc45 +Author: Miro Stauder +Date: Thu Jan 19 10:21:07 2023 +0000 + + Merge branch 'v2.x-freebsd-fixes' of https://github.com/sysown/proxysql into v2.x-freebsd-fixes + +commit e8db84ebd24eacac76b9a0e86cfe7bb92067cdd4 (tag: 2.5.0) +Author: Miro Stauder +Date: Wed Jan 18 19:25:38 2023 +0000 + + bump version to 2.5.0 at the beginning of the development cycle + +commit f095b7787778a57e86f85f7ac6594f14778d9e0c +Author: Miro Stauder +Date: Wed Jan 18 11:32:19 2023 +0000 + + define ETIME ifndef and usage note + +commit dacec21292dc7b47fe53218c9d886b73b8e109d6 +Author: Miro Stauder +Date: Fri Jan 13 16:44:05 2023 -0500 + + define ETIME for FreeBSD + +commit fcfbc17407d9dbd786b4078879f2ed340f166bbf +Author: Miro Stauder +Date: Fri Jan 13 16:42:40 2023 -0500 + + reimplement timediff_timezone_offset + +commit 32436849840da567c0de393ca68ff38fa3332683 +Author: Miro Stauder +Date: Fri Jan 13 16:01:50 2023 -0500 + + fix sed args + +commit d467cc0bfa77b4c3994c8fe4bdcbe482bd3d0d08 (tag: v2.4.7) +Merge: 420285e6 0231c9f5 +Author: René Cannaò +Date: Wed Jan 18 12:36:24 2023 +0100 + + Merge pull request #4083 from sysown/v2.x-fast_forward_ssl_230117 + + Consume all network buffer if SSL is in use + +commit 0231c9f5e39a0121b228125d24d5a7e3492c8320 (origin/v2.x-fast_forward_ssl_230117) +Merge: 79764d03 420285e6 +Author: René Cannaò +Date: Wed Jan 18 12:36:16 2023 +0100 + + Merge branch 'v2.x' into v2.x-fast_forward_ssl_230117 + +commit 420285e686b68730372e9631e175c27b77faf82f (tag: 2.4.7) +Author: Miro Stauder +Date: Wed Jan 18 10:28:50 2023 +0000 + + bump version to 2.4.7 at the beginning of the development cycle + +commit 79764d039772639711cafdc4efe63dae097dcc16 +Author: René Cannaò +Date: Wed Jan 18 08:50:25 2023 +0000 + + Adding some cleanup after ssl_fast_forward tests + +commit 7e382f0a3fdcd567ad430f71e111c4d65d602dd0 +Author: René Cannaò +Date: Tue Jan 17 23:13:11 2023 +0000 + + Avoid duplicate code in vacuum_stats() + +commit ceb5695cd2858bc992c8dfb2b70bbcd2a963bb8f +Author: René Cannaò +Date: Tue Jan 17 22:42:23 2023 +0000 + + Fix command names in load_save_disk_commands + +commit b1a14bd303ef104a966ade5d831d0c950aff7c5f +Author: René Cannaò +Date: Tue Jan 17 22:23:43 2023 +0000 + + If SSL is used for frontend connections or fast_forward , try to consume all the bytes on the network buffer + +commit 36575d273ac8606eca32f13fc7a10750a187e1bd +Author: René Cannaò +Date: Tue Jan 17 20:37:15 2023 +0000 + + Several code improvements + + In Admin: + - replaced a lot of flush_[...]__from_memory_to_disk() and flush_[...]__from_disk_to_memory() with a generic flush_GENERIC__from_to() + - several commands like "LOAD MYSQL SERVERS FROM DISK" and similar are automatically generated for various modules (not all) and saved/map in a map load_save_disk_commands + - FlushCommandWrapper() is able to map the various LOAD/SAVE from/to DISK into commands to run on SQLite + +commit 51c723f6fc9545bcb6de409e0c443ec1fe773baa +Author: Javier Jaramago Fernández +Date: Mon Jan 16 10:57:18 2023 +0100 + + DRAFT: Monitor 'Group replication' rework + + This is a draft of a rework for Monitor 'Group Replication', this + reworks reuses the Monitoring model already taken for AWS Aurora for + 'Group Replication'. + +commit f319cc455bd51277c3a160ab9dd686f6c03e87ff +Author: Miro Stauder +Date: Fri Jan 13 16:44:05 2023 -0500 + + define ETIME for FreeBSD + +commit f8a81c8e0d0290e7d98eb1eeb2e772f6871e7831 +Author: Miro Stauder +Date: Fri Jan 13 16:42:40 2023 -0500 + + reimplement timediff_timezone_offset + +commit 2a2bbb81425799cefb076161c0d6196f7d68b2be +Author: Miro Stauder +Date: Fri Jan 13 16:01:50 2023 -0500 + + fix sed args + +commit 22ff0feea41b0ce3460ebcfcbdf062eedaf816be +Author: Miro Stauder +Date: Fri Jan 13 09:58:43 2023 +0000 + + bump version to 2.5.0 at the beginning of the development cycle + +commit b1b3fc40d28c6fe7f48dbbb80bf871932e8d9222 +Author: Javier Sánchez Parra +Date: Thu Jan 12 20:04:40 2023 +0100 + + Add test checking COM_REGISTER_SLAVE enables fast_forward + + This test runs a custom binlog client, that uses libslave, to test that + ProxySQL activates fast forward automatically after receiving the + command, and to test that it can read the binlog events. The custom + client reads the binlog after sending a query that do not disables + multiplexing and after sending a query that disables multiplexing. + +commit 86fd69ac6cbb8a58fff428c303c4c4372d2087e8 +Author: Miro Stauder +Date: Thu Jan 5 12:35:06 2023 +0000 + + fix calling mysqlbinlog for the CI + +commit 31bea016512fdc98efafddfe636b752e8e65743e +Author: Javier Sánchez Parra +Date: Mon Jan 2 15:25:56 2023 +0100 + + Add test checking COM_BINLOG_DUMP enables fast_forward + +commit fb4740929e02563fa0f46c964ada628176fb71f6 +Author: Javier Sánchez Parra +Date: Thu Dec 22 12:05:37 2022 +0100 + + Commands that read the binlog enable fast forward + + For commands BINLOG_DUMP, BINLOG_DUMP_GTID and REGISTER_SLAVE a lot of + the features provided by ProxySQL aren't useful, like multiplexing, + query parsing, etc. For this reason, ProxySQL enable fast_forward when + it receives these commands. + +commit 07a986df2671fbb4bb32afb1d852cce54ebac0e5 (tag: v2.4.6) +Author: Miro Stauder +Date: Thu Jan 12 16:49:20 2023 +0000 + + make libhttpserver patches unconditional + +commit cb2ca9ca1607f9649cf08a40566ddfb9b65a8cd0 +Merge: 39988736 6c104fbe +Author: René Cannaò +Date: Thu Jan 12 14:57:18 2023 +0100 + + Merge pull request #4076 from sysown/v2.x_crash_fix_debug + + Avoid null pointer mysql connection access + +commit 1424967ed69149853bf6eeb68d405f3b340fe70a +Author: Jared Jetsel +Date: Wed Mar 2 13:12:17 2022 -0700 + + Receiving COM_BINLOG_DUMP_GTID enabled session fast forwaring + + * If the COM_BINLOG_DUMP_GTID is received, a warning is logged, and then the session_fast_foward is set to true + +commit 1db2037e5bd2a7599eeebb1187fe644df8f09426 +Author: Jared Jetsel +Date: Wed Mar 2 12:42:46 2022 -0700 + + _MYSQL_COM_BINLOG_DUMP_GTID command + + * Added COM_BINLOG_DUMP_GTID command to enum_mysql_commands with value 30 (0x1e) based on https://dev.mysql.com/doc/internals/en/com-binlog-dump-gtid.html + +commit 2aff8616e387bd4fbddc946eac210a29f58ee412 (origin/v2.x-4066-upgrade_deps_sqlite3) +Author: Miro Stauder +Date: Thu Jan 12 12:44:45 2023 +0000 + + generic targets for python and php tests + +commit 65f39050c3dee265d02f33e6d7f9093fdff068ec +Author: Miro Stauder +Date: Thu Jan 12 12:43:38 2023 +0000 + + add test_sqlite3_from_unixtime-t + +commit 7062ae00787f8e36748dfa0f0dcbb6ea3024c134 (origin/v2.x-fix_aws_ping_counters) +Author: Javier Jaramago Fernández +Date: Thu Jan 12 13:16:46 2023 +0100 + + Fix 'AWS_NO_PINGABLE_SRV' error counters + + This commit fixes the invalid increase of 'NO_PINGABLE_SRV' counters + using 'mmsd' data from the previous check, and an invalid check over the + current value of 'mmsd' to determine if a pingable host has been found. + +commit 39988736ac96bda5ff9a1b9072a032ad3b51e5c0 +Merge: a2be1888 90670b45 +Author: René Cannaò +Date: Thu Jan 12 13:03:08 2023 +0100 + + Merge pull request #4077 from sysown/v2.x-4018 + + Do not shun servers with max_replication_lag = 0 #4018 + +commit 107a864521c689e3ce53e6042e10cc032860586e +Author: René Cannaò +Date: Thu Jan 12 07:49:35 2023 +0000 + + Fix compiling + +commit 71e2510ef63488a0219fdd86f97f0945aae7ab2a +Author: René Cannaò +Date: Thu Jan 12 01:35:08 2023 +0000 + + Code cleanup on MySQL_HostGroups_Manager + + Some rework to try to reduce duplicated code + +commit 5fc840b9908143bfb5fc513fabbda07fdec98005 +Author: René Cannaò +Date: Wed Jan 11 23:20:35 2023 +0000 + + Removing commented code + +commit 90670b45725d043e2b70eaeed73d20c913e1fe3a (origin/v2.x-4018) +Author: René Cannaò +Date: Wed Jan 11 22:22:04 2023 +0000 + + Do not shun servers with max_replication_lag = 0 #4018 + + If max_replication_lag is 0 and mysql-monitor_replication_lag_group_by_host='true', + a replica was incorrectly shunned because of replication lag + +commit 340a4f33183aad39a38302d44ddd251314582d62 +Author: Rahim Kanji +Date: Wed Jan 11 18:50:29 2023 +0500 + + Added proxysqltest: monitor task forced timeout + +commit 6c104fbefb3757592120f4a944a603546afe5b20 (origin/v2.x_crash_fix_debug) +Author: Rahim Kanji +Date: Wed Jan 11 15:38:37 2023 +0500 + + Crash fix + + Fixed crash condition. + +commit a2be18881a62257158e49384c91d4f7c3cbf11a8 +Merge: b70a1664 99500270 +Author: René Cannaò +Date: Wed Jan 11 10:48:30 2023 +0100 + + Merge pull request #4062 from sysown/v2.x-fast_forward_ssl2 + + Support for fast_forward and SSL #1459 + +commit b70a16647ac110b8105a65ac0f843a07fcecaced +Merge: e027c9b3 495ca17c +Author: René Cannaò +Date: Tue Jan 10 23:11:46 2023 +0100 + + Merge pull request #4073 from sysown/v2.x_issue_4072 + + ProxySQL crashes if client is not able to keep up with records returned and query has a warning condition + +commit 25f75197a72bb392aa603e9faf8eff5c18fc7303 +Author: Miro Stauder +Date: Tue Jan 10 18:08:10 2023 +0000 + + update sqlite3 from 3.19.2 to 3.40.1 + +commit e027c9b3e60bed0330a8e7cb27a77a83c29fa1cb +Merge: e4316955 97d9e5b5 +Author: René Cannaò +Date: Tue Jan 10 16:07:43 2023 +0100 + + Merge pull request #4060 from sysown/v2.x-add_pymysql_test_mariadb_ff + + Add PyMySQL test for malformed packet when using MariaDB with fast_forward + +commit e4316955ee00bc9f274f124dd66ba4918e8741da +Merge: 709149f2 910b225f +Author: René Cannaò +Date: Tue Jan 10 12:14:49 2023 +0100 + + Merge pull request #4056 from sysown/v2.x-4055 + + Fix crash on malformed HTTP request to the REST API - Closes #4055 + +commit 709149f243d7df9fbfa58d1076a66e9178d8fdd6 +Merge: 51f44943 0e7afa33 +Author: René Cannaò +Date: Tue Jan 10 12:14:31 2023 +0100 + + Merge pull request #4052 from sysown/v2.x-fix_autocommit_handshake_resp + + Fix autocommit invalidly reported in several cases + +commit 51f449439dd4da099f19a930e72f4d3e36729dca +Merge: bbccd43b d8019705 +Author: René Cannaò +Date: Tue Jan 10 12:13:02 2023 +0100 + + Merge pull request #4059 from sysown/v2.x-fix_empty_query_buf_overflow + + Fix invalid memory accesses when handling empty queries + +commit bbccd43bb83ceaffec3fbe4e07b36f54cf84376b +Merge: da9df6d4 5224e481 +Author: René Cannaò +Date: Tue Jan 10 12:11:07 2023 +0100 + + Merge pull request #4058 from sysown/v2.x-fedora37 + + V2.x fedora37 + +commit d8df2bf4562fa302e513de1c9fe5c021635c399e +Author: Miro Stauder +Date: Tue Jan 10 09:07:00 2023 +0000 + + update libev to 4.33 + +commit ed87d84cca5c550e1b452259dd71c9dcc2ffb97b +Author: Miro Stauder +Date: Tue Jan 10 09:00:40 2023 +0000 + + update libconfig to 1.7.3 + +commit 8fcd30cfb5037c954d84ab82cc7efe0c2b7dc21e +Author: Miro Stauder +Date: Tue Jan 10 08:32:41 2023 +0000 + + fix liblz4.a target + +commit 495ca17c484e43a75ff69ac5ec81036e83f0c67e +Author: Rahim Kanji +Date: Mon Jan 9 19:42:37 2023 +0500 + + * Increasing rows via join instead of adding million of rows. + * Added error check. + +commit d84f98a18c4f477639f0e33a270d8f8f00ac2d02 +Author: Miro Stauder +Date: Mon Jan 9 13:08:17 2023 +0000 + + update libhttpserver to 0.18.2 and libmicrohttpd to 0.9.75 + +commit c0ef09d456718639a19f0638442e56e548a85860 +Author: Rahim Kanji +Date: Mon Jan 9 17:06:26 2023 +0500 + + Added IF EXISTS option while dropping testdb + +commit e60c65fdf4a64025a5c81069fc5646b7ffdb64b4 +Author: Rahim Kanji +Date: Mon Jan 9 16:16:48 2023 +0500 + + * Removed hard coded env variables + * Fixed comments + +commit ba6e4146a52ba2ba699c216916475f1fe45e6449 +Author: Rahim Kanji +Date: Mon Jan 9 16:08:43 2023 +0500 + + Added TAP test + +commit 4e44551dd245ae6b3b2131791217f681bb99148c +Author: Rahim Kanji +Date: Mon Jan 9 12:15:48 2023 +0500 + + ProxySQL crashes if client is not able to keep up with records returned and query has a warning condition + + Show Warning check is added to avoid infinite loop + +commit 5df288e9af950f5fae7365e038827f88fb3d867e +Author: Miro Stauder +Date: Fri Jan 6 20:21:44 2023 +0000 + + update prometheus-cpp to 1.1.0 + +commit 9fe78d9ba028076d77629b767b406ed9eeddc68b +Author: Miro Stauder +Date: Fri Jan 6 18:30:54 2023 +0000 + + fix cityhash on arm64 + +commit 96e3171a244e53fba10c0a722335c113346543ca +Author: Miro Stauder +Date: Wed Jan 4 15:46:07 2023 +0000 + + update/cleanup .gitignore + +commit 8c6649e6595fc2602623337413dde60ed06301f5 +Author: Miro Stauder +Date: Wed Jan 4 15:28:06 2023 +0000 + + makefile cleanup + +commit 406f522475d4267e3907c4170dccc9f68365a9b0 +Author: Miro Stauder +Date: Wed Jan 4 15:20:31 2023 +0000 + + update json to 3.11.2 + +commit c02171898edf2c9ef65d5472331a92833f5ef3c6 +Author: Miro Stauder +Date: Wed Jan 4 15:17:56 2023 +0000 + + update re to 2022-12-01 + +commit aa9bc5843187a77bc5b660ad23f548a60cf69ccc +Author: Miro Stauder +Date: Wed Jan 4 15:11:16 2023 +0000 + + update pcre to 8.45 + +commit 8897f3d35a2fa30e3c54d2fb4f1b442b34208ba9 +Author: Miro Stauder +Date: Wed Jan 4 14:59:43 2023 +0000 + + update lz4 to 1.9.4 + +commit 221b854ad944f26774cb98e675b8ec44f937e754 +Author: Miro Stauder +Date: Wed Jan 4 12:15:05 2023 +0000 + + update curl to 7.87.0 + +commit 8d680346e55664e4b0f3927b4360d001f7ab57a3 +Author: Miro Stauder +Date: Wed Jan 4 12:10:50 2023 +0000 + + update clickhouse-cpp to 2.3.0 + +commit 8096df39f961e592385cef4ae79f191fbecaf2a5 +Author: Miro Stauder +Date: Wed Jan 4 12:07:41 2023 +0000 + + update cityhash to 1.1.1-5 + +commit 23a1eafd3579e0b5f1508bbbcdeb6fcf786e9113 +Author: Miro Stauder +Date: Fri Dec 16 11:01:43 2022 +0000 + + fix libinjection with clang 15 + +commit 423deec5b8709c31817999bf9d8802eb46f8844c +Author: Miro Stauder +Date: Fri Dec 16 11:00:38 2022 +0000 + + add builds for fedora37 + +commit 11be1f1aa3659b48ede7b8ce45abfe5ba433f5d5 +Author: Rahim Kanji +Date: Wed Jan 4 16:13:27 2023 +0500 + + * Bulk processing of ready tasks based on provided percentage + +commit 821a6f487e58ccec944813ef901e7b59c92487c3 +Author: Rahim Kanji +Date: Fri Dec 30 18:13:13 2022 +0500 + + * Moved task_handler code from .hpp to .cpp + * Break loop if shutdown flag is true. + * Removed duplicate success flag and exit label. + * Few typo fixed. + +commit 6da927145cb38eca9cc230189630460d2e3e3ebb +Author: Rahim Kanji +Date: Thu Dec 29 11:44:56 2022 +0500 + + Few optimizations and fixes + +commit ebc7ebf5019e6730588f26b963b4351e53cb8b9e +Author: Rahim Kanji +Date: Fri Dec 23 20:40:37 2022 +0500 + + * Added total poll timeout in case poll is waiting on stale connection. + * Initialized few uninitialized variable. + +commit 7fa44cedc177ae3fc038e2f15ed830c6c3573b6b +Author: Rahim Kanji +Date: Thu Dec 22 22:28:38 2022 +0500 + + Avoid null pointer mysql connection access in Debug + +commit 147d23a8150dbde3ca273093364bf8da19c86547 +Author: Rahim Kanji +Date: Thu Dec 22 19:48:28 2022 +0500 + + Refactoring ProxySQL Monitor Module + + Added separate init code for async task handling. + Code cleanup + +commit 9950027010c24255798e19f15d2b8ad6617f5b01 +Author: René Cannaò +Date: Thu Dec 22 02:21:40 2022 +0000 + + Renamed two TAP tests + +commit 16f952abb866c452a2249fbee24b515c139fb8ff +Author: René Cannaò +Date: Thu Dec 22 02:13:33 2022 +0000 + + Fixed a harmless "Source and destination overlap in memcpy" + + Fixed a harmess overlap in memcpy() in queue_zero() when the queue + itself is empty. If the queue is empty memcpy can be skipped. + +commit 1a47d98b413ac75b7c1f0a805dc9eb4df83d9ce0 +Author: Rahim Kanji +Date: Wed Dec 21 17:52:09 2022 +0500 + + Refactoring ProxySQL Monitor Module + + Asynchronous handling of Ping, Group replication, Replication Lag, Read Only and Galera if MySQL connection is available, else tasks will be delegated to Consumer Thread. + +commit 24ddbb8b4a28cf55bccdb61c423ba52290d1c1a6 +Author: René Cannaò +Date: Wed Dec 21 08:49:21 2022 +0000 + + More testing on SSL and fast_forward + +commit 7e80539c3edaf352233e7e9bb700f1d524ebf648 +Author: René Cannaò +Date: Wed Dec 21 05:50:26 2022 +0000 + + More bugfixes and testing on SSL and fast_forward + + In a previous commit we fixed the fact that if more than 16KB of data was + sent to Admin, SQLite3 Server or Clickhouse Server, no further data was + detected thus blocking. + It seems that in some circumstances data can be returned in chunks of 4KB, + thus we removed the 16KB logic replacing it with multiples of 4KB. + +commit d836b0b0328eb6f1a9f0f0a197e28c4499f2ba3d +Author: René Cannaò +Date: Wed Dec 21 04:07:04 2022 +0000 + + More bugfixes and testing on SSL and fast_forward + + This commit is related to the previous one: + 4c21a6d8c784898966da76d1e290d54d75da4e1b + + OpenSSL handles data in blocks of 16KB. + If more than 16KB of data was sent to Admin, SQLite3 Server or Clickhouse Server, + no further data was detected, thus blocking. + + Added test_ssl_fast_forward-2-t.cpp for further testing. + + Also added marker PMC-10004 + +commit 97d9e5b52a4a6317352403f401edf08a112f0362 +Author: Javier Sánchez Parra +Date: Mon Dec 19 12:58:05 2022 +0100 + + Add PyMySQL test for malformed packet when using MariaDB with fast_forward + + Related to issues #3992 and #4047, and to pull request #3996 + +commit d8019705c781d618898961518e0060dcbe02c37e +Author: Javier Jaramago Fernández +Date: Mon Dec 19 13:27:36 2022 +0100 + + Add new TAP test checking empty queries handling + +commit 06d4fe57758ff73f22d6f8e7cfcea88a6e97f642 +Author: Javier Jaramago Fernández +Date: Mon Dec 19 13:24:22 2022 +0100 + + Fix invalid memory forwarding to 'MyDS_real_query' for empty queries + +commit c64d5a125ac1a3e8241d88ce0ead37042693b9f9 +Author: Javier Jaramago Fernández +Date: Mon Dec 19 13:23:27 2022 +0100 + + Fix invalid memory access in 'handler_CommitRollback' for empty queries + +commit 43d65cae60552c4d4d1827eb5519e3ed02cef52e +Author: René Cannaò +Date: Mon Dec 19 06:51:27 2022 +0000 + + SSL and fast_forward : handling of SSL_ERROR_SYSCALL + +commit 5224e4819a3eb5e92685380f61d9c32771bc2170 +Author: Miro Stauder +Date: Fri Dec 16 11:01:43 2022 +0000 + + fix libinjection with clang 15 + +commit bdcb6507e6949c45b64d1df7a86f9af3946cd46f +Author: Miro Stauder +Date: Fri Dec 16 11:00:38 2022 +0000 + + add builds for fedora37 + +commit 4c21a6d8c784898966da76d1e290d54d75da4e1b +Author: René Cannaò +Date: Fri Dec 16 07:14:54 2022 +0000 + + Add support for SSL and fast_forward with more than 16KB of data + + OpenSSL handles data in blocks of 16KB. + If more than 16KB of data was sent fast_forward was not detecting further data + and therefore blocking. + This commit fixes this bug. + +commit 910b225f005f11dd50a980aa59d6f1a3d9d4acef +Author: Javier Jaramago Fernández +Date: Thu Dec 15 14:00:32 2022 +0100 + + Add regression test for malformed request on RESTAPI #4055 + +commit ae8ec8da3ad86a563ba9cfd4dc1b5b7c344c9f24 +Author: Javier Jaramago Fernández +Date: Thu Dec 15 13:55:28 2022 +0100 + + Fix crash on RESTAPI when malformed request is received #4055 + + This commits packs two fixes: + + - Patch to 'libhttpserver' to properly handle empty URI. + - Improve compiler version detection for applying required + 'libhttpserver' patches. + +commit d981dea1ec3c4e751b7c998c963c1cb49642225a +Author: René Cannaò +Date: Thu Dec 15 16:11:06 2022 +0000 + + Adding mysql_ssl_set to test_ssl_fast_forward-t + +commit cc85a938b92eb4f3ee5ec8f6d43fd1b0592ae766 +Author: René Cannaò +Date: Thu Dec 15 16:08:15 2022 +0000 + + Added test for large queries and SSL + +commit 0e7afa3391e64353890a513eae612f01ef9fd45a +Author: Javier Sánchez Parra +Date: Wed Dec 14 12:37:17 2022 +0100 + + Add test to check autocommit is set during reset_connection and change_user + + Adds a test to check that ProxySQL OK responses to reset_connection and + change_user petitions have autocommit flag set. + +commit da9df6d48cd11d67f3433ed4fb96ad761cf87ca8 (tag: 2.4.6) +Author: Miro Stauder +Date: Thu Dec 15 11:02:04 2022 +0000 + + bump version to 2.4.6 at the begining of the development cycle + +commit 13d63486deb90d6e2ee8a3687395f32c88b90907 +Author: René Cannaò +Date: Thu Dec 15 08:16:37 2022 +0000 + + Further testing about SSL and fast_forward + +commit 1d860fd7a54a7b29020b9aa42ce9d8bf6a72541e +Author: René Cannaò +Date: Thu Dec 15 03:30:33 2022 +0000 + + Further testing about SSL and fast_forward + +commit c993eda2e424fecd76cc263395381a443b08b93b +Author: René Cannaò +Date: Wed Dec 14 17:26:32 2022 +0000 + + SSL and fast_forward : removed double frees + +commit 85941b47074cbc71e2bf50a59937ee9bc82274f8 +Author: René Cannaò +Date: Wed Dec 14 16:25:03 2022 +0000 + + SSL and fast_forward + + Fixed crash when backend doesn't support SSL + + Added initial TAP test. + Initial TAP test cause valgrind to report errors, + thus the feature it is not completed yet. + +commit c723eb91701e29a7d57cd1b3b639b62281e0e0da +Author: René Cannaò +Date: Wed Dec 14 15:15:26 2022 +0000 + + fast_forward can be enabled only on MySQL Session + +commit cdc842356931bdec8383c2f2107040a2eb9cb198 +Author: René Cannaò +Date: Wed Dec 14 14:40:06 2022 +0000 + + Adding some details on SSL and fast_forward implementation + +commit 9dde792c467d6acc1368faed2a25c257d62cd898 +Merge: e5907701 5759153d +Author: René Cannaò +Date: Wed Dec 14 12:30:42 2022 +0000 + + Merge branch 'v2.x-fast_forward_ssl' into v2.x-fast_forward_ssl2 + +commit e5907701df62b331e78ac5f96372bbfa4c60be43 (tag: v2.4.5) +Merge: 6907c034 06f160cc +Author: René Cannaò +Date: Wed Dec 14 19:20:55 2022 +0700 + + Merge pull request #4054 from sysown/v2.x_old_distro_compilation_fix + + Compilation fix for old GCC version + +commit dfb3ef2cefc9b2fa5cbcd94804578c6e8b3b6f74 +Author: Javier Sánchez Parra +Date: Wed Dec 14 12:34:01 2022 +0100 + + Fix test_server_sess_status-t to expect autocommit to be set + + Commit c319438484d918cc90d3cd3eb8dd3d4d0eecd5a1 fixed the bug that + caused autocommit to be shown as disabled when it is truly enabled. + +commit 697a9b600f98e684f27c28d73f232aade59fa268 +Author: Javier Sánchez Parra +Date: Tue Dec 13 17:05:45 2022 +0100 + + Fix autocommit invalidly reported in several cases + + Otherwise, autocommit status flag is always zero, instead of displaying + its true value. + + OK responses were reporting an invalid autocommit during handshake, + reset_connection and change_user petitions. + +commit 06f160cce169892121cd6e98e95ca2430b7709c5 +Author: Rahim Kanji +Date: Wed Dec 14 17:01:00 2022 +0500 + + Compilation fix for old GCC version + +commit 6907c034b1a25cce0e2f95b86b53a058be4883cf +Merge: 48d07022 6f163f89 +Author: René Cannaò +Date: Wed Dec 14 15:15:21 2022 +0700 + + Merge pull request #4053 from sysown/v2.x-fix_several_warnings + + Fix several simple compiler warnings + +commit 6f163f8935a021d2e120748ed520c3d49874315e +Author: Javier Jaramago Fernández +Date: Tue Dec 13 19:52:53 2022 +0100 + + Fix potentially uninitialized variable + +commit 1abb4d7605303f34a6b87c07d9e86d8e38a0c5de +Author: Javier Jaramago Fernández +Date: Tue Dec 13 19:52:03 2022 +0100 + + Comment out several currently unused variables + +commit 2ecbad32448e06ec61910b5fafb18b322407e4d1 +Author: Javier Jaramago Fernández +Date: Tue Dec 13 19:44:19 2022 +0100 + + Fix warning due to catching of polymorphic type by value + +commit 2f2e385185b132a4f24679f145ffe2aef58f7733 +Author: Javier Jaramago Fernández +Date: Tue Dec 13 19:42:07 2022 +0100 + + Fix delete call on pointer to incomplete type 'ProxySQL_Node_Address' + + Deleting a pointer to an incomplete type may cause undefined behavior + +commit 48d070229b752f8f9c5aa9ac3903b977e6032f50 +Merge: 45fd922d 4e556c6c +Author: Javier Jaramago Fernández +Date: Tue Dec 13 19:04:10 2022 +0100 + + Merge pull request #4051 from sysown/v2.x-parse_failure_logs_digest_fixes + + Fix some logging cases for `mysql-parse_failure_logs_digest` + +commit 45fd922da11af44eff9c919288e047679badfd0e +Merge: b28296bf 4e1ba8da +Author: Javier Jaramago Fernández +Date: Tue Dec 13 17:28:59 2022 +0100 + + Merge pull request #4050 from sysown/v2.x-4023 + + Fix `java.lang.ArrayIndexOutOfBoundsException` when connecting with MySQL JDBC driver - Closes #4023 + +commit b28296bfb9f41a63b129973ac83d55bee72af24d +Merge: e0978ac4 cdaa8b17 +Author: Javier Jaramago Fernández +Date: Tue Dec 13 17:28:31 2022 +0100 + + Merge pull request #4049 from sysown/v2.x-3935 + + Honor `mysql-verbose_query_error` for mysql query warnings - Closes #3935 + +commit 4e556c6c4f6e33b8e7e7ce8127d6efecbeff4a41 +Author: Javier Jaramago Fernández +Date: Tue Dec 13 15:38:21 2022 +0100 + + Fix some logging cases for 'parse_failure_logs_digest' #4000 + +commit 4e1ba8da319eac6502b9517d04a9728a3df40476 +Author: Javier Jaramago Fernández +Date: Tue Dec 13 14:34:44 2022 +0100 + + Remove 'SERVER_SESSION_STATE_CHANGED' only when not GTID related #4023 + +commit 6bffdc19f30fb637caf1d9b2d266762d01fc83e8 +Author: Javier Sánchez Parra +Date: Mon Dec 12 18:27:19 2022 +0100 + + Fix server status comparison in 'test_server_sess_status-t' + +commit fc5ebf297cdd30b2c62e3bb2a7cf122b9bfedb00 +Author: Javier Jaramago Fernández +Date: Mon Dec 12 17:00:14 2022 +0100 + + Improve 'test_server_sess_status-t' logic + + - Test now uses the explicit expected flags for 'server_status' checks. + - TODO have been left for when 'AUTOCOMMIT' issue for handshake response + is fixed. + +commit 9c637db016c152cbcbd55d017f4cfda6122e56e3 +Merge: dde86179 e0978ac4 +Author: Javier Jaramago Fernández +Date: Mon Dec 12 16:20:27 2022 +0100 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-4023 + +commit cdaa8b1764083005fe527e070f4dc10374e072c5 +Author: Javier Jaramago Fernández +Date: Mon Dec 12 15:49:06 2022 +0100 + + Honor 'mysql-verbose_query_error' format for warnings #3935 + +commit 9e01d4509bf7552451f3ed104118918d3d2afb45 +Author: Javier Sánchez Parra +Date: Mon Dec 12 12:15:23 2022 +0100 + + Honor mysql-verbose_query_error for MySQL query warnings + + Also, refactor default warnings to include more information. + +commit 300532d6e282b406cb6c71baac31389d8674e0d6 +Author: Javier Jaramago Fernández +Date: Mon Dec 12 13:19:42 2022 +0100 + + Fix multiple warnings in logging function calls + +commit be127f53e4c5894f1efd8f478acc22b94944e86d +Author: Javier Jaramago Fernández +Date: Mon Dec 12 13:09:44 2022 +0100 + + Add compiler format check pragma to 'proxy_error_func' and 'proxy_debug_func' + +commit e0978ac43b7ed42fd60c691e50df99e7aa9bbd7e +Merge: 6bbed968 097a5177 +Author: René Cannaò +Date: Mon Dec 12 18:51:25 2022 +0700 + + Merge pull request #4048 from sysown/v2.x_compilation_fix + + Compilation fix + +commit 097a51779247fbbe9205c3ce236bc54f30636e0a +Author: Rahim Kanji +Date: Mon Dec 12 16:45:50 2022 +0500 + + Compilation fix + +commit 6bbed9683e9ba37985481ba828239fb3362c565a +Merge: ec93211d 64670f46 +Author: René Cannaò +Date: Mon Dec 12 11:22:29 2022 +0700 + + Merge pull request #4045 from sysown/v2.x-4000 + + Add new variable 'mysql-parse_failure_logs_digest' + +commit ec93211d0273905ec0a8773676f622429dae3584 +Merge: 4ff11f49 6ef97fb1 +Author: René Cannaò +Date: Mon Dec 12 11:22:05 2022 +0700 + + Merge pull request #4024 from sysown/v2.x_LocalDNSCache + + Feature: ProxySQL local DNS Cache + +commit 6ef97fb1023a818bdd575be9f24141e09a13f581 +Author: René Cannaò +Date: Mon Dec 12 04:16:10 2022 +0000 + + Replaced an error with a warning + + In ProxySQL_Node_Entry::ProxySQL_Node_Entry() replaced a proxy_error with a proxy_warning, and more verbose message + +commit 4ff11f49e4cd6930676ea58acdc087b4c8396256 +Merge: 8fff0f39 be9088b2 +Author: René Cannaò +Date: Mon Dec 12 10:49:53 2022 +0700 + + Merge pull request #4046 from sysown/v2.x-4001 + + Fix crash on RESTAPI script invocation - Closes #4001 + +commit 8fff0f39c8ac405b2467665a1fc5019972eac2a4 +Merge: 7ef9c463 8a8c45da +Author: René Cannaò +Date: Mon Dec 12 10:48:01 2022 +0700 + + Merge pull request #4041 from sysown/v2.x-deprecate_eof_fixes_and_tests + + V2.x deprecate eof fixes and tests + +commit 64670f46cc2cd3bc848bfa2a9ba887fd61fa7150 +Author: René Cannaò +Date: Mon Dec 12 03:42:50 2022 +0000 + + Minor optimization in unable_to_parse_set_statement() + +commit 7ef9c463b3d0a4cd366c15a33a1fdc96390b3ef9 +Merge: 4768a954 29677cb9 +Author: René Cannaò +Date: Mon Dec 12 10:17:32 2022 +0700 + + Merge pull request #4040 from sysown/v2.x_PurgeDisabledMonitorConnectionPool + + Purge all backend connections when monitor is disabled + +commit be9088b25fb6cd02498626044afcfec241a53a1e +Author: Javier Jaramago Fernández +Date: Fri Dec 9 13:47:26 2022 +0100 + + Increase sleeps for TAP tests reconfiguring ProxySQL interfaces + + Sleeps have been increased for tests 'test_clickhouse_server-t' and + 'test_sqlite3_server-t' in order to prevent potentials 'EADDRINUSE', + that could lead to client stalls when connecting to the interfaces. + +commit 0e39503f6eb56ef691454aae1d4bb9baea70b24a +Author: Javier Jaramago Fernández +Date: Thu Dec 8 20:15:54 2022 +0100 + + Fix unnecessary recompilation of several TAP tests #4001 + +commit aa28c1c804534fade4e55f56bc70f98ab172eaba +Author: Javier Jaramago Fernández +Date: Thu Dec 8 20:11:55 2022 +0100 + + Improvements and fixes for RESTAPI TAP tests #4001 + + - Fix several utility functions and add new ones. + - Improve current tests targeting RESTAPI. + - Add new regression test for issue #4001. + - Add several scripts used for RESTAPI tests rework. + - Fix compilation of several tests after 'wexcevp' interface change. + +commit c83517c4061feb48a934ce4290368a0c2cb78381 +Author: Javier Jaramago Fernández +Date: Thu Dec 8 19:00:46 2022 +0100 + + Several improvements to RESTAPI interface #4001 + + This commit pack a couple of fixes and improvements for the RESTAPI: + - Homogenization of GET/POST endpoint responses by ProxySQL. All + responses should now be guaranteed to be valid JSON. + - Fix JSON construction from parameters supplied to GET endpoint. + - Add two new fields 'script_stdout' and 'script_stderr' to the + JSON response when the target script fails to be executed. This is, + when it exists with an error code other than zero. This makes the + response homogeneous to when the scripts fails to produce a valid + JSON output, and add extra information for debugging on client side. + - Add a new debugging module 'PROXY_DEBUG_RESTAPI', to help tracing in + debugging builds the requests to the endpoints. + +commit bcfc2329c54ce9e72474872b4119a56c9ea08fdc +Author: Javier Jaramago Fernández +Date: Thu Dec 8 18:43:06 2022 +0100 + + Rework 'wexecvp' replacing legacy 'select' in favor of 'poll' #4001 + + This commit addresses several issues with 'wexecvp': + - Fix invalid double call to 'close' in case fd was higher than + 'FD_SETSIZE'. This could lead to the invalidation of an unrelated + fd resulting in asserts, as in issue #4001 and other instabilities. + - Fix previous limitations of the legacy 'select 'impl that rendered + the RESTAPI unusable when ProxySQL had more then 'FD_SETSIZE' fds + opened. + - Other minor improvements in function logic and interface. + +commit 8a8c45dada88e2af7fe0dcd3202d0dc8109219e5 +Author: Javier Jaramago Fernández +Date: Thu Dec 8 20:46:26 2022 +0100 + + Fix potential race condition on test 'eof_fast_forward-t' + +commit 4768a95445c02cb25cd71227806b2eff9406ef53 +Merge: 28f1367e e8c1bf66 +Author: René Cannaò +Date: Fri Dec 9 01:29:41 2022 +0700 + + Merge pull request #4044 from sysown/v2.x-4042 + + Do not print version numbers longer than 32 chars + +commit 9e218b27162c07b0147cb6d6895d54918150cc43 +Author: Rahim Kanji +Date: Thu Dec 8 17:54:32 2022 +0500 + + Code cleanup + +commit 29677cb983a5c0cdf6a04196c43afc21f19c810b +Author: Rahim Kanji +Date: Thu Dec 8 17:09:56 2022 +0500 + + Check and remove connection from monitor connection pool if not used for long time. + +commit c552fdb11145ad676a9f363b01fb24acd446e341 +Author: Rahim Kanji +Date: Thu Dec 8 14:37:55 2022 +0500 + + * Added DNS cache monitoring for ProxySQL servers. + * Added forced triggering of DNS Cache Update on MySQL Servers and ProxySQL Servers table update. + * Direct DNS cache update via socket (connected peer ip) if record is not available in cache. + * Used strdup instead of realloc. + * DNS lookup only once for ProxySQL Cluster Nodes. + +commit 23cab574ac7037e71093528b29e6da1d45fd8bc8 +Author: Javier Sánchez Parra +Date: Tue Dec 6 11:46:25 2022 +0100 + + Add new variable 'mysql-parse_failure_logs_digest' + + If the variable is 'true', ProxySQL prints the digest instead of the + query when it has a parse failure. + +commit e8c1bf6690ff834b2ce028ae65e4d5f9635f8e0c +Author: René Cannaò +Date: Wed Dec 7 11:40:22 2022 +0000 + + Do not print version numbers longer than 32 chars + + If the returned version number during version check is longer than 32 bytes + it means that probably the request failed. + In this case we suppress and ignore it. + +commit 081ef669c9b01425c00998952d84295c0c6d08f9 +Author: Javier Sánchez Parra +Date: Mon Dec 5 17:32:23 2022 +0100 + + Compile fwd_eof_query.cpp with libmysqlclient to test sequence id sanity + + libmariadbclient do not cares about sequence id sanity, so it can not be + used to test it. + +commit 740245d669a9591c5bde7254da046931ecb5678a +Author: Javier Sánchez Parra +Date: Mon Dec 5 17:31:16 2022 +0100 + + Remove unused utils.h include from fwd_eof_query.cpp + +commit e73f3417f4d91583e01a58224ee11f6eafb7ab21 +Author: Javier Sánchez Parra +Date: Mon Dec 5 11:41:20 2022 +0100 + + Add tests for warnings and status flags for deprecate_eof_cache-t + + Tests if warnings and status flags from OK packets converted to EOF + packets, and the other way around, are the same. + +commit 70eef57fdd3149d22e87243568531ee08c58d2ec +Author: Javier Sánchez Parra +Date: Thu Dec 1 17:35:05 2022 +0100 + + Refactor deprecate_eof_cache-t to compare against inserted values + + Use the vector which contains inserted data to validate received data + from ProxySQL. + +commit b5b3dfb4baf0ffd0b106ffb24ec3bcb38623c723 +Author: Javier Sánchez Parra +Date: Thu Dec 1 16:04:51 2022 +0100 + + Fix offset in deprecate_eof_cache_t iterating through inserted values + +commit e4b349cf8e0fcb1d1d65d169d98e9a76cea1f0a4 +Author: Javier Sánchez Parra +Date: Wed Dec 7 10:26:10 2022 +0100 + + Fix unaligned memory access in OK to EOF package conversion + + Fix unaligned memory access in ok_to_eof_packet() when copying warnings + and status flags from OK to EOF packages. + +commit ef3478c5c2ebb002a786f59c2b590804cb5ebf22 +Author: Javier Sánchez Parra +Date: Wed Nov 30 10:24:59 2022 +0100 + + Fix warnings and status position in EOF to OK package conversion + + If a client connects to ProxySQL not using CLIENT_DEPRECATE_EOF and it + caches a resultset, when a client using CLIENT_DEPRECATE_EOF executes + the same query it will get a resultset with wrong warnings and status + flags. + + This is because warnings and status flags position must be swapped when + converting an EOF packet to an OK packet. + + More info about warnings and status flags position in EOF and OK + packets: + https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_basic_eof_packet.html + https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_basic_ok_packet.html + +commit 6a3a824a18bc782788777c3a26a0d9d3f9dca33e +Author: Javier Sánchez Parra +Date: Mon Oct 10 21:02:27 2022 +0200 + + Fix sequence id in EOF to OK packet conversion #3698 + + Fix invalid resultset when using query cache and mixing clients using + and not using CLIENT_DEPRECATE_EOF. + + If a client connects to ProxySQL not using CLIENT_DEPRECATE_EOF and it + caches a resultset, when a client using CLIENT_DEPRECATE_EOF executes + the same query it will get an invalid resultset and the client will + disconnect. The data in the resultset is correct, but proxysql skips a + sequence id thus the client assumes it is corrupted. + +commit 28f1367e33af7a80642642707680ce62b9f36710 +Merge: 6373e96c 1d20198a +Author: René Cannaò +Date: Wed Dec 7 12:55:46 2022 +0700 + + Merge pull request #4039 from sysown/v2.x-fix_deprecate_eof_status + + Fix status flag read from ok packet using 'CLIENT_DEPRECATE_EOF' + +commit 6373e96c1c7eca99a528fad46f0067f432d0ceda +Merge: 3a0429c2 409a1c09 +Author: Javier Jaramago Fernández +Date: Tue Dec 6 11:44:42 2022 +0100 + + Merge pull request #4032 from sysown/v2.x-multiple_tap_tests_migration + + Migrate multiple TAP tests requiring deps into main repo + +commit ee0059a65c5c53a35390c1807c250703cf84464d +Author: Rahim Kanji +Date: Tue Dec 6 12:02:28 2022 +0500 + + Purge all backend connections when monitor is disabled + +commit 3a0429c2f48d9dfd2bdce7e6b922a4c277159a1a +Merge: 94fc255b e44b2812 +Author: René Cannaò +Date: Tue Dec 6 13:41:03 2022 +0700 + + Merge pull request #3972 from sysown/v2.x-plan_test_max_connections_ff + + Add missing mandatory call to `plan` from `tap` suite for `max_connetions_ff-t` + +commit 94fc255bd5c6f6e16dfa84cf7a28d78d1e4c347c +Merge: 7dbfea7f 77c9ae75 +Author: René Cannaò +Date: Tue Dec 6 13:36:23 2022 +0700 + + Merge pull request #3995 from sysown/v2.x-fix_compression_split_packets + + Fix handling of big split compressed packets + +commit 77c9ae758dab46a4c9248861b9daa79154a0e3b2 +Merge: c165ecdc 7dbfea7f +Author: René Cannaò +Date: Tue Dec 6 13:36:15 2022 +0700 + + Merge branch 'v2.x' into v2.x-fix_compression_split_packets + +commit 357ce44bed249a8f5058c52b385476e5a0efea2c +Author: Rahim Kanji +Date: Mon Dec 5 19:10:11 2022 +0500 + + Purge all backend connections when monitor is disabled + +commit 1d20198ac78c41d8f56b0be5e8e117c078a277b8 +Author: Javier Sánchez Parra +Date: Mon Dec 5 12:14:48 2022 +0100 + + Fix status flag read from ok packet using 'CLIENT_DEPRECATE_EOF' + + Fix wrong offset when reading status flag from ok packet when converting + from ok to eof. + +commit 7dbfea7f055195033fa221399ba3b7a625389d38 +Merge: a5dfb669 a661d333 +Author: René Cannaò +Date: Sat Dec 3 04:58:04 2022 +0100 + + Merge pull request #4016 from sysown/v2.x-fix_ldap_mapping_startup + + Fixes and improvements found during LDAP testing + +commit a5dfb66936e5ee3e2539d08725758c51f71768b9 +Merge: 48dbf130 97e07288 +Author: René Cannaò +Date: Sat Dec 3 04:56:51 2022 +0100 + + Merge pull request #4008 from rahim-kanji/v2.x-3991 + + Added @@local and optimizer_use_condition_selectivity support + +commit 48dbf130a5e14aa0018fabec96260b9b7e060bc4 +Merge: 86330fb1 85dbd179 +Author: René Cannaò +Date: Sat Dec 3 04:49:03 2022 +0100 + + Merge pull request #4031 from sysown/fix-cluster-simulator + + add cityhash to linking deps + +commit f9c5f8af9222fa9303b63fd9f93b13f0f17c94ef +Author: Rahim Kanji +Date: Fri Dec 2 19:21:24 2022 +0500 + + Added Debug logs + Few optimizations + +commit 4885e1680d104e891daab64572cf72de0e52dfa7 +Merge: 5212c199 86330fb1 +Author: Rahim Kanji +Date: Thu Dec 1 11:21:20 2022 +0500 + + Merge remote-tracking branch 'Master/v2.x' into v2.x_LocalDNSCache + +commit 409a1c098ecf9092594c750d291f5e4175428772 +Author: Javier Jaramago Fernández +Date: Wed Nov 30 18:10:41 2022 +0100 + + Improve deps checks on Makefile for 'deprecate_eof_support' tests + +commit 5212c199f32e3ea35e4be65b117b159b494bc213 +Author: Rahim Kanji +Date: Wed Nov 30 21:20:36 2022 +0500 + + TAP Test: Adding dummy server with host group id 999 and setting all users default host group to 999 + +commit 6422b94204ff97aaf8973b8dffcb350b60966448 +Author: Javier Jaramago Fernández +Date: Wed Nov 30 16:12:31 2022 +0100 + + Fix Makefile target dependencies and paths for 'deprecate_eof_support' tests + +commit 96d81f3bcdbb765f2b558e4d70f731910b4ded25 +Author: Javier Jaramago Fernández +Date: Wed Nov 30 12:21:14 2022 +0100 + + Fix mixed indentation found on 'deprecate_eof_support' test files + +commit a5be659b7f8b15709b64f86289bab698f53878df +Author: Javier Jaramago Fernández +Date: Wed Nov 30 12:20:27 2022 +0100 + + Fix Makefile for 'deprecate_eof_support' tests + +commit 4613fff9004254bb7d79811d8cb60aee24da8271 +Author: Javier Jaramago Fernández +Date: Tue Nov 29 20:15:54 2022 +0100 + + Make 'test_ps_async-t' test it's logic also with 'CLIENT_DEPRECATE_EOF' + + This avoids porting two previous duplicated tests using older versions + of 'ps_async-t' test with the same purpose. + +commit c71b4d1217da7079f8071b596b7a3126489e0dfc +Author: Javier Jaramago Fernández +Date: Tue Nov 29 20:12:51 2022 +0100 + + Move previously external TAP tests into main repository + + This commits ports TAP tests that requires extra dependencies. + Establishing a pattern for any future tests that also requires extra + dependencies. + +commit 85dbd179545ae9ca3ac1c2dc2c6d0b592d111368 +Author: Miro Stauder +Date: Tue Nov 29 16:17:57 2022 +0000 + + add cityhash to link deps + +commit 86330fb1db18945031fab9a311f19171ab7f23b5 +Merge: fa0bcfdc 52842f60 +Author: René Cannaò +Date: Tue Nov 29 16:40:40 2022 +0100 + + Merge pull request #3974 from sysown/v2.x-macos + + Build on MacOS + +commit 940d55c7010c62b58a93a6d2f59037f0f059dd50 +Author: Javier Jaramago Fernández +Date: Tue Nov 29 15:56:42 2022 +0100 + + Remove multiple unused old test files and moved others for potential refactor + +commit eba8a890a3c9987e6d3aac2ac250f9bc34ca8d2a +Author: Javier Jaramago Fernández +Date: Tue Nov 29 15:25:00 2022 +0100 + + Remove duplicate test file 'test_enforce_autocommit_on_reads-t' + +commit b0be70bc24d1767c12a19867d25e332b62e4baab +Author: Javier Jaramago Fernández +Date: Tue Nov 29 15:22:45 2022 +0100 + + Remove currently unused TAP test suite utilities + + This suite could be adopted as part of the third party testing + +commit 2e7703e2db9c8f6bb5e1419b52713745f5e2f943 +Author: Rahim Kanji +Date: Tue Nov 29 17:50:55 2022 +0500 + + Replaced SELECT 1 with DO 1 to route traffic to hostgroup 0 (writer) + +commit fa0bcfdce918494d0e59b6a542bd169ba74f8cdb +Merge: 8a44ce15 b81d8653 +Author: René Cannaò +Date: Tue Nov 29 13:19:22 2022 +0100 + + Merge pull request #4007 from sysown/v2.x-openssl_3.0.7 + + update to openssl 3.0.7 + +commit 3ba94cd20bb6fcd826f4e841cc9f2d5bc347ff91 +Author: Rahim Kanji +Date: Tue Nov 29 14:17:49 2022 +0500 + + Removed hard coded env variables + +commit dbfb99ce71393719b5dbb1e61d4a7b7d5221ed20 +Author: Rahim Kanji +Date: Tue Nov 29 14:05:17 2022 +0500 + + * Added hostname and ip information in mysql_connection + * Added multiple IP support with load balancing (Round Robin Scheduling) + * Added DNS resolver request max queue size + * Added AI_ADDRCONFIG flag + * Exception handling + +commit 8a44ce155d8f2a23d46631f3eb002abdc52c3826 +Merge: 1c896aea 234828b9 +Author: René Cannaò +Date: Mon Nov 28 13:13:40 2022 +0100 + + Merge pull request #3988 from sysown/v2.x-fix_server_metrics_update + + Fix server counter metrics not being properly updated after hostgroup changes + +commit 1c896aea97e03da5f687abcbff58a35c1f38c152 +Merge: 58356144 ec5aef63 +Author: René Cannaò +Date: Mon Nov 28 13:11:48 2022 +0100 + + Merge pull request #3996 from rahim-kanji/v2.x-3992 + + Fix malformed packet when connected with MariaDB server with fast_forward flag ON + +commit 5835614443979ca40b2f6467ca619de2e4d3b5d9 +Merge: b348641e 32f88ee9 +Author: René Cannaò +Date: Mon Nov 28 13:08:58 2022 +0100 + + Merge pull request #3999 from sysown/v2.x-systemd + + fix newer rpm distros to use systemd + +commit b348641e293ddfe65fd8c415d699461759e63d90 +Merge: ea7c208b bd23629e +Author: René Cannaò +Date: Mon Nov 28 13:07:34 2022 +0100 + + Merge pull request #4006 from rahim-kanji/v2.x-392 + + Handled few cases caused by Percona mysqldump + +commit ea7c208bbb8e64ffda779c57799d68bf0d7f9457 +Merge: 4b105670 fc854fd2 +Author: René Cannaò +Date: Mon Nov 28 13:06:57 2022 +0100 + + Merge pull request #4012 from sysown/v2.x-fix_ff_conn_timeouts + + Several fixes for 'fast_forward' connections + +commit dde861797cff226a7491be7eaf5aaf6d5e6290b3 +Author: Javier Jaramago Fernández +Date: Fri Nov 25 17:18:06 2022 +0100 + + Add test for checking 'server_status' reported by ProxySQL #4023 + +commit dcfbb0de62198af6e6ab83831551fd46180d4077 +Author: Javier Jaramago Fernández +Date: Fri Nov 25 17:15:56 2022 +0100 + + Add test checking capabilities reported by ProxySQL in 'Greeting message' #4023 + +commit a5e8ab045cbe12ade6f2984b113d83ada76530c9 +Author: Javier Jaramago Fernández +Date: Fri Nov 25 17:13:01 2022 +0100 + + Refactor 'memcpy' into actual capability flags used during 'initial_handshake' #4023 + +commit 2bbeba1845bf109e0ec6e0d32e182eea6b3a76a2 +Author: Javier Jaramago Fernández +Date: Fri Nov 25 17:03:20 2022 +0100 + + Fix forwarding of 'SERVER_SESSION_STATE_CHANGED' status to clients #4023 + + Right now server session state isn't tracked for backend connections, + so we don't include this information in the generated OK packet. Because + of this, we should never report of this status change to clients. + +commit a661d333918a390c58df3535b151e3c73476fe7f +Author: Javier Jaramago Fernández +Date: Wed Nov 23 19:09:12 2022 +0100 + + Fix invalid digest value in 'eventslog' for 'COM_STMT_EXECUTE' + + 'COM_STMT_EXECUTE' invalidly reported the 'digest' value from the + previous query when preceded by a 'COM_QUERY'. + +commit e52ed620afea8738561c949ad5e93aeef7e0be06 +Author: Javier Jaramago Fernández +Date: Wed Nov 23 16:56:10 2022 +0100 + + Remove brace initialization to fix compilation for Centos 7 + +commit f193891b6f1a7ae0abc848bd5f79bbd50071c397 +Author: Javier Jaramago Fernández +Date: Wed Nov 23 14:18:10 2022 +0100 + + Add test for 'stats_mysql_users' for regular and LDAP users + +commit 7b4eea0f92055f81cdcc8f728c370fc8779117ce +Author: Javier Jaramago Fernández +Date: Wed Nov 23 14:16:42 2022 +0100 + + Add new test for 'cstr_format' utility functions + +commit d4aea7c9dbcb18092ba87395d7774b06f54c0eda +Author: Javier Jaramago Fernández +Date: Wed Nov 23 14:00:32 2022 +0100 + + Fix support for 'stats_mysql_users' for LDAP plugin + + This commit also introduces the following changes: + + - Fix invalid formatting of 'stats_mysql_users' when username exceeds + '256' characters. + - Improve error handling in utility function 'string_format'. + - Add new utility functions 'cstr_format', as improved versions of + previous 'string_format' function. + +commit 07011da7734d3c6b5d690a12f7532cd43a3aded3 +Author: Javier Jaramago Fernández +Date: Wed Nov 23 13:57:47 2022 +0100 + + Fix heap overflow error during authentication when no password is provided + +commit f2eef47a2bf895b7d48cf8d9bfa79ca7acedc6fb +Author: Javier Jaramago Fernández +Date: Wed Nov 23 13:55:37 2022 +0100 + + Fix several memory leaks during handshake when using 'MySQL_LDAP_Authentication' + +commit fab39850b1027ba2b225fa3f904a397b6579bfe5 +Author: Javier Jaramago Fernández +Date: Wed Nov 23 13:54:07 2022 +0100 + + Fix errors reported by valgrind due to uninitialized memory + +commit a1194ba206c410540f0f1e2ac305e54c27299384 +Merge: a2887df8 4b105670 +Author: Javier Jaramago Fernández +Date: Wed Nov 23 13:52:14 2022 +0100 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-fix_ldap_mapping_startup + +commit eef3ddfcd64887ef2da6aab9b3a17d7a25c265bb +Author: Rahim Kanji +Date: Tue Nov 22 21:56:24 2022 +0500 + + Heap allocated host pointer for async mysql_real_connect_start function + Few fixes + +commit 85fe4e1fdc03fda5c7d511e3167d5c8c8800410f +Author: Rahim Kanji +Date: Tue Nov 22 14:54:23 2022 +0500 + + No need to do lookup if IP was provided + +commit 2c8fbd784b3086d7c6dfc04a1770d480ba744d9e +Merge: 2bbb6305 4b105670 +Author: Rahim Kanji +Date: Tue Nov 22 14:41:00 2022 +0500 + + Merge remote-tracking branch 'Master/v2.x' into v2.x + +commit 2bbb6305b51556318a68bbf216b8b39067dd8914 +Author: Rahim Kanji +Date: Tue Nov 22 14:39:20 2022 +0500 + + Added DNS Cache enable/disable flag handling. + +commit 4b1056704253ad51157cf0b968eea1199488c6b7 +Merge: f0799a43 393133a3 +Author: René Cannaò +Date: Mon Nov 21 11:26:42 2022 +0100 + + Merge pull request #4011 from rahim-kanji/v2.x-4005 + + Fix uninitialized memory read while writing audit log + +commit 3161f0b94b2e2b5fc6179e55b16c487e74321e52 +Author: Rahim Kanji +Date: Mon Nov 21 14:37:51 2022 +0500 + + Optimization: moving DNS_Record object instead of copying + +commit 78059247791fef29013ac66c0f4f70a00a572004 +Author: Rahim Kanji +Date: Mon Nov 21 14:13:48 2022 +0500 + + Feature: ProxySQL local DNS Cache + +commit a2887df805483a89e40fc9f01e690a076b0e28a7 +Author: Javier Jaramago Fernández +Date: Wed Nov 16 13:52:44 2022 +0100 + + Fix invalid reset of new 'eventslog' field 'client_stmt_id' during 'PROCESSING_STMT_PREPARE' + +commit b3da7ee68c3390816e85f580ceaa91205a927cfe +Author: Javier Jaramago Fernández +Date: Tue Nov 15 21:32:53 2022 +0100 + + Fix test 'prepare_statement_err3024' and add new regression tests + + This commit packs fixes for test 'prepare_statement_err3024' and also + adds regression tests for: + - ProxySQL handling of binary resultsets with ERR packets. + - Fix for 'mysql_stmt_store_result' from 'libmariadbclient'. + +commit 68f9c63cea869e46d23c69b762bce62ef3eb7f30 +Author: Javier Jaramago Fernández +Date: Tue Nov 15 20:38:49 2022 +0100 + + Add patch for 'libmariadbclient' fixing 'mysql_stmt_store_result' error handling + + If 'mysql_stmt_store_result' fails with an error, it currently fails to + update the internal state machine for 'stmt', announcing that the fetch + operation has completed. + +commit a5574233a1c36b80a5ab72d7410939b44c35b047 +Author: Javier Jaramago Fernández +Date: Tue Nov 15 20:38:10 2022 +0100 + + Fix invalid removal of EOF packet for binary resultsets holding ERR packet + +commit d35acce24487616d6b1f25e96aa231c93688b608 +Author: Javier Jaramago Fernández +Date: Tue Nov 15 20:35:56 2022 +0100 + + Fix 'eventslog_reader_sample' crash when non-existing file is supplied + +commit 4192041093591ee5cfa22dafd1cf0d133d252060 +Author: Javier Jaramago Fernández +Date: Tue Nov 15 20:34:10 2022 +0100 + + Add support to 'stmt_id' field to 'eventslog_reader_sample' + +commit 41ef582fc5854978025c1fd62ce11120ec24ecb0 +Author: Javier Jaramago Fernández +Date: Tue Nov 15 20:32:27 2022 +0100 + + Add new field 'stmt_id' to eventslog for 'STMT_PREPARE|STMT_EXECUTE' events + +commit 97e07288ab03efe086caab3abf2b649466b07d96 +Author: Rahim Kanji +Date: Wed Nov 9 19:15:28 2022 +0500 + + Added separate set_testing header for legacy test. + +commit b81d86533081774c8ec74f6ed8fcd7228fe568e5 +Author: Miro Stauder +Date: Wed Nov 9 14:00:33 2022 +0000 + + script to verify 'struct bio_st' matching + +commit 88ea7b989cc8494f7e00917a2a0ce875417fc365 +Author: Rahim Kanji +Date: Tue Nov 8 14:36:01 2022 +0500 + + * Added wsrep_sync_wait, max_execution_time, optimizer_use_condition_selectivity in possible_unknown_variables. + * Removed is_cluster flag. + * Fixed query for MariaDB testing. + +commit fc854fd24b20e3e126fc0fd95e0fa8c21d80e3db +Author: Javier Jaramago Fernández +Date: Thu Nov 3 20:26:18 2022 +0100 + + Add extra sleep to 'test_mysql_connect_retries-t' to avoid SHUNNING errors + +commit a4e89c654496be8693f7b057ad03b170b72dbba3 +Author: Javier Jaramago Fernández +Date: Thu Nov 3 18:05:48 2022 +0100 + + Add new test 'test_mysql_connect_retries-t' + +commit 373765abb82b4de4dd8b6a1c2580d54a34d9af88 +Author: Javier Jaramago Fernández +Date: Thu Nov 3 18:01:34 2022 +0100 + + Fix test 'max_connections_ff-t' due to recent changes to 'connect_timeout' for 'fast_forward' + +commit 18a747c61f8f94656345fbf4638cfe87c47d37fe +Author: Javier Jaramago Fernández +Date: Thu Nov 3 17:59:28 2022 +0100 + + Add some extra helper function to test utils + + - Fix leak in test helper function + - Add handy function/macros for query logging + +commit 9a0bf7b81406313e0f83dade7bf294acdfe2daeb +Author: Javier Jaramago Fernández +Date: Thu Nov 3 13:33:56 2022 +0100 + + Fix defaults for 'CommandLine' test utils + + - Fix defaults implementation for 'CommandLine' + - Add new env variable 'TAP_CLIENT_FLAGS' to specify flags for the + client connection. + +commit 0421ed90b965ed90662d9f4895b9b756b3209b3a +Author: Rahim Kanji +Date: Thu Nov 3 18:46:03 2022 +0500 + + Updated test case + +commit 67fac0b761932bc39e502c5f741dce6fb2b8f984 +Author: Javier Jaramago Fernández +Date: Thu Nov 3 13:25:32 2022 +0100 + + Fix 'compression' integration with 'fast_forward' sessions + + - Compression flag is now propagated from client to backend connection + when the backend connection is being created for a 'fast_forward' + session. In case of client trying to connect without compression, to + a server configured with compression, we fallback to an uncompressed + connection. + - After a 'MySQL_Session' has obtained a connection for a 'fast_forward' + session, i.e, the one-to-one relationship between the client and + backend connection has been stablished, we completely disable the + compression 'STATUS_MYSQL_CONNECTION_COMPRESSION' flag from the client + 'MySQL_Connection'. + +commit 25cc58a50df6cc1afa8cf4ccebb2a41d4523b593 +Author: Javier Jaramago Fernández +Date: Thu Nov 3 13:12:23 2022 +0100 + + Fix 'connect_retries_on_failure' and 'connect_timeout' logic for 'fast_forward' sessions + + - Correct the behavior for 'connect_retries_on_failure' for + 'fast_forward' sessions to match regular sessions, reusing the + same implementation based on 'MySQL_Data_Stream::max_connect_time'. + - Change 'connect_timeout' for 'fast_forward' sessions to be the + highest of 'connect_timeout_server' and 'connect_timeout_server_max'. + - Add handling for 'COM_QUIT' packets for 'fast_forward' sessions which + have not yet received a backend connection. + +commit 83bd05bbfdff5aa8e2ecf39dff9066e8d82cf42b +Author: Rahim Kanji +Date: Thu Nov 3 12:31:55 2022 +0500 + + Added optimizer_use_condition_selectivity in possible_unknown_variables as it's available only in MariaDB + +commit 393133a37022b2a63d476b86b36a4048b32652ba +Author: Rahim Kanji +Date: Wed Nov 2 17:59:48 2022 +0500 + + Fix uninitialized memory read + +commit 8ebb9900027b6b4faf9238001e81284553064eb8 +Author: Rahim Kanji +Date: Wed Nov 2 12:12:06 2022 +0500 + + Resolves Issue 3991 + * Added support for @@local + * Added support for optimizer_use_condition_selectivity + * Updated test cases + +commit 502d50805386bd92d641f756f4fd4495bbba9224 +Author: Miro Stauder +Date: Wed Nov 2 07:09:45 2022 +0000 + + change symlink and remove old openssl + +commit 6db78703e7bd565e6be86258bab5484d3acf4a93 +Author: Miro Stauder +Date: Wed Nov 2 07:09:04 2022 +0000 + + add OpenSSL 3.0.7 + +commit bd23629ecc83e24aba58de8e132530b2ae66ebd8 +Author: Rahim Kanji +Date: Tue Nov 1 11:51:36 2022 +0500 + + * Handled few cases caused by Percona mysqldump. + * Now mysqldump can work without --column-statistics=false flag. + +commit ec5aef63ac4297b8565b8d5bbb287e3fd9905e02 +Author: Rahim Kanji +Date: Mon Oct 24 13:31:45 2022 +0500 + + Resolves Issue 3992 + + * Fixed connection lost error when fast forward flag is off. + * Added tap test for regression testing. + +commit 2e6582e6ef7600cf1f922277e95bb24dc3013533 +Author: Rahim Kanji +Date: Mon Oct 24 13:10:28 2022 +0500 + + Resolves Issue 3992 + + * Fixed connection lost error when fast forward flag is off. + * Added tap test for regression testing. + +commit c165ecdc72351fd4b8191a222d822d333bd5fbe6 +Author: Javier Jaramago Fernández +Date: Fri Oct 21 17:43:14 2022 +0200 + + Add regression test for compressed split packets issue + +commit 5f486dd1d5ffb5d2913e22528ffe1ba5b5058a79 +Author: Javier Jaramago Fernández +Date: Fri Oct 21 17:29:57 2022 +0200 + + Fix mariadb-client-library processing of empty split compressed packet + +commit 32f88ee90025b501c602c9648329245f82f29a3b +Author: Miro Stauder +Date: Fri Oct 21 07:13:46 2022 +0000 + + add fedora36 builds + +commit f7096830a636fd297bd36678a7245e5d6a3583bc +Author: Rahim Kanji +Date: Fri Oct 14 19:12:09 2022 +0500 + + Resolves Issue 3992 + + * Removed MARIADB_CLIENT_EXTENDED_METADATA flag + +commit b41dffeb640716a0dfe3273aae151f8537c3d2b9 +Author: Javier Jaramago Fernández +Date: Thu Oct 13 10:57:09 2022 +0200 + + Fix handling of big split compressed packets + +commit f67d814d29175b9a7daf9d5ac7352f7e0f94bdd9 +Author: Javier Jaramago Fernández +Date: Wed Oct 5 18:33:31 2022 +0200 + + Fix 'add_ldap_comment_to_pkt' logic for spaceless leading comments + +commit bcf67e342d8b7c4b524e49f85ed4213aece59f17 +Author: Javier Jaramago Fernández +Date: Wed Oct 5 18:31:42 2022 +0200 + + Add support for 'mysql-ldap_user_variable' for prepared statements + +commit 234828b9fec67ce65452a60cba15d36ae30222d3 +Author: Javier Jaramago Fernández +Date: Wed Oct 5 15:42:16 2022 +0200 + + Add fixed metrics counters to 'test_prometheus_metrics-t.cpp' + +commit f0799a43d8145ae3d138d7bc512581b2433df732 +Merge: 90f51d50 1f063f70 +Author: René Cannaò +Date: Fri Sep 30 11:20:22 2022 +0200 + + Merge pull request #3987 from sysown/v2.x-fix_digest_purge_rwlocks + + Fix invalid memory accesses to digests due to concurrent purge + +commit 2b75cc3325f0087006c2a821c4b902ba1ffb122e +Author: Javier Jaramago Fernández +Date: Thu Sep 29 19:21:32 2022 +0200 + + Fix server counter metrics not being properly updated after hostgroup changes + +commit c03ddb94d6214a9ef99dea24e55c956b55a88c0a +Author: Javier Jaramago Fernández +Date: Thu Sep 29 10:48:46 2022 +0200 + + Fix 'mysql_ldap_mapping' not being load to runtime at startup + +commit 1f063f704d15d277eeb92783892158c00533345a +Author: Javier Jaramago Fernández +Date: Wed Sep 28 18:24:17 2022 +0200 + + Fix invalid memory accesses to digests due to concurrent purge + +commit 90f51d50ca92462f7d16fb887d85aefef90f0a9b (tag: 2.4.5) +Author: Miro Stauder +Date: Mon Sep 19 11:38:17 2022 +0200 + + bump version to 2.4.5 at the begining of the development cycle + +commit 3b13c7c90e279a55e19c059e2ffb6ea1ed98cf20 (tag: v2.4.4) +Merge: 83ffb729 8344be1a +Author: René Cannaò +Date: Thu Sep 15 17:04:05 2022 +0200 + + Merge pull request #3976 from sysown/v2.x-3928 + + Fix isolation level in AWS Aurora + +commit 8344be1abc4eb33f187f3da2ef6f50635e4661d3 +Author: René Cannaò +Date: Thu Sep 15 06:00:47 2022 +0000 + + Added comment related to aurora_read_replica_read_committed + +commit 5fb0eef19a8032d59f31e761463bf0e46f7e1462 +Author: René Cannaò +Date: Wed Sep 14 18:15:55 2022 +0000 + + Fix isolation level in AWS Aurora + + If aurora_read_replica_read_committed is set, isolation level is + internally reset so that it will be set again. + This solves the weird behavior in AWS Aurora related to isolation level + as described in + https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Reference.html#AuroraMySQL.Reference.IsolationLevels + + Basically, to change isolation level you must first set + aurora_read_replica_read_committed , and then isolation level + +commit 83ffb729bbca9cd08f8abad2a421e757a051fe8b +Merge: 8c48b37f 45d2bf2d +Author: René Cannaò +Date: Wed Sep 14 10:24:46 2022 +0200 + + Merge pull request #3946 from sysown/v2.x-3923 + + WIP: Fix 'mysql-auto_increment_delay_multiplex_timeout_ms' - Closes #3923 + +commit 8c48b37f2b6af004c7dcb3eeb4fda9e9cdf28e03 +Merge: e62714c3 4fa9706c +Author: René Cannaò +Date: Wed Sep 14 10:22:17 2022 +0200 + + Merge pull request #3970 from sysown/v2.x-stmt_execute_conn_status + + Fix several queries not disabling multiplexing for `STMT_EXECUTE` + +commit e62714c3f2c85fc3c94b5d2a1f7e101992aa52b2 +Author: René Cannaò +Date: Tue Sep 13 23:17:37 2022 +0000 + + Increased CPU threshold in reg_test_3273_ssl_con-t + +commit 52842f605608c5b5a46f3da983f82c6bceae6b13 +Author: René Cannaò +Date: Tue Sep 13 23:13:43 2022 +0000 + + Build on MacOS + + Removed dependency from installed curl and openssl: now it uses + statically linked ones. + Updated config.guess and config.sub for cityhash and libdaemon + MariaDB client connector uses statically linked libssl and installed + libiconv + DEBUG build uses pthread_threadid_np() instead of syscall(SYS_gettid) + Fixed some variable types. + Enabled the use of jemalloc also for MacOS + Alias mallctl() to je_mallctl() + Removed libre2.a from libproxysql.a + +commit 22eb7d621b155108d03dc6206e8546ba8b50b5fd +Author: René Cannaò +Date: Tue Sep 13 13:28:44 2022 +0000 + + Prevent a crash during shutdown if Cluster is running + + If ProxySQL Cluster is running and the proxysql instance is shutting + down in a graceful way, Cluster was trying to access already freed + resources causing a crash. + +commit b45c3f670ccdcf8e6290431ce050a10749520465 +Merge: 7d9e2e8e ac738c27 +Author: René Cannaò +Date: Tue Sep 13 22:04:39 2022 +0200 + + Merge pull request #3973 from sysown/v2.x-3968 + + Fix monitor crash when tens of thousands of servers are configured - Closes #3938 + +commit ac738c27f88adeccab69da16c0e7721da3339d63 +Author: Javier Jaramago Fernández +Date: Tue Sep 13 10:34:52 2022 +0200 + + Add crash signal handler for fatal arithmetic errors 'SIGFPE' + +commit 6e5678315d6c7fa145053f66fe3ec01f4aaf69f5 +Author: Javier Jaramago Fernández +Date: Tue Sep 13 10:26:17 2022 +0200 + + Fix crashes when number of servers is more than half the value of monitor 'ping|read_only' intervals + +commit e44b28120c4f84c06f0b15e6ac6f43a1eeb4ae66 +Author: Javier Jaramago Fernández +Date: Mon Sep 12 21:58:39 2022 +0200 + + Add missing mandatory call to 'plan' from 'tap' suite for 'max_connections_ff-t' + +commit 4fa9706ca46d315714decd2d442f272e1dc69f64 +Author: Javier Jaramago Fernández +Date: Fri Sep 9 23:11:30 2022 +0200 + + Add simple regression test for 'SQL_CALC_FOUND_ROWS' and 'FOUND_ROWS()' behavior + +commit 0780d1a18f75280ad559a9cb0c3bf32fc6bcdb82 +Author: Javier Jaramago Fernández +Date: Fri Sep 9 23:08:52 2022 +0200 + + Complete rework of 'test_session_status_flags' with support for stmt + +commit f993402c625dd6be5efc5d2f924b90029f280e97 +Author: Javier Jaramago Fernández +Date: Fri Sep 9 22:50:40 2022 +0200 + + Fix crash when failed 'connection_reset' is tried to be logged + +commit b7ecc2d268528f80f5ee49b37593f88541318a26 +Author: Javier Jaramago Fernández +Date: Fri Sep 9 22:44:50 2022 +0200 + + Fix multiplexing not being disable by cached stmt during 'STMT_EXECUTE' + + This forces the re-evaluation of the query digest for each + 'STMT_EXECUTE' for impossing the required flags over the current + backend 'MySQL_Connection'. + +commit 7d9e2e8e7ec896122d7429459fe8f709861a40e5 +Merge: c4dc2162 937ffe08 +Author: René Cannaò +Date: Thu Sep 8 13:40:23 2022 +0300 + + Merge pull request #3969 from sysown/v2.x-ff_max_conns_timeout + + Fix timeout for `fast_forward` sessions when `max_connections` is reached + +commit c4dc2162d67305e6530f3b6e80a4c31e155645dd +Merge: 71402ef8 6beb910a +Author: René Cannaò +Date: Thu Sep 8 13:35:36 2022 +0300 + + Merge pull request #3952 from sysown/v2.x-digest_rm_terminator + + Remove final query delimiter ';' from query digests + +commit 71402ef8f98f6c4826e43f08394f7ba441d8e085 +Merge: 324e625f 0ab07579 +Author: René Cannaò +Date: Thu Sep 8 13:34:52 2022 +0300 + + Merge pull request #3964 from Levence/v2.x + + fix(issue): ensure that most recent replica_host is treated as master + +commit 937ffe0820acf961602618f8d4766505ed4c39a8 +Author: Javier Jaramago Fernández +Date: Mon Sep 5 19:42:02 2022 +0200 + + Add new test for 'fast_forward' sessions behavior regarding 'max_connections' + +commit cb86c84c7d509d4a5266f3ab212acbe15f5d2699 +Author: Javier Jaramago Fernández +Date: Mon Sep 5 19:34:27 2022 +0200 + + Fix memory leak in tap tests utility function 'get_variable_value' + +commit 5751d71d3236e1b3d9611f4a837aa9bcb8f7a639 +Author: Javier Jaramago Fernández +Date: Mon Sep 5 19:32:03 2022 +0200 + + Avoid issuing warning 'Closing unhealthy client connection' when a 'fast_forward' connection closes + +commit ee48d11b464093057ffed95610f125c2e0781696 +Author: Javier Jaramago Fernández +Date: Mon Sep 5 19:30:29 2022 +0200 + + Remove comment and call with unused result to 'std::stack::top()' + +commit 990edf0fb70447cd650abfaf87a690cb9d71b8df +Author: Javier Jaramago Fernández +Date: Mon Sep 5 19:27:24 2022 +0200 + + Fix timeout for 'fast_forward' sessions when 'max_connections' is reached + +commit 4fd3023f9e163c0552a8341e15058674d8cae8d0 +Author: Javier Jaramago Fernández +Date: Mon Sep 5 19:21:13 2022 +0200 + + Default initialize all members of 'CurrentQuery' in 'MySQL_Session' ctor + +commit 324e625f54ad9dbd549f95107008c5fac7751f10 +Merge: aff8a311 81f61de6 +Author: René Cannaò +Date: Mon Sep 5 12:26:01 2022 +0300 + + Merge pull request #3967 from sysown/v2.x-ldap_fixes-2 + + v2.x-ldap_fixes-2 + +commit 81f61de6c7b87bd36c98fed693360064f033ccf3 +Author: Miro Stauder +Date: Fri Sep 2 14:02:26 2022 +0000 + + make sure LDAP tables are existing and commited to disk before use + +commit aff8a3112443600a0c91eb3f84c42cbc8378a670 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Fri Sep 2 13:48:15 2022 +0200 + + fix typo in GIT_VERSION notes + +commit ea999b48a653f54baa5acff208fc93152fdb16bf +Merge: 3a590ba4 96de2329 +Author: René Cannaò +Date: Fri Sep 2 12:27:55 2022 +0300 + + Merge pull request #3961 from sysown/v2.x-ldap_fixes + + V2.x ldap fixes + +commit 96de2329d7fa3ca1585797638d78dc5801adff62 +Author: Javier Jaramago Fernández +Date: Thu Sep 1 11:23:43 2022 +0200 + + Fix behavior for 'ldap-max_db_connections' failing to decrease current used connections + +commit 0ab07579071c5b53563d1c89efd0b54ef7436f7d +Author: Levi Quinn +Date: Thu Sep 1 10:33:12 2022 +1000 + + fix(issue): ensure that most recent replica_host is treated as master for #3962 + +commit c46a152a24a71c8b901734e84fc857e911bceb67 +Merge: ea7868d5 3a590ba4 +Author: Javier Jaramago Fernández +Date: Wed Aug 31 13:14:09 2022 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-ldap_fixes + +commit 3c6d214eec1e964777ea05c434f3361f30e94703 +Author: Miro Stauder +Date: Sun Aug 28 13:02:13 2022 +0000 + + cleanup docker-compose.yml + +commit 3a590ba4818e1380b5e8779c2d3570b2d66ab30e +Author: René Cannaò +Date: Tue Aug 23 21:06:34 2022 +0000 + + Increase the maximum value for monitor threads + + Increase the maximum value for: + - mysql-monitor_threads_min from 16 to 256 + - mysql-monitor_threads_max from 256 to 1024 + +commit 75c0e457af6138381e12f994c2333f68cdc65ad5 +Author: Miro Stauder +Date: Mon Aug 22 12:05:07 2022 +0000 + + cleanup Fedora packaging, use systemd by default + +commit bd39f1ba9ac5dfdecdd2ab472e3df1ce7240654d +Author: Miro Stauder +Date: Mon Aug 22 11:58:58 2022 +0000 + + cleanup Almalinux packaging, use systemd by default + +commit 93c41fd74a81338c9979cd766036fbe309f7742e +Author: Miro Stauder +Date: Mon Aug 22 11:52:33 2022 +0000 + + refactor CentOS packaging files, make systemd default + +commit 45d2bf2d6b6da7a6db5bdfcff7e0c98dc629b73a +Author: Javier Jaramago Fernández +Date: Fri Aug 19 23:11:42 2022 +0200 + + Rework of 'test_auto_increment_delay_multiplex' for new cases and also testing 'connection_delay_multiplex_ms' + +commit 4a88876ea4c6c905f708c4a73a01616dee859900 +Author: Javier Jaramago Fernández +Date: Fri Aug 19 23:09:31 2022 +0200 + + Add warning for 'auto_increment_delay_multiplex_timeout_ms' when set to a low value + +commit bcc6532d66130130f18d46998dcb835e24423adc +Author: Javier Jaramago Fernández +Date: Fri Aug 19 23:05:18 2022 +0200 + + Modify previous impl for 'auto_increment_delay_multiplex_timeout_ms' and fix 'connection_delay_multiplex_ms' + + This commit contains an implementation rework and a fix: + - Impl for 'auto_increment_delay_multiplex_timeout_ms' has been + reworked in favor of reusing 'wait_until' to share logic with + previous 'connection_delay_multiplex_ms' variable. + - Fix previous 'connection_delay_multiplex_ms' behavior preventing + connection retaining when traffic unrelated to target hostgroup is + being received by the session. + +commit 6beb910a9de32a6ed025d7d03f6589ba63fd6264 +Author: Javier Jaramago Fernández +Date: Wed Aug 17 19:20:30 2022 +0200 + + Add new payloads to query digest testing checking for final delimiter removal + +commit 1d1a1b3fb5455c0c261592efb6477a4eff5034de +Author: Javier Jaramago Fernández +Date: Wed Aug 17 18:43:52 2022 +0200 + + Update doc and renamed var for final characters removal in digest 'final_stage' processing + +commit 1b06049c41fe1636ade130ee45e9e6686c6e3f40 +Author: Javier Jaramago Fernández +Date: Wed Aug 17 18:36:33 2022 +0200 + + Remove final query delimiter ';' from query digests + + Only the delimiter present at the end of the digest will be removed. + Delimiters found in the middle of the full digest, like in the case of + multi-statements should be preserved. + +commit 1c51cac80accc4d0afe70e19d25b95250559e5d9 (tag: 2.4.4) +Author: Miro Stauder +Date: Tue Aug 16 14:23:01 2022 +0000 + + bump version to 2.4.4 at the begining of the development cycle + +commit f1b25b8398125845b02505b77ec9d00d5de7f97d (tag: v2.4.3, tag: 2.4.3) +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Mon Aug 15 13:33:34 2022 +0200 + + Update Makefile + + bump version to v2.4.3 + +commit a0da863e17e79d6e7774616c7d98158842ae3ba7 +Merge: 3310dc42 cbeece8d +Author: René Cannaò +Date: Mon Aug 15 11:12:05 2022 +0200 + + Merge pull request #3948 from sysown/v2.x-backend_json + + Do not generate entries for empty hostgroups in generate_proxysql_internal_session_json() + +commit 583218e9c56ed2494b7b43cff6c2944800ab737b +Author: Javier Jaramago Fernández +Date: Sat Aug 13 09:15:21 2022 +0200 + + Fix typo in 'MySQL_Session::hgs_expired_conns' doc + +commit dbdfec349475255185ae409320a8e027167cee6e +Author: Javier Jaramago Fernández +Date: Sat Aug 13 09:02:53 2022 +0200 + + Add 'ASYNC_IDLE' precondition for connections considered for expiring + + If any scenario is found in which we may want to consider a non + 'ASYNC_IDLE' connection for expiring, this precondition shall be + removed, and checks should be responsible for ensuring 'ASYNC_IDLE' + state in the connection. + +commit e12f0c71734d91cfd67c1947fa96289a1d4d86cb +Author: Javier Jaramago Fernández +Date: Wed Aug 10 21:57:24 2022 +0200 + + Fix test to match new 'auto_increment_delay_multiplex_timeout_ms' behavior #3923 + +commit a67db17709b53ba331f1ad732283b8ac9d2b0547 +Author: Javier Jaramago Fernández +Date: Wed Aug 10 21:55:32 2022 +0200 + + Fix current 'auto_increment_delay_multiplex_timeout_ms' behavior #3923 + +commit cbeece8d4c352eb865d3112355593ac82747adb2 +Author: René Cannaò +Date: Fri Aug 12 17:32:03 2022 +0000 + + Do not generate entries for empty hostgroups in generate_proxysql_internal_session_json() + +commit 3310dc42db9956808e5b72d08250841632ab188f +Merge: 301bb09a e35aecdd +Author: René Cannaò +Date: Fri Aug 12 17:33:57 2022 +0200 + + Merge pull request #3945 from sysown/v2.x-tap_test_sqlite3_server-t + + TAP test_sqlite3_server-t + +commit 301bb09a4d069f91520253ba013f4dc970d265a2 +Merge: 06bfcbe3 f8803384 +Author: René Cannaò +Date: Fri Aug 12 13:19:38 2022 +0200 + + Merge pull request #3921 from sysown/v2.x-cluster_cmp_checksums + + WIP: Add checksum computation after fetch to multiple cluster modules + +commit f880338477285c98393525ebf92a2f03f1ca929f +Author: Javier Jaramago Fernández +Date: Fri Aug 12 13:09:40 2022 +0200 + + Fix typos in some cluster queries definitions doc + +commit 06bfcbe3bbb7f7be81b475ef7d91642d2a4171f9 +Merge: 81b24d9e fc50c6ab +Author: René Cannaò +Date: Fri Aug 12 01:05:38 2022 +0200 + + Merge pull request #3944 from sysown/v2.x-digest_binary_data + + Fix invalid invalid processing of escaped string delimiters for digests + +commit fc50c6ab19b36df0365d6762d8e5a32433a087e6 +Author: Javier Jaramago Fernández +Date: Thu Aug 11 20:10:07 2022 +0200 + + Fix memory leaks in digest micro-benchmark located in 'test_mysql_query_digests_stages' + +commit ab141a994a6295c336cfefe10af266cb435d6243 +Author: René Cannaò +Date: Thu Aug 11 16:32:42 2022 +0000 + + Reducing the size of shared_st from 72 to 64 bytes + + That should, hopefully, improve CPU cache affinity + +commit e35aecddb916a00fae8da6a8d1c1514cb7c294fe +Author: Miro Stauder +Date: Wed Aug 10 19:16:30 2022 +0000 + + reintroduce port change test + +commit 81b24d9e5d9fa1669e0f4386a7aaaedfe88d63b9 +Merge: f960a4d9 b3f0a51b +Author: René Cannaò +Date: Wed Aug 10 17:26:36 2022 +0200 + + Merge pull request #3943 from sysown/v2.x_port3911 + + Port commits from PR 3911 + +commit 085fa70336499da4564526bcf064482100de0479 +Author: Javier Jaramago Fernández +Date: Wed Aug 10 14:59:45 2022 +0200 + + Add new test checking read/write of binary data through ProxySQL + +commit 83cf1c1c8212acae9a39b18880b45b232f35279f +Author: Javier Jaramago Fernández +Date: Wed Aug 10 14:55:17 2022 +0200 + + Add new checks for escaped string delimiters to 'regular_tokenizer_digests' + +commit 8997cecf8a92297f39c15929f293dcaf5269350a +Author: Javier Jaramago Fernández +Date: Wed Aug 10 14:43:51 2022 +0200 + + Fix digest processing of escaped string delimiters + +commit b3f0a51b88822d6e72ea0dfb639abc9cc1419d9a +Author: Javier Jaramago Fernández +Date: Tue Jul 5 18:32:48 2022 +0200 + + Fix 'test-query_timeout-t' by taking into account 'mysql-poll_timeout' + +commit f72879e0b6621c38f7db74e619295bca7db970be +Author: René Cannaò +Date: Fri Jul 1 10:34:56 2022 +0000 + + Use only Galera fro set-testing_240-t + +commit f960a4d9b7d29711f71cdf6ab9460fd387d93971 +Merge: 9d2cf44b 0a49b11f +Author: René Cannaò +Date: Wed Aug 10 12:16:09 2022 +0200 + + Merge pull request #3903 from sysown/v2.x-tests_220619 + + V2.x tests 220619 + +commit 9d2cf44b7717328b697afcb98578b86dd11d3f98 +Author: Miro Stauder +Date: Mon Aug 8 13:17:29 2022 +0000 + + test_sqlite3_server-t - port change is failing, disable for now + +commit 61c6819cca2208abcb174742393f9e5b9a3ddcaf +Merge: 18c400e9 4b26dad9 +Author: René Cannaò +Date: Mon Aug 8 08:29:18 2022 +0200 + + Merge pull request #3939 from sysown/v2.x-3926 + + Wrong value of NO_BACKSLASH_ESCAPES was sent to client + +commit 4b26dad975cd774ada951be302c713d777262403 +Author: René Cannaò +Date: Sun Aug 7 23:57:08 2022 +0000 + + Wrong value of NO_BACKSLASH_ESCAPES was sent to client + + This is an enhancement of PR #3926 , fixing the typo and + adding the testing for it. + +commit 18c400e90f4f391336dbf850a8b695852b1b3c15 +Merge: 524e6641 622b748f +Author: René Cannaò +Date: Sun Aug 7 19:26:30 2022 +0200 + + Merge pull request #3916 from sysown/v2.x-3749 + + Solve bug #3749 and improve testing + +commit 524e664190b60cea16ce41c9dcb9140e15be39bf +Author: René Cannaò +Date: Sun Aug 7 16:56:43 2022 +0000 + + Rename clickhouse_php_conn-t to clickhouse_php_conn-t.php + +commit d6ba28f8feef629f1fcf932b737247d516f503ef +Merge: 0a7e519d 37c95f6a +Author: René Cannaò +Date: Sun Aug 7 17:39:30 2022 +0200 + + Merge pull request #3938 from sysown/v2.x-ssl_bench + + Upgrade OpenSSL from 3.0.2 to 3.0.5 + +commit 622b748fdf9a893d439d6b90657a8de54ff8256d +Author: René Cannaò +Date: Sun Aug 7 15:13:02 2022 +0000 + + Switching autocommit from 0 to 1 drops SAVEPOINTs + + Another edge case due to MySQL bug https://bugs.mysql.com/bug.php?id=107875 + related to autocommit=0 and SAVEPOINT + +commit f7d88243796b87eaaecd7e157c7fb327fc78bf19 +Author: René Cannaò +Date: Fri Aug 5 21:06:15 2022 +0000 + + Trying to work around MySQL bug 107875 + + Because of MySQL bug https://bugs.mysql.com/bug.php?id=107875 , + autocommit=0 can "create a transaction" even if SERVER_STATUS_IN_TRANS + is not set. This means that a SAVEPOINT can be created in a "transaction" + created with autocommit=0 but without SERVER_STATUS_IN_TRANS . + This commit takes also care of scenarios when autocommit=0 was switched back + to autocommit=1 when a SELECT was executed while variable + mysql-enforce_autocommit_on_reads was false. + + MySQL_Session::NumActiveTransactions() now accepts a flag to check + for savepoints. + +commit 37c95f6a58b1064fbd82114c063f91aa35823095 +Author: René Cannaò +Date: Thu Aug 4 23:56:00 2022 +0000 + + Upgrade OpenSSL from 3.0.2 to 3.0.5 + + Severe performance degradation identified in OpenSSL 3.0.2 + + See https://github.com/sysown/proxysql/pull/3937 for reference. + + Thanks to @davisp and @huozhe + +commit 0a7e519d0f9c95feb9078b8934e89ecb09008a62 +Merge: b3d2109b ed7d42ae +Author: René Cannaò +Date: Wed Aug 3 10:32:29 2022 +0000 + + Merge branch 'v2.x' of https://github.com/sysown/proxysql into v2.x + +commit ed7d42ae823f0da55e78fa37af126389e3369fa8 +Author: Miro Stauder +Date: Wed Aug 3 10:10:56 2022 +0000 + + add re2 as dependency to libhttpserver + +commit b3d2109bd05de367a33e0f77b138531794b8924a +Author: René Cannaò +Date: Wed Aug 3 10:10:26 2022 +0000 + + Revert "add re2 as dependecy to libhttpserver" + + This reverts commit 52f3bf7eb16c348ff0cc362122afd3d96c749d40. + +commit 52f3bf7eb16c348ff0cc362122afd3d96c749d40 +Author: Miro Stauder +Date: Tue Aug 2 18:36:14 2022 +0000 + + add re2 as dependecy to libhttpserver + +commit 37efc833e39c918706047120692251f86814f6b4 +Author: Javier Jaramago Fernández +Date: Mon Aug 1 16:59:00 2022 +0200 + + Change wording in doc for 'MySQL_HostGroups_Manager::runtime_mysql_servers' + +commit fbd63122395e7b2065da93de7a018c7387bb6eac +Author: Javier Jaramago Fernández +Date: Mon Aug 1 16:56:37 2022 +0200 + + Filter 'OFFLINE_HARD' servers for stored 'runtime_mysql_servers' resultset + +commit d8429ca71cf0fd086e996df51675ee6cbd50fdbd +Author: Javier Jaramago Fernández +Date: Mon Aug 1 14:15:02 2022 +0200 + + Replace resultset for Cluster request fetching 'runtime_mysql_servers' + + Query 'CLUSTER_QUERY_MYSQL_SERVERS' is now responded by 'runtime_mysql_servers' + as it previously was. Documentation reasoning about the change has been added + to 'MySQL_HostGroups_Manager::runtime_mysql_servers'. + +commit 7a0a83bb20eb644045e005b82fdafa12186e9a63 +Author: Javier Jaramago Fernández +Date: Sun Jul 31 22:14:50 2022 +0200 + + Fix compilation adding constructor for 'incoming_servers_t' + + A constructor is required to overcome C++11 limitation of type + no longer being an aggregate due to default member initialization. + +commit b2cf36429a6901cf4a6cf090ff682aee83b1b7a8 +Author: Javier Jaramago Fernández +Date: Sun Jul 31 22:13:54 2022 +0200 + + Add 'computed checksum' info messages before performing pulling actions in Cluster + +commit 2e594bd6b1b9b67519957e489d0b03b6db7ffd96 +Author: Javier Jaramago Fernández +Date: Sun Jul 31 21:44:15 2022 +0200 + + Replace space in ProxySQL version Enterprise identifier in favor of dash + +commit 0335bdc5b7d0816821b72551346f8d03eb0133d0 +Author: Javier Jaramago Fernández +Date: Sun Jul 31 21:27:40 2022 +0200 + + Change servers entries order in 'test_cluster_sync-t' to test checksum computation + +commit bf1d70aa2873c57dbfee3b23a2f4b2c563ca06ad +Author: Javier Jaramago Fernández +Date: Sun Jul 31 21:23:09 2022 +0200 + + Fix memory leaks in 'Query_Processor' for Query Rules 'attributes' and 'comment' fields + +commit b34100ceec2659e995b0cf2b3e10c6d4790ff18f +Author: Javier Jaramago Fernández +Date: Sun Jul 31 21:20:27 2022 +0200 + + Fix memory leaks for 'username' and 'password' credentials in cluster 'pull' actions + +commit c46a805c706213634da1444083be513fa56761f7 +Author: Javier Jaramago Fernández +Date: Sun Jul 31 21:19:07 2022 +0200 + + Fix memory leak for 'Scheduler_Row::filename' field + +commit 97369e59e40164afe4307f607c0f9acb3c9a48fb +Author: Javier Jaramago Fernández +Date: Sun Jul 31 21:18:50 2022 +0200 + + Fix minor typos in metrics descriptions + +commit a999eeddca6242bc2554e70db9fbf683fc1b5260 +Author: Javier Jaramago Fernández +Date: Sun Jul 31 21:17:24 2022 +0200 + + Fix 'test_cluster1-t' checksum fetching logic + +commit 099c2a5f064dd2375df4e2d5238ffc4f1b60b46b +Author: Javier Jaramago Fernández +Date: Sun Jul 31 20:57:48 2022 +0200 + + Cluster: Speedup of processing of MySQL Users and MySQL Servers + + - Cluster now syncs the server tables via 'incoming_*' tables generated + during 'load_mysql_servers_to_runtime'. + - Cluster now syncs 'mysql_users' table via a resultset generated via + '__refresh_users'. + +commit 126a03f0e7ab9a625a4eef0351316c37bd8680dd +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Jul 28 16:37:40 2022 +0200 + + Update INSTALL.md + +commit b7ec26a3c918bd21a232d934904be05c077b6682 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Jul 28 16:35:40 2022 +0200 + + Update INSTALL.md + +commit 9065e0d0ae0b32faa60965f70656e115b3cac0b9 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Jul 28 13:45:46 2022 +0200 + + Update INSTALL.md + +commit f4c1e01d745b1f181a600a65fc729c2cca2360bf +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Jul 28 13:34:31 2022 +0200 + + Update INSTALL.md + +commit 00e983b1da4d9ad729e0e32cfb700610ab185970 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Jul 28 13:02:53 2022 +0200 + + Update INSTALL.md + +commit 25b06664763dad7711d2e70c2d9a2a7d7f055426 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Jul 28 10:32:37 2022 +0200 + + Update Makefile + + add note about GIT_VERSION + +commit f12839acc1244637418654df6fe307ab0c41fddd +Author: Javier Jaramago Fernández +Date: Wed Jul 27 12:47:08 2022 +0200 + + Revert "Fix test 'test_cluster1' synchronization for 'mysql_servers'" + + This reverts commit 13a7d7fab0b5addcc4fe2d32515142412daccc6e. + +commit 3dacb77321e77f3a0f22c99cadc3623c6a1cda74 +Author: Javier Jaramago Fernández +Date: Wed Jul 27 11:10:14 2022 +0200 + + Perform atomic update of Cluster fetched module checksum epochs + +commit cf029cc63c7e42b8ac2f93b86aa8163f6a297199 +Merge: a60fc1b8 4ae5a44d +Author: René Cannaò +Date: Wed Jul 27 11:08:22 2022 +0200 + + Merge pull request #3929 from sysown/v2.x-galera_613 + + Workaround for Galera bug 613 + +commit e6083250b562da528b83bcbbc9f0a5a8d1ee2238 +Merge: 13a7d7fa a60fc1b8 +Author: Javier Jaramago Fernández +Date: Tue Jul 26 17:39:33 2022 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-cluster_cmp_checksums + +commit a60fc1b8b194e4a53f631b4a14642bac0b1a9bd9 +Merge: 1520e727 c1b7c41e +Author: René Cannaò +Date: Tue Jul 26 12:08:08 2022 +0200 + + Merge pull request #3930 from sysown/v2.x-cluster_time_rules + + Cluster: Speed up processing of MySQL Query Rules + +commit 1520e727c6c27d4079742c466b719bb0ec4bf1d9 +Author: René Cannaò +Date: Tue Jul 26 10:01:43 2022 +0000 + + Allow compiling of clickhouse with old compiler + +commit c1b7c41eefdf06a18c4d8eb82caa129285cec4e5 +Author: René Cannaò +Date: Tue Jul 26 08:15:12 2022 +0000 + + Add CityHash to builds without Clickhouse + +commit 5e68075edfea82ab4d3740b5db02e9edd30cf768 +Author: René Cannaò +Date: Tue Jul 26 07:31:46 2022 +0000 + + Cluster: Speed up processing of MySQL Query Rules + + Multiple changes: + - Query_Processor stored the resultset of query rules loaded to runtime + (previously this was only for query rules fast routing) + - Admin returns the stored resultset (query rules and fast routing) + when queries by Cluster + - In khash replaced the hashing function from the built-in + __ac_X31_hash_string to CityHash32 + - When Cluster is used, it calls load_mysql_query_rules_to_runtime() passing + the resultsets retrieved by the remote peer + - Increased SQLite cache_size to ~50MB: this seems to be a very small optimization + and probably it will be reverted + - pull_mysql_query_rules_from_peer() uses transactions to write + to mysql_query_rules_fast_routing + - (important change) pull_mysql_query_rules_from_peer() verifies the checksum + of MySQL Query ules before loading them to runtime + +commit 5a65e7150de8529d98d9d066807fcca9f5142eda +Author: Miro Stauder +Date: Sat Jul 23 09:56:28 2022 +0000 + + fix compiler version detection for CXX17 conditionals + +commit 4ae5a44db1619b346ac0ccf75d8b65dd905938a8 +Author: René Cannaò +Date: Fri Jul 22 21:04:31 2022 +0000 + + Workaround for Galera bug 613 + + if: + mysql-reset_connection_algorithm=1 and + mysql-connpoll_reset_queue_length=0 + we will not return a connection with connection_quality_level == 1 + because we want to run COM_CHANGE_USER + This change was introduced to work around Galera bug + https://github.com/codership/galera/issues/613 + +commit 830460933f5734fb81162f5dc8918991b12351cd +Author: René Cannaò +Date: Fri Jul 22 09:53:26 2022 +0000 + + Create table in TAP test_session_status_flags-t + +commit 2a5f364fd5f911b01ec5188fae109b0f608b3996 +Merge: 2c8ac95b 8cca479c +Author: René Cannaò +Date: Fri Jul 22 11:52:39 2022 +0200 + + Merge pull request #3888 from sysown/v2.4-clickhouse + + Upgraded clickhouse-cpp to 2.1.0 + +commit 13a7d7fab0b5addcc4fe2d32515142412daccc6e +Author: Javier Jaramago Fernández +Date: Wed Jul 20 19:55:51 2022 +0200 + + Fix test 'test_cluster1' synchronization for 'mysql_servers' + +commit 78da12d2894c0c21b1ef47257f15a46ad6dc252e +Author: Javier Jaramago Fernández +Date: Wed Jul 20 17:59:11 2022 +0200 + + Removed invalid load from disk of 'mysql_ldap_mapping' in 'ProxySQL_Admin::init' + +commit aca6ab62797959f790f819334af6c4c67e770016 +Author: Javier Jaramago Fernández +Date: Wed Jul 20 17:57:03 2022 +0200 + + Fix crash during startup due to 'GloClickHouseServer' not being yet initialized + + An invalid memory access can take place if 'GenericRefreshStatistics' is + called during startup when 'GloClickHouseServer' isn't yet initialized. + +commit a03bf7c58d4a53b198e6ab541ed3ea4208d0f926 +Author: Javier Jaramago Fernández +Date: Wed Jul 20 17:48:17 2022 +0200 + + Add LDAP support for 'mysql_users' Cluster checksum computation + +commit fa887b2dc99ba06bc4fec360029621aa7c4d077c +Author: Javier Jaramago Fernández +Date: Wed Jul 20 17:41:03 2022 +0200 + + Prevent Cluster sync between nodes with/without 'ldap_auth' plugin loaded + +commit 134448f0587a7452ed63aa8f4e77474c3f9737d6 +Author: Javier Jaramago Fernández +Date: Mon Jul 18 21:34:49 2022 +0200 + + Improve 'test_cluster_sync' including 'mysql_servers' + +commit 7286b334d1c5b350d7432bdac01b886f97a58a58 +Author: Javier Jaramago Fernández +Date: Mon Jul 18 19:41:19 2022 +0200 + + Add utility function to convert 'MYSQL_RES' into 'SQLite3_result' + +commit 63e8c5730918b5e7d4dda7b08b575e9ee568a29d +Author: Javier Jaramago Fernández +Date: Mon Jul 18 19:36:36 2022 +0200 + + Fix invalid memory accesses in Aurora monitoring + + Invalid memory accesses could take place if no servers can be pinged. + +commit 4119c441606e0951cf6a6cf4ea0071505737aece +Author: Javier Jaramago Fernández +Date: Mon Jul 18 19:35:32 2022 +0200 + + Fix potential race conditions while generating 'gtid_executed_tables' + +commit 4c4346a71074bd6ad1a33689229d559b0907f851 +Author: Javier Jaramago Fernández +Date: Mon Jul 18 19:23:56 2022 +0200 + + Add checksum computation after fetch to multiple cluster modules + + The following cluster modules now compute their expected checksums after fetch: + - mysql_query_rules + - mysql_users + - mysql_servers + - mysql_global_variables + +commit 38cfc593aea2bd74817c5b4b114d07200bac891c +Author: René Cannaò +Date: Fri Jul 15 18:09:50 2022 +0000 + + Update TAP test to for new SAVEPOINT implementation + +commit 2c8ac95b6409752228b6bbbc473111f3cce67994 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Mon Jul 11 20:39:43 2022 +0200 + + Update README.md + +commit 61b32de42f267a2596f0615f8565859a9ce9b5b6 +Author: René Cannaò +Date: Wed Jul 6 18:03:32 2022 +0000 + + Solve bug #3749 and improve testing + + In MySQL_Connection::IsActiveTransaction: + in the past we were incorrectly checking STATUS_MYSQL_CONNECTION_HAS_SAVEPOINT + and returning true in case there were any savepoint. + Although flag STATUS_MYSQL_CONNECTION_HAS_SAVEPOINT was not reset in + case of no transaction, thus the check was incorrect. + We can ignore STATUS_MYSQL_CONNECTION_HAS_SAVEPOINT for multiplexing + purpose in IsActiveTransaction() because it is also checked + in MultiplexDisabled() + +commit 8cca479cb64f3fa353230a14288ead03b7b8d0f3 +Author: Javier Jaramago Fernández +Date: Tue Jul 5 16:16:13 2022 +0200 + + Add new test checking ClickHouse server type support using PHP connector + +commit a68b055fd07dab8d2ea1849dc32d125481821c17 +Author: Javier Jaramago Fernández +Date: Tue Jul 5 15:57:40 2022 +0200 + + Add new target duplicating 'test_clickhouse_server' compiled with 'libmysqlclient' + +commit 81036e8cb618801b88c72e686b0773f09af00bf7 +Author: Javier Jaramago Fernández +Date: Tue Jul 5 15:56:26 2022 +0200 + + Make 'test_clickhouse_server' compatible with 'libmysqlclient' + +commit f30ce31c431acacf61392508d5c5e08a4194e1bd +Author: Javier Jaramago Fernández +Date: Tue Jul 5 15:55:36 2022 +0200 + + Add a couple of comments at 'ProxySQL_Admin::init' + +commit 894ca75455b50dd83f9df5a5af70024f1089a368 +Author: Javier Jaramago Fernández +Date: Tue Jul 5 15:54:29 2022 +0200 + + Fix a 'one time leak' at 'load_or_update_global_settings' during startup + +commit d714f43d381e9d9a2061a3d6aae47701fe75556b +Author: Javier Jaramago Fernández +Date: Tue Jul 5 15:52:33 2022 +0200 + + Fix 'ClickHouse' and 'SQLiteServer' variables not loading from disk at startup + +commit 611792e500f920a15bd3f795f04479c10327321b +Author: Javier Jaramago Fernández +Date: Tue Jul 5 15:46:19 2022 +0200 + + Add 'deprecate_eof' support for ProxySQL ClickHouse server + +commit c859dd458c9f74388a7371bab14eec780f915545 +Author: Javier Jaramago Fernández +Date: Tue Jul 5 15:45:26 2022 +0200 + + Add proper mapping to MySQL protocol for several ClickHouse basic types + +commit 0a49b11fefeb70fa11549d2b1a4351ea840ae757 +Author: René Cannaò +Date: Tue Jun 28 19:11:41 2022 +0000 + + Emulate SET autocommit in SQLite3 Server + + SQLite3 Server now also returns the right autocommit flag + +commit 5b43bbf8608108029aaf4dc183150558d6d65cc9 +Author: René Cannaò +Date: Mon Jun 27 16:25:47 2022 +0000 + + Fixed bug in changing listener port at runtime + + Changing listener port at runtime on more modules (for example Admin + and SQLite3 Server) could cause the incorrect close of the wrong + file descriptor + +commit 70336d4d9688ef0e78f1c5f7f34328cdc5ffdb9f (tag: v2.4.2, tag: 2.4.2) +Author: Miro Stauder +Date: Mon Jun 27 15:50:36 2022 +0000 + + Upgrade to 2.4.2 + +commit 3c08820d7d5fc2a68af195faf0ee01f386ea6813 +Author: René Cannaò +Date: Mon Jun 27 05:54:12 2022 +0000 + + TAP test for prepared statments cache + +commit 1a5606a280e7d67b161bd23f0d9afa8eea4c0340 +Author: René Cannaò +Date: Mon Jun 27 03:16:57 2022 +0000 + + Adding TAP to connect to Admin via Unix Socket + +commit ee752782c076a76fee56777322568c1510aa7ee7 +Author: René Cannaò +Date: Mon Jun 27 02:23:33 2022 +0000 + + Modified a TAP test to increase code coverage on escape_string_single_quotes() + +commit c3cc6c74f8ee393815fcce27a98ee17734709fe0 +Author: René Cannaò +Date: Sat Jun 25 16:57:14 2022 +0000 + + More code coverage for SQLite3 Server + +commit a0f603e77bc5db81ea2cbe50bbf6b71e16ab3461 +Author: René Cannaò +Date: Sat Jun 25 16:31:01 2022 +0000 + + More code coverage for Clickhouse server + + Also it includes som minor bug fixes + +commit 0a3ba13450843caa802326ac1739caa1005c36b5 +Author: René Cannaò +Date: Fri Jun 24 12:01:19 2022 +0200 + + More queries to test for Clickhouse Server + +commit 32f6ea9556ddd17aa25fcf81c9c4de62b464b75d +Author: René Cannaò +Date: Fri Jun 24 09:56:24 2022 +0200 + + Adding new TAP test for Clickhouse + + Also fixed a bug in Clickhouse module if backend was not present. + Changed some code in SQLite3 TAP test to be reused for Clickhouse testing. + +commit 2065c05590f49ea504698e54f28a271da7883b62 +Merge: bd68abbe 8804d134 +Author: René Cannaò +Date: Tue Jun 21 13:54:30 2022 +0000 + + Merge branch 'v2.x-tests_220619' of https://github.com/sysown/proxysql into v2.x-tests_220619 + +commit 8804d134d70583d03a7723340637c215f5de0a31 +Author: Javier Jaramago Fernández +Date: Mon Jun 20 17:46:57 2022 +0200 + + Fix 'test_binlog_reader-t' silent failure when no infra is present + +commit c0714a61e07a80bfc4b35dd70f69cc9b4b48b42e +Author: Javier Jaramago Fernández +Date: Mon Jun 20 12:03:39 2022 +0200 + + Stop after finding metric indentified by tags in 'check_message_count_parse_failure' + +commit e17ad533296de9096126e53c9415d4c4340f04b2 +Author: Javier Jaramago Fernández +Date: Fri Jun 17 12:48:13 2022 +0200 + + Fix metric searching logic in 'test_prometheus_metrics-t' + +commit bd68abbe7de12f9a28e202bcac4504580689ce7e +Author: René Cannaò +Date: Mon Jun 20 09:42:10 2022 +0000 + + Added TAP test_cluster_sync.cnf file to .gitignore + +commit c34f7fc7ea103e3d04600d9e36d993402ec65315 +Author: René Cannaò +Date: Mon Jun 20 09:41:21 2022 +0000 + + Make TAP test query_timeout less sensible to loaded servers + +commit a6c59ccb797fd18834343e948c2d8d8e29eb8864 +Author: René Cannaò +Date: Sun Jun 19 22:53:10 2022 +0000 + + TAP test for large mysql_stmt_send_long_data() + + For now it handles packets up to 3MB. + Large packets require the use of a large max_allowed_packeton backend. + This test needs to be extended to send packets smaller than 4MB, but also 16MB or larger. + ProxySQL needs proper error handling + +commit 6cadae8b0a178a40cb534f1bbf920bc6363c1117 +Author: René Cannaò +Date: Sun Jun 19 21:47:36 2022 +0000 + + TAP test mysql-sql_log_bin-error-t + + It performs SET sql_log_bin=0 using a user without the right privileges + +commit 227e045aa4dc843c372d9339d30542614316fcb1 +Author: René Cannaò +Date: Sun Jun 19 21:44:55 2022 +0000 + + Improved mysql-init_connect-t.cpp for PMC-10003 + + PMC-10003: Retrieved a resultset while running a simple command using async_send_simple_command() . + async_send_simple_command() is used by ProxySQL to configure the connection, thus it + shouldn't retrieve any resultset. + A common issue for triggering this error is to have configure mysql-init_connect to + run a statement that returns a resultset. + +commit afb079899cb98da482ab507ccf24fa2cda63ba60 +Author: René Cannaò +Date: Sun Jun 19 20:21:10 2022 +0000 + + Fixed timer in TAP tests + +commit 51f1456d38191dad44df9d191c50efd159f6b6ab +Author: René Cannaò +Date: Sun Jun 19 20:20:41 2022 +0000 + + Fix to TAP test mysql-last_insert_id-t + +commit 98ba560119450114ff5478869821525693a48f7b +Author: René Cannaò +Date: Sun Jun 19 16:12:22 2022 +0000 + + TAP test for LAST_INSERT_ID() + +commit cad2d6b1133b01c5574db5e539af60051d9ad29a +Author: René Cannaò +Date: Sun Jun 19 15:01:38 2022 +0000 + + Removing handler___status_CHANGING_USER_CLIENT___STATE_CLIENT_HANDSHAKE + + It seems dead code. + +commit 2f356c3b77a348eeb925cf0f2ac10cae09b603f6 +Author: René Cannaò +Date: Sun Jun 19 14:57:25 2022 +0000 + + Adding various TAP tests + +commit 15e007bf30f8631d5197cf3f40d8cea1a357d371 +Merge: a05e4662 aeeaaba8 +Author: René Cannaò +Date: Sun Jun 19 11:17:17 2022 +0200 + + Merge pull request #3902 from sysown/v2.x_minor_fixes_20220618 + + Minor test fixes + +commit a05e466226833b0879d11d3144ebc2682be987c5 +Merge: 3afcc12b 0ef90865 +Author: René Cannaò +Date: Sun Jun 19 09:23:03 2022 +0200 + + Merge pull request #3901 from sysown/v2.x-3889 + + Fix several invalid memory accesses reported by AFL + ASAN - Closes #3889 + +commit aeeaaba845059b76a13e17198dfac4c612ce5adc +Author: René Cannaò +Date: Sat Jun 18 22:51:22 2022 +0000 + + Minor test fixes + + Same fixes are in commit 1bc48ad in PR #3899 + +commit 0ef90865c633a16953cd6f40925f619d12774dd8 +Author: Javier Jaramago Fernández +Date: Fri Jun 17 18:43:04 2022 +0200 + + Add multiple new 'crashing payloads' for 'test_mysql_query_digests_stages-t' + +commit c0327164838b24eb8f19d4fb0741938f561f3114 +Author: Javier Jaramago Fernández +Date: Fri Jun 17 18:27:09 2022 +0200 + + Fix typo in test exclusion filter for 'test_mysql_query_digests_stages-t' + +commit f8ee8e2b8e28e031888cc44eb3b2c0f82442266f +Author: Javier Jaramago Fernández +Date: Fri Jun 17 18:25:58 2022 +0200 + + Add new option 'keep_comment' to parallel AFL testing script + +commit c3667840ce83517ea7141149e164d059d9db40f3 +Author: Javier Jaramago Fernández +Date: Fri Jun 17 18:25:12 2022 +0200 + + Update 'afl_digest_test' README.md with new options + +commit d032aefd17bd075410c3f647cb7f1e73b469fd4a +Author: Javier Jaramago Fernández +Date: Fri Jun 17 18:22:47 2022 +0200 + + Add memory poisoning via mem allocation to 'afl_mysql_query_digest' + +commit 1cf6e700139e8ffdc3d8fd8e3d6d20641f7ceb15 +Author: Javier Jaramago Fernández +Date: Fri Jun 17 18:21:58 2022 +0200 + + Add new config option 'keep-comment' for 'afl_mysql_query_digest' + +commit 8aace92b0fd055020051ab43df9638223aad009b +Author: Javier Jaramago Fernández +Date: Fri Jun 17 18:11:22 2022 +0200 + + Add several boundary checks preventing invalid memory accesses in 'mysql_query_digest_and_first_comment_2' + +commit ea7868d59b52ae29ed453b762f8788a7e7efb16c +Author: Javier Jaramago Fernández +Date: Fri Jun 10 16:53:37 2022 +0200 + + Fix buffer overrun when computing 'SQLite3DB' plugin SHA1 + +commit 958316df315e03a64a24df6ba3a27aeea6589847 +Author: Javier Jaramago Fernández +Date: Fri Jun 10 16:51:57 2022 +0200 + + Check that plugin module is initialized before calling 'has_variable' + +commit 8affc8c17b99846fb77c05542fb953bf0c5e4d42 +Author: Javier Jaramago Fernández +Date: Fri Jun 10 16:50:49 2022 +0200 + + Fail when no 'backend_username' is found for the provided 'ldap_user' + +commit 8cbe291961de6f3f15933972da486871da824056 +Author: Miro Stauder +Date: Wed Jun 1 08:46:45 2022 +0000 + + remove hard cmake CXX17 requirement + +commit e4f822300ef59595572e93d2db5b24c1173923f0 +Author: Miro Stauder +Date: Tue May 31 07:11:11 2022 +0000 + + cleanup dead code + +commit 15dd1e6d7d4dc32dba143902648598a64e5e413c +Merge: 09933d96 69a9e990 +Author: Miro Stauder +Date: Tue May 31 06:48:47 2022 +0000 + + Merge branch 'v2.4-clickhouse' of https://github.com/sysown/proxysql into v2.4-clickhouse + +commit 09933d96e0dd084e91661fa0cbb23b59691dfd18 +Author: Miro Stauder +Date: Tue May 31 06:38:15 2022 +0000 + + unneeded include, breaks ubuntu16 + +commit 79b4a3886ef8120baebc0e63091c9b2acc4d8e7c +Author: Miro Stauder +Date: Tue May 31 06:37:04 2022 +0000 + + print verbose compiler version at image entrypoint + +commit f1ff96b3467949c852290a40e6683b5f23466874 +Author: Miro Stauder +Date: Tue May 31 06:33:43 2022 +0000 + + detect CXX17 and select appropriate clickhouse version to use + +commit bfbb96c68a6e0fafdc1692f72d103ce1f6bdbb8d +Author: Miro Stauder +Date: Tue May 31 06:26:21 2022 +0000 + + update entry command and fix rmpmmacros path in build images + +commit 75e6eb6265b670d6c66ce147349d7ef71d77b2ce +Author: René Cannaò +Date: Fri May 27 16:13:26 2022 +0000 + + Updating path of clickhouse in make cleanall + +commit 9f1743a2df7ba7a2e380f3ad250d95eaba2d6e99 +Author: Miro Stauder +Date: Sat May 28 11:30:27 2022 +0000 + + update entry command to properly run with new images + +commit 33dc7daa54355594939f87fed5569b2f81cf25a2 +Author: root +Date: Thu May 26 22:45:38 2022 +0000 + + Clickhouse: send NULL as NULL and not string + +commit 630c50051ea0b18bfa1c42becd8f0aca714a40b9 +Author: René Cannaò +Date: Thu May 26 22:29:02 2022 +0000 + + Allow compiling without c++17 + +commit e47cb3fb8fe857ca01a47debb15fc29e0123f304 +Author: root +Date: Thu May 26 21:04:00 2022 +0000 + + Upgraded clickhouse-cpp to 2.1.0 + + Clickhouse build are using C++17 + +commit 3afcc12b8498b528fafcae3b2b63315c85552696 +Merge: 8592edb7 cb61e169 +Author: René Cannaò +Date: Mon May 30 09:00:09 2022 +0200 + + Merge pull request #3884 from sysown/add-almalinux9-builds + + add almalinux9 builds + +commit 8592edb7a460e08d505659012da0092ed9eadf22 +Merge: 1d454c74 8730fcd3 +Author: René Cannaò +Date: Mon May 30 08:58:18 2022 +0200 + + Merge pull request #3858 from sysown/v2.x_generate_multi_rows + + Added new function to create multirows statements for SQLite + +commit 69a9e9900df54d84395f8a673b2771471375536d +Merge: 1ed60e4a f21856e5 +Author: Miro Stauder +Date: Sat May 28 11:33:17 2022 +0000 + + Merge branch 'v2.4-clickhouse' of https://github.com/sysown/proxysql into v2.4-clickhouse + +commit 1ed60e4a704eb30ca530d7a1d3a2891e5c8e72bd +Author: Miro Stauder +Date: Sat May 28 11:30:27 2022 +0000 + + update entry command to properly run with new images + +commit 8730fcd3504b0dd06a85e8fc8a19fbc81abf7d1a +Merge: 542b2076 1d454c74 +Author: René Cannaò +Date: Fri May 27 23:01:51 2022 +0200 + + Merge branch 'v2.x' into v2.x_generate_multi_rows + +commit 1d454c7493785ff8dcdf9a729160be16034cd3d6 +Merge: a443e3de e6ef1ed2 +Author: René Cannaò +Date: Fri May 27 20:07:31 2022 +0200 + + Merge pull request #3882 from sysown/v2.x-fix_mythr_st_vars_metrics_conv + + Fix conversion computation for 'MySQL_Threads_Handler' status variables metrics + +commit 542b207611d0f2231a192c00ef767c0702637843 +Author: René Cannaò +Date: Fri May 27 17:55:49 2022 +0000 + + Added new function to create multirows statements for SQLite also for MySQL_Monitor and ProxySQL_Cluster + +commit f21856e5494aed83924edf2d3c10ff4fac372d99 +Author: René Cannaò +Date: Fri May 27 16:13:26 2022 +0000 + + Updating path of clickhouse in make cleanall + +commit 10fe7072180b0d007f41bef00bde205bf94659f7 +Author: root +Date: Thu May 26 22:45:38 2022 +0000 + + Clickhouse: send NULL as NULL and not string + +commit 6b04d35d96e8f4596cb9c8dc037888a57881f104 +Author: René Cannaò +Date: Thu May 26 22:29:02 2022 +0000 + + Allow compiling without c++17 + +commit d72a131a1232ac88a36dd32da4473e8b328f8256 +Author: root +Date: Thu May 26 21:04:00 2022 +0000 + + Upgraded clickhouse-cpp to 2.1.0 + + Clickhouse build are using C++17 + +commit cb61e169a4f1ae86086e7f6222d2f694c2444c4b +Author: Miro Stauder +Date: Mon May 23 08:06:11 2022 +0000 + + add almalinux9 builds + +commit e6ef1ed2a8f9db3f8d2d7a36bd09198b09191a57 +Author: Javier Jaramago Fernández +Date: Wed May 18 18:57:56 2022 +0200 + + Fix conversion computation for 'MySQL_Threads_Handler' status variables metrics + +commit a443e3ded055088bde7594eb52d9050c23c5f32e +Author: Javier Jaramago Fernández +Date: Tue May 17 20:21:01 2022 +0200 + + Improve RESTAPI example scripts 'kill_idle_backend_conns.py' and doc + +commit 691c19a0b1e266956287e942890c97750c46711f +Author: Javier Jaramago Fernández +Date: Tue May 17 18:42:46 2022 +0200 + + Fix 'change_host_status' README example for RESTAPI example scripts + +commit d6a753d0f685b7b522afbda6142ca5754b17805b +Author: Javier Jaramago Fernández +Date: Tue May 17 17:46:15 2022 +0200 + + Update 'scripts' folder with several RESTAPI example scripts + +commit 1ea371d41e4f18fa2b26478589c7892792979282 (tag: v2.4.1) +Author: René Cannaò +Date: Fri May 13 18:11:39 2022 +0200 + + Upgrade to 2.4.1 + +commit 63da372a58ad0e7e6e1bb3059b86f21ba743a02e (tag: 2.4.1) +Merge: 05a27c7b a5e2e890 +Author: René Cannaò +Date: Fri May 13 18:09:32 2022 +0200 + + Merge pull request #3878 from sysown/v2.x-reproducibility-fixes + + V2.x reproducibility fixes + +commit 05a27c7b70f04fd121d64fe18f623ce7151325c8 +Merge: f7582410 f05ebe3b +Author: René Cannaò +Date: Fri May 13 16:13:57 2022 +0200 + + Merge pull request #3876 from sysown/v2.x-3873 + + Fix integer overflow and range for 'admin-stats_mysql_digest_to_disk' - Closes #3873 + +commit a5e2e89058213b435776ae218e3e0be92c6383e5 +Author: Miro Stauder +Date: Fri May 13 13:19:05 2022 +0000 + + update afl, toknizer is cpp now + +commit d79322c3926115bba79f1c9f89d57fef4c1b039b +Author: Miro Stauder +Date: Fri May 13 13:17:00 2022 +0000 + + update entrypoint scripts + set git option system wide + exclude touching binaries and links + +commit 10dc0b6bff7936c64c4c7c0682593e2619d43576 +Author: Miro Stauder +Date: Fri May 13 13:15:31 2022 +0000 + + fix cleanall and related + +commit f758241053eefeca92ed0dc9904c7cc93862c536 +Merge: 97aba01d b25a0ca3 +Author: René Cannaò +Date: Fri May 13 14:39:57 2022 +0200 + + Merge pull request #3874 from sysown/v2.x-fix_libhttpserver_postprocess + + Fix POST processing of final keys without values for libhttpserver + +commit 97aba01d0a32e8b82dbdcace6f3c1c56525c9fec +Merge: 090b339f c57c211f +Author: René Cannaò +Date: Fri May 13 14:39:31 2022 +0200 + + Merge pull request #3875 from sysown/v2.x-gcc_12_1_compilation_fixes + + Fix compilation for 'GCC 12.1.0' + +commit 090b339f19045df6b13c37f240513341fc5c7a57 +Merge: 28cb1498 c0fdf02b +Author: René Cannaò +Date: Fri May 13 14:39:03 2022 +0200 + + Merge pull request #3877 from sysown/v2.x-cc220513 + + Fixed various compiler warnings + +commit c0fdf02b7863f627c4e41380f4e32b628843fde0 +Author: René Cannaò +Date: Fri May 13 10:00:28 2022 +0000 + + Fixed various compiler warnings + +commit f05ebe3b512cddda18809153682c24c1f008d06d +Author: Javier Jaramago Fernández +Date: Fri May 13 09:45:14 2022 +0200 + + Fix range of 'admin-stats_mysql_digest_to_disk' to match doc #3873 + +commit 4cd0774549f9257785690e0d2b1ef7bbd1326abf +Author: Javier Jaramago Fernández +Date: Fri May 13 09:38:27 2022 +0200 + + Fix 'int' overflow when computing 'next_timer_mysql_query_digest_to_disk' #3873 + +commit c57c211f60a8a23fd7de2007a6b06e615bd679fd +Author: Javier Jaramago Fernández +Date: Thu May 12 19:06:57 2022 +0200 + + Remove never defined helper function declaration from tests 'utils.h' + +commit d8fb778534454b5ad396f1ad254559392232da64 +Author: Javier Jaramago Fernández +Date: Thu May 12 19:01:16 2022 +0200 + + Fix compilation with 'GCC 12.1.0' adding missing include + +commit b25a0ca3815ba577e8d2f59570c0e6f0be85b052 +Author: Javier Jaramago Fernández +Date: Thu May 12 18:03:10 2022 +0200 + + Fix POST processing of final keys without values for libhttpserver + + This patch fixes the processing of POST parameters for content type + 'application/x-www-form-urlencoded'. Prior to this patch if a final key + is present in the params without a value, it's left unprocessed. + +commit 28cb14988752cb45c44465138e028cf85ea9021a +Author: Miro Stauder +Date: Thu May 12 13:35:07 2022 +0000 + + fix version check + disabling verifyhost and others for version check + +commit 6fc9c4508702ff502dc2c5999feb4428074433e6 (tag: v2.4.0) +Author: Miro Stauder +Date: Tue May 10 19:17:18 2022 +0000 + + fix reproducible builds + +commit 37695d5c7e2eb69556e71e705150a1b43212bd3a +Author: René Cannaò +Date: Tue May 10 15:52:02 2022 +0200 + + Update copyright year + +commit 9b8fad1a08c350cfd15db199b17702faccf06d8b +Author: René Cannaò +Date: Tue May 10 12:24:40 2022 +0000 + + Upgrade to 2.4.0 + +commit a8a6dc2e1a0bb13d913ee52d8e33ce97a4ff0d57 (tag: 2.4.0) +Author: Miro Stauder +Date: Tue May 10 09:51:10 2022 +0000 + + fix git issue - unsafe directory - one more + +commit 1d0a20d748cc1f50e6097ae60d659b92c1e4fdbb +Author: Miro Stauder +Date: Tue May 10 07:22:40 2022 +0000 + + fix git issue - unsafe directory + +commit 2c93e6c38caabe8ece778f21a44a86f9c19f625d +Author: Miro Stauder +Date: Tue May 10 06:49:12 2022 +0000 + + fix centos6 build + make patch conditional + +commit 57d2fabdc0e1786c2c0e84a216d359416cde6e3e +Author: Miro Stauder +Date: Mon May 9 12:00:33 2022 +0000 + + fix arm64 build issue + curl needs -fPIC + +commit ccf6d9e93f81ce22eb356858dd46c4f0f35b96ad +Author: Miro Stauder +Date: Mon May 9 09:47:18 2022 +0000 + + partialy revert PR#3843 + reason - feature depends on CA Certificates + +commit 7940d867da699e443bc8a49589c9608bcbf1b3ed +Merge: 0a28d9a9 4bfe3e58 +Author: René Cannaò +Date: Mon May 9 11:07:26 2022 +0200 + + Merge pull request #3867 from sysown/v2.x-multilag + + Added mysql-monitor_replication_lag_group_by_host + +commit 0a28d9a9f1ab9f68305aa1bfbb6a868628069b3a +Merge: 7a441834 5569528b +Author: René Cannaò +Date: Sat May 7 18:27:52 2022 +0200 + + Merge pull request #3871 from sysown/v2.x-isolate_monitor_mysql_servers + + Isolate 'mysql_servers' from 'monitor' into 'monitor_internal' db. + +commit 7a441834dcca15f8d907cc832ef11c68ceb32c84 +Merge: 33cf9855 5a83b943 +Author: René Cannaò +Date: Sat May 7 18:25:43 2022 +0200 + + Merge pull request #3866 from sysown/v2.x-tokenizer_valgrind_issues + + Fix valgrind found issues for tokenizer during testing + +commit 5569528b04f4a57e8906dd1462be6114afd46c54 +Author: Javier Jaramago Fernández +Date: Fri May 6 16:47:27 2022 +0200 + + Move 'mysql_servers' from 'monitor' db into 'monitor_internal' db + + - Isolate 'mysql_servers' from 'monitor' into 'monitor_internal' db. + - Make 'monitor_internal' accessible from Admin for debug builds. + +commit 5a83b943a38d36e080ba6634299a1f0bc37e3c46 +Author: --global +Date: Thu May 5 20:07:00 2022 +0200 + + Fix leak in handling of command 'PROXYSQL INTERNAL SESSION' + +commit eecfd88552c4a094c74e47f92a3b0554e90d6606 +Author: --global +Date: Thu May 5 18:00:32 2022 +0200 + + Increased timeout for child process in 'reg_test_3847_admin_lock-t' + +commit a4f020c1d173f1432b3f21dd73eefa337e9ce7b1 +Author: --global +Date: Thu May 5 12:53:59 2022 +0200 + + Add new 'TEST_WITHASAN' definition enabling conditional logic in TAP tests for ASAN builds + +commit d546f2835282fb009a0aef3ad4c7dd0cc88c7512 +Author: --global +Date: Thu May 5 12:52:11 2022 +0200 + + Add 'TEST_WITHASAN' env variable for adding conditional logic for ASAN test builds + +commit 4bfe3e58784cdaf6c5443e70f0ba9dfed2606736 +Author: René Cannaò +Date: Thu May 5 12:06:14 2022 +0200 + + Added mysql-monitor_replication_lag_group_by_host + + If variable mysql-monitor_replication_lag_group_by_host=false: (default) + Monitor will perform 1 replication lag check per server per hostgroup. + + If variable mysql-monitor_replication_lag_group_by_host=true: + Monitor will perform 1 replication lag check per server. + + This variable need to be set only in setups in which the same server is + configured in many hostgroups, thus reducing the number of checks + +commit e09f54afcad1ec6dd8d54ed7fee1b33e82654f5c +Merge: 0e883075 15b66686 +Author: --global +Date: Wed May 4 21:43:03 2022 +0200 + + Merge branch 'v2.x-tokenizer_valgrind_issues' of github.com:sysown/proxysql into v2.x-tokenizer_valgrind_issues + +commit 0e8830758b40518112f8a87657304feae967df8e +Author: --global +Date: Wed May 4 20:43:00 2022 +0200 + + Fix leak due to duplicate 'strdup' to 'default_schema' in 'dump_all_users' + +commit 15b666866f00a94ba9cbb019807b6bb068efa371 +Author: René Cannaò +Date: Wed May 4 17:20:53 2022 +0000 + + USEVALGRIND=1 for compiling libmariadb_client with valgrind support + + running export USEVALGRIND=1 , libmariadb_client will be compiled + wth valgrind support, so that valgrind is able to track switching stacks + +commit 8c55b777eeb18e6c3ce7d714bc842f0580d0d5de +Author: René Cannaò +Date: Wed May 4 16:27:27 2022 +0000 + + Fixed various minor bugs detected with valgrind + + MySQL Monitor was tracking failed connections. + SQLite3 server was: + * executing functions again null string + * writing an error message using an incorrect return code + +commit 741b6f2cf0ca2725208d04d2edb4ade8ba4c1faa +Author: --global +Date: Wed May 4 16:11:55 2022 +0200 + + Fix leak during SSL handshake for SPIFFE authentication + + Resources allocated by 'SSL_get_peer_certificate' and + 'X509_get_ext_d2i' were being leaked during the SSL handshake. + +commit 52ea5abfa94b43b71253eaa19881b60aada7ab17 +Author: --global +Date: Tue May 3 19:25:52 2022 +0200 + + Fix invalid 'write-after-free' reported by ASAN + +commit 44d6e48c7b13f29f5f80a9308bbcebc4be490db3 +Author: --global +Date: Tue May 3 09:33:56 2022 +0200 + + Fix conditional jumps based on uninitialized memory at 'process_cmnt_type_1' + + Solved previously left TODOs, removed faulty logic for whitespace + processing for comments using position 'res_cur_pos'. This position + shall not be used because points to yet uninitialized memory, last + position with copied query data should always be 'res_cur_pos-1'. + Because of it, removing the extra logic based on 'res_cur_pos' should be + harmless. + +commit bf14c7034d69850981f03fa2da4566c5a16c64c4 +Author: --global +Date: Tue May 3 09:32:58 2022 +0200 + + Revert "Fix conditional jumps based on uninitialized memory at 'process_cmnt_type_1'" + + This reverts commit 14fd17a4911908d6a2147bbb7caf949b068200be. + +commit 772a73a5e6021fd2850c86b107637dc83a4608e6 +Author: René Cannaò +Date: Mon May 2 18:23:31 2022 +0000 + + Removed test_cluster_sync.cnf + +commit 9abb82c2a47fd0872a284855f23ba4cb63a81b4a +Author: René Cannaò +Date: Mon May 2 18:17:44 2022 +0000 + + Fixed various bugs detected using valgrind + + * uninitialized variables variables.read_only in Clickhouse + * generate_proxysql_internal_session_json() may try to access variables not set + + This commit also prevents watchdog to restart ProxySQL if running under valgrind. + + In debug build, the spinning loops also have a minor usleep. + This to prevent valgrind to loop for long time + +commit 0e0fc0d116a7dad4b0694b30df6fe969d2ead36e +Author: --global +Date: Mon May 2 19:39:35 2022 +0200 + + Remove aggregate init of struct for consistency + +commit 14fd17a4911908d6a2147bbb7caf949b068200be +Author: --global +Date: Mon May 2 19:24:32 2022 +0200 + + Fix conditional jumps based on uninitialized memory at 'process_cmnt_type_1' + + Solved previously left TODOs, removing legacy code performing a filtering + and addition of whitespaces while processing comments. This filtering or + addition should be performed during 'stage_1_parsing' main processing + loop if 'query_digests_keep_comment' is 'false' and within + 'process_cmnt_type_1' otherwise. + +commit b7a91dfe8d4e08534e31f929de01f3ddfaf33f1b +Author: --global +Date: Mon May 2 19:13:43 2022 +0200 + + Fix invalid read at end of allocated buffer for tokenized query + +commit 33cf9855d934ed9545a89b5e7a60a277ea3de4ff +Merge: d23a531e 13dca862 +Author: René Cannaò +Date: Sat Apr 30 06:53:35 2022 +1000 + + Merge pull request #3815 from sysown/CodeQL + + CodeQL detected issue fixes + +commit d23a531e007e641a7d3719f9390033b6d5901cd0 +Author: René Cannaò +Date: Fri Apr 29 21:51:27 2022 +0200 + + Minor sanity checks + +commit 13dca86269ca580738266be245fd027c895a88c4 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Fri Apr 29 17:42:07 2022 +0200 + + fix whitespace issue + +commit faca10fb4d0569476413fea9ea0a96c7de705bdb +Merge: f9d04422 fa110a42 +Author: René Cannaò +Date: Fri Apr 29 02:37:07 2022 +1000 + + Merge pull request #3859 from sysown/v2.x-no_update_query_stats_for_idle_thread + + MySQL idles thread should not call update_query_processor_stats() + +commit 0c37a639067b222e1f28f29ff37d1bbed26f0f71 +Merge: 37e874da f9d04422 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Apr 28 16:58:14 2022 +0200 + + Merge branch 'v2.x' into CodeQL + +commit fa110a4269ab5b8cf265be2cfe30f33887fb93e7 +Author: René Cannaò +Date: Thu Apr 28 16:43:01 2022 +0200 + + MySQL idles thread should not call update_query_processor_stats() + + This was detected by valgrind + +commit f9d04422f129025083a7a2861380de0176a07e57 +Merge: ea721ff3 4799ae3a +Author: René Cannaò +Date: Thu Apr 28 23:59:21 2022 +1000 + + Merge pull request #3855 from sysown/v2.x-3838 + + Properly handle 'EINTR' for signals for RESTAPI - Closes: 3838 + +commit f8a0934c1311b5d69f1a703972d786a2b19ebccb +Author: René Cannaò +Date: Thu Apr 28 15:53:20 2022 +0200 + + Added new function to create multirows statements for SQLite + + This is now used in ProxySQL_Admin and MySQL_HostGroups_Manager. + It improves readibility and it makes the code less error prone. + + Drawback: queries are generated at runtime. + It is possible that in future we will replace this with some strings + initialization during bootstrap. + +commit ea721ff31bc0c9002be26e7c115b0cb386a8d55b +Merge: 27b89b44 c4ee557f +Author: René Cannaò +Date: Thu Apr 28 19:12:39 2022 +1000 + + Merge pull request #3754 from sysown/v2.x-group_replication_consistency + + Add support for more session variables #3731 #3761 #2702 + +commit 27b89b441b1dad63b06c31e91836c0a1ea56a8bc +Merge: 8d2a88a7 a2e29003 +Author: René Cannaò +Date: Thu Apr 28 08:07:52 2022 +1000 + + Merge pull request #3857 from sysown/v2.x-compilation_fixes + + Fix compilation in older GCC versions removing 'auto' usage + +commit 8d2a88a746a7c7b1e6d98cfedcbbd540fb89e773 +Merge: e402b65d 68baa871 +Author: René Cannaò +Date: Thu Apr 28 06:14:46 2022 +1000 + + Merge pull request #3856 from sysown/v2.x-rm_duplicate_mysql_err_counts + + Fix duplicate counting of MySQL errors for client conns + +commit e402b65de1e1495374a996f3546c74cb8825992e +Merge: f9b6f16b f1494b36 +Author: René Cannaò +Date: Thu Apr 28 06:13:26 2022 +1000 + + Merge pull request #3848 from sysown/v2.x-3847 + + Fix deadlock caused by Cluster and Admin and 'proxysql_servers' sync #3847 + +commit a2e29003b709f453b95b7f638965a8850b6c1bab +Author: Javier Jaramago Fernández +Date: Wed Apr 27 21:58:52 2022 +0200 + + Change 'libuuid' linking to dynamic for tap tests Makefile + +commit 88ef51525ce6a5074444e6dc88a10a99116654d3 +Author: Javier Jaramago Fernández +Date: Wed Apr 27 21:38:44 2022 +0200 + + Remove unnecessary 'prometheus' headers from 'main.cpp' + +commit 55fbef61fa8d2ced4e7e5d3a773e857c2cf3c3a9 +Author: Javier Jaramago Fernández +Date: Wed Apr 27 21:36:33 2022 +0200 + + Fix compilation in older GCC versions removing 'auto' usage + +commit 4799ae3a228a4a2c1dfe0e9a4257559123ffeec6 +Author: Javier Jaramago Fernández +Date: Wed Apr 27 20:40:20 2022 +0200 + + Fix leak at 'wait_for_proxysql' test helper function #3838 + +commit 4a3cca28c9d05ec375b22195e6a21ad6e90690df +Author: Javier Jaramago Fernández +Date: Wed Apr 27 20:06:19 2022 +0200 + + Extract POST response also for failing requests in 'perform_simple_post' #3838 + +commit 3dc0ba4744740a9f03ebf742387c6129383c95fb +Author: Javier Jaramago Fernández +Date: Wed Apr 27 18:25:00 2022 +0200 + + Add regression test for RESTAPI signal handling #3838 + +commit 074e4c0595abff0b176b12b5d82a491a0adfe510 +Author: Javier Jaramago Fernández +Date: Wed Apr 27 17:47:25 2022 +0200 + + Improve error report for RESTAPI scripts #3838 + + Previously any error that wasn't ETIME (timeout) was reported as + 'Internal error' and 'errno' was reported. This didn't cover reporting + terminations of the child processes by signals. + +commit 91f5f4392ecca07b71f774e4dbe1093fa70369b1 +Author: Javier Jaramago Fernández +Date: Wed Apr 27 17:43:24 2022 +0200 + + Properly handle 'EINTR' for signals for RESTAPI scripts #3838 + +commit f9b6f16beb861273ef8940f9e74d0e47a41a0f74 +Merge: a1246f33 a50307b9 +Author: René Cannaò +Date: Wed Apr 27 23:37:08 2022 +1000 + + Merge pull request #3824 from sysown/v2.x-proxy_msg_stats + + Add stats capabilities for log messages + +commit a1246f334885070e7d4922b92296a8edbfe0b4b1 +Merge: f36b2837 d0f51dbe +Author: René Cannaò +Date: Wed Apr 27 18:53:00 2022 +1000 + + Merge pull request #3851 from sysown/v2.x-fix-clang-build + + fix clang builds + +commit f1494b36b247ae328db617b780fa36fd8beace90 +Author: Javier Jaramago Fernández +Date: Wed Apr 27 10:38:06 2022 +0200 + + Fix 'test_cluster_sync-t' to work with running cluster #3847 + + - Redesign test for being able to work with an already running cluster. + - Add comments and doc about the test itself and new changes. + - Remove docker usage. + +commit 080a84a9c5a23aec46ca1f796c8ad5aefd6cacf0 +Author: Javier Jaramago Fernández +Date: Wed Apr 27 10:36:53 2022 +0200 + + Dump 'proxysql_servers' after fetch from peer Cluster node #3847 + +commit f36b2837ec02a9cf7f07e0de4bf8206a661f768d +Merge: 96def426 9275e285 +Author: René Cannaò +Date: Wed Apr 27 17:39:01 2022 +1000 + + Merge pull request #3854 from sysown/v2.x-php_NO_BACKSLASH_ESCAPES + + V2.x php no backslash escapes (PHP bug66141) + +commit 9275e2858d0d483134170f111b86f63fc3ba8a03 +Author: René Cannaò +Date: Tue Apr 26 22:33:37 2022 +0200 + + Track NO_BACKSLASH_ESCAPES + + Track NO_BACKSLASH_ESCAPES in case it is changed: + - using SET sql_mode by the client + - directly on the backend (for example default sql_mode, or an + sql_mode set from another variable) + +commit 50f1c9f61a440d06f53912609e8cc77f7a32116a +Author: René Cannaò +Date: Tue Apr 26 21:34:54 2022 +0200 + + Removed reference to STATUS_MYSQL_CONNECTION_NO_BACKSLASH_ESCAPES + + STATUS_MYSQL_CONNECTION_NO_BACKSLASH_ESCAPES was an internal status in + ProxySQL , now deprecated + +commit 96def42671e2b68343d4f3ebc90317ae9262fb19 +Merge: c16963f6 5b25e8f2 +Author: René Cannaò +Date: Wed Apr 27 00:55:52 2022 +1000 + + Merge pull request #3850 from sysown/v2.x-add-ubuntu22-builds + + add ubuntu22 builds + +commit c16963f62f8d2326c64c64ea43875744b2b3ba18 +Merge: af2660c4 ee3be436 +Author: René Cannaò +Date: Wed Apr 27 00:53:44 2022 +1000 + + Merge pull request #3844 from sysown/v2.x-update_openssl + + Security - update OpenSSL v3.0.0 to v3.0.2 + +commit 5759153dbd7ff4441ce18c4d1c5228f881905c9b +Author: René Cannaò +Date: Tue Apr 26 16:48:37 2022 +0200 + + Removie old tarballs related to mariadb-client-library + +commit 99c82133e0219f1d291c58c300a47f7b0b6f360f +Author: René Cannaò +Date: Tue Apr 26 16:47:22 2022 +0200 + + Added note related to upgrading mariadb client library + +commit 99408f9ad8fa317b4e30598ed6f69e35f5cc4216 +Author: René Cannaò +Date: Tue Apr 26 16:29:00 2022 +0200 + + Initial POC for fast_forward and SSL #1459 + +commit d0f51dbe15c1bf19b04fa9596c167b60f0da157c +Author: Miro Stauder +Date: Mon Apr 25 10:33:39 2022 +0000 + + fix void pointer arithmetic + +commit 5b25e8f24d095602b6150bb5ad98227ac94063a5 +Author: Miro Stauder +Date: Mon Apr 25 06:07:59 2022 +0000 + + add ubuntu22 builds + +commit 317a370f0be70a64dc69c2cd0b99abfffc811c2f +Author: Javier Jaramago Fernández +Date: Fri Apr 22 18:35:22 2022 +0200 + + Fix includes after helper functions moved to 'proxysql_utils.cpp' #3847 + +commit 8e280458e69cfe7e29797de24f630a0e3d319f54 +Author: Javier Jaramago Fernández +Date: Fri Apr 22 17:46:38 2022 +0200 + + Add 'proxysql_servers' sync tests to 'test_cluster_sync-t' #3847 + +commit b776304ed7ae0eb76c58ceec19da92024f945f6e +Author: Javier Jaramago Fernández +Date: Fri Apr 22 15:59:00 2022 +0200 + + Fix invalid memory accesses by 'ProxySQL_Node_Entry::set_checksums' #3847 + +commit f2590ff15c812542ed9ccd1ec8ccaaf427f88017 +Author: Javier Jaramago Fernández +Date: Fri Apr 22 15:49:52 2022 +0200 + + Fix 'proxysql_servers' failing to sync due to mismatching checksums #3847 + +commit a53de4996562425b9e4329a068c660dfc481f31a +Author: Javier Jaramago Fernández +Date: Fri Apr 22 13:55:51 2022 +0200 + + Add new regression test for issue #3847 + + - Add new utilities 'wait_for_proxysql' and 'conn_opts_t'. + - Remove duplicate struct definition 'conn_opts_t' from other tests. + - Add the regression test and config file in dedicated datadir. + +commit d4893ffc241b65343b91279e0a136d79a4527a8c +Author: Javier Jaramago Fernández +Date: Fri Apr 22 13:34:34 2022 +0200 + + Remove duplicate functions now present in 'proxysql_utils.h' #3847 + +commit c538a8e1494e6fb496de11fe494f6eb134369b51 +Author: Javier Jaramago Fernández +Date: Fri Apr 22 12:50:01 2022 +0200 + + Make 'wexecvp' return child output in case of 'ETIME' #3847 + + Now 'wexecvp' returns child process 'stdout' and 'stderr' in case of + child process timeout. + +commit 807d902d759077fbbe50e798dc67d39b91074128 +Author: Javier Jaramago Fernández +Date: Fri Apr 22 10:55:24 2022 +0200 + + Move generic utility functions to 'proxysql_utils.h' #3847 + + Use 'proxysql_utils.h' as an isolated header in which place common + utility functions that can be used from ProxySQL and from outside tests. + +commit b74797f7b3216da0b903de38ed9051d9d903c10d +Author: Javier Jaramago Fernández +Date: Fri Apr 22 10:36:15 2022 +0200 + + Fix deadlock caused by Cluster and Admin #3847 + + A deadlock could take place due to reverse mutex acquisition order by + 'GenericRefreshStatistics' and 'load_mysql_variables_to_runtime' when + called by Cluster via 'pull_global_variables_from_peer'. + +commit af2660c48d2a6605af563e95a1621cc7771a837f +Merge: 4e7d59bd b5f92fd0 +Author: René Cannaò +Date: Mon Apr 18 20:23:00 2022 +1000 + + Merge pull request #3836 from sysown/v2.x-backend_conn_ping + + Fix idle backend connections not getting properly pinged + +commit 68baa871be2faa3950ec1c971deb861dff6595d2 +Author: Javier Jaramago Fernández +Date: Mon Apr 18 10:04:11 2022 +0200 + + Fix duplicate counting of MySQL errors for client conns + +commit b5f92fd0d9b8774c72dae4b49b1d88e418a4f5bd +Author: Javier Jaramago Fernández +Date: Mon Apr 18 09:54:52 2022 +0200 + + Optimize 'oldest_idle_connections' map insert/erase operations + +commit ee3be436581afa338cc84c08c7cd240f01773ea0 +Author: Miro Stauder +Date: Fri Apr 15 09:59:11 2022 +0000 + + deps cleanup - OpenSSL + +commit 59f5fa4da13841817547f1423c79b66b0c3697b6 +Author: Miro Stauder +Date: Fri Apr 15 09:54:53 2022 +0000 + + update OpenSSL v3.0.0 -> v3.0.2 + +commit 4e7d59bd403e1e42f93e9333eacd0863282dc6e2 +Merge: 6ea642fc 87e52ff7 +Author: René Cannaò +Date: Fri Apr 15 06:41:47 2022 +0200 + + Merge pull request #3843 from sysown/v2.x-harden_version_check + + Security - harden version check + +commit 6ea642fc5505e70ba5bb79594b47a97bf376b167 +Merge: 308626ff c7eda1d4 +Author: René Cannaò +Date: Fri Apr 15 03:58:31 2022 +0200 + + Merge pull request #3798 from sysown/v2.x-3797 + + Closes #3797: Monitoring not working properly for AWS aurora auto-discovered servers + +commit 308626ff30c7724ffda207776a007f4b4859d9ae +Merge: cbabdf6b 01fa5da3 +Author: René Cannaò +Date: Fri Apr 15 01:49:51 2022 +0200 + + Merge pull request #3817 from sysown/v2.x-binlog_ci_changes + + Add 'proxysql_mysqlbinlog' test and fixes + +commit cbabdf6b7b31a7f0fced2cf51ef02934c12ccd0f +Merge: 20446eba 00aba4de +Author: René Cannaò +Date: Fri Apr 15 01:48:55 2022 +0200 + + Merge pull request #3820 from sysown/v2.x-spiffe_regex_support + + Add regex support for 'spiffe_id' user attribute + +commit 20446ebae7cdf62fdc23c575e85f08de8781280c +Merge: 3245cf29 565799b9 +Author: René Cannaò +Date: Fri Apr 15 01:48:17 2022 +0200 + + Merge pull request #3826 from bpmdoty/v2.x + + Don't intercept SELECT CONNECTION_ID() as COM_STMT_PREPARE + +commit 3245cf292d53ecdc76320c89b4efcbef274439ce +Merge: 513ab0f9 1e496246 +Author: René Cannaò +Date: Fri Apr 15 01:47:59 2022 +0200 + + Merge pull request #3834 from saunderst/fix-ssl_p2s_capath-typo-in-refresh_variables + + Fix ssl_p2s_capath typo in MySQL_Thread::refresh_variables() + +commit 513ab0f9ea9d3818e81269c4f7746b992dae473f +Merge: ddb415f6 ea0a0521 +Author: René Cannaò +Date: Fri Apr 15 01:46:32 2022 +0200 + + Merge pull request #3839 from sysown/v2.x-delay_multiplex_timeout + + Add new variable 'mysql-auto_increment_delay_multiplex_timeout_ms' + +commit 87e52ff7cd2ba96f335786762d097ed90c4dd2d0 +Author: Miro Stauder +Date: Thu Apr 14 20:02:04 2022 +0000 + + update curl to v7.82.0 + +commit 182bc6ca629c48c458cc8942b6c56cdb73546913 +Author: Miro Stauder +Date: Thu Apr 14 11:37:12 2022 +0000 + + explicitly set CURLOPT_SSL_VERIFY* and CURLOPT_RANGE + +commit ea0a0521d7ea0db33709d705ca3ba8758009c7f2 +Author: Javier Jaramago Fernández +Date: Fri Apr 8 20:42:58 2022 +0200 + + Add new test for 'auto_increment_delay_multiplex*' variables + +commit da5291ee5e977c5df10392316bd18682eedabf3b +Author: Javier Jaramago Fernández +Date: Fri Apr 8 20:36:14 2022 +0200 + + Add new variable 'mysql-auto_increment_delay_multiplex_timeout_ms' + +commit 7d5da60ca9ab68c51b7145b2f405eb00a3cb8418 +Author: Javier Jaramago Fernández +Date: Thu Apr 7 10:19:05 2022 +0200 + + Fix restoring of MySQL configuration for duplicate server entries + +commit f84d7fa7ea8528478bdc33b4a9302abe9f2c6109 +Author: Javier Jaramago Fernández +Date: Thu Apr 7 00:59:11 2022 +0200 + + Remove unnecessary headers from 'test_backend_conn_ping-t.cpp' + +commit 24b0ed99ca27dc2ba6f2f625de885f9217d2dee0 +Author: Javier Jaramago Fernández +Date: Thu Apr 7 00:24:18 2022 +0200 + + Add new test 'test_backend_conn_ping-t' checking that backend connections are properly pinged + +commit 1bbe0698d2c4d112572a7e06eeebdf3993f55ae6 +Author: Javier Jaramago Fernández +Date: Thu Apr 7 00:21:21 2022 +0200 + + Fix idle backend connection ordering and selection for keep-alive ping + +commit ddb415f605bfa553f55b2dcf9a715d9fd72d4471 +Author: Miro Stauder +Date: Wed Apr 6 08:58:21 2022 +0000 + + make sure debuginfo is not stripped from packaged binaries + +commit 1e496246fc39c52af3b9622260cf3715e0808914 +Author: Thomas Saunders +Date: Mon Apr 4 20:04:17 2022 -0700 + + fix ssl_p2s_capath typo in MySQL_Thread::refresh_variables + +commit b9c6f6e33bec1f7578489bd3571b9847d0ce91dc +Merge: f11f8fce 4452faa0 +Author: René Cannaò +Date: Fri Apr 1 11:40:10 2022 +0200 + + Merge pull request #3790 from sysown/v2.x-prom_cluster_metrics + + Add new metrics exporting several cluster tables + +commit f11f8fcea8cf798f029fd8574ff8ac7abf7e5f2f +Merge: 06ee994a bb3ee8ad +Author: René Cannaò +Date: Fri Apr 1 11:38:36 2022 +0200 + + Merge pull request #3821 from sysown/v2.x-fix_test_admin_stats-t + + Fix 'text_admin_stats-t' timing issue + +commit 565799b92b918235d8f4373c90fd21c28704313e +Author: Mike Doty +Date: Thu Mar 24 10:52:54 2022 -0600 + + Update conditional to check speifically for COM_QUERY instead of specifically ignoring COM_STMT_PREPARE. Add conditional to SELECT LAST_INSERT_ID(), SELECT LAST_INSERT_ID() LIMIT 1, SELECT @@IDENTITY, SELECT @@IDENTITY LIMIT 1 intercepts. + +commit 2d0b85ece25ee45ee940928fa6e72acd85c5f9a3 +Merge: a1ded636 a5b020a5 +Author: bpmdoty +Date: Wed Mar 23 16:10:38 2022 -0600 + + Merge pull request #1 from bpmdoty/do-not-intercept-version-id-as-prepared-stmt + + Do not intercept COM_STMT_PREPARE packets for SELECT CONNECTION_ID() + +commit a50307b9dfe4a55fce8a04171090c6afd8b3913d +Author: Javier Jaramago Fernández +Date: Wed Mar 23 14:46:27 2022 +0100 + + Add checks for new 'proxysql_message_count_total' metric to 'test_prometheus_metrics' + +commit 775acfcce68d025130ab0253b4e401b5f5c0fb03 +Author: Javier Jaramago Fernández +Date: Wed Mar 23 12:48:42 2022 +0100 + + Add new test verifying the behavior of 'stats_proxysql_message_metrics' + +commit 54148c5f733c23ee3fcae59a7af7f3ea93dfe4eb +Author: Javier Jaramago Fernández +Date: Tue Mar 22 19:20:18 2022 +0100 + + Fix compilation of 'setparser_test.cpp' + +commit fd968f4b02819a5012dc18d935070b723aee81e7 +Author: Javier Jaramago Fernández +Date: Tue Mar 22 17:26:57 2022 +0100 + + Create new message code 'PCM-10002' for 'Unable to parse query' error + +commit ca7f5ea91f5528b9a2ffdd702358e0a85cc4279b +Author: Javier Jaramago Fernández +Date: Tue Mar 22 17:25:23 2022 +0100 + + Create new message code 'PCM-10001' for 'Unexpected packet from client' error + +commit 543bb93e23d9928a4ba246acfbdab44491a82f59 +Author: Javier Jaramago Fernández +Date: Tue Mar 22 17:07:19 2022 +0100 + + Add stats capabilities to log messages + + - Add new version of macros proxy_error|proxy_warning|proxy_info. + - Add new tables 'stats_proxysql_message_metrics' and + 'stats_proxysql_message_metrics_reset'. + - Add new prometheus metric family 'proxysql_message_count_total'. + +commit a5b020a5b2140e190b871975f9766069d63d2bf8 +Author: Mike Doty +Date: Sun Mar 20 14:31:02 2022 -0600 + + Do not intercept COM_STMT_PREPARE packets for SELECT CONNECTION_ID() + Hopefully this fixes issue #2564. + +commit 06ee994ac7e577a3c240bee2c5a5b05bb6f42027 +Author: René Cannaò +Date: Fri Mar 18 11:13:02 2022 +0100 + + Check attributes in debug_spiffe_id + +commit bb3ee8adba9f94d5ee1f638eab3a93998a06b58e +Author: Javier Jaramago Fernández +Date: Fri Mar 18 08:40:00 2022 +0100 + + Fix 'text_admin_stats-t' timing issue + +commit 00aba4de7ac092657f623f700b4bc0144a42d853 +Author: Javier Jaramago Fernández +Date: Wed Mar 16 19:43:58 2022 +0100 + + Add missing includes for 're2' library + +commit 27f6873c7fd501aca2409fe8e15b49ea25f266d1 +Author: Javier Jaramago Fernández +Date: Wed Mar 16 17:05:06 2022 +0100 + + Add regex support for 'spiffe_id' user attribute + +commit 37e874daa8d6d33f8f8179e1e16168b84e2b3d88 +Author: Miro Stauder +Date: Tue Mar 15 11:56:09 2022 +0100 + + revert f0272d5 - fail on empty git describe + +commit a1ded636a1a655d307b61221d04efa1bc52fff3e +Merge: d24dfdd6 712c0816 +Author: René Cannaò +Date: Tue Mar 15 11:29:23 2022 +0100 + + Merge pull request #3806 from sysown/v2.x-no_servers_in_hg_log + + Add extra logging when no servers are available in hostgroup + +commit 01fa5da3533408e146641c1345c8c44f228929a3 +Author: Javier Jaramago Fernández +Date: Mon Mar 14 23:39:04 2022 +0100 + + Increase dirty read max failure rate for 'test_binlog_reader-t' + +commit 0d19b3c4c25567da48fdecbbd291367d51b9182f +Author: Javier Jaramago Fernández +Date: Mon Mar 14 16:05:51 2022 +0100 + + Add functionality test for 'proxysql_mysqlbinlog' + +commit 198dee43b9385f592a5f82ede03a34721a84e112 +Author: Javier Jaramago Fernández +Date: Mon Mar 14 11:49:41 2022 +0100 + + Improve error message when no viable server is found due to GTID waiting + +commit 199ec5bc0a6133ab9c61c7efa47eac071c8298e9 +Author: Javier Jaramago Fernández +Date: Mon Mar 14 11:45:56 2022 +0100 + + Prevent GTID connector creation for 'OFFLINE_HARD' servers + +commit b2cfb4eea906c3f048393490ebe2a1ef8aa54862 +Author: Javier Jaramago Fernández +Date: Mon Mar 14 11:14:23 2022 +0100 + + Fix crash when 'gtid_executed' is empty + +commit 9d5df982233ec06cf5a8dec19757ed3604402b5c +Merge: c52a2c78 d24dfdd6 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Mar 10 21:51:42 2022 +0100 + + Merge branch 'v2.x' into CodeQL + +commit d24dfdd6a01309085f37a39943d2460199b53c08 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Mar 10 15:19:54 2022 +0100 + + Create codeql.yml + +commit c52a2c784116fec217571ea7ea5591d380b45954 +Author: Miro Stauder +Date: Thu Mar 10 14:47:06 2022 +0100 + + patch deps CodeQL alerts + +commit e84dc7ed0e066c02823c025ca9547a908f80f264 +Author: Miro Stauder +Date: Thu Mar 10 14:44:51 2022 +0100 + + fix CodeQL alerts + +commit 0d7d2458ed8eb39a012983044f025d0f1420f7e9 +Author: Miro Stauder +Date: Thu Mar 10 14:42:23 2022 +0100 + + manual CodeQL trigger only + +commit b589f4f9533e89ce8f57e47303d80f03f73a63c4 +Merge: ea3a60c9 0378ea25 +Author: René Cannaò +Date: Thu Mar 10 11:49:31 2022 +0100 + + Merge pull request #3811 from sysown/cleanup-amd64-arm64 + + Cleanup amd64 arm64 + +commit f0272d58d4fb154846b5f4644a1601e4c7fbedce +Author: Miro Stauder +Date: Fri Mar 4 21:50:12 2022 +0100 + + avoid fail on empty git describe + +commit 8005b64f4c3006070d67f85f06e491c532bcb8b2 +Author: Miro Stauder +Date: Fri Mar 4 21:47:49 2022 +0100 + + add CodeQL workflow + +commit 712c08164077bb649c5108f921d973c9b05a3e22 +Author: Javier Jaramago Fernández +Date: Wed Mar 2 13:05:31 2022 +0100 + + Add extra logging when no servers are available in hostgroup + +commit c7eda1d49d07cb5d591486d4b7167f134ac1d963 +Author: Javier Jaramago Fernández +Date: Mon Feb 28 20:58:56 2022 +0100 + + Add missing delete when updating 'mysql_servers_to_monitor' resulset #3797 + +commit 9e7afd496615ea34597e790dfae64fcea9a35b42 +Author: Javier Jaramago Fernández +Date: Mon Feb 28 17:08:18 2022 +0100 + + Access 'Monitor::mysql_servers_mutex' through 'GloMyMon' instead of 'this' #3797 + +commit ba505284a6e53e273cacee3f7620f1f024f04b48 +Author: Javier Jaramago Fernández +Date: Mon Feb 28 17:04:09 2022 +0100 + + Add missing 'Monitor::mysql_servers_mutex' initialization #3797 + +commit c50a7053ad09b2298bb6c241c3de6aa7f22e8f5b +Author: Javier Jaramago Fernández +Date: Thu Feb 24 15:58:16 2022 +0100 + + Fix monitoring not working for AWS Aurora auto-discovered instances #3797 + + - Monitoring actions 'ping' and 'connect' now make use of a new + introduced table 'monitor.mysql_servers' instead of 'mysql_servers' + table from Admin. + - This table is kept in sync via a shared resulset in + 'MySQL_HostGroups_Manager'. + +commit 0378ea25c18fab8caea81a4d0f31977374fa3a43 +Author: Miro Stauder +Date: Wed Feb 23 21:11:52 2022 +0000 + + cleanup unused + +commit 565e98ec43e646b96cea89a10c6408a6f585c84b +Author: Miro Stauder +Date: Wed Feb 23 21:10:20 2022 +0000 + + set arch using package manager + +commit 5bdf4d3c2f37057dc7d07cf704efad1e2ed3b8e1 +Author: Miro Stauder +Date: Wed Feb 23 19:13:59 2022 +0000 + + reorganize and cleanup distros + +commit a5bf636885dc6255453f37ef461bc398e700985b +Author: Miro Stauder +Date: Wed Feb 23 19:12:59 2022 +0000 + + detect architecture via package manager + +commit f5cd40223d83e09c9c04d995084d02141ccbbbfe +Author: Miro Stauder +Date: Wed Feb 23 15:42:14 2022 +0000 + + use multiarch docker images + +commit c4ee557fa1bd685cdd3640b9402a090f3a8c4a14 +Author: René Cannaò +Date: Tue Feb 22 08:26:42 2022 +0000 + + Lowercase wsrep_osu_method in TAP tests + +commit ea3a60c9ae8971cf69ca4b207d1a56eaf4284c29 +Merge: e10ca974 53dfb4d7 +Author: René Cannaò +Date: Mon Feb 21 19:42:07 2022 +0100 + + Merge pull request #3783 from sysown/v2.x-query_digest_preserve_comment + + Add new variable 'mysql-query_digests_keep_comment' + +commit e10ca974fad2d2e1b872ce4b4b3e68be893e0bff +Merge: 9768a872 1d0eb651 +Author: René Cannaò +Date: Mon Feb 21 18:22:04 2022 +0100 + + Merge pull request #3793 from sysown/v2.x-remove_client_found_rows + + Remove deprecated variables 'mysql-client_found_rows' and 'mysql-client_multi_statements' + +commit 9768a872191ba7968820632acc477fd8d59adc89 +Merge: 75af8d6e 05d078bf +Author: René Cannaò +Date: Mon Feb 21 18:21:46 2022 +0100 + + Merge pull request #3794 from sysown/v2.x-debug_filters_testing + + Add new test 'test_debug_filters-t' + +commit 75af8d6efe310896b7694468a803ec14b6b1ad1c +Merge: 7dc82cd1 d7a3a3e1 +Author: René Cannaò +Date: Fri Feb 18 10:43:41 2022 +0100 + + Merge pull request #3784 from sysown/build-almalinux + + Build almalinux + +commit 1d0eb651ac1ebadb10f63a900a6af367eaa86c21 +Author: Javier Jaramago Fernández +Date: Wed Feb 16 20:41:54 2022 +0100 + + Remove deprecated variable 'mysql-client_multi_statements' from 'test_cluster_sync' + +commit a10cb49ccaa56615b802ddb56f927a7b9f5346e9 +Author: Javier Jaramago Fernández +Date: Wed Feb 16 20:41:26 2022 +0100 + + Remove deprecated variable 'mysql-client_multi_statements' + +commit 05d078bfc7fe391db9290499c3a2da5be79de975 +Author: Javier Jaramago Fernández +Date: Wed Feb 16 20:32:11 2022 +0100 + + Add new test 'test_debug_filters-t' + +commit 7140d331a785a2bacf4d357a11f2704a43439c2b +Author: Javier Jaramago Fernández +Date: Tue Feb 15 17:28:18 2022 +0100 + + Removed deprecated variable 'client_found_rows' from 'test_cluster_sync' + +commit 5480012329d54324883861d8efc969ca7c720d6d +Author: Javier Jaramago Fernández +Date: Tue Feb 15 17:16:45 2022 +0100 + + Remove definitions of deprecated variable 'mysql-client_found_rows' + +commit 02915a9eae20ee32555922fcb046403852e1f923 +Author: Javier Jaramago Fernández +Date: Mon Feb 14 13:44:33 2022 +0100 + + Remove deprecated variable 'mysql-client_found_rows' + +commit 4452faa037c997977afedd786bc5e6b526cfb32c +Author: Javier Jaramago Fernández +Date: Mon Feb 14 13:22:48 2022 +0100 + + Add missing newline char at end of 'SSL is required' error message + +commit 8956b672f430fa5586ef4a6f6c63a367a260ef67 +Author: Javier Jaramago Fernández +Date: Mon Feb 14 13:20:21 2022 +0100 + + Remove 'admin_mysql_ifaces' from metrics labels for 'proxysql_servers_clients_status' + +commit b5bdb47dae51159946bed88e544fd26f2af926a9 +Author: René Cannaò +Date: Mon Feb 14 11:59:52 2022 +0000 + + Add support for wsrep_osu_method + +commit 0e0cacddf6c0ee5a637155df25ca23e004f4801a +Author: Javier Jaramago Fernández +Date: Thu Feb 10 17:14:35 2022 +0100 + + Improve missings servers keys filtering for 'p_update_connection_pool' + +commit 6d59956b5f2caeba4e36688f9d51f9bbfc14f455 +Author: Javier Jaramago Fernández +Date: Thu Feb 10 17:11:11 2022 +0100 + + Change conn_pool metrics update functions to use 'const refs' + +commit 5ed8bd5517c93495c6571b69154298d7a8c46e44 +Author: Javier Jaramago Fernández +Date: Thu Feb 10 17:02:17 2022 +0100 + + Add new metrics for 'proxysql_servers_checksum' and 'proxysql_servers_metrics' + +commit 3e906acc04913ac24146f7309c2c7d678e4f2939 +Author: Javier Jaramago Fernández +Date: Thu Feb 10 16:56:49 2022 +0100 + + Add new metric 'proxysql_servers_clients_status_last_seen_at' + +commit 28230499d5f54f4da51a19039cdccea2d31d8bce +Author: Javier Jaramago Fernández +Date: Thu Feb 10 09:53:31 2022 +0100 + + Add new prometheus helper function and improve others definitions + + - Added new helper function 'p_update_map_gauge' + - Improved helpers definitions using references. + +commit d7a3a3e1c66729891551f37c941c03fcab8ea9d7 +Author: Miro Stauder +Date: Tue Feb 8 08:23:02 2022 +0000 + + generate id-hash from packaged executable + +commit 2cfb36fff84a821628f562b572d8102915754f64 +Author: Miro Stauder +Date: Fri Feb 4 21:51:48 2022 +0000 + + fix packaging + +commit 74ebd7c18d72a1ff107013ee4033cdd778638911 +Author: Miro Stauder +Date: Fri Feb 4 21:51:12 2022 +0000 + + add almalinux + +commit 53dfb4d7e3f15871e94144d9a0d4aca9904f31a5 +Author: Javier Jaramago Fernández +Date: Fri Feb 4 17:01:19 2022 +0100 + + Fix formatting of 'query_digests_keep_comment' variable added to 'get_variables_list' + +commit d4a59691e7297a316645ae643aca32ab1a6ce548 +Author: Javier Jaramago Fernández +Date: Fri Feb 4 16:57:51 2022 +0100 + + Fix compilation of 'test_tokenizer-t' due to new variable 'mysql-query_digests_keep_comment' + +commit f16f9f95c1eafb3dbfbbb19c916da1816183fcf5 +Author: Javier Jaramago Fernández +Date: Fri Feb 4 16:51:39 2022 +0100 + + Add support for 'mysql-query_digests_keep_comment' to test + + Test also received several fixes: + - All fields supported for 'mz' tests payloads are now optional + - Addressed several memory leaks + - Payload file updated with new cases and docs + +commit 3ca605055ccb6164acbeb81139148c225b6061de +Author: Javier Jaramago Fernández +Date: Fri Feb 4 16:49:55 2022 +0100 + + Zero return buffer end pos for DEBUG for 'mysql_query_digest_and_first_comment_2' + + Helps to simplify debugging if logging is added and ASAN is enabled + +commit 7d1bd5a7595c5e8da420b03f4246809cb181386e +Author: Javier Jaramago Fernández +Date: Fri Feb 4 16:47:39 2022 +0100 + + Delete old comment in 'process_literal_digit' + +commit 35ad2f68c26738c8e452c282dbb3aa9b2a993d47 +Author: Javier Jaramago Fernández +Date: Fri Feb 4 16:40:32 2022 +0100 + + Implement new variable 'mysql-query_digests_keep_comment' + +commit 25fc1def8e3873bd4da3ea33885e70c55d5ef1b6 +Author: René Cannaò +Date: Fri Feb 4 13:34:53 2022 +0000 + + Fixed a buffer overflow in new variables + +commit 7dc82cd1bbee706d5d30190c684cb4d58953d878 +Merge: 803345a3 0b63c74e +Author: René Cannaò +Date: Thu Feb 3 19:27:19 2022 +0100 + + Merge pull request #3774 from sysown/v2.x-test_unshun_failures + + Fix test 'test_unshun_algorithm-t' and variable 'mysql-connect_retries_delay' + +commit 803345a3f6d2a9590b7f96bda7674e05b653804d +Merge: 409fedad 50cf5096 +Author: René Cannaò +Date: Thu Feb 3 18:44:30 2022 +0100 + + Merge pull request #3782 from sysown/v2.x-3483 + + Closes #3483: Expose ProxySQL version info in Prometheus metrics + +commit a4a0aba27333ad5e19558c628f641a5d26c74c0e +Author: René Cannaò +Date: Thu Feb 3 17:07:46 2022 +0000 + + Added new variables to generate_set_session_csv.cpp , incorrectly dropped + +commit 409fedad2a9dc3aed6e1acc4aee55c31938a3d11 +Author: Javier Jaramago Fernández +Date: Thu Feb 3 17:11:33 2022 +0100 + + Increase the CPU usage threshold to 3% for 'reg_test_3765_ssl_pollout' + +commit 50cf50967a7cee5b7262a0456f885b5d4e872e1d +Author: Javier Jaramago Fernández +Date: Thu Feb 3 17:04:38 2022 +0100 + + Add test for new metric 'proxysql_version_info' #3483 + +commit 01a6e1c9bfc328040f897d5ea7fff30df4ed0c0c +Author: Javier Jaramago Fernández +Date: Thu Feb 3 17:03:44 2022 +0100 + + Add new prometheus metric 'proxysql_version_info' #3483 + +commit b7ab661dd6e0f344d47874b0b0130c9a098d44df +Author: René Cannaò +Date: Thu Feb 3 14:41:08 2022 +0000 + + Adding again generate_set_session_csv.cpp deleted by mistake in previous commit + +commit fd05b377626a54b927cc390ee570e09b9b36b5c1 +Author: René Cannaò +Date: Thu Feb 3 13:18:16 2022 +0000 + + Added support for more session variables: + + - aurora_read_replica_read_committed + - group_replication_consistency + - query_cache_type + +commit 0b63c74e80a283278c44ba0157924aeeec7b6389 +Author: René Cannaò +Date: Thu Feb 3 12:31:14 2022 +0100 + + Minor typo + +commit 4e50150220bdf746af636132126e765c0501b20d +Merge: 27554620 256d7c28 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Feb 3 11:27:13 2022 +0100 + + Merge pull request #3776 from sysown/build-opensuse15 + + add opensuse15 builds + +commit f2a6bcb646872936d43043e0555f626d1b2590b7 +Author: Javier Jaramago Fernández +Date: Thu Feb 3 10:46:09 2022 +0100 + + Add new test for 'mysql-connect_retries_delay' + +commit cfdb9caf1675a90c4dcf06be781d36c1540c7979 +Author: Javier Jaramago Fernández +Date: Thu Feb 3 10:45:23 2022 +0100 + + Fix 'test_unshun_algorithm' design and improve doc + +commit 27554620f6103a8904c9698a2547dc1f842010ec +Merge: 99ead8b8 21542229 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Feb 3 09:42:39 2022 +0100 + + Merge pull request #3777 from sysown/v2.1.2-cluster + + change linking uuid to dynamic + +commit 256d7c2885598d36f4aa7b5a07ee9ce9e1a988d1 +Author: Miro Stauder +Date: Thu Feb 3 08:39:05 2022 +0000 + + fix file owner + +commit 99ead8b8448d7ab1b52e05122c5114d11e3f64db +Merge: baf80154 63036d85 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Thu Feb 3 09:31:30 2022 +0100 + + Merge pull request #3779 from sysown/build-clang + + fix file name/owner + +commit 63036d85b815eb27b292902289bdd0d396334c4f +Author: Miro Stauder +Date: Thu Feb 3 08:28:23 2022 +0000 + + fix file name/owner + +commit 3a19f717ac4e469cd4f52d1b6619dab9a7a4e50b +Author: Javier Jaramago Fernández +Date: Wed Feb 2 19:32:57 2022 +0100 + + Fix 'mysql-connect_retries_delay' not being honored + +commit b24459cd9a89a9796c9cfce1f1ee96ac1c4c12bd +Author: Javier Jaramago Fernández +Date: Wed Feb 2 19:30:48 2022 +0100 + + Remove extra logging info for troubleshooting SHUNNING errors + +commit c3c1a50d91ce3fa51f94bdb12a1ec63f6d7b4fae +Author: Javier Jaramago Fernández +Date: Wed Feb 2 14:37:16 2022 +0100 + + Add extra logging info for troubleshooting SHUNNING errors + +commit 21542229066c53f692ee49c12a5ad17b6ea99721 +Author: Miro Stauder +Date: Thu Jan 27 22:02:06 2022 +0000 + + change linking uuid to dynamic + +commit 62cdfebc8fd00b306d1b9deaecb0aba57898bfa4 +Author: Miro Stauder +Date: Thu Jan 27 07:55:13 2022 +0000 + + add opensuse15 builds + +commit baf8015419f3f56ba5a3e64449ce5682d4f3b806 +Merge: ae809896 21c1f503 +Author: René Cannaò +Date: Wed Jan 26 11:17:33 2022 +0100 + + Merge pull request #3775 from sysown/build-clang + + Build clang + +commit 21c1f503c1d4c0fbb55cc6276f590303c3c1c91f +Author: Miro Stauder +Date: Tue Jan 25 20:49:37 2022 +0000 + + refactor clang conditional MYCXXFLAGS + +commit 1ee0a7f301e9390d3926c0291ca0934a7fde4cd5 +Merge: 3d298ad7 22c10310 +Author: Miro Stauder +Date: Tue Jan 25 11:59:24 2022 +0000 + + Merge branch 'build-clang' of https://github.com/sysown/proxysql into build-clang + +commit 3d298ad72ea80845fbfce239411f4056b00a9dd0 +Author: Miro Stauder +Date: Tue Jan 25 11:58:34 2022 +0000 + + cleanup buildroot before and after pkg build + +commit 22c1031029ed1c30bb42cf75d94d7ad9cea5554b +Merge: 625502f7 ae809896 +Author: Miro Stauder <29940727+mirostauder@users.noreply.github.com> +Date: Mon Jan 24 22:01:56 2022 +0100 + + Merge branch 'v2.x' into build-clang + +commit 625502f7685a5e1e9d21542242d6ff35dccc9739 +Author: Miro Stauder +Date: Mon Jan 24 20:52:00 2022 +0000 + + make clickhouse fix conditional for clang + +commit 4f2f9ecef42f313532ec50ad76293e2465a21617 +Author: Miro Stauder +Date: Mon Jan 24 20:51:27 2022 +0000 + + cleanall add rm id-hash + +commit 4ecc7b30c34d3fc6012e269bab1eb1beb949d283 +Author: Miro Stauder +Date: Mon Jan 24 20:44:34 2022 +0000 + + fix commented line + +commit 27c297dc4c6943e3aaa393ffb41df92e222bd954 +Merge: 6df04d29 e4469d12 +Author: Miro Stauder +Date: Mon Jan 24 20:37:15 2022 +0000 + + Merge branch 'build-clang' of https://github.com/sysown/proxysql into build-clang + +commit 6df04d2951acc9ef821617fa83860d4b0d249a01 +Author: Miro Stauder +Date: Tue Jan 18 15:38:58 2022 +0000 + + add building packages with clang + +commit de5e437bc65bbbde7f211ccdd7cbb3be3411707b +Author: Javier Jaramago Fernández +Date: Mon Jan 24 17:34:03 2022 +0100 + + Add exit conditions on failure for 'test_unshun_algorithm-t' + +commit ae8098963884fa0ed8688f02d6cfec35f2872b43 +Merge: fdb0abd3 43c6acb2 +Author: René Cannaò +Date: Sat Jan 22 22:46:09 2022 +0100 + + Merge pull request #3305 from sysown/v2.1.2-cluster + + Cluster improvements + +commit fdb0abd3b2939e99e38703472c5a3af77c0d1dc4 +Merge: 52984e0d 3ae299cb +Author: René Cannaò +Date: Sat Jan 22 21:45:43 2022 +0100 + + Merge pull request #3771 from sysown/v2.x-unshun_verb2 + + Add more verbosity for TAP test_unshun_algorithm-t + +commit 43c6acb218e6c0a1abedf9c771b9112930e869d4 +Merge: 8d83bd35 52984e0d +Author: René Cannaò +Date: Sat Jan 22 21:32:29 2022 +0100 + + Merge branch 'v2.x' into v2.1.2-cluster + +commit 52984e0d0701662ce0f6478f80a15c108d5929a8 +Merge: 126b5821 df504171 +Author: René Cannaò +Date: Sat Jan 22 19:23:08 2022 +0100 + + Merge pull request #3755 from sysown/proxysql-elf-sha1 + + Proxysql elf sha1 + +commit 3ae299cb9762305ed56f201fad913954140cfbde +Author: René Cannaò +Date: Sat Jan 22 15:35:34 2022 +0000 + + Add more verbosity for TAP test_unshun_algorithm-t + +commit 126b5821ce28cb2c17903542f02b2c99a2c9134e +Merge: d5f3bf3a d3b6b16a +Author: René Cannaò +Date: Sat Jan 22 12:59:15 2022 +0100 + + Merge pull request #3505 from sysown/v2.x-3504 + + Closes #3504: 'Auth Method Switch' not being properly handled for COM_CHANGE_USER + +commit d3b6b16aa78363bd3b24ecb2167939c7b0c510cf +Author: René Cannaò +Date: Sat Jan 22 11:04:41 2022 +0000 + + Fixing a compiling issue + +commit 4bfe67406464c49ba0bfebcc1feae94f0a2cc560 +Merge: eaf50de5 d5f3bf3a +Author: René Cannaò +Date: Sat Jan 22 11:48:43 2022 +0100 + + Merge branch 'v2.x' into v2.x-3504 + +commit d5f3bf3a425f568ba686484abec7d3d3ea154566 +Merge: 09a13887 613b8330 +Author: René Cannaò +Date: Sat Jan 22 11:47:18 2022 +0100 + + Merge pull request #3769 from sysown/v2.x-test_unshun_algorithm-verbose + + Improve verbosity of TAP test_unshun_algorithm-t + +commit 613b833063c85539cf8644c2f63309e4e21663c1 +Merge: ae763027 09a13887 +Author: René Cannaò +Date: Sat Jan 22 11:47:08 2022 +0100 + + Merge branch 'v2.x' into v2.x-test_unshun_algorithm-verbose + +commit 09a13887508bca580f399a7edd9cce15c109daa4 +Merge: 8095126a 2c55a3da +Author: René Cannaò +Date: Sat Jan 22 11:12:09 2022 +0100 + + Merge pull request #3766 from sysown/v2.x-3765 + + Closes #3765: POLLOUT incorrectly set due OpenSSL 3.0 update + +commit eaf50de5c816c679bbaa012220f15baeb8576870 +Author: René Cannaò +Date: Sat Jan 22 10:04:15 2022 +0000 + + Extending tap utils.h to work with mysql client library + +commit ae7630277bfda3ba6db97d6062654db132349537 +Author: René Cannaò +Date: Sat Jan 22 09:50:50 2022 +0000 + + Adding files to .gitignore + +commit 9b30029030d9f66b3b9dc7f511fb61b6006b52f5 +Author: René Cannaò +Date: Sat Jan 22 09:48:33 2022 +0000 + + Improve verbosity of TAP test_unshun_algorithm-t + +commit db8275a66dd2d3ca706db31eaa59c414bea03629 +Merge: 8e529055 8095126a +Author: René Cannaò +Date: Fri Jan 21 22:32:53 2022 +0100 + + Merge branch 'v2.x' into v2.x-3504 + +commit 8095126a194e15c1a14b3c4e5381214a89812256 +Merge: 569872ad c51d78c1 +Author: René Cannaò +Date: Fri Jan 21 22:19:40 2022 +0100 + + Merge pull request #3757 from sysown/v2.x-3756 + + Closes #3756: Conflict between `deprecate_eof` and `fast_forward` + +commit 569872ad0b6bea85c1cc747ecff9f19e7185c6cb +Merge: d20683c5 977bf0f1 +Author: René Cannaò +Date: Fri Jan 21 22:16:40 2022 +0100 + + Merge pull request #3759 from acabaca24/v2.x + + Removed dead code + +commit 2c55a3da494fb9b28dc376b742c699a0922840b5 +Author: Javier Jaramago Fernández +Date: Tue Jan 18 22:17:13 2022 +0100 + + Increased tolerance and fixed typo on test 'reg_test_3273_ssl_con' #3765 + +commit 057ba0b86714b697f17c257e0ba295a6fccb39e2 +Author: Javier Jaramago Fernández +Date: Tue Jan 18 20:09:13 2022 +0100 + + Fixed typo and improved file doc for test 'reg_test_3765_ssl_pollout' #3765 + +commit b528bc9b4f7a5f0f516e90ea80a205e48d86b3cb +Author: Javier Jaramago Fernández +Date: Tue Jan 18 20:07:47 2022 +0100 + + Fixed typo in 'bio_st' struct doc #3765 + +commit 12714a5082d9cf95f1ebd0661870c5c2f4d441e8 +Author: Javier Jaramago Fernández +Date: Tue Jan 18 19:39:41 2022 +0100 + + Added regression test 'reg_test_3765_ssl_pollout' and improved 'reg_test_3273_ssl_con-t' #3765 + +commit 9dad81c4b2713317a5c141034533e8f38c53b668 +Author: Javier Jaramago Fernández +Date: Tue Jan 18 19:17:55 2022 +0100 + + Update 'bio_st' OpenSSL internal struct definition to match library #3765 + +commit e4469d124d2a3c52a6ff5ac0fa437e434006e503 +Author: Miro Stauder +Date: Tue Jan 18 15:38:58 2022 +0000 + + add building packages with clang + +commit df5041715861bd97821b65547f017cbc91f31ab5 +Author: Miro Stauder +Date: Fri Jan 14 22:09:22 2022 +0000 + + cleanall remove id-hash files + +commit 2d7e11ff2d6a41a86f37533831c37823a4a83bea +Author: Miro Stauder +Date: Fri Jan 14 21:22:35 2022 +0000 + + fix _ in id-hash name + +commit 977bf0f1da82c6f2954e47c2ced392b48e8619ea +Author: André Cabaça <61804801+acabaca24@users.noreply.github.com> +Date: Wed Jan 12 23:49:16 2022 +0100 + + Removed dead code + + As reported in #3740 there was duplicated code. + Originated from this merge #739 + +commit c51d78c10bf41b374740e97847d840a118c30411 +Author: Javier Jaramago Fernández +Date: Wed Jan 12 17:59:31 2022 +0100 + + Fix 'create_new_connection' annotation failure due to thread-local connection pool + + A thread local connection should be retrieved only if 'fast_forward' is + disabled AND 'create_new_connection' wasn't present in the query. + +commit 06c7c56f4fb496f85197af8163acf188e17ea38d +Author: Javier Jaramago Fernández +Date: Wed Jan 12 17:43:54 2022 +0100 + + Fix issues with 'fast_forward' and 'DEPRECATE_EOF' + + 'DEPRECATE_EOF' support wasn't properly tracked in + 'server_capabilities'. Because this property is used for setting + 'DEPRECATE_EOF' in 'client_flags' options for backend connections when + 'fast_forward' is used, a mismatch between a client and a backend + connection could take place. + +commit 65a862d227ae4027c5ccbf748b13a09b6c488c88 +Author: Miro Stauder +Date: Wed Jan 12 13:49:49 2022 +0000 + + generate sha1 aka id-hash for proxysql elf + +commit 268f8520fe8f9ab9cb6994b524bc62c5d7690a38 +Author: René Cannaò +Date: Wed Jan 12 12:46:10 2022 +0100 + + Added skeleton to support group_replication_consistency #3731 + +commit b5ea7786e7082cc039341276fb0c88a91b5df45c +Author: Miro Stauder +Date: Wed Jan 12 09:54:51 2022 +0000 + + compose file cleanup + +commit d20683c5892884152d329edaee12f5eb4705a7cd +Merge: 40aa84fc ba929e28 +Author: René Cannaò +Date: Mon Jan 10 20:25:02 2022 +0100 + + Merge pull request #3702 from sysown/v2.x-variables + + Improvements on how MySQL variables are processed + +commit fcaa3e6c0c58de6f9977891ebeda9763b238086c +Author: Miro Stauder +Date: Mon Jan 10 16:51:43 2022 +0000 + + add centos6 + grouping clenaups + +commit 2db985cd3c303bf8ae3e6f03021770a89238fabe +Author: Miro Stauder +Date: Mon Jan 10 16:50:27 2022 +0000 + + fix centos6 release + +commit ba929e285109ca4d2b254cabd06d6e1f6aab65ce +Author: René Cannaò +Date: Mon Jan 10 15:13:03 2022 +0000 + + Improved handling of sql_big_selects variable + +commit 29df394cd7ee4bec3e8f925f47e827ef6794bad6 +Author: Miro Stauder +Date: Mon Jan 10 14:37:13 2022 +0000 + + cleanup entrypints + +commit a6849afb6f3c6140faadcfae0ebb2094b48bbffa +Author: Miro Stauder +Date: Mon Jan 10 14:35:58 2022 +0000 + + add centos6 target + +commit 8d83bd35626679769d5752bc0606584e3a052ef6 +Merge: 9f264fcf 40aa84fc +Author: René Cannaò +Date: Sat Jan 8 21:07:06 2022 +0100 + + Merge branch 'v2.x' into v2.1.2-cluster + +commit 9f264fcf1dd78eddf90d2debb9c9e7fb2de2d8bb +Author: René Cannaò +Date: Sat Jan 8 17:18:57 2022 +0100 + + In Cluster pull_mysql_servers_from_peer() lock mysql_servers only if mysql servers tables are going to be written. + + Before this commit we were calling GloAdmin->mysql_servers_wrlock() at the + beginning of the synchronization. + This was not ideal as we should call GloAdmin->mysql_servers_wrlock() only + if we are really going to write the tables. In other words, only if the + resultsets are fetched from the remote peer, and if their checksums didn't + change in the meantime. + +commit 40aa84fc802e245ab0fd07efd90f5c3073e4e1a0 +Merge: d03c8238 ba1fe1b2 +Author: René Cannaò +Date: Sat Jan 8 16:24:05 2022 +0100 + + Merge pull request #3751 from sysown/fix-c99-issues-v2 + + add -std=c11 flag + +commit ba1fe1b27efff460a8683ce9ecb8612b04974ba1 +Merge: 8afbadaa 7824f831 +Author: René Cannaò +Date: Sat Jan 8 15:03:22 2022 +0100 + + Merge branch 'fix-c99-issues-v2' of https://github.com/sysown/proxysql into fix-c99-issues-v2 + +commit 8afbadaaef2fa9f8f13abb6923a98e816008c16f +Author: René Cannaò +Date: Sat Jan 8 14:08:20 2022 +0100 + + In c_tokenizer replace initializer list with simple memset + +commit 7824f831634ca142a74a3b79f2103dbcbf04dd2f +Author: René Cannaò +Date: Sat Jan 8 14:08:20 2022 +0100 + + In c_tokenizer replace initializer list with simple memset + +commit a7d1dc5b5cedf39502e3f1044ef26cd6c604fc26 +Author: René Cannaò +Date: Sat Jan 8 13:57:17 2022 +0100 + + Rename c_tokenizer.c to c_tokenizer.cpp + + Now all code is in C++ files anf only C++ compiler will be used + +commit 118e58dd7e285d35c6bc04e924b75583b8d16bac +Author: Miro Stauder +Date: Fri Jan 7 20:35:18 2022 +0000 + + rename variable + +commit fbd3eade83dad67bafe8f32dbe9b29b227ce9d4c +Author: Miro Stauder +Date: Fri Jan 7 17:05:24 2022 +0000 + + add -std=c11 flag + +commit d03c8238050ff3ef8d33c1ac274ea4951a6df82d +Merge: cb34b82c 66b30806 +Author: René Cannaò +Date: Fri Jan 7 00:57:44 2022 +0100 + + Merge pull request #3748 from sysown/v2.x-PtrArray_refact + + Changed variables order in PtrSizeArray/PtrArray + +commit 66b30806a517acfeb528482404b658739f89609e +Author: René Cannaò +Date: Fri Jan 7 00:56:52 2022 +0100 + + Removing a comment + +commit 630124b774af816d4f6b48d7ee6762e53d7ca408 +Author: René Cannaò +Date: Thu Jan 6 22:54:49 2022 +0100 + + Minor improvement for cache affinity + +commit cb34b82c3a46028bd1d4845271d090e28280c881 +Merge: e3fb002a 0c7934aa +Author: René Cannaò +Date: Thu Jan 6 22:53:23 2022 +0100 + + Merge pull request #3680 from sysown/v2.x-fixes_for_query_diggest_issues + + Several fixes for parsing issues in `mysql_query_digest_and_first_comment` + +commit e3fb002a8bd89eb87d0025d7c12980b1519078c9 +Merge: 6000eded bed58f92 +Author: René Cannaò +Date: Thu Jan 6 21:56:14 2022 +0100 + + Merge pull request #3747 from sysown/fix-build-issues + + Fix build issues + +commit 330feaae8b74121fe0a6222f3f875cf1f55f7ff9 +Author: René Cannaò +Date: Wed Jan 5 12:18:24 2022 +0100 + + Changed variables order in PtrSizeArray/PtrArray + + This minor change seems to improve cache affinity, because "len" is the + variable that is read mostly + +commit bed58f92917eb651b80fd8ffa627a485eb320805 +Author: Miro Stauder +Date: Wed Jan 5 09:12:28 2022 +0000 + + use python3 to build libinjection + +commit 3154b2031c76505a3954882673df98229eb81af8 +Author: Miro Stauder +Date: Wed Jan 5 08:57:02 2022 +0000 + + add fedora34 to package build + +commit bfa1b9b03aa2119cc5e0308053369fbab40ccd9b +Author: Miro Stauder +Date: Wed Jan 5 08:55:55 2022 +0000 + + use centos6.7v2 image + +commit 6000ededdaa7b6dd61a6ec8e03f5e03b3a7d52df +Merge: e39446f2 77a114eb +Author: René Cannaò +Date: Tue Dec 28 17:34:10 2021 +0100 + + Merge pull request #3735 from sysown/v2.x-3734 + + Closes #3734: `last_updated` field from `stats_mysql_client_host_cache` should be reported in seconds + +commit 77a114ebc8a2143d719c741a6145e7233d0c4fbe +Author: Javier Jaramago Fernández +Date: Wed Dec 22 17:37:48 2021 +0100 + + Fixed 'stats_mysql_client_host_cache/_reset' table definitions with extra spaces for formatting #3734 + +commit df7bc1b9a30e25f147047be036aca29b5919348e +Author: Javier Jaramago Fernández +Date: Wed Dec 22 17:32:14 2021 +0100 + + Fixed 'test_client_limit_error-t' after changing how 'last_updated' is reported #3734 + +commit 48261edf59f03f3d1b834d9f43fd966cb9a370b6 +Author: Javier Jaramago Fernández +Date: Wed Dec 22 17:28:26 2021 +0100 + + Field 'last_updated' from 'stats_mysql_query_digest' is now reported in seconds #3734 + +commit dbbfac2a5d3e2153a18c6841e2a2daecc8e7e010 +Merge: e983fc68 9fa8c53e +Author: René Cannaò +Date: Tue Dec 21 11:50:06 2021 +0100 + + Merge branch 'v2.x-variables' of https://github.com/sysown/proxysql into v2.x-variables + +commit e983fc68273fb89b4fc319a35ce6ed7f06e53e78 +Author: René Cannaò +Date: Tue Dec 21 10:12:03 2021 +0100 + + Adding support for more MySQL variables + + New variables supported: + - lc_messages + - lc_time_names + - long_query_time + - max_execution_time + - max_heap_table_size + - max_sort_length + - optimizer_prune_level + - optimizer_search_depth + - optimizer_switch + - sort_buffer_size + - sql_big_selects + - timestamp + - tmp_table_size + + Note: sql_big_selects is still not fully supported when + combined with max_join_size. + + In set testing TAP ,set large max_execution_time. + If max_execution_time is too small, the TAP test may fails because the + queries will timeout. + +commit 9fa8c53e3700f6eaab06681b8be7a07a15f3daf6 +Author: René Cannaò +Date: Tue Dec 21 02:31:25 2021 +0100 + + Adding support for more MySQL variables + + - long_query_time + - max_heap_table_size + - max_sort_length + - optimizer_switch + - sql_big_selects + + Also fixed several bugs in previous commit + + Note: sql_big_selects is still not fully supported when + combined with max_join_size + +commit 36f0cc3ad12b475d18554f5540ab84314e414ce9 +Author: René Cannaò +Date: Mon Dec 20 21:22:08 2021 +0100 + + In set testing TAP ,set large max_execution_time + + If max_execution_time is too small, the TAP test may fails because the + queries will timeout + +commit 9c947d0ae231cec68a8c6ba827a2cc3bfa46a0b2 +Author: René Cannaò +Date: Mon Dec 20 20:33:48 2021 +0100 + + Removing lt_time_names ja_JP + +commit 919727ad77ce175bd32837e062c188accf8d24e1 +Author: René Cannaò +Date: Mon Dec 20 19:30:42 2021 +0100 + + Add support for max_sort_length + +commit fc68519d3e3860ebbed0bdd56ee34b4b97d5d987 +Author: René Cannaò +Date: Mon Dec 20 18:39:35 2021 +0100 + + Adding support for more MySQL variables + + New variables supported: + - lc_messages + - lc_time_names + - max_execution_time + - optimizer_prune_level + - optimizer_search_depth + - sort_buffer_size + - timestamp + - tmp_table_size + +commit e39446f27e06aa00c17f314b2d5c5ca8af031f06 +Merge: ed99ad96 9ee63639 +Author: René Cannaò +Date: Tue Dec 14 11:11:06 2021 +0100 + + Merge pull request #3727 from sysown/v2.x-3723-wsrep_sync_wait + + Remove poor optimization to disable wsrep_sync_wait #3723 + +commit 9ee636395dbea080be8ec2d4319e7233e9dd241e +Author: René Cannaò +Date: Mon Dec 13 16:13:34 2021 +0100 + + Remove poor optimization to disable wsrep_sync_wait #3723 + + Fix inappropriate optimization in detecting backend version + and handling of wsrep_sync_wait + +commit ed99ad96e596770002ec5cf4e1a9c56e758ed277 +Merge: 400d97de 00916441 +Author: René Cannaò +Date: Mon Dec 13 12:09:43 2021 +0100 + + Merge pull request #3725 from sysown/2.x-current_user_admin + + Admin support for SELECT current_user() and user() + +commit 400d97de4318ebb15f004eef35b3458152474d3b +Author: René Cannaò +Date: Fri Dec 10 20:24:03 2021 +0100 + + Fix a bug in Makefile introduced in PR #3724 + +commit 556a5de855e24311cdf3c13a6b3d617a6ec59bd5 +Merge: 0ef82ad1 211d8a2c +Author: René Cannaò +Date: Fri Dec 10 20:12:00 2021 +0100 + + Merge pull request #3724 from lyxly/dev + + Installation adapts for Rocky Linux + +commit 00916441b977f5bdea9f80234c81dbfd16406b3e +Author: René Cannaò +Date: Fri Dec 10 20:08:50 2021 +0100 + + Admin support for SELECT current_user() and user() + + Admin now replies to SELECT current_user() + and SELECT user() + see https://github.com/sysown/proxysql/issues/1105#issuecomment-990940585 + +commit 211d8a2ce3ca087858e7c6b1739c20dac66d5e51 +Author: yang.li01 +Date: Fri Dec 10 17:39:42 2021 +0800 + + Installation adapt for Rocky Linux + +commit 980b92813c5c551c2c3ac1a3d92e0fae06254b35 +Author: René Cannaò +Date: Thu Dec 9 21:12:43 2021 +0100 + + Revert the port setting in a TAP test + + Changing mysql port back from 3306 to 13306 on + test_com_reset_connection_com_change_user-t.cpp + +commit 2ba9c401f18b6bd236c966181ea91c0da4523ac5 +Author: René Cannaò +Date: Thu Dec 9 19:43:09 2021 +0100 + + Bug fixes in the new implementation of tracking mysql variables + + Better parsing of SET SQL_LOG_BIN . + SQL_LOG_BIN is now managed by the same functions that handle boolean variables + instead of the now deprecated MySQL_Session::handler_WCD_SS_MCQ_qpo_Parse_SQL_LOG_BIN() + + For naming convention, enum value SQL_LOG_BIN was renamed to SQL_SQL_LOG_BIN + + In MySQL_Thread we also deprecated match_regexes[0] , previously + used to parse `set sql_log_bin`. + + Functions Variable::fill_server_internal_session() and + Variable::fill_client_internal_session() seems to handle sql_log_bin as a + special value. This exception was removed. + + Fixed a bug in MySQL_Session::generate_proxysql_internal_session_json() where + when backend variables needed to be generated, fill_client_internal_session() + was incorrectly called instead of fill_server_internal_session() , leading to + incorrect values reported by `PROXYSQL INTERNAL SESSION` + +commit 0ef82ad1228c48e8f7411dd2e73c39f22d364ac2 +Merge: c72f5395 b3b4bcc2 +Author: René Cannaò +Date: Wed Dec 8 14:00:25 2021 +0100 + + Merge pull request #3707 from smeinecke/pidfile_config + + Allow to specify pidfile in config file + +commit c72f5395d02c422344dd5fc80bf9daed4c643f75 +Author: René Cannaò +Date: Wed Dec 8 12:18:32 2021 +0100 + + Fix compiling issue with TAP + +commit e0e149d9b25f41a38417b186fc3e72ce14c61958 +Merge: 8645394e a0af02b1 +Author: René Cannaò +Date: Mon Dec 6 17:28:33 2021 +0100 + + Merge pull request #3710 from sysown/v2.x-3690 + + Fixed invalid handling of large packets for Admin - Closes #3690 + +commit 8645394e509437ea6616200cea3ca2a4cd9ad48c +Merge: 3c809e7a 6a02ed18 +Author: René Cannaò +Date: Mon Dec 6 17:26:38 2021 +0100 + + Merge pull request #3713 from sysown/v2.x-2021-2 + + Added support for 'COM_RESET_CONNECTION' and 'COM_CHANGE_USER' fixes - Closes #2021 + +commit 6a02ed18c6f8b0e916e2deb9a86dda345cd135d0 +Merge: ca43ee7c 3c809e7a +Author: René Cannaò +Date: Mon Dec 6 17:26:30 2021 +0100 + + Merge branch 'v2.x' into v2.x-2021-2 + +commit 3c809e7a383872bc68f5ad1f31c668b9c0fd94f6 +Merge: cd395674 043dfc97 +Author: René Cannaò +Date: Mon Dec 6 17:23:30 2021 +0100 + + Merge pull request #3715 from sysown/v2.x-3714 + + Fixes compilation issues found with recent 'gcc' and 'CMake' versions - Closes #3714 + +commit cd395674eb228eaa13ca273af84e4c9e7833d42c +Merge: bcb009fc 8e1c2afb +Author: René Cannaò +Date: Mon Dec 6 17:21:08 2021 +0100 + + Merge pull request #3717 from sysown/v2.x-3712 + + Curl include for tap build + +commit 51871895c7be77b7225805a95eb066c988e0a3c3 +Author: René Cannaò +Date: Mon Dec 6 17:18:34 2021 +0100 + + Handle NULL values in test_com_reset_connection_com_change_user-t + +commit 8e1c2afb1f8c78e05a21616235007733dbfea76c +Author: Jared Jetsel +Date: Fri Dec 3 13:52:34 2021 -0800 + + Curl include for tap build + +commit 043dfc9775c8d0792276e18b6cdb80415ddc5e32 +Author: Javier Jaramago Fernández +Date: Thu Dec 2 18:06:02 2021 +0100 + + Fixed 'prometheus-cpp' compilation due to missing include #3714 + +commit e7abc2fd3c8de79b220fd33d3d3102531f22256c +Author: Javier Jaramago Fernández +Date: Thu Dec 2 18:05:05 2021 +0100 + + Fixed compilation issue for 'mariadb-client-library' due to CMake typo #3714 + +commit ca43ee7ca6f1bf1fdb1e6d3866e9af69915cef49 +Author: Javier Jaramago Fernández +Date: Wed Sep 29 00:57:25 2021 +0200 + + Force 'hostgroup_id' for SELECT operations in test 'test_com_reset_connection_com_change_user-t.cpp' #2021 + +commit b9a15947af30c0f4984075e84bf9491a71451943 +Author: Javier Jaramago Fernández +Date: Tue Sep 28 21:49:17 2021 +0200 + + Added a TODO comment for a future removal of tracked variable 'SQL_CHARACTER_SET_DATABASE' #2021 + +commit 6188f918945588620f66866e41630af84e1fff9f +Author: Javier Jaramago Fernández +Date: Tue Sep 28 21:47:33 2021 +0200 + + Added test for 'COM_RESET_CONNECTION' and 'COM_CHANGE_USER' and refactored multiple tests functions #2021 + +commit da8d343051012ba2288e743bbb014d853b4d57cd +Author: Javier Jaramago Fernández +Date: Tue Sep 28 21:38:59 2021 +0200 + + Fixed 'user_attributes' not being preserved during 'COM_CHANGE_USER' #2021 + +commit 8cd505bde6f176a2a90ab9ab91122e15cec4c5a6 +Author: Javier Jaramago Fernández +Date: Tue Sep 28 21:30:28 2021 +0200 + + Added support for 'COM_RESET_CONNECTION' #2021 + +commit bcb009fc242001f1a83667c2f8ebb23b3f54ba89 +Author: Javier Jaramago Fernández +Date: Thu Dec 2 13:41:44 2021 +0100 + + Revert "Merge pull request #3645 from sysown/v2.x-2021" + + This reverts commit 9561cb3ef27975ab10280428ea12d6b79b706cc7, reversing + changes made to 7edfec6f3fa91377b96e5e767f03f3a83e189fd7. + +commit a0af02b136fd1fc32f8d2ccb177272c29f68c395 +Author: Javier Jaramago Fernández +Date: Wed Dec 1 20:44:40 2021 +0100 + + Added new test verifying admin proper handling of large packets #3690 + +commit 88dc2957818147f9ff263541e17304ec3f410e39 +Author: Javier Jaramago Fernández +Date: Wed Dec 1 20:37:36 2021 +0100 + + Fixed invalid handling of large packets in 'SQLite3_to_MySQL' function #3690 + + - Provided a new function to partially initialize 'MySQL_ResultSet'. + - Replaced 'generate_pkt_row' in favor of 'generate_pkt_row3' for + resulset writing. + +commit 0c7934aab8a6736f418989e38eb7c7790c034f4e +Author: Javier Jaramago Fernández +Date: Mon Nov 29 16:14:02 2021 +0100 + + Replaced 'mysql_query_digest_and_first_comment' with new implementation 'mysql_query_digest_and_first_comment_2' + +commit 81ebfef91777bc762c07baa72332dabdc33ae23d +Author: Javier Jaramago Fernández +Date: Mon Nov 29 16:12:21 2021 +0100 + + Removed unused 'cmnt_type_1_st' parameter for 'process_cmnt_type_3' and 'process_cmnt_type_2' + +commit e10b2ff2255b319eef11a061e9d909306351b91b +Author: Javier Jaramago Fernández +Date: Mon Nov 29 16:07:25 2021 +0100 + + Added 'AFL++' stability test for 'mysql_query_digests' impl + +commit 6d60145a3d3dfcbf3ff92fb08e35679551733527 +Author: Javier Jaramago Fernández +Date: Mon Nov 29 15:41:13 2021 +0100 + + Added the rest of payloads supported used by 'test_mysql_query_digests_stages-t.cpp' left as doc + +commit 9eb0af72104d3994ce1070b67b0b92e9fc1a6f17 +Author: Javier Jaramago Fernández +Date: Mon Nov 29 15:39:11 2021 +0100 + + Added multiple new payloads to the 'regular tokenizer digests' test file + +commit 0d353612a548bee2d3f4f2fe2efcd873299a3577 +Author: Javier Jaramago Fernández +Date: Mon Nov 29 15:34:58 2021 +0100 + + Multiple improvements for 'test_mysql_query_digests_stages-t' test implementation + + * Improved testing format and introduced new version of grouping + features testing using random query generation. + * Provided general test description and improved documentation. + * Allowed to individually execute the different kind of tests + supported. + +commit 617f91647965d70f38125d2f5602667537ba78e7 +Author: Javier Jaramago Fernández +Date: Mon Nov 29 15:15:12 2021 +0100 + + Several improvements for 'mysql_query_digest_and_first_comment_2' implementation + + * Added missing documentation, including stages implementation + reasoning. + * Refactored common stages operations into isolated functions. + * Fixed issue with operator collapsing for 'stage 2'. + * Fixed compression edge cases founds with latest testing. + +commit 78d4776f686f18e6f20af1e9d74e78f8a7a74e7f +Author: Javier Jaramago Fernández +Date: Mon Nov 29 15:10:36 2021 +0100 + + Ported NULL termination added to new implementation of 'query_digest_and_first_comment' into old one + +commit 291a254056d1589e74a2a286af24d877843b05a5 +Author: Javier Jaramago Fernández +Date: Mon Nov 29 13:29:42 2021 +0100 + + Fixed checking for boundary checks when copying 'cmd' comments to digest result buffer + +commit b3b4bcc209de9458cb03768a2183f198aa8279b1 +Author: Stefan Meinecke +Date: Mon Nov 29 10:57:18 2021 +0100 + + Allow to specify pidfile in config file + + Default path of pid file is in data directory which cause problems on + hard reset of system as the pid file is not removed. + The path + filename can now be defined as parameter "pidfile" in config. + + Related to #760 + +commit 74ab11b84ffe23e272900f8dce628b8bb10606bd +Author: René Cannaò +Date: Wed Nov 24 10:23:12 2021 +0100 + + Cleanup and fixes on set_testing TAP tests + +commit 5b37f25cfa68105179a60597129fe5854b554d8f +Author: René Cannaò +Date: Tue Nov 23 22:04:55 2021 +0100 + + Fix TAP test Makefile + +commit ff05b5fd3c964c9b60af26a8db7487773c4ffb13 +Author: René Cannaò +Date: Tue Nov 23 21:53:05 2021 +0100 + + MYSQL_COM_STATISTICS was displaying wrong number of slow queries + + In MYSQL_COM_STATISTICS , the number of slow queries was incorrectly set to + the number of queries. + +commit 497ef764786999eaae285045bcac9af0bc641053 +Merge: d335bfb8 6485d154 +Author: René Cannaò +Date: Tue Nov 23 20:57:32 2021 +0100 + + Merge branch 'v2.x' into v2.x-variables + +commit d335bfb899cc51c797ec97b18dfda86246584e2e +Author: René Cannaò +Date: Tue Nov 23 20:51:56 2021 +0100 + + Improvements on how MySQL variables are processed + + Deprecated variables: + - net_write_timeout + + Renamed set_testing-t.csv to set_testing-t.csv.obsolete , and removed net_write_timeout from set_testing-t.csv + + Variables added to ignore list: + - net_write_timeout + - net_buffer_length + - read_buffer_size + - read_rnd_buffer_size + + Added support for quoting with backtick + + Renamed `enum variable_name` into `enum mysql_variable_name` for better readibility + + `enum mysql_variable_name` has variable names alphabetically ordered after SQL_NAME_LAST_LOW_WM + + `mysql_tracked_variables` has variable names alphabetically ordered after SQL_NAME_LAST_LOW_WM + + A lot of new variables added in `mysql_tracked_variables` , although not all tracked yet (TODO) + + In `MySQL_Variables::MySQL_Variables()`: + - if `internal_variable_name` in `mysql_tracked_variables` is NULL , it will be automatically initialized + - it performs some sanity check between `enum mysql_variable_name` and `mysql_tracked_variables` + + Testing: + - refactored code in set_testing-t.cpp and set_testing-multi-t.cpp + - added set_testing-240-t.cpp to test improvements in 2.4.0 + - generate_set_session_csv to automatically create set_testing-240.csv used by set_testing-240-t + +commit 6485d1549dfd06d88d7c3b63273370f99b18d522 +Merge: 4e074bcb 33fba764 +Author: René Cannaò +Date: Tue Nov 23 16:41:42 2021 +0100 + + Merge pull request #3700 from sysown/v2.x-multiple_port_delay + + Speed up start time with multiple listeners #3699 + +commit 1919d952875399f2fe84bf980a77a0b98c3b8b90 +Author: Javier Jaramago Fernández +Date: Tue Nov 23 00:20:27 2021 +0100 + + Added new variable 'mysql_thread___query_digests_groups_grouping_limit' to 'test_tokenizer-t' + +commit 1ea4a7ef99e9237dbc343a3bf39e36839708dab4 +Author: Javier Jaramago Fernández +Date: Mon Nov 22 23:43:47 2021 +0100 + + Improved 'test_mysql_query_digests' payload format and added multiple new tests cases + +commit 3e34b603fc87cc37d9d6458d3110a7a1ebae8c52 +Author: Javier Jaramago Fernández +Date: Mon Nov 22 23:29:38 2021 +0100 + + Multiple improvements to stage parsing for new 'mysql_query_digest_and_first_comment_2' + + + Improved stage parsing to get the maximum compression from the maximum + digest size imposed by 'mysql_thread___query_digests_max_query_length'. + + Homogenized staging API and improved offset computation between + stages. + + Improved documentation (WIP). + + Simplified literal parsing logic for some states of stage 1 parsing. + +commit 4e074bcb8901a90a0e09df1dca262860a82b63f9 +Merge: 9561cb3e 111117bb +Author: René Cannaò +Date: Sat Nov 20 02:18:02 2021 +0100 + + Merge pull request #3678 from jaredev/v2.x-3674 + + Closes #3674 - Update stats_history.history_mysql_status_variables + +commit 111117bbc828f13040b5cdb8687f6a4c7ad743bc (origin/v2.x-3674) +Merge: 962116f1 b5946737 +Author: Jared Jetsel +Date: Fri Nov 19 15:28:50 2021 -0800 + + Merge branch 'v2.x-3674' of https://github.com/jaredev/proxysql into v2.x-3674 + +commit 962116f1b646f9a60e734cb019cddbb6084acf04 +Author: Jared Jetsel +Date: Fri Nov 19 15:08:36 2021 -0800 + + Fixed typo, memory leak, and documentation. + + * Fixed typo for variable_id in history_mysql_status_variables table definition to be INT NOT NULL as intended. + + * Added comments before debug ifdefs to explain their purpose + + * Optimized get_variable_id_for_name by performing one less search by using iterator insteaed of knows_variable_name() call. + + * Fixed memory leak by deleting resultset before return in lambda. + +commit b59467371aed5143714689042ca3244b7a485c2c +Merge: 910a6266 9561cb3e +Author: René Cannaò +Date: Fri Nov 19 22:52:24 2021 +0100 + + Merge branch 'v2.x' into v2.x-3674 + +commit 33fba7641a37fcc38ab0777fd32a87199c19a27b +Author: René Cannaò +Date: Fri Nov 19 21:39:38 2021 +0100 + + Speed up start time with multiple listeners #3699 + + When multiple listeners are configured start up time is slow. + This commit batches together the configuration of all the listeners. + +commit 9561cb3ef27975ab10280428ea12d6b79b706cc7 +Merge: 7edfec6f e892413d +Author: René Cannaò +Date: Fri Nov 19 20:17:01 2021 +0100 + + Merge pull request #3645 from sysown/v2.x-2021 + + Added support for 'COM_RESET_CONNECTION' and 'COM_CHANGE_USER' fixes - Closes #2021 + +commit e892413d1a2188c61b84d0477c3797b96999c8e5 +Merge: a6edd02a 7edfec6f +Author: René Cannaò +Date: Fri Nov 19 19:15:55 2021 +0100 + + Merge branch 'v2.x' into v2.x-2021 + +commit 7edfec6f3fa91377b96e5e767f03f3a83e189fd7 +Merge: f6facace aed1f205 +Author: René Cannaò +Date: Fri Nov 19 11:36:18 2021 +0100 + + Merge pull request #3657 from sysown/v2.x-3655 + + Fixed crashes when `mysql-query_digests` is `false` - Closes #3655 + +commit f6facace1129841930b4cf7c9cf997614da5cf12 +Author: René Cannaò +Date: Fri Nov 19 10:56:17 2021 +0100 + + Relaxing criteria in test_sqlite3_server_and_fast_routing-t.cpp + +commit 698031eb7aebe6e33a8ebee3b78a7abf933d2448 +Merge: 38c60336 d0ed1895 +Author: René Cannaò +Date: Fri Nov 19 03:03:27 2021 +0100 + + Merge pull request #3676 from sysown/v2.x-3592 + + Added new metric 'proxysql_fds_in_use' exposing number of file descriptors in use - Closes #3592 + +commit 38c603369d839330dc1d1ed11026d725cb4a1041 +Merge: a0cc243f 721fabc9 +Author: René Cannaò +Date: Fri Nov 19 02:55:29 2021 +0100 + + Merge pull request #3696 from sysown/v2.x-test_hundreds_HG + + TAP test to benchmark fast routing + +commit aed1f205d417192e6f57b5189397b7d98adbf558 +Merge: 03ae9dea a0cc243f +Author: René Cannaò +Date: Fri Nov 19 02:53:55 2021 +0100 + + Merge branch 'v2.x' into v2.x-3655 + +commit a0cc243f52b1a2a12053c33a5ad3a7943c8898a6 +Merge: 3c7d72a4 b82079bc +Author: René Cannaò +Date: Fri Nov 19 01:29:25 2021 +0100 + + Merge pull request #3686 from ticpu/fix-rootless-container + + Fix rootless container + +commit a6edd02a9b6d1b47e3646205b7c046f0179f663a +Author: René Cannaò +Date: Fri Nov 19 01:25:15 2021 +0100 + + Revert "Merge branch 'v2.x' into v2.x-2021" + + This reverts commit 3a3931f2d463d045364a1a714777e90c1e21109c, reversing + changes made to 4694ab775e4812c3a4ec324b58e2c485ae961081. + +commit 3c7d72a43156442ca669bd6edf9ffa7712c3749d +Author: René Cannaò +Date: Thu Nov 18 22:18:47 2021 +0100 + + Add --without-zstd in curl #3679 + +commit 3a3931f2d463d045364a1a714777e90c1e21109c +Merge: 4694ab77 22ed00e2 +Author: René Cannaò +Date: Thu Nov 18 20:37:28 2021 +0100 + + Merge branch 'v2.x' into v2.x-2021 + +commit 22ed00e2f730589689b080503829e2552aab749f +Merge: 8cea730d edd42ee0 +Author: René Cannaò +Date: Thu Nov 18 20:24:54 2021 +0100 + + Merge pull request #3652 from sysown/v2.x-3606 + + Fixes MySQL warnings are returned as results of the next executed query - Closes #3606 + +commit 8cea730de047a2513a8a811e6896eec975662690 +Merge: 5d6bec15 6e6e3a24 +Author: René Cannaò +Date: Thu Nov 18 20:22:47 2021 +0100 + + Merge pull request #3661 from sysown/v2.x-3649 + + Allow to unshun a server from all hostgroups + +commit 721fabc922eb4fbbc64a9ed7bf991af4f2b187bf +Author: René Cannaò +Date: Thu Nov 18 20:17:14 2021 +0100 + + TAP test to benchmark fast routing + + Adding a TAP test to benchmark 2000 HGs and fast routing. + It uses sqlite3 server as a backend. + It compare a single HG vs 2000 HGs. + It benchmarks with and without Query Cache. + +commit 9bafa6528b4560c16c29c6a779fdca280482c65c +Author: Javier Jaramago Fernández +Date: Mon Nov 15 20:27:10 2021 +0100 + + Improved digests testing payload format, added more testing cases and grouping support + +commit 0426c49b77704de5b4d7e54b706c56b248b6c4e7 +Author: Javier Jaramago Fernández +Date: Mon Nov 15 20:25:39 2021 +0100 + + Added digit replacement to second stage parsing, also added support for grouping and groups grouping + +commit 82e5cb5c7c59b0a04331a754be6d9827d22a4045 +Author: Javier Jaramago Fernández +Date: Mon Nov 15 20:09:15 2021 +0100 + + Introduced 'NULL' replacing in the staging impl, changed variable name and some functions params order + +commit adee2655de2fcb3f2a60ed8d0b5904f2ff32342b +Author: Javier Jaramago Fernández +Date: Mon Nov 15 19:48:12 2021 +0100 + + Improved float parsing moving parsing logic into 'is_digit_string' instead of skipping characters copy + +commit 5d6bec15357925977ed1ee6f705f2c9fb48c141b +Merge: ca6959f6 ab3f9bce +Author: René Cannaò +Date: Mon Nov 15 18:56:44 2021 +0100 + + Merge pull request #3692 from sysown/v2.x-weight_unbalance + + Testing unbalanced weight + +commit ab3f9bcedc6fb6925650e8ab6ec4e2b06a132436 +Author: René Cannaò +Date: Mon Nov 15 14:31:06 2021 +0100 + + PROXYSQLTEST 51 and 52 on debug build only + +commit 79d1d8742c877cd1f0df7646f70485383684b5f1 +Author: René Cannaò +Date: Mon Nov 15 13:12:02 2021 +0100 + + Testing unbalanced weight + +commit ca6959f60c1edd1407ef0450a52423223b0699f8 +Author: René Cannaò +Date: Fri Nov 12 17:01:16 2021 +0100 + + Several fixes related to openssl upgrade to 3.0.0 + + Fixed .gitignore + Fixed paths in Makefile + Disabled building of tests + +commit df628d7982aac1da3984001b0def57a1b035eb2a +Author: Javier Jaramago Fernández +Date: Thu Nov 11 14:46:40 2021 +0100 + + Fixed compilation of 'test_mysql_query_digests_stages-t' due to invalid include path + +commit 4d939d9fb8fa878297ed8e6c2d226311306ac29a +Author: Javier Jaramago Fernández +Date: Thu Nov 11 13:59:28 2021 +0100 + + Added new test 'test_mysql_query_digests_stages-t' for testing the different parsing stages of query digests rework + +commit c26d1a50348fee8f3fe136ad1e0b329923acc2b1 +Author: Javier Jaramago Fernández +Date: Thu Nov 11 13:57:28 2021 +0100 + + Added new functions 'mysql_query_digest_and_first_comment_2' and 'mysql_query_digest_and_first_comment_one_it' as part of query digests rework + +commit caf7f8a4edd72e4334b2a39ab623a92fb6ded02e +Author: Javier Jaramago Fernández +Date: Thu Nov 11 13:50:46 2021 +0100 + + Added new test cases to 'test_tokenizer-t' for issue found and invalid comments + +commit 49c770b5b9b018beaa7e4582d3dea1da34826e97 +Author: Javier Jaramago Fernández +Date: Thu Nov 11 13:49:23 2021 +0100 + + Added new test case for 'test_tokenizer-t' for space removal before string literal + +commit 141086cc9cac7ebcb132bb3c4d5defff8fb60e97 +Author: Javier Jaramago Fernández +Date: Thu Nov 11 13:31:44 2021 +0100 + + Added missing case of space removal before literals for 'mysql_query_digest_and_first_comment' + +commit 45b557ccfd6ff1eecf4d4ecff3c11d83ac035596 +Author: Javier Jaramago Fernández +Date: Thu Nov 11 13:28:30 2021 +0100 + + Added handy comments to original 'mysql_query_digest_and_first_comment' implementation + +commit c0762714d29ebb67232456e489ce891c20ca0337 +Author: Javier Jaramago Fernández +Date: Thu Nov 4 19:03:33 2021 +0100 + + Reshaped 'test_tokenizer-t' and added more tests to better reflect cases covered by digests specification + +commit b82079bc5c8d0c5b75bc10f5f8aaa704dfc1371d +Author: Jérôme Poulin +Date: Thu Nov 4 12:31:56 2021 -0400 + + Fix jemalloc extraction to work in rootless containers. + +commit 1c1b29b1f0e768b215829d472ed4b948031372e8 +Author: Javier Jaramago Fernández +Date: Thu Nov 4 17:38:54 2021 +0100 + + Added size check and added space removal after opening parenthesis when followed by number + +commit aa09e86ca4b51aaf01cbe8bc670d795bd7608d48 +Author: Javier Jaramago Fernández +Date: Thu Nov 4 17:37:12 2021 +0100 + + Store previous character as ending delimiter found for string literal + +commit 20347b1e8ea0fb9277eae0d215e25bed9c717b6c +Author: Javier Jaramago Fernández +Date: Thu Nov 4 17:22:44 2021 +0100 + + Removed extra spaces before NULL values when 'query_digests_replace_null=1' + +commit c6249d471522832cbaa5be2fe4d4882fdfa7b011 +Author: Javier Jaramago Fernández +Date: Thu Nov 4 17:20:55 2021 +0100 + + Added removal of extra space before closing parenthesis when previous char has been replaced + +commit 7e41e793d988cc7a9ed8acd61aa44772d1253b2c +Author: Javier Jaramago Fernández +Date: Thu Nov 4 17:18:57 2021 +0100 + + Avoiding comma copy when 'groping_limit' is exceeded replaced in favor of deletion for avoiding unnecessary removals + +commit 910a62665225a3a1dd2df8a0a9064784dd9417a3 +Author: Jared Jetsel +Date: Tue Nov 2 10:58:50 2021 -0700 + + Fixed error messages + + Added new lines for the proxy_error() calls, and following similar convention as others, fixed a typo, and type conversion. + +commit d114dbe3a3928b3669ef44e87970ad18808514f7 +Author: Jared Jetsel +Date: Mon Nov 1 12:38:03 2021 -0700 + + Const strings where appropriate and improved test for statistics + + Changed the get_variable_id_for_name, and knows_variable_name to use const string &. Changed immutable strings to to be const as well. Added details comment to test_admin_stats-t.cpp test. In the test code, improved documentation, set a valid interval for metrics insertion, and added the commands to set the interval. Changed the sleep time to be the inteval plus a second should be long enough to let new metrics data be added. Put additional sleep before test 2. Fixed incorrect column index usage in test 4 result set. Reformulated test 5, to check the number of records inserted after new interval is correct. + +commit c91db18c055faf70ece901b435461fa4c9090d7f +Author: Javier Jaramago Fernández +Date: Fri Oct 29 11:24:07 2021 +0200 + + Several fixes for parsing issues in 'mysql_query_digest_and_first_comment' + +commit e041be515e8bd63a648803f798212552950bb8db +Author: Jared Jetsel +Date: Thu Oct 28 18:08:25 2021 -0700 + + Added the local_testing_datadir/ directory to gitignore, which is made during jenkins build script setup. Modified a tap Makefile to include curl path to resolve compilation error when compiling tap tests. Added tap test file 'test_admin_stats-t.cpp' for testing the ProxySQL_Statistics code changes, table definitions, and expected results. + +commit 0ef478e59711c889ea67bb4ef32d77a13e340686 +Author: Jared Jetsel +Date: Thu Oct 28 10:33:56 2021 -0700 + + 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. + +commit 012cf16eaa2d0c715e421dd4daa16b0c919c8cbc +Author: Jared Jetsel +Date: Wed Oct 27 13:37:49 2021 -0700 + + Made the new member functions public. If these are only accessible internally by this class, or by the web interface plugin, consider making private and friend class to the plugin. As the extent of their usage is not yet known to me, making them public for now. Caution on adding new lookup entries unnecessarily. + +commit 1adaf7417052260bcb5aef460da09c244be09d61 +Author: Jared Jetsel +Date: Tue Oct 26 17:55:30 2021 -0700 + + Modified ProxySQL_Statistics to have two new member functions and two new private members. These are used to map the string variable_name to an integer variable_id to improve scalability. See documentation about their usage. Updated the MySQL_Threads_Hander_sets_v2 function to load the variable_name_id_map if it is empty for initial load from the lookup table. The prepared statement binds was changed to use the int64 variable_id retreived from the map. + +commit d644f1378028a3ec41b5d98fd74d9c0bd6ab35b5 +Author: Jared Jetsel +Date: Tue Oct 26 13:50:21 2021 -0600 + + Updated the SQLite history_mysql_status_variables create table statement to use variable_id instead of name for improved scalability. Added an index for the sql_status_variables table. Added lookup table create statement for history_mysql_status_variables_lookup table to refer the variable_id integer key to the variable_name string. Inserted the new table definition and execute code for the create index that were added. As the code has not yet received public release, there is no concern of keeping the previous table definition, and so the version number refers to v2.4.0. + +commit 14c274e82d6c5ad13f5f6b9cb4ff3e916085cebd (origin/V2) +Merge: 61cb0c2f 84d36bc9 +Author: René Cannaò +Date: Tue Oct 26 17:33:36 2021 +0200 + + Merge pull request #3675 from sysown/v2.x-upgrade_openssl_3.0 + + Upgrade to OpenSSL 3.0.0 + +commit 61cb0c2f3f62e57a612257178c5854349bda963c +Merge: 5efb1dd0 ec8f19a8 +Author: René Cannaò +Date: Tue Oct 26 17:25:51 2021 +0200 + + Merge pull request #3668 from sysown/v2.x-rm_annotations_plus_marks + + Removed unnecessary `+` mark from query annotations in tap tests + +commit 5efb1dd0203e8a6015838213c75f6c8a2707cab4 +Merge: 9293dea1 5bd42079 +Author: René Cannaò +Date: Tue Oct 26 17:25:21 2021 +0200 + + Merge pull request #3664 from VinaySagarGonabavi/u/gonabavi/using_transaction_isolation_should_not_disable_multiplexing + + Add transaction_isolation to the list of hardcoded session variables that do not disable ProxySQL multiplexing Fixes sysown/proxysql#3663 + +commit d0ed1895fa98400efd477d6590b04d9ae2728081 +Author: Javier Jaramago Fernández +Date: Tue Oct 26 16:45:34 2021 +0200 + + Fixed typo in 'round_intv_to_time_interval' preventing parameter update + +commit 545f5c5a291b6d7958b70a895e9468c52ee01f8a +Author: Javier Jaramago Fernández +Date: Tue Oct 26 16:37:47 2021 +0200 + + Fixed typos found in 'th_metrics_map' definition + +commit 71a1f64f2df34718fe79c61a1139ece75e55c285 +Author: Javier Jaramago Fernández +Date: Tue Oct 26 16:29:36 2021 +0200 + + Added new metric 'proxysql_fds_in_use' reporting the current number of file descriptors in use #3592 + +commit 84d36bc943b0e2dd591aa852290c2451e5794e9d +Author: Javier Jaramago Fernández +Date: Tue Oct 26 11:59:52 2021 +0200 + + Changed own 'DH' parameters in favor of built-in auto selected ones using 'SSL_CTX_set_dh_auto' + +commit fd16e583ac1a9db5af62079c349a2df80eac6557 +Author: Javier Jaramago Fernández +Date: Tue Oct 26 11:47:01 2021 +0200 + + Removed call to deprecated memory-leak checking API in OpenSSL 3.0 + + See: https://www.openssl.org/docs/manmaster/man3/CRYPTO_mem_ctrl.html + +commit ab88fd6b7158574509b6e130ae815240b2d434ba +Author: Javier Jaramago Fernández +Date: Tue Oct 26 12:05:25 2021 +0200 + + Upgrade OpenSSL from version '1.1.1j' to '3.0.0' + +commit 9293dea199252e482621a977e4c59d784e260ee8 +Author: René Cannaò +Date: Mon Oct 25 15:03:48 2021 +0200 + + Do not shun backend for error 3118 + + Error: Access denied for user '%s'. Account is locked.. + +commit ec8f19a82d49ad0ce5adcce17a2edd6bec2e0dd0 +Author: Javier Jaramago Fernández +Date: Thu Oct 21 14:52:20 2021 +0200 + + Removed unnecessary '+' mark from query annotations in tap tests + +commit 6e6e3a24c146fd1df569e41c1c583b5de5fff9f8 +Author: Javier Jaramago Fernández +Date: Thu Oct 21 13:38:15 2021 +0200 + + Added missing monitoring disabling for 'test_unshun_algorithm-t' #3649 + +commit 2ff862fd659f08268e171288d5faba38d1a6d3c7 +Author: Javier Jaramago Fernández +Date: Thu Oct 21 10:40:59 2021 +0200 + + Added new tap test for 'mysql-unshun_algorithm' and 'PROXYSQL_SIMULATOR' #3649 + +commit 6a92cc9238b74d9dc8c1c12f22e183d0c3303350 +Author: Javier Jaramago Fernández +Date: Thu Oct 21 10:39:04 2021 +0200 + + Added new command 'PROXYSQL_SIMULATOR' with support for simulating connection errors #3649 + +commit 4838d75cd3e8450029e69964c01c4fbe85f13a84 +Author: Javier Jaramago Fernández +Date: Thu Oct 21 10:35:47 2021 +0200 + + Added new mysql variable 'mysql-unshun_algorithm' #3649 + +commit edd42ee0c1ece7f9dff42476dd4be5fe04e0070f +Author: Javier Jaramago Fernández +Date: Tue Oct 19 15:19:38 2021 +0200 + + Changed 'test_query_rules_routing-t' into using refactored function 'wait_for_replication' #3606 + +commit 3a9e402abe00d8c9c9b637393f6b8945d7b162df +Author: Javier Jaramago Fernández +Date: Tue Oct 19 13:46:49 2021 +0200 + + Added replication check to 'mysql_warnings-t' using refactored function 'wait_for_replication' #3606 + +commit 1597e0025b4570f84653517d4d6ca7137a81b0ba +Author: Javier Jaramago Fernández +Date: Tue Oct 19 10:23:32 2021 +0200 + + Improved 'mysql_warnings' test mixing text protocol, prepared statements and multi-statements #3606 + +commit 5bd42079f7985098de534b36a55466e1a681d926 +Author: Vinay Sagar Gonabavi +Date: Mon Oct 18 12:36:53 2021 -0700 + + Add transaction_isolation to the list of hardcoded session variables that do not disable ProxySQL multiplexing + +commit 03ae9dea641ac1a26ce63eadb0ac8050f5b8f8e1 +Author: Javier Jaramago Fernández +Date: Mon Oct 18 13:14:44 2021 +0200 + + Improved test logic including when 'schemaname' should differ from 'SELECT DATABASE()' for 'mysql-query_digests=0' #3655 + +commit dc4bf3cccea80b4a15d18decea23703fe26c9309 +Author: Javier Jaramago Fernández +Date: Mon Oct 18 13:11:22 2021 +0200 + + Added 'schemaname' to userinfo for 'PROXYSQL INTERNAL SESSION' command #3655 + +commit 4b04332473a78594380335538c5a383555752577 +Author: René Cannaò +Date: Fri Oct 15 11:39:09 2021 +0200 + + Add optional mutex in MySrvC::connect_error() + +commit 7ef783487c42685a5d11098f35b5fe52c6e840e4 +Author: René Cannaò +Date: Thu Oct 14 19:18:36 2021 +0200 + + Adding skeleton for PROXYSQL_SIMULATOR + +commit a752292b9e36b859093be17ac305ce10146b6623 +Author: René Cannaò +Date: Thu Oct 14 19:15:13 2021 +0200 + + Added function unshun_server_all_hostgroups() + + MySQL_HostGroups_Manager::unshun_server_all_hostgroups() scans all hostgroups + looking for a specific server, and if shunned it will bring it back online + +commit b150313ef842e419ec03edcf5bdfcd1e46148f08 +Merge: d1e70578 b071f191 +Author: René Cannaò +Date: Thu Oct 14 16:31:02 2021 +0200 + + Merge pull request #3658 from sysown/v2.x-asan_ci_run + + Fixed several issues discovered while testing ASAN CI run + +commit b071f191f7831770f8efd845e72bcdb267b4e25c +Author: Javier Jaramago Fernández +Date: Tue Oct 12 17:10:11 2021 +0200 + + Added an extra 'sleep' for first section of 'mysql-mirror1' test to avoid timing issues + +commit 03aee7dd85727c9fc51cb9f7194a5f05cb4a2f8f +Author: Javier Jaramago Fernández +Date: Tue Oct 12 13:07:23 2021 +0200 + + Added regression test specifically targetting fixed issue with 'FAST_FORWARD' and split packets + +commit 86e5caf6eadb9c7a41e44c63c76c4e18c1b823fd +Author: Javier Jaramago Fernández +Date: Tue Oct 12 13:06:48 2021 +0200 + + Fixed handling of splitted packets during 'CONNECTING_SERVER' state for 'FAST_FORWARD' mode + +commit d1e70578baad541ad44c5f85f50c52bcc698e9a7 +Author: René Cannaò +Date: Tue Oct 12 19:29:34 2021 +0200 + + Adding support links to proxysql.com + +commit 9d33b56a3b3157732b216e9d626312c67abf0037 +Author: Javier Jaramago Fernández +Date: Tue Oct 12 15:42:08 2021 +0200 + + Performed some changes to 'USE_with_comment' test for checking behavior when 'mysql-query_digests' is 'false' #3655 + +commit 062381efd4fbe1a907d4a74354ff85a9da7e9004 +Author: Javier Jaramago Fernández +Date: Tue Oct 12 15:40:51 2021 +0200 + + Fixed crashes in 'MySQL_Session::get_pkts_from_client' when 'mysql-query_digests' are disabled #3655 + +commit 650ff4d57d145c9a6acb874efd4de23b72b6bb02 +Author: René Cannaò +Date: Mon Oct 11 10:55:36 2021 +0200 + + Update README.md + +commit 260efe156318b7e73b64036fe724f41f2b52bbb8 +Author: Javier Jaramago Fernández +Date: Fri Oct 8 15:08:09 2021 +0200 + + Disabled ASAN leak detection for ProxySQL spawned within 'test_cluster_sync-t' and fixed leaks in test + +commit 092c59baa8c251809553bbf6b02795dbf6c3a1df +Author: Javier Jaramago Fernández +Date: Fri Oct 8 02:41:39 2021 +0200 + + Updated docker image version used for 'test_cluster_sync-t' test + +commit d26072fd2b1d2c9a5e11498ec71643cbb422b1a6 +Author: Javier Jaramago Fernández +Date: Thu Oct 7 22:01:22 2021 +0200 + + Several memory error fixes for test files reported by ASAN + +commit 3fd1cd3f13207743f5c9b1ae6cbf07691a9c09f4 +Author: Javier Jaramago Fernández +Date: Thu Oct 7 21:59:40 2021 +0200 + + Replaced non-thread safe 'strtok' function in favor of 'strtok_r' for 'IsKeepMultiplexEnabledVariables' + +commit 8486722142ba4b280a91ac2ebbc119417a93fef7 +Author: Javier Jaramago Fernández +Date: Wed Oct 6 13:37:13 2021 +0200 + + Increased the number of operations to be performed by 'reg_test_3606-mysql_warnings-t.cpp' #3606 + +commit a49433cc91ac567c0afa6182ef58e0c5a1347798 +Author: Javier Jaramago Fernández +Date: Wed Oct 6 13:33:35 2021 +0200 + + Manually set 'POLLOUT' event for 'SHOW_WARNINGS' session status to ensure sending by 'MySQL_Connection' #3606 + +commit 4312cd9a72262097bd5eff2070cf0bf174a457f1 +Author: Javier Jaramago Fernández +Date: Tue Oct 5 14:58:09 2021 +0200 + + Moved session cleanup after error report for 'SHOW_WARNINGS' #3606 + +commit df1dbccecdd90f7873b7a1905a6d240491ad3173 +Author: Javier Jaramago Fernández +Date: Mon Oct 4 19:38:47 2021 +0200 + + Moved helper function 'random_string' from internal testing utils to TAP tests utilities #3606 + +commit 3fafd85ba7b375226b3402f714c1b51bb1bdf8a7 +Author: Javier Jaramago Fernández +Date: Mon Oct 4 19:36:03 2021 +0200 + + Added regression test for exercising 'mysql-log_mysql_warnings_enabled' feature #3606 + +commit b0608af7ee6e2d5e0b330da28bb1fe3cd205882f +Author: Javier Jaramago Fernández +Date: Mon Oct 4 15:14:29 2021 +0200 + + Added documentation for 'MySQL_Session::finishQuery' and 'MySQL_Session::RequestEnd' #3606 + +commit c3d0ecd84f7f7ea8898d9e77d8008f9fb26cf96d +Author: Javier Jaramago Fernández +Date: Mon Oct 4 15:12:58 2021 +0200 + + Improved implementation of 'mysql-log_mysql_warnings_enabled' #3606 + +commit 5ef41e65f62cdd2cbacaa1a95ca4269edf4858f6 +Author: René Cannaò +Date: Thu Sep 30 21:33:19 2021 +0200 + + Update entrypoint for centos6 build + +commit cbe926b4f79e771169c1d60eb010954c048f5385 +Author: Javier Jaramago Fernández +Date: Thu Sep 30 13:54:39 2021 +0200 + + Fix regression introduced for 'at signs' parsing for multiplexing disabling (#3647) + + * Fixed regression introduced for 'at-signs' parsing and improved implementation + + * Added minimal test for checking multiplexing disabling via 'mysql-keep_multiplexing_variables' + + * Added missing 'plan()' to test specifying the number of test cases + +commit 9829c6d37b2c3946073d879d4d35aee0dbf1f2d0 +Author: Javier Jaramago Fernández +Date: Thu Sep 30 13:51:00 2021 +0200 + + Fixes crashes related with 'client_error_limit' and connection timeouts (#3646) + + * Added missing check to 'update_client_host_cache' in case cache elem is not found + + * Added check to avoid calling 'update_client_host_cache' when 'host_cache_size' is zero + + * Improved implementation and enabled 'test_client_limit_error-t' for CI + + * Added extra check using 'client_host_cache_size' to prevent searchs if size is zero + + * Restored currently unused testing scripts for creating/deleting network namespaces + +commit 4694ab775e4812c3a4ec324b58e2c485ae961081 +Author: Javier Jaramago Fernández +Date: Wed Sep 29 00:57:25 2021 +0200 + + Force 'hostgroup_id' for SELECT operations in test 'test_com_reset_connection_com_change_user-t.cpp' #2021 + +commit d00c394782fb46ecf54b7106f78f75f23ecadebd +Author: Javier Jaramago Fernández +Date: Tue Sep 28 21:49:17 2021 +0200 + + Added a TODO comment for a future removal of tracked variable 'SQL_CHARACTER_SET_DATABASE' #2021 + +commit 3b126a3d5328273eb4685a6a0d7fd04cf90047aa +Author: Javier Jaramago Fernández +Date: Tue Sep 28 21:47:33 2021 +0200 + + Added test for 'COM_RESET_CONNECTION' and 'COM_CHANGE_USER' and refactored multiple tests functions #2021 + +commit 27b72884d19f7a09b43a9b5f976dcf4ea0fde770 +Author: Javier Jaramago Fernández +Date: Tue Sep 28 21:38:59 2021 +0200 + + Fixed 'user_attributes' not being preserved during 'COM_CHANGE_USER' #2021 + +commit e76882c2f9e74a6dcdccae1a6b2c208c9edab93b +Author: Javier Jaramago Fernández +Date: Tue Sep 28 21:30:28 2021 +0200 + + Added support for 'COM_RESET_CONNECTION' #2021 + +commit fb8857f1fe4b3619e18a2ee67ea274b7b4d73f59 +Author: René Cannaò +Date: Wed Sep 22 16:39:31 2021 +0200 + + Fix a bug in get_multiple_idle_connections() #3628 + + 2.3.0 introduces a bug that prevents proxysql to run ping on backend + connections to keep them alive. + +commit 8e529055c332c4425e98f074cf9b4378f8f167d1 +Merge: d7bef92b 06c386df +Author: Javier Jaramago Fernández +Date: Fri Sep 17 09:33:54 2021 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-3504 + +commit 06c386dfd1fc6c1d870660b6108160bbc69fe9c6 +Merge: 0058ecb4 548174d1 +Author: Javier Jaramago Fernández +Date: Fri Sep 17 09:21:41 2021 +0200 + + Merge pull request #3626 from sysown/v2.x-3625 + + Fix issues found with 'client error limit' implementation - Closes #3625 + +commit 0058ecb4f07e9ec6ad4ba6249b798b90a890e66f +Author: Javier Jaramago Fernández +Date: Thu Sep 16 19:17:02 2021 +0200 + + Removed 'flush_error_log' call from 'PROXYSQL FLUSH QUERY CACHE' + +commit 548174d1ebdc12c3a7755e35e8661e6af9404342 +Author: Javier Jaramago Fernández +Date: Thu Sep 16 19:12:23 2021 +0200 + + Condensed asserts for 'find_client_host_cache' and 'update_client_host_cache' into a single line #3625 + +commit 37b856d4306fc16591ec8a83109b8e2691b0e2b0 +Author: Javier Jaramago Fernández +Date: Thu Sep 16 17:53:21 2021 +0200 + + Added regression test for checking that 'client_error_limit' is compatible with 'SQLite3' sessions #3625 + +commit 515167f5f91a13c959e746b4f3ab7bd5c60567ac +Author: Javier Jaramago Fernández +Date: Thu Sep 16 17:47:16 2021 +0200 + + Removed 'flush_error_log' call from 'PROXYSQL FLUSH MYSQL CLIENT HOSTS' #3625 + +commit 789ed52f87ffd30d43e508e15f6530294979aa26 +Author: Javier Jaramago Fernández +Date: Thu Sep 16 17:39:08 2021 +0200 + + Added default zero initialization for all variables from 'MySQL_Threads_Handler::variables' struct #3625 + +commit be0ceed53df392e6a4cc6af462010237b7f27625 +Author: Javier Jaramago Fernández +Date: Thu Sep 16 17:37:47 2021 +0200 + + Added missing client address for SQLite3 sessions and added asserts in case it's found 'NULL' in 'client_host_cache' operations #3625 + +commit 3a2d3f2d5ee85c525f2e34ee99dc6191c96a4522 +Author: Javier Jaramago Fernández +Date: Thu Sep 16 17:32:41 2021 +0200 + + Fixed missing default initialization of varibles 'client_host_cache_size' and 'client_host_error_counts' #3625 + +commit d7bef92b5766e6742ce5ee98a609cf4213bbe8a8 +Author: Javier Jaramago Fernández +Date: Wed Sep 15 21:53:27 2021 +0200 + + Added missing new-line character for access denied 'proxy_error' for 'COM_CHANGE_USER' #3504 + +commit 55c481a9a12df4582cdd0626aabf38713293e5f2 +Author: Javier Jaramago Fernández +Date: Wed Sep 15 21:46:59 2021 +0200 + + Improved regression tests implementation for 'Auth Switch Request' support for 'COM_CHANGE_USER' #3504 + +commit 53da63eb995e3ce27f3a9131a1cbfa430c3907f4 +Author: Javier Jaramago Fernández +Date: Wed Sep 15 21:43:32 2021 +0200 + + Improved auth performed for 'COM_CHANGE_USER' with impl from 'process_pkt_handshake_response' #3504 + +commit 8e97f5a19cbbf1f26848c07d1d5a357c3f54e84b +Merge: 228c0bfd b4c7b932 +Author: Javier Jaramago Fernández +Date: Wed Sep 15 21:04:03 2021 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-3504 + +commit b4c7b9323d658f961427150481c65a484ee2d864 +Merge: db9b4ad7 c268259b +Author: Javier Jaramago Fernández +Date: Tue Sep 14 17:37:58 2021 +0200 + + Merge pull request #3621 from sysown/v2.x-3620 + + Fixes memory leaks detected during testing - Closes #3620 + +commit db9b4ad70f226ffba6dfd0c25a0570b8d4779c5d +Merge: 4f94fd3d 5caed323 +Author: Javier Jaramago Fernández +Date: Tue Sep 14 17:37:38 2021 +0200 + + Merge pull request #3617 from sysown/v2.x-client_err_limit + + Implements feature 'Client Error Limit' + +commit 4f94fd3d0f93eb55a8cbd1ede3645f282d40d5b5 +Merge: 3a481ecb dd71fcd8 +Author: Javier Jaramago Fernández +Date: Tue Sep 14 17:37:03 2021 +0200 + + Merge pull request #3533 from sysown/v2.x-gr_replication_lag_action + + Changes current handling for replication lag in favor of setting lagging servers to SHUNNED state + +commit 5caed323ec020b947e548da14d77ab81fcdf3e6b +Author: Javier Jaramago Fernández +Date: Fri Sep 10 22:03:24 2021 +0200 + + Added initial version of test 'test_client_limit_error.cpp' checking 'client limit error' feature + +commit 9aef676973a6fc04b3943e34a17de2d36537cf1b +Author: Javier Jaramago Fernández +Date: Fri Sep 10 17:31:26 2021 +0200 + + Added population of 'stats_mysql_client_host_cache' when 'stats_mysql_client_host_cache_reset' is queried + +commit c268259bde548551d58cb8c77b617dedb6bdea9e +Author: Javier Jaramago Fernández +Date: Fri Sep 10 16:56:25 2021 +0200 + + Fixed memory leak of client received packet when SSL connection is initiated #3620 + +commit 36abd6231487ad33a23fa6beb72675768a8df745 +Author: Javier Jaramago Fernández +Date: Fri Sep 10 16:53:55 2021 +0200 + + Fixed memory leak for 'client_addr' in case of wrong credentials for frontend connection #3620 + +commit d115e20ed4ed76fc6a93e57a0da9ac4e1e957b85 +Author: Javier Jaramago Fernández +Date: Thu Sep 9 19:17:58 2021 +0200 + + Fixed size check for 'client_host_cache' and fixed logic preventing the cache from reducing it's size in certain conditions + +commit 416a0470a53fe74b4ab429f6f403b195362cd2fd +Author: Javier Jaramago Fernández +Date: Thu Sep 9 18:41:21 2021 +0200 + + Added tables 'stats_mysql_client_host_cache' and 'stats_mysql_client_host_cache_reset' exposing entries in 'client_host_cache' + +commit 514ffe939ae36ac86ad667f94368c43198aa899f +Author: Javier Jaramago Fernández +Date: Thu Sep 9 18:35:53 2021 +0200 + + Fixed double increment in 'update_client_host_cache' when oldest entry is updated + +commit 2d3da0fca393507f13e14f6639e057efd1e96906 +Author: Javier Jaramago Fernández +Date: Thu Sep 9 18:30:21 2021 +0200 + + Simplified check for query 'PROXYSQL FLUSH MYSQL CLIENT HOSTS' via 'strcasecmp' + +commit e7d9a4c74dffd30a76fe2b488787cdc1f2daa5b3 +Author: Javier Jaramago Fernández +Date: Thu Sep 9 18:28:18 2021 +0200 + + Added extra logging when a connection is closed due to 'client_host_error_counts' being reached + +commit 625daa9cd323c2864cf5ee19e67f0c253c2c9174 +Author: Javier Jaramago Fernández +Date: Thu Sep 9 18:27:09 2021 +0200 + + Fixed check for 'client_host' error count and added missing free + +commit 3addb9a1941699ed37a56dc641675a627c8c92c4 +Author: Javier Jaramago Fernández +Date: Thu Sep 9 18:20:05 2021 +0200 + + Improved implementation of helper function 'get_client_addr' using 'handler___status_NONE_or_default' as reference + +commit 6e533cb5d90f378c4a5cc6ef6cd31cabf67dec4c +Merge: e2dd0a30 3a481ecb +Author: Javier Jaramago Fernández +Date: Wed Sep 8 14:03:00 2021 +0200 + + Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-client_err_limit + +commit 3a481ecb89d2ca82deaec03d7da45c8f46cbba0b +Author: René Cannaò +Date: Wed Sep 8 09:47:39 2021 +0200 + + Removing some printf + +commit e751dbbf3280a501007091e738ff4223602813a8 +Merge: 8778df61 2aa7eba8 +Author: René Cannaò +Date: Wed Sep 8 07:40:40 2021 +0200 + + Merge pull request #3609 from sysown/v2.x-3591 + + Closes #3591: RESTAPI interface is unresponsive when ProxySQL has ~1000+ sockets open + +commit 8778df61eecec674bb90d65d15ec9687c98fd91f +Merge: 9ff5f304 b485623d +Author: René Cannaò +Date: Wed Sep 8 07:40:02 2021 +0200 + + Merge pull request #3610 from sysown/2.x-3608 + + Reimplemented the handling of comments in 'USE' statements #3493 + +commit 9ff5f30457bd42a864be50f355904b95534faf2a +Merge: 5f971aef 09955d20 +Author: René Cannaò +Date: Wed Sep 8 07:39:19 2021 +0200 + + Merge pull request #3607 from sysown/v2.x-3603 + + Closes #3603: Invalid preservation of prepared statement NULL values between executions + +commit b485623d6f6df57e3fa474b5353aee08d84749ca +Author: René Cannaò +Date: Tue Sep 7 22:39:37 2021 +0200 + + Reimplemented the handling of comments in 'USE' statements #3493 + + This commits partially revert 0dde4adb21fa0908574d95bbc626823d6f8b7bae + + It also improve the TAP test reg_test_3493-USE_with_comment-t.cpp with a + variety of combinations, that helped find a bug in the tokenizer + mysql_query_digest_and_first_comment() + +commit 2aa7eba8139032bcc95fcd17ebfc62e96f3ef20a +Author: Javier Jaramago Fernández +Date: Tue Sep 7 19:08:38 2021 +0200 + + Added regression test for checking that RESTAPI is no longer affected by #3591 + + This commits also moves some helper functions used by the introduced + test, and shared by other, moving then into 'utils.cpp'. + +commit 8091b26f64ade626c9ad2a706b5291d93bdde3db +Author: Javier Jaramago Fernández +Date: Tue Sep 7 19:05:24 2021 +0200 + + Added compilation fix enabling 'EPOLL' support in 'libhttpserver' required by RESTAPI #3591 + +commit 09955d201e317ffaab791147155bbf1f813ee585 +Author: Javier Jaramago Fernández +Date: Tue Sep 7 14:47:01 2021 +0200 + + Added description for the regression test added to reproduce #3603 + +commit 0a37981529f300babfe33e2b1e8379f8104a6940 +Author: Javier Jaramago Fernández +Date: Tue Sep 7 14:45:47 2021 +0200 + + Added comments for the fix introduced for #3603 + +commit a8e11b2deea9f0282486f1c2a7256f730dea5e07 +Author: Javier Jaramago Fernández +Date: Tue Sep 7 11:41:36 2021 +0200 + + Added regression test checking for invalid 'NULL' preservation #3603 + +commit d81af3faf56a9339c8d74744ce2aafa007532205 +Author: Javier Jaramago Fernández +Date: Tue Sep 7 11:38:38 2021 +0200 + + Fixed invalid preservation of old 'NULL' values for previously executed stmt #3603 + +commit 5f971aefc732b7e389af84f00ef8a5f2517aa063 +Author: René Cannaò +Date: Tue Sep 7 13:26:56 2021 +0200 + + "make cleanall" cleans TAP tests + +commit fc308a418a902c4dc82aede8373761e3b3787efb +Author: René Cannaò +Date: Fri Sep 3 20:59:26 2021 +0000 + + Adding column.h.diff + +commit 2745e42dfd1e964c9e1b4ee774c592018e80e3c6 +Author: René Cannaò +Date: Fri Sep 3 20:40:14 2021 +0000 + + Adding support for Debian 11 and Fedora 33 + +commit 13445a140a366e52b73c8a76391075ec3f31f20e +Author: Javier Jaramago Fernández +Date: Tue Aug 31 21:36:29 2021 +0200 + + Added missing patch for 'libmariadb' required for ASAN compilation #3554 + +commit 70d310cd4701c6e4e3ff922ddb2b77fb7afca052 +Merge: 7d77db3d 06184e5b +Author: René Cannaò +Date: Tue Aug 31 12:26:16 2021 +0200 + + Merge pull request #3593 from sysown/v2.x-3585 + + Correctly bind parameters if new_params_bound_flag is not provided + +commit 06184e5b608337d716150e85f36133c550065a49 +Author: René Cannaò +Date: Tue Aug 31 11:41:52 2021 +0200 + + Fix a memory overflow in TAP reg_test_3585-stmt_metadata-t + +commit 42fad778e3908684a535e75b04bf86d8a93ce4ac +Author: René Cannaò +Date: Tue Aug 31 02:48:49 2021 +0200 + + Do not copy MYSQL_TS if length is 0 + + Related to issue #3585 + + A prepared statement with buffer_type = MYSQL_TYPE_TIME (or similar like + MYSQL_TYPE_DATE, etc) can have length = 0 if the time is 0. In this case + no data needs to be copied from COM_STMT_EXECUTE packet + +commit 0bef2e8149168cc58f65080efb2c5317257730df +Author: René Cannaò +Date: Tue Aug 31 01:30:05 2021 +0200 + + Correctly bind parameters if new_params_bound_flag is not provided + + See issue #3585 . + If new-params-bound-flag is not provided by the client while executing + COM_STMT_EXECUTE , proxysql was incorrectly computing the length of + parameters. + The issue was happening only if there were null parameters. + + Removing comment + +commit 7d77db3d11d40be458575cb19eca40503b44fe09 +Author: Javier Jaramago Fernández +Date: Mon Aug 30 15:24:36 2021 +0200 + + Fixed compilation for tests 'galera_1_timeout_count', 'galera_2_timeout_no_count' and 'aurora' + +commit c0a3c8c9cb4b49dcfd98e31c0ba4fda689f90f92 +Author: René Cannaò +Date: Fri Aug 27 16:12:22 2021 +0200 + + Install check_all_nodes.bash scheduler script to all core nodes of the Cluster + +commit f7bb4d201b18850bf0f4c359d444da95e320ff20 +Author: René Cannaò +Date: Fri Aug 27 11:53:05 2021 +0200 + + Add get_current_query_rules_fast_routing_count() + + Query_Processor::get_current_query_rules_fast_routing_count() now allows to + quickly execute this query is ran on Admin: + SELECT COUNT(*) FROM runtime_mysql_query_rules_fast_routing + +commit ca10cf06311773a9a6711440867a0069ae2c597b +Author: René Cannaò +Date: Fri Aug 27 08:34:35 2021 +0200 + + Temporary removing all read/write timeout from Cluster + +commit 2ae218f7ed64740c46e9fb27af5201ebab01bfab +Author: René Cannaò +Date: Fri Aug 27 01:36:41 2021 +0200 + + Cluster: sync of proxysql_servers ensures that checksum is correct + +commit 3f1b15a3355944aae10e3d80315e4259ae882156 +Merge: d0f6ba35 38c5a76d +Author: René Cannaò +Date: Fri Aug 27 01:23:16 2021 +0200 + + Merge pull request #3586 from sysown/v2.x-3522 + + Use Aurora writer for reads if max_lag_ms isn't specified + +commit 38c5a76d0e16e0b4560795b7bc496ae3ffae1f0b +Author: René Cannaò +Date: Thu Aug 26 23:59:50 2021 +0200 + + Use Aurora writer for reads if max_lag_ms isn't specified + + This solves the issue described in issue #3522 + + It is a side effect of a mistake in commit 5336e72f1cc22 + +commit cd7e740a517ec17474f89006e8ec0f0d32e50fc8 +Author: René Cannaò +Date: Thu Aug 26 22:20:00 2021 +0200 + + Get mutex during LOAD PROXYSQL SERVERS TO RUNTIME + +commit 0c711e1a32249a7ab9b7f6cfbb47f3fc80084342 +Author: René Cannaò +Date: Thu Aug 26 20:10:30 2021 +0200 + + Prevent a crash while syncing proxysql_servers in Cluster + +commit 66c4c6b0a8a6650fc4994f0d0dbf75f71a9efb6f +Author: René Cannaò +Date: Thu Aug 26 18:11:45 2021 +0200 + + Adding new mutex in ProxySQL_Admin::save_proxysql_servers_runtime_to_database() + +commit 45e55d4e90c333a813f1bd73aea2b1f34ddb476d +Author: René Cannaò +Date: Thu Aug 26 17:35:41 2021 +0200 + + Removing admin_mutex in ProxySQL_Admin.cpp + + This mutex was largely deprecated by sql_query_global_mutex . + Its presence now was causing a possibl deadlock. + +commit e1adc955ebaebc4ff36c8edeb68b0f18c35017f5 +Author: René Cannaò +Date: Thu Aug 26 17:06:17 2021 +0200 + + Fixing some race condition in Cluster + + Similar to commit f8ce41305d6ca4f9198281789c19b9ecc017a56e + +commit 48562faaf1a84a65978af73cdaca2d5446b99dce +Merge: 74b05ca0 d0f6ba35 +Author: René Cannaò +Date: Thu Aug 26 15:51:10 2021 +0200 + + Merge branch 'v2.x' into v2.1.2-cluster + +commit d0f6ba350315f08dd92cfef0c1d3cb9d5654885d +Merge: 2a5121e5 aceeaf79 +Author: René Cannaò +Date: Thu Aug 26 15:47:28 2021 +0200 + + Merge pull request #3582 from sysown/v2.x-cherry-pick_3305 + + Some cherry pick from PR 3305 + +commit 2a5121e52f98cee7b61302d26f46aa0ef8e10809 +Merge: 0da250ec 8c622736 +Author: René Cannaò +Date: Thu Aug 26 15:15:41 2021 +0200 + + Merge pull request #3514 from egezonberisha/pt-heartbeat-query-delay + + Change the pt-heartbeat query from MIN to MAX due to a possible daisy-chain replication or multi-master setup + +commit 74b05ca0d2e8f3d1f169535b3a66b7c9074a0375 +Author: René Cannaò +Date: Thu Aug 26 13:48:59 2021 +0200 + + Reduce the number of mysql instances in check_all_nodes.bash + +commit aceeaf79ed876c822fe06ea3f6bfe8e87cb23750 +Author: René Cannaò +Date: Fri Aug 20 11:10:14 2021 +0000 + + Disabled prometheus metrics dump , see #3571 + + This commit also fixes some minor memory corruptions + +commit cf33522a2593853125cb98e4151170e1a459e7c9 +Author: René Cannaò +Date: Tue Aug 17 18:44:33 2021 +0200 + + Commenting unused code + +commit 0da250ec8d95fd83c603200ec338a51d2879ae2e +Merge: 08ea3080 60306772 +Author: René Cannaò +Date: Thu Aug 26 13:09:25 2021 +0200 + + Merge pull request #3491 from csoulios/ldap-auth-changes + + Clean up LDAP authenticator + +commit 08ea3080333522f16bdc09c92373c40a6dc3e7ad +Merge: 0937133b e8cc7be8 +Author: René Cannaò +Date: Thu Aug 26 13:08:14 2021 +0200 + + Merge pull request #3552 from sysown/v2.x-ssl_no-rsa + + Allows SSL privake keys other than RSA , and implement PROXYSQL RELOAD TLS + +commit 86257b3ae908f41dbc155ba52dd82774a45b8dee +Merge: b9e0814c ebbd9845 +Author: René Cannaò +Date: Thu Aug 26 09:35:27 2021 +0200 + + Merge branch 'v2.1.2-cluster' of https://github.com/sysown/proxysql into v2.1.2-cluster + +commit b9e0814c4db433e67fb80533d7b6eda9eb33479b +Author: René Cannaò +Date: Thu Aug 26 09:34:41 2021 +0200 + + Reduce memory usage on a specific test + +commit dd71fcd81fe20b3549fefdb5db606d8df0da71dc +Author: René Cannaò +Date: Wed Aug 25 23:56:41 2021 +0200 + + Shun "soft" and "hard" in group replication lag + + When shunning a node due to replication lag in a group replication cluster, + we first shun the node as MYSQL_SERVER_STATUS_SHUNNED , then we shun it + as MYSQL_SERVER_STATUS_SHUNNED_REPLICATION_LAG . + + In this way we prevent (for a short time) to kill connections on that backend. + This backing off from that server can give the server enough time to sync up. + + See discussion in comments in https://github.com/sysown/proxysql/pull/3533 + +commit ebbd9845bd7f1113a788d5b609d8d8dc65c7fd71 +Merge: 46f75dae 0937133b +Author: René Cannaò +Date: Wed Aug 25 12:17:03 2021 +0200 + + Merge branch 'v2.x' into v2.1.2-cluster + +commit 0937133b15eec260800236cb0a97a6d0c4215e74 +Merge: 07a2791b 8126c7d0 +Author: René Cannaò +Date: Tue Aug 24 20:49:14 2021 +0200 + + Merge pull request #3577 from hkdsun/capath-crls-v2.x + + SSL: Add support for certificate revocation list (CRL) and multiple certificate authorities (CA) + +commit 8126c7d037074a169fb182d60e7b6d07c41feaa3 +Author: René Cannaò +Date: Tue Aug 24 15:51:04 2021 +0200 + + Fix typo ssl_p2_capath instead of ssl_p2s_capath + +commit 228c0bfd794f653871b38bacf757a6d6e31fb4b3 +Merge: bb5dac8b 07a2791b +Author: René Cannaò +Date: Tue Aug 24 10:55:19 2021 +0200 + + Merge branch 'v2.x' into v2.x-3504 + +commit 7762dea9937f4da338626028eccb16b6b312035d +Author: Hormoz K +Date: Thu Aug 19 11:01:00 2021 -0400 + + add crl, crlpath, and capath options + +commit 07a2791bb9cca1d86f6e9620f11b3ca9e8a95360 +Merge: c78539c9 20d5e6ef +Author: René Cannaò +Date: Mon Aug 23 17:55:41 2021 +0200 + + Merge pull request #3566 from sysown/v2.x-debian10-build + + Remove the temporary "Dirty patch" + +commit c78539c9368f9662bfb841bf8397761ef8660eb1 +Merge: dafda29a 57f6af71 +Author: René Cannaò +Date: Mon Aug 23 17:55:29 2021 +0200 + + Merge pull request #3576 from sysown/v2.x-connect_verbo + + Add more verbosity when mysql_real_connect() fails + +commit dafda29a1a89fc7d30cfe0844e8db6ad6f11a94b +Merge: 05fa6c23 fda395c8 +Author: René Cannaò +Date: Mon Aug 23 13:16:08 2021 +0200 + + Merge pull request #3573 from sysown/v2.x-3546 + + Closes #3546: Frequent ProxySQL crashes since v2.1.x + +commit 05fa6c23cf235253e7023e6012f70c021cdf3ab4 +Merge: 82532c34 bf6e990f +Author: René Cannaò +Date: Mon Aug 23 12:39:36 2021 +0200 + + Merge pull request #3569 from sysown/v2.x-3554 + + Closes 3554: Add support for building ProxySQL with ASAN + +commit 57f6af71328636aff7efa1a757eb087111f269b4 +Author: René Cannaò +Date: Mon Aug 23 12:35:18 2021 +0200 + + Add more verbosity when mysql_real_connect() fails + + Error log will now shows also the hostgroup id of the server the + connection failed to + +commit 46f75dae3bf7d339a4a5adc687b542347256cfec +Author: René Cannaò +Date: Mon Aug 23 12:29:06 2021 +0200 + + Add more verbosity when starting a scheduler job + +commit 8dd33577f669f98480bc3bd5bc0e22f982354ca5 +Author: René Cannaò +Date: Mon Aug 23 12:23:30 2021 +0200 + + Adding a scheduler script for Admin and Cluster + + This scheduerl script will only start in CI if there is a cluster + of 10 proxysql nodes (including the tested one) + +commit f8ce41305d6ca4f9198281789c19b9ecc017a56e +Author: René Cannaò +Date: Mon Aug 23 01:04:08 2021 +0200 + + Fixing some race condition + +commit 5bfbca7f2df100187f1614ff3e7facb07f4de996 +Author: René Cannaò +Date: Sun Aug 22 00:10:08 2021 +0200 + + Preserve epoch when synching with ProxySQL Cluster + + On a large ProxySQL Cluster it was possible that an old configuration reaches + a node (nodeA) later than a new configuration is applied to another node (nodeB). + This has the side affect that nodeB will then believe that nodeA has a newer + configuration, while in reality is an old configuration applied later. + + This commit preverves epoch, thus should avoid this problem + +commit 1e9295c13d600e5877a6ea4792a13c2074408116 +Author: René Cannaò +Date: Sat Aug 21 22:17:24 2021 +0200 + + Removing a lock introduced in 894e72041 + +commit ea0ca76bd33b032f00ac640f926bab5b7e4f31db +Merge: 894e7204 148264cd +Author: René Cannaò +Date: Sat Aug 21 00:42:00 2021 +0200 + + Merge branch 'v2.1.2-cluster' of https://github.com/sysown/proxysql into v2.1.2-cluster + +commit 894e72041d63f63ca0949e30e0bec5a493f84b35 +Author: René Cannaò +Date: Sat Aug 21 00:41:01 2021 +0200 + + Adding a mutex when Cluster is syncing mysql query rules + +commit fda395c879ae0ea3a177511fb093ea1936f86dc5 +Author: Javier Jaramago Fernández +Date: Fri Aug 20 23:16:04 2021 +0200 + + Added regression for double-free memory corruption due to unitialized memory in prepared statements #3546 + +commit 25df2289605e2a5763cf776bad57e3431eec39ee +Author: Javier Jaramago Fernández +Date: Fri Aug 20 23:14:21 2021 +0200 + + Fixed double-free memory corruption due to unitialized memory in prepared statements bind buffers #3546 + +commit fce6cfb8a0a6d4206b6309a399079c4d479fd52f +Author: Javier Jaramago Fernández +Date: Fri Aug 20 15:11:02 2021 +0200 + + Improved preservation of 'OFFLINE_SOFT' server state during 'group_replication' update actions + +commit 148264cd8b2bda04652a4506e88ce5a738aa45bc +Author: René Cannaò +Date: Fri Aug 20 11:10:14 2021 +0000 + + Disabled prometheus metrics dump , see #3571 + + This commit also fixes some minor memory corruptions + +commit 9f2c8836bc721c5664859b7cbc09a58b4455711b +Author: Javier Jaramago Fernández +Date: Fri Aug 20 00:07:58 2021 +0200 + + Fixed removal of servers not belonging to cluster hostgroups by 'group_replication' actions 'set_read_only/set_offline/set_writer' + +commit bf6e990fb39149fc24da8371f41c43203f025afa +Author: René Cannaò +Date: Thu Aug 19 22:38:25 2021 +0200 + + Reenable code coverage for TAP tests + +commit 59bd75be4546e1cba08ae87874699047bb6b88a9 +Author: Javier Jaramago Fernández +Date: Thu Aug 19 21:49:08 2021 +0200 + + Fixed faulty check in 'test_firewall-t' preventing it from working in DEBUG mode #3554 + +commit d271ef9613fdb0ff41278713cf2d1506170ba43a +Author: Javier Jaramago Fernández +Date: Thu Aug 19 21:47:16 2021 +0200 + + Fixed 'stack-buffer-overflow' found by ASAN during SHA1 generation #3554 + +commit fd9f3f13a3d99aa828ed9cd0625d87a9991dd486 +Author: Javier Jaramago Fernández +Date: Thu Aug 19 21:40:54 2021 +0200 + + Fixed 'strcat-param-overlap' found by ASAN in 'IsKeepMultiplexEnabledVariables' #3554 + +commit e86b0258825512186bcc19e6f1f6d206fd79e489 +Author: Javier Jaramago Fernández +Date: Thu Aug 19 21:39:42 2021 +0200 + + Fixed memory leak detected by ASAN during 'PROXYSQL SHUTDOWN SLOW' #3554 + +commit 58460bd323fae96afd0dc838618122d630167bf9 +Author: Javier Jaramago Fernández +Date: Thu Aug 19 21:37:17 2021 +0200 + + Fixed 'heap-buffer-overflow' detected by ASAN in 'generate_show_fields_from' #3554 + +commit 0f8aa299ac9d8c4a10a21ae1e8be80f3d36cfd67 +Author: Javier Jaramago Fernández +Date: Thu Aug 19 21:33:17 2021 +0200 + + Fixed memory corruption reported by ASAN due to unexpected packet by 'mysqlsh' #3554 + +commit 254ee51e8a66a5ec095a4dc1849e63dcbb8a20ee +Author: René Cannaò +Date: Thu Aug 19 15:22:47 2021 +0200 + + Temporary commit for debugging + +commit bc6d4f2aba905d6f2b2e965ec4e792160ea07931 +Author: René Cannaò +Date: Thu Aug 19 12:53:22 2021 +0200 + + Improve error verbosity in ProxySQL Cluster + +commit e8cc7be8fdd62a2188cda78934e300a4b06bc5c6 +Author: Javier Jaramago Fernández +Date: Wed Aug 18 23:29:05 2021 +0200 + + Added non-blocking calls to 'SSL_shutdown' for sending final 'close_notify' required by SSL standard + +commit d5de8a52f1041b1d24b501ef0ed7f63b0a98e260 +Author: Javier Jaramago Fernández +Date: Wed Aug 18 23:22:55 2021 +0200 + + Improved SAN names parsing and client certificate verification when 'SPIFFE' is used + +commit 20d5e6efff0a2cd90d759a260a4db4ed009dd473 +Author: thiagosantosleite +Date: Wed Aug 18 13:58:56 2021 -0300 + + removing the temporary Dirty patch + +commit fcfcb3cac0dd187d4fe6ab45a515936db5cc227a +Author: René Cannaò +Date: Wed Aug 18 13:33:44 2021 +0200 + + Improve error verbosity in ProxySQL Cluster + +commit 068ae1dc55a2d22694d25019e26ab9f5e05dd827 +Author: René Cannaò +Date: Wed Aug 18 01:09:29 2021 +0200 + + Adding a TAP test to verify various aspects of Cluster + + This TAP test assumes that there are a cluster of 10 proxysql nodes + +commit 1f81892adc84e2f62c85c6dd757f7263d42b6c9a +Author: René Cannaò +Date: Tue Aug 17 18:44:33 2021 +0200 + + Commenting unused code + +commit 9a9c9661ff74daaa2e1037362820a79c65264720 +Author: René Cannaò +Date: Tue Aug 17 00:16:20 2021 +0200 + + Add cluster1 user in test_cluster_sync TAP + +commit 9990dac4038941f1c06547108fbeea20d6a454e4 +Author: René Cannaò +Date: Mon Aug 16 23:43:55 2021 +0200 + + Adding some sleep while testing kill connections + +commit 5e422668c821c1d6944e795408bcaebe287b16d4 +Author: René Cannaò +Date: Mon Aug 16 15:21:37 2021 +0000 + + Removing mysql-threads from cluster sync + + It also enables monitoring for cluster test + +commit 9d9851d8e656ab17ff330c125bfc21c329a52383 +Author: Javier Jaramago Fernández +Date: Sun Aug 8 19:48:26 2021 +0200 + + Added ASAN (AddressSanitizer) compilation support to ProxySQL #3554 + +commit af27c0b10847e34f3f261cb4ef58b3d956d13de0 +Merge: 73bcd6ba 82532c34 +Author: René Cannaò +Date: Fri Aug 13 12:49:35 2021 +0200 + + Merge branch 'v2.x' into v2.1.2-cluster + +commit 82532c34ceabbaa7963cd8bd3944ad49511293c6 +Author: René Cannaò +Date: Thu Aug 12 21:53:16 2021 +0200 + + Specify the use of python3 in a TAP test related to restapi + +commit 3de13665e8735801ad30b98094004cbc5b22c00b +Merge: 5203c11b 538feddc +Author: René Cannaò +Date: Thu Aug 12 18:49:43 2021 +0200 + + Merge pull request #3557 from sysown/v2.x-ccov2 + + More code coverage + +commit 5203c11bbd6619b377e4d74698f26a3030cb0eae +Merge: 6314eab4 811091de +Author: René Cannaò +Date: Thu Aug 12 18:49:14 2021 +0200 + + Merge pull request #3560 from sysown/v2.x-3549_v2 + + Closes #3549: Autocommit tracking being lost when 'locked_on_hostgroup' is set + +commit 811091de52998e75d572b300dbfb3cc5b6e48fcb +Author: René Cannaò +Date: Thu Aug 12 12:13:04 2021 +0200 + + Removed a TAP test from wrong PR + +commit 9a85ca9917af3ad40cc7cc8a390851e783b2fb61 +Author: René Cannaò +Date: Thu Aug 12 12:05:47 2021 +0200 + + Copying regression test from PR 3550 + +commit 2145507c22ca90943e802976c5a1c6bb5fabeb29 +Author: René Cannaò +Date: Thu Aug 12 11:52:53 2021 +0200 + + If a session is locked on hostgroup , autocommit is copied from backend connection + + Closes #3459 + +commit 538feddc871fd6ca0c13b2879490e29a21c24a21 +Author: René Cannaò +Date: Thu Aug 12 01:23:23 2021 +0200 + + Code cleanup + + Commenting out ProxySQL_Admin::__insert_or_ignore_maintable_select_disktable() + +commit ef2dd294e9eaae7cb5e9d2c28ba78fb527595bd2 +Author: René Cannaò +Date: Thu Aug 12 01:18:54 2021 +0200 + + Generate a warning if a DEBUG release/version is running + +commit fdcbdd89db91635e8e9b949f60411a2675ab6f97 +Author: René Cannaò +Date: Thu Aug 12 01:11:09 2021 +0200 + + Generate warnings if proxysql is running without --idle-threads + +commit c4fce91fc597f6b783d2266b058db68200997eac +Author: René Cannaò +Date: Thu Aug 12 00:48:55 2021 +0200 + + Change default value of mysql-session_idle_ms from 1000 to 1 + + Not only the default value is change from 1000 to 1 , but it also perform an upgrade from earlier release. + If during bootstrap a value of 1000 is found, it is automatically changed to 1 and a warning is generated. + This release also prevents the value 1000 to be a valid one during bootstrap. + This means that it is still possible to set the value to 1000 and to have a running proxysql instance with value 1000 , but during bootstrap it will be switched to 1. + + If you really want to set mysql-session_idle_ms close to 1000 , it is recommended to set it to a closer value like 999 or 1001 + +commit 9d8765fb2bb13a4afa689c42ef0e6bba4674c43d +Author: René Cannaò +Date: Thu Aug 12 00:02:03 2021 +0200 + + Pring current RLIMIT_NOFILE during start + +commit 1d5ac70e7beb59693079fa63a7579f99b5b74730 +Author: René Cannaò +Date: Wed Aug 11 15:50:32 2021 +0200 + + Adding test to test mysql user fast_forward + + This commit also fix a bug: + When the session uses fast_forward, frontend and backend connections + must have the same bit for CLIENT_DEPRECATE_EOF + +commit 78f882121597eaff3f304f37b1a9eb425ef3a7a5 +Author: René Cannaò +Date: Wed Aug 11 12:42:38 2021 +0200 + + More code coverage mostly related to Admin + +commit e2dd0a30cd79700f7da3ced1ecdaf2c1387006c6 +Author: Javier Jaramago Fernández +Date: Tue Aug 10 21:00:06 2021 +0200 + + Initial implementation for 'client_error_limit' + + Add initial support for FR limiting the number of connection errors that + can be initiated from a particular address before deniying future + connections from that address. Feature is controlled by new introduced + variables: + + - mysql-client_host_error_counts + - mysql-client_host_cache_size + +commit f3a4286e1c4a5adac2a2341c7c602b3bad7596b0 +Author: René Cannaò +Date: Wed Aug 11 10:26:50 2021 +0200 + + Expanding mysql-mirror1-t for logging + + This test also triggers: + - logging events in eventslog_format 1 and 2 + - logging in audit log + +commit 15f30fe006f98db81255eaf0274cb4b6966ff7d4 +Author: René Cannaò +Date: Wed Aug 11 02:58:58 2021 +0200 + + Add 1st TAP test for mirroring + + This TAP test performs some basic testing for mirroring. + It also enables query log in JSON format. + +commit c11a7e146758ed0999a98a26bd3787d96f46ac53 +Author: René Cannaò +Date: Wed Aug 11 01:52:02 2021 +0200 + + Test to verify KILL CONNECTION on Admin + + This test verifies that client connections are dropped + because of KILL CONNECTION executed on Admin + + It kills idle connections or connections in transaction + +commit 3d5469fded90500c2201da171ea3fe840c1abc15 +Author: René Cannaò +Date: Wed Aug 11 01:26:09 2021 +0200 + + Adding LCOV_EXCL_START around exit(EXIT_FAILURE) + +commit 194243503a20827308130ebf1068e1fbb1143ced +Author: René Cannaò +Date: Wed Aug 11 01:10:10 2021 +0200 + + Adding LCOV_EXCL_START around assert(0) + + LCOV_EXCL_START and LCOV_EXCL_STOP around assert(0) will improve code coverage + +commit 8afeb616ed1d07a3876c6cd3defe33bb4f9228e9 +Author: René Cannaò +Date: Wed Aug 11 00:14:54 2021 +0200 + + Added test for connections timeout + + Added test that verifies that client connections are dropped because of: + - mysql-wait_timeout + - mysql-max_transaction_time + + IT also helped finding a bug in how mysql-max_transaction_time was handled + +commit a451c349996840461da8dc84356f488c462362ee +Author: René Cannaò +Date: Tue Aug 10 23:18:18 2021 +0200 + + Adding some tests for the firewall feature + +commit b912d978b00ec8b6dc88cf273d1bb875208b9ba6 +Author: René Cannaò +Date: Tue Aug 10 22:12:55 2021 +0200 + + Removing or commenting legacy/unused code + +commit 22f2204745593b41bb894f1aecd281a6984bef3d +Author: René Cannaò +Date: Tue Aug 10 21:46:44 2021 +0200 + + Removed unused code + +commit c17d65bdf9a639281013bb7642d24155431f7085 +Author: René Cannaò +Date: Tue Aug 10 21:36:54 2021 +0200 + + More code testing + + Added test that verifies a variety of things: + - the following queries run as expected: + * SELECT LAST_INSERT_ID() + * SELECT LAST_INSERT_ID() LIMIT 1 + * SELECT @@IDENTITY + * SELECT CONNECTION_ID() + - that killing backend connections works + +commit 6314eab4e36420ae7eb2234dafce4caf8a4a78b0 +Merge: 7f0b358e c30776a8 +Author: René Cannaò +Date: Tue Aug 10 20:11:15 2021 +0200 + + Merge pull request #3540 from sysown/v2.x-3539 + + Closes #3539: Replaced manual search for 'MyHGC' in favor of optimized 'MyHGC_find' + +commit 7f0b358ed8474cbac61e892d79ab12eed4bb4046 +Merge: bc410940 4ea7b750 +Author: René Cannaò +Date: Tue Aug 10 20:10:59 2021 +0200 + + Merge pull request #3544 from sysown/v2.x-3525 + + Closes #3525: Memory leak induced by 'stmts' not being closed when failed to prepare + +commit 562c8b92f20b0f2eda834729c8f911eceb4bcce2 +Author: René Cannaò +Date: Tue Aug 10 20:10:05 2021 +0200 + + Improve code coverage for Admin + +commit 76be6e2c08f0690886a1cd31c9b5e5930c5ee188 +Author: René Cannaò +Date: Tue Aug 10 19:11:36 2021 +0200 + + Testing various SET commands in Admin + +commit 189b30b6309d6223eb9b94a721d02e98059963fb +Author: René Cannaò +Date: Tue Aug 10 17:35:31 2021 +0200 + + Work in progress for generate_set_session_csv + + generate_set_session_csv will be able to automatically generate + a long list of SET statements for testing purpose + +commit 8ea1f16cb711343d057ad0289349b4109259ed4f +Author: René Cannaò +Date: Tue Aug 10 15:02:37 2021 +0200 + + deprecating session_vars[] + +commit da2bf094ee009eff994e8bb35d417bbf33b3508f +Author: René Cannaò +Date: Tue Aug 10 14:58:05 2021 +0200 + + Fixed some minor but important bugs on the new implementation on how session variables are handled + +commit 241a5e54d7b3a1fee25ff9c961a22959564a1d9d +Author: René Cannaò +Date: Tue Aug 10 11:32:18 2021 +0200 + + Draft to reimplement how session variables are handled + +commit 4ea7b750fd01d49203d37b7f13988eb79de99e1a +Author: Javier Jaramago Fernández +Date: Mon Aug 9 15:00:42 2021 +0200 + + Moved helper function 'proxy_mysql_stmt_close' from 'gen_utils' to 'MySQL_Protocol' #3525 + +commit bc4109404b007b19678ac6a27f86cc9f47f5bbef +Author: René Cannaò +Date: Mon Aug 9 12:38:51 2021 +0200 + + Remove unused variables + +commit fd7b5f8f505fc3107cb7e373c52f8b422cfedacb +Author: René Cannaò +Date: Fri Aug 6 19:08:54 2021 +0200 + + Implemented PROXYSQL RELOAD TLS + + Command PROXYSQL RELOAD TLS is able to load new key/cert files and + create a new SSL context. + + Loading of SSL can happens in two stages: + * during bootstrap: if it fails, proxysql dies + * running PROXYSQL RELOAD TLS: if it fails, proxysql will keep the old SSL context + + This new method should successfully handle errors like missing or corrupted files. + + We are also adding two buffers used to store the key/cert, to be used by the web interface. + +commit 0ed4514fa40ec2240c85c3e27bebab25bc893ad0 +Author: René Cannaò +Date: Fri Aug 6 15:07:30 2021 +0200 + + Remove error when clients connect without certificate #3424 + + We currently disable this annoying error + In future we can configure this as per user level, specifying if the certificate is mandatory or not + See issue #3424 + Original error was: X509 error: no required certificate sent by client + +commit 7aebd6dc500095c2d1fb83f301e9996a334f30b8 +Author: René Cannaò +Date: Fri Aug 6 14:55:12 2021 +0200 + + Deprecate PEM_read_bio_RSAPrivateKey + + Deprecate PEM_read_bio_RSAPrivateKey in favour of PEM_read_bio_PrivateKey. + This allows to read keys other than RSA . + +commit 82464bf829bc8c16763e66ab8647ec205433e7e9 +Merge: ab59eb86 e38562df +Author: René Cannaò +Date: Thu Aug 5 16:12:13 2021 +0200 + + Merge pull request #3548 from sysown/v2.x-PS-err3024 + + Adding support for error message at the end of a binary protocol resultset #3547 + +commit ab59eb86cb838292a7547aaf2bed374ce0786329 +Merge: 4013b0af c668cdc4 +Author: René Cannaò +Date: Thu Aug 5 12:55:49 2021 +0200 + + Merge pull request #3537 from sysown/v2.x-3536 + + Closes #3536: Fix tap test 'reg_test_3223-restapi_return_codes-t' spurious failure in CI + +commit e38562df40ad7c88bd7bf2c873fb427937de6e35 +Merge: aa7230b1 4013b0af +Author: René Cannaò +Date: Thu Aug 5 12:51:00 2021 +0200 + + Merge branch 'v2.x' into v2.x-PS-err3024 + +commit aa7230b1e4d4a469f3aa98bcde9c47a43887866b +Author: René Cannaò +Date: Thu Aug 5 11:48:36 2021 +0200 + + Clean up of TAP tests and removing duplicated code + +commit fce7a0204c3b1ec4601368025ef254adc4371a4f +Author: René Cannaò +Date: Thu Aug 5 02:16:19 2021 +0200 + + Handle binary protocol resultset with ERR #3547 + + This commit add the support of ERR packet in binary protocol resultset, + for example due to MAX_EXECUTION_TIME while running a prepared statement. + + It also changes how EOF packets are added: instead of writing the EOF in the + resultset buffer, the EOF packet is written in its own packet. This allows to + easily remove it if needed. + + It also fix what seems (not sure) a bug in MariaDB client library, where if a + prepared statement is interrupted it cannot be executed again + +commit 297bc8bae6c65048f9943d4948e737209ddb76b7 +Author: Javier Jaramago Fernández +Date: Fri Jul 30 16:43:51 2021 +0200 + + Refactored calls to 'mysql_stmt_close' into function holding preparation of 'MYSQL_STMT*' parameter #3525 + +commit 703d422973c418e6dd653b8327008e4c3684f0e8 +Author: Javier Jaramago Fernández +Date: Fri Jul 30 13:36:50 2021 +0200 + + Added tap test 'repro_test_leak_3525.cpp' as doc on how to reproduce #3525 + +commit de2fd24e776b2d290a86d7e560082e4c223cbf7a +Author: Javier Jaramago Fernández +Date: Fri Jul 30 13:33:24 2021 +0200 + + Fix leak closing 'query.stmt' in case of 'async_free_result' called for 'ASYNC_STMT_PREPARE_FAILED' state #3525 + +commit 603067725819bb410e9ec2a1331d1818d458cd78 +Merge: 8136a6f4 4013b0af +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Thu Jul 29 11:56:36 2021 +0300 + + Merge branch 'v2.x' into ldap-auth-changes + +commit 8136a6f4d0c6a1c3b0573016fd87e40aac18e818 +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Thu Jul 29 11:56:12 2021 +0300 + + Addressed reviewer comments + +commit 1fac83d0a4c12474867240b1ea9916cf74100b6d +Author: Javier Jaramago Fernández +Date: Wed Jul 28 17:32:01 2021 +0200 + + Fixed 'hostgroup_id' index selection in 'populate_grouprep_table' + +commit a6c22462763def09a2c97c7182abea97abdd8ca0 +Author: Javier Jaramago Fernández +Date: Tue Jul 27 17:21:11 2021 +0200 + + Replaced 'TEST_GROUPREP' impl to better match approach followed for 'READONLY' + +commit c30776a88808b837d93bba75bddc65ec92f39cd3 +Merge: 38b44781 4013b0af +Author: Javier Jaramago Fernández +Date: Tue Jul 27 15:31:02 2021 +0200 + + Merge remote-tracking branch 'origin/v2.x' into v2.x-3539 + +commit 4013b0afdce8827fc64e468c2478c1565c8a199f +Author: Javier Jaramago Fernández +Date: Tue Jul 27 15:26:57 2021 +0200 + + Fixed replication issues in 'test_unsupported_queries-t' tap test + +commit 459a3f12c272541454cd6abffb13dd87ccc5bc09 +Author: Javier Jaramago Fernández +Date: Tue Jul 27 14:41:25 2021 +0200 + + Added nullity checks for params for 'lag_action_set_server_status' + +commit 38b44781e766cc9dda19bcfe1b51dd22f31619e7 +Author: Javier Jaramago Fernández +Date: Tue Jul 27 14:12:04 2021 +0200 + + Replaced manual search for 'MyGHC' in favor of optimized 'MyHGC_find' #3539 + +commit 2d670897df299b66b0a90a1f7fc7a5fb376a2cd7 +Merge: 6c378d6f 48a32aa5 +Author: René Cannaò +Date: Tue Jul 27 12:13:27 2021 +0200 + + Merge pull request #3529 from sysown/v2.x-3502 + + Closes #3502: ProxySQL crashed due to with assert for 'mybe' being null + +commit 6c378d6f12bf97bbc896440063050677b1501c59 +Merge: e9aa7dd8 6bd6919d +Author: René Cannaò +Date: Tue Jul 27 12:12:30 2021 +0200 + + Merge pull request #3526 from sysown/v2.x-3500 + + Closes #3500: Unsupported 'LOAD DATA LOCAL INFILE' command + +commit e9aa7dd863f682561494c61a5cd8007cf4094677 +Merge: bd703d4e 81fab6b9 +Author: René Cannaò +Date: Tue Jul 27 12:11:24 2021 +0200 + + Merge pull request #3524 from sysown/v2.x-3508 + + Closes #3508: Improve code coverage related to sqlite3-server + +commit c668cdc42676053c798922e1150dd738f68efbc5 +Author: Javier Jaramago Fernández +Date: Sat Jul 24 15:40:07 2021 +0200 + + Improved error handling and added waiting check for 'RESTAPI' readiness to 'reg_test_3223' #3536 + +commit bb5dac8b17ea35989a0d7b74f0f8df4a53b34c87 +Author: Javier Jaramago Fernández +Date: Fri Jul 23 21:45:44 2021 +0200 + + Unified both regression test helper files using conditional compilation #3504 + +commit 6bd6919d0f6e8b562f0d2eda0f68433198cc3a35 +Author: Javier Jaramago Fernández +Date: Fri Jul 23 17:34:07 2021 +0200 + + Improved 'helper_test_load_data_local_infile' by checking the written content + +commit edc631ba6c63f21f5423ca7dc1eccea21afb8b5a +Author: Javier Jaramago Fernández +Date: Thu Jul 22 19:44:04 2021 +0200 + + Added missing parameter 'lag_count' to 'proxy_warning' from 'lag_action_set_server_status' + +commit 3873f0b937106c4b39512aa272fac0feb113fe68 +Author: Javier Jaramago Fernández +Date: Thu Jul 22 19:19:25 2021 +0200 + + Fixed compilation with invalid call to renamed function + +commit b929758a87ddf4da027db2ed4cc008c80df0c345 +Author: Javier Jaramago Fernández +Date: Thu Jul 22 18:50:44 2021 +0200 + + Several improvements to 'group_replication_lag_action' + + 1. Introduced new global variable: 'monitor_groupreplication_max_transaction_behind_for_read_only', + that modifies the behavior of 'group_replication_lag'. + 2. Improved logic making use of 'MyHGC_find' instead of directly + searching 'MyHostGroups' structure. + 3. Improved 'group_replication_lag' documentation with new + implementation updates. + 4. Introduced changes to 'update_group_replication_set_writer' + preserving writters placed in 'OFFLINE_SOFT' state. + +commit 0850c4d596a7c42f390f3a2259a8961a4eb1cd12 +Author: Javier Jaramago Fernández +Date: Thu Jul 22 13:27:08 2021 +0200 + + Improved the documentation for 'group_replication_lag_action' + +commit 8a0b8728c08f54a849647dfa1e7850cece3ed14b +Author: Javier Jaramago Fernández +Date: Thu Jul 22 11:33:01 2021 +0200 + + Introduced a simple way of performing manual testing for 'GROUPREP' via 'SQLite3' server + +commit 33aa80c265d32db6be30ea56370282d27f8d2c72 +Author: Javier Jaramago Fernández +Date: Thu Jul 22 11:31:36 2021 +0200 + + Prevent servers that has been placed as 'OFFLINE_SOFT' of becoming writers + +commit 53bf18b428e34be4e0a692997d7e0f6154634b33 +Author: Javier Jaramago Fernández +Date: Thu Jul 22 11:30:03 2021 +0200 + + Changed setting readonly servers 'OFFLINE' due to replication lag behavior in favor of general server 'SHUNNING' + +commit 9529ac6ca22e0c73c2e39bcd7609abad70ff17a1 +Author: Javier Jaramago Fernández +Date: Wed Jul 21 11:52:19 2021 +0200 + + Added new test to exercise code related to conditional verbosity added to 'enable_load_data_local_infile' #3500 + +commit 1c319c021d1f7833d779574b2883f6ac103165f8 +Author: Javier Jaramago Fernández +Date: Wed Jul 21 11:02:18 2021 +0200 + + Fixed check for 'enable_load_data_local_infile' placement and added conditional extra verbosity to warning message #3500 + +commit c29aa4a8298057f131b11871b7503ee5ae65054d +Author: René Cannaò +Date: Wed Jul 21 10:39:57 2021 +0200 + + Drafting TAP to test error 3024 with prepared statements + + It seems proxysql doesn't correctly handle errors 3024 combined with prepared statements. + +commit 48a32aa5fe0ab8fe9dc442f6a152b55451598055 +Author: Javier Jaramago Fernández +Date: Tue Jul 20 22:45:05 2021 +0200 + + Added check preventing a session with 'PINGING_SERVER' status to start a 'RESETTING_CONNECTION' session #3502 + +commit 9d19c70e8cf9314dcd6e60d1494ba8c5830b7786 +Merge: 21803220 bd703d4e +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Mon Jul 19 17:01:44 2021 +0300 + + Merge branch 'v2.x' into ldap-auth-changes + +commit 538645fd9449615eacc897a92b79a75e8e793f0c +Author: Javier Jaramago Fernández +Date: Wed Jul 14 19:14:04 2021 +0200 + + Added a test case testing for failure of 'LOAD DATA LOCAL INFILE' providing invalid file name #3500 + +commit 47797c0af185ee07a5e845ca7cfbaa596521a2a2 +Author: Javier Jaramago Fernández +Date: Wed Jul 14 18:51:36 2021 +0200 + + Reshaped test 'test_unsupported_queries-t' to also check conditionally supported queries #3500 + +commit 1f4f86d5ce2c4ba8d3b8a9b4ae2387f3c4ab7ff2 +Author: Javier Jaramago Fernández +Date: Wed Jul 14 18:49:26 2021 +0200 + + Added mysql variable to enable unsupported query 'LOAD DATA LOCAL INFILE' issuing warning message #3500 + +commit 81fab6b95f7364b08859537da68576291d73527e +Author: Javier Jaramago Fernández +Date: Tue Jul 13 18:21:50 2021 +0200 + + Added test performing all the operations for SQLite3 server required by #3508 + +commit f7447facdc31c28068f7522bf90562155476a8f5 +Author: Javier Jaramago Fernández +Date: Tue Jul 13 17:21:35 2021 +0200 + + Fixed infinite loop when address specified by 'sqliteserver-mysql_ifaces' isn't available #3508 + +commit bd703d4ea84e768eb1bdb6c6d5e82d59d428ba19 +Merge: c9f309ed 3e6aa95d +Author: René Cannaò +Date: Tue Jul 13 12:50:40 2021 +0200 + + Merge pull request #3523 from sysown/v2.x-3518 + + Address update checker security issue(s) reported in #3518 + +commit c9f309ed31c897a1e2f8c0aae52ad768be6b7c86 +Merge: d5579f60 5ede60ec +Author: René Cannaò +Date: Tue Jul 13 12:14:13 2021 +0200 + + Merge branch 'v2.x' of https://github.com/sysown/proxysql into v2.x + +commit d5579f609ab5558fc36f3b2bcc14c843d3aac493 +Author: René Cannaò +Date: Tue Jul 13 12:13:44 2021 +0200 + + Deleted jemalloc-4.3.1.tar.bz2 + +commit 5ede60ec9fb4217095fcf792c07cc515c195ea5f +Merge: dbf19407 4ab0139f +Author: René Cannaò +Date: Tue Jul 13 12:10:20 2021 +0200 + + Merge pull request #3499 from sysown/v2.x-codecov1 + + [WIP] code cleanup and improved code coverage + +commit dbf194075e6032e304da3e60ad72eea498e0cd7f +Merge: dc222170 77a6b695 +Author: René Cannaò +Date: Tue Jul 13 12:10:06 2021 +0200 + + Merge pull request #3486 from sysown/v2.x-gcov-admin + + [WIP] Adding support for PROXYSQL GCOV DUMP|RESET + +commit 3e6aa95d5097934b991e62e6ce5b86757781e092 +Author: René Cannaò +Date: Tue Jul 13 11:58:20 2021 +0200 + + Upgrade curl from 7.57 to 7.77 #3518 + +commit 7a664ac8c10b8d5d1176dba3603e06f0e01abe78 +Author: René Cannaò +Date: Tue Jul 13 11:48:43 2021 +0200 + + Disable CURLOPT_SSL_VERIFYPEER=0 #3518 + +commit 21803220e1d229514c1c1ae9fa23cf6b4438b706 +Merge: 4359b1f7 dc222170 +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Tue Jul 13 11:53:24 2021 +0300 + + Merge branch 'v2.x' into ldap-auth-changes + +commit 77a6b69507a244edd02e1938e8a96f71acb8282e +Author: René Cannaò +Date: Fri Jul 9 18:45:59 2021 +0200 + + Fix compile issue for __gcov_dump and __gcov_reset + +commit adb3bcd1c25e01dfce820188f79f0517ca498e06 +Author: Javier Jaramago Fernández +Date: Fri Jul 9 17:02:56 2021 +0200 + + Added locking of 'mysql_servers_wrlock' to 'SQLite3_Server::load_readonly_table' + +commit 2c66cbe59cb66cf8beaaa871d3f24bc06b6e506c +Author: Javier Jaramago Fernández +Date: Fri Jul 9 17:01:18 2021 +0200 + + Fixed missing initialization of 'test_readonly_mutex' + +commit 1d49d39218a46137dbf7020c7d9e482029106691 +Author: Javier Jaramago Fernández +Date: Fri Jul 9 16:58:49 2021 +0200 + + Removed commented code and commented automatic population of 'mysql_servers' and 'mysql_replication_hostgroups' from 'enable_readonly_testing' + +commit e538e0b04e308436b6ea6181530169e68a23b73a +Author: Javier Jaramago Fernández +Date: Fri Jul 9 16:56:46 2021 +0200 + + Added locking of 'ProxySQL_Admin::sql_query_global_mutex' during 'read_only_action' + +commit e39211c786eb309e8248a429c945b169e9d5b7dd +Author: Javier Jaramago Fernández +Date: Fri Jul 9 16:41:19 2021 +0200 + + Added documentation for 'ProxySQL_Admin::sql_query_global_mutex' and 'ProxySQL_Admin::save_mysql_servers_runtime_to_database' + +commit ccef4ff12df0eddaf08508457aae6d1995faa84a +Author: Javier Jaramago Fernández +Date: Fri Jul 9 16:24:04 2021 +0200 + + Fixed typo using 'SAFE_SQLITE3_STEP' instead of 'SAFE_SQLITE3_STEP2' providing proper waiting for 'SQLITE_BUSY' + +commit 12d91871b7ccbfcaab6a952c8d65d4574fc4789d +Author: Javier Jaramago Fernández +Date: Fri Jul 9 16:19:44 2021 +0200 + + Fixed possible floating point exception in 'monitor_read_only' + +commit dc2221709edc4871a28d50a34551e9a1332aff3b +Merge: f0f8ed94 b8c027ee +Author: René Cannaò +Date: Thu Jul 8 15:34:47 2021 +0200 + + Merge pull request #3515 from sysown/v2.x-aurora1 + + Several improvement related to Aurora + +commit b8c027ee0a75f8c7fb18e9eac09ee16e21bd8d9f +Author: René Cannaò +Date: Thu Jul 8 02:57:15 2021 +0200 + + Improve query to REPLICA_HOST_STATUS related to Aurora + + This commits solves 2 issues: + 1. ignore decommissioned or renamed nodes, see #3484 + 2. during a failover, the former writer (still reporting MASTER_SESSION_ID) is not considered a writer if it is not the last updated + +commit 7950e9d10212e5b7c3e2653e288e5d2770e533be +Author: René Cannaò +Date: Wed Jul 7 23:37:59 2021 +0200 + + Increasing the amount of entries stored in mysql_server_aws_aurora_log + + From 50 snapshots to 150 snapshots + +commit de698cb156009c5cf9de30957bc33320dd103108 +Author: René Cannaò +Date: Wed Jul 7 23:35:58 2021 +0200 + + Improving query to REPLICA_HOST_STATUS related to Aurora + + The new query now handles also replicas where REPLICA_LAG_IN_MILLISECONDS == 0 . + This commit also add comments to track the changes in this query. + +commit 590c5cb75c19c01734d6d0d60f117a8cb195e034 +Author: René Cannaò +Date: Wed Jul 7 23:20:00 2021 +0200 + + Removed unused function monitor_AWS_Aurora_thread() + +commit 8c62273687c193165092fed4876f2e16b0acdf03 +Author: Egezon Berisha +Date: Wed Jul 7 10:56:33 2021 -0500 + + Change the pt-heartbeat query from MIN to MAX due to a possible daisy-chain replication or multi-master setup + +commit f0f8ed9417a1ec79ba05762698b194aa04f01373 +Merge: 09d42b59 9f0aa866 +Author: René Cannaò +Date: Wed Jul 7 01:13:41 2021 +0200 + + Merge pull request #3513 from sysown/v2.x-idle-threads_improvement1 + + Reducing the number of calls to idle_thread_to_kill_idle_sessions + +commit 09d42b5968145c14a356c75c24c149356f3e1c23 +Author: René Cannaò +Date: Wed Jul 7 01:12:35 2021 +0200 + + Fixed minor uninitialised value in MySQL_Monitor_State_Data() + + Detected via valgrind + +commit 47b0a917286214662a89512328394e0aeccfa829 +Merge: 4c1ad6aa 414d5907 +Author: René Cannaò +Date: Wed Jul 7 01:02:56 2021 +0200 + + Merge pull request #3438 from bskllzh/v2.2.0 + + Closes #3431: Fix crashes due to mmsd is null when add an invalid host name to the mysql_servers table + +commit 4c1ad6aa2b4565c084c0379abab518e14745acf6 +Merge: a1459cbb cf797893 +Author: René Cannaò +Date: Wed Jul 7 00:19:00 2021 +0200 + + Merge pull request #3507 from bskllzh/v2.x + + Closes #3492: Fix the incorrect value range of the parameter mysql-default_query_timeout + +commit a1459cbbbeee255463709fdd063ea643df0f054c +Merge: 9f9734df a1c23203 +Author: René Cannaò +Date: Wed Jul 7 00:06:28 2021 +0200 + + Merge pull request #3512 from sysown/v2.x-3501 + + Reduce length of mysql_bug_102266 #3501 + +commit 9f0aa866c3ea5e74cc84853411c467ae6a63f921 +Author: René Cannaò +Date: Tue Jul 6 23:43:33 2021 +0200 + + Reducing the number of calls to idle_thread_to_kill_idle_sessions + + This commit can potentially provide some performance improvements with large number of idle connections + +commit a1c232039ffa8d1835d0d3008041e9eb1c5c7f74 +Author: René Cannaò +Date: Tue Jul 6 17:43:30 2021 +0200 + + Reduce length of mysql_bug_102266 #3501 + + In #3285 we increased the amount of data sent to the backend during connection + time using MYSQL_OPT_CONNECT_ATTR_ADD , in order to avoid MySQL bug 102266 . + See #3276 . + Although this create a lot of noise in ProxySQL error log and MySQL error log, + because the connection attributes are too long and they get truncated. + + This PR reduces the length of connection attributes + +commit 4ab0139f0991de50600bb744686680d35faf054e +Author: René Cannaò +Date: Tue Jul 6 17:30:36 2021 +0200 + + Adding test for SHOW CREATE TABLE in Admin #3511 + +commit 38dc1e42317c2bc7f25d3c11d6cd05280db1ab31 +Author: René Cannaò +Date: Tue Jul 6 17:09:25 2021 +0200 + + Adding test for various commands in Admin #3511 + +commit e41d498b2bae16d62c0685ffda99e8d02902656a +Author: René Cannaò +Date: Tue Jul 6 16:28:24 2021 +0200 + + Initialize enabled_mutex in SQLite3_result + + Variable was not set in various constructors. + Detected using valgrind. + +commit 45f6ad8f650d6a5266e1a9347bcc032f64daea13 +Author: René Cannaò +Date: Tue Jul 6 16:13:02 2021 +0200 + + Adding test for SHOW TABLE STATUS in Admin #3511 + +commit 992c3f7e20cfd7ff0e5f73033d03f0c703637956 +Author: René Cannaò +Date: Tue Jul 6 15:17:02 2021 +0200 + + Renaming file + +commit 41d15f6a87a11eb7e8374b763fc03c207ec96658 +Author: René Cannaò +Date: Tue Jul 6 15:11:32 2021 +0200 + + Adding test for SHOW FIELDS FROM in Admin #3511 + +commit cf797893a363f48aefbd825c0c7796a93692660c +Author: peter +Date: Mon Jul 5 23:55:59 2021 +0800 + + Fix mysql-default_query_timeout parameter + + fix mysql-default_query_timeout parameter in MySQL_Thread.cpp, according to https://proxysql.com/documentation/global-variables/mysql-variables/#mysql-default_query_timeout + +commit 4359b1f72fb92f0f1333237b9084a4e9dbdd734f +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Fri Jul 2 18:49:45 2021 +0300 + + Count connections for frontend user, not backend + +commit 7df71035ff0730b7f12faed87fe75eeba03c6eae +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Fri Jul 2 12:23:51 2021 +0300 + + Converted strncmp to strcmp + +commit 57eda2941b6a1774fe0f289a6188894cc8d81f75 +Author: Javier Jaramago Fernández +Date: Thu Jul 1 18:49:39 2021 +0200 + + Added regression test for 'Auth Switch' support for 'COM_CHANGE_USER' #3504 + +commit 5e0dc81e5e16b3b1b8f3a1e2937b066c6ed4bf94 +Author: Javier Jaramago Fernández +Date: Thu Jul 1 18:35:19 2021 +0200 + + Added support for 'Auth Switch Request' for 'COM_CHANGE_USER' #3504 + +commit 4a6ab0c4e1a0f5c8131c8fa6507b0574e56571ff +Author: René Cannaò +Date: Tue Jun 29 02:01:07 2021 +0200 + + Test to verify SSL and compression on Admin + +commit 08a935f3f12cf5ad187373a6a3f42133dba547ba +Author: René Cannaò +Date: Tue Jun 29 01:04:19 2021 +0200 + + Fixed admin-web_port in test + +commit 1ee232bf85c81c511ee8cfc55e17205cfe56c117 +Author: René Cannaò +Date: Tue Jun 29 00:43:07 2021 +0200 + + Removed dead code from MySQL_Session + +commit beddc41b1f35da1147068b7e3a5481250d18bf89 +Author: René Cannaò +Date: Tue Jun 29 00:26:40 2021 +0200 + + Cleanup of dead code in MySQL_Protocol + +commit 34b4890cbe9366ae7ac1341faba555208320e97d +Author: René Cannaò +Date: Tue Jun 29 00:03:14 2021 +0200 + + Adding setparser_test to gitignore + +commit 9f9e8fcf13a77638c46db44f58f19133916abc2e +Author: René Cannaò +Date: Tue Jun 29 00:02:27 2021 +0200 + + Fixing typo in http check + +commit 1ee865aac60360315ed4bfb2470febf2a2bf3426 +Author: René Cannaò +Date: Mon Jun 28 23:16:16 2021 +0200 + + Enable WebUI in test_simple_embedded_HTTP_server-t + +commit 9f9734df0ecc89c88ad26046d47f46011841d97d +Merge: 81e0bf7e 3406bb6e +Author: René Cannaò +Date: Mon Jun 28 19:48:09 2021 +0200 + + Merge pull request #3474 from sysown/v2.x-stats + + [WIP] Some code cleanup in Admin + +commit 2ce9ed9686710c232b99db4563a7ee5effd163af +Author: René Cannaò +Date: Mon Jun 28 19:38:07 2021 +0200 + + Disabled in MySQL_Connection code related to store results + +commit 257949f62313c352453c7e6da7462ec9232b7f1c +Author: René Cannaò +Date: Mon Jun 28 19:29:07 2021 +0200 + + Removing MySQL_HostGroups_Manager::server_add() + + This function was deprecated in 2016 + +commit 81ed72f3fe954451b610b63e652981d2db188e57 +Author: René Cannaò +Date: Mon Jun 28 19:12:47 2021 +0200 + + Removed dead functions from MySQL_Data_Stream() + + Functions removed years ago (around 2015): + * clean_net_failure() + * myds_connect() + +commit b880b0ba9164dfb41fca03c1b2f4c12d4bc982d5 +Author: René Cannaò +Date: Mon Jun 28 19:01:32 2021 +0200 + + Simple tests for embedded HTTP server + +commit 76b0e911a82ba2136441fdd01dc72e8d1878f937 +Author: René Cannaò +Date: Mon Jun 28 18:51:04 2021 +0200 + + Compiling curl without --disable-crypto-auth + +commit e33ada0a5e9051e9772e1bc597e6a67be50b05fa +Author: René Cannaò +Date: Mon Jun 28 13:01:59 2021 +0200 + + Commented unused code + +commit 3406bb6e230ddcb9a5954103b6914b4acc982572 +Author: René Cannaò +Date: Mon Jun 28 11:47:04 2021 +0200 + + Removing commented code + +commit 81e0bf7edb3bc5e301072936ce90ee99c7d16b68 +Merge: 117355eb 6c7503f8 +Author: René Cannaò +Date: Mon Jun 28 11:39:59 2021 +0200 + + Merge pull request #3467 from sysown/v2.x-misc1 + + V2.x misc1 + +commit 117355eb594987bb536d9fbd50ee614954984e74 +Merge: 9c8e17f9 d58b108b +Author: René Cannaò +Date: Mon Jun 28 11:39:03 2021 +0200 + + Merge pull request #3480 from sysown/v2.x-3479 + + Closes #3479: Add support for 'grave accent' (`) for SET statements parsing + +commit 9c8e17f916ec8b6d0295873aaed5013a1a75e2a5 +Merge: 80530110 1f8a2967 +Author: René Cannaò +Date: Mon Jun 28 11:38:24 2021 +0200 + + Merge pull request #3466 from sysown/v2.x-user_default_isolation_level + + Per-user default transaction isolation level + +commit 805301107f2eb62ac8f18285ecbcf4bc2e7ead75 +Merge: de613c52 29697db5 +Author: René Cannaò +Date: Mon Jun 28 11:38:06 2021 +0200 + + Merge pull request #3488 from sysown/v2.x-3487 + + Closes #3487: Add client information for multi-statements parsing error message + +commit de613c52ed356af984d3a5b3317a0207a0408adf +Merge: e14accd7 42e35187 +Author: René Cannaò +Date: Mon Jun 28 11:37:50 2021 +0200 + + Merge pull request #3494 from sysown/v2.x-3493 + + Closes #3493: Add support for comments in 'USE' statements + +commit 42e351878d99d5f1009d1b309c57a7aa3261b48b +Author: Javier Jaramago Fernández +Date: Thu Jun 24 11:57:33 2021 +0200 + + Added regression test for added support to comments in 'USE' statements #3493 + +commit 0dde4adb21fa0908574d95bbc626823d6f8b7bae +Author: Javier Jaramago Fernández +Date: Thu Jun 24 11:54:39 2021 +0200 + + Added support for comments in 'USE' statements #3493 + +commit 29697db578200cd487d45eab2766cd34c0ba2b0b +Author: Javier Jaramago Fernández +Date: Fri Jun 18 18:59:38 2021 +0200 + + Added client information to error generated when multi-statement command fails to be parsed #3487 + +commit 2c159d1d9a5834596ae53edd949e841c80703d07 +Author: René Cannaò +Date: Fri Jun 18 13:19:51 2021 +0200 + + Adding support for PROXYSQL GCOV DUMP|RESET + + Adding two new Admin commands: + PROXYSQL GCOV DUMP + PROXYSQL GCOV RESET + + These will call __gcov_dump() and __gcov_reset() + +commit 14428f7a9276d982414048e6ff46bcecb389f3cc +Merge: eac6e75d e14accd7 +Author: Javier Jaramago Fernández +Date: Tue Jun 15 16:14:28 2021 +0200 + + Merge branch 'v2.x' into v2.2.0-sqliteserver_read_only + +commit 1f8a29673b69ed323a9e425571a9b5597e930620 +Author: Javier Jaramago Fernández +Date: Mon Jun 14 17:11:32 2021 +0200 + + Added new test checking the introduced attribute 'default-transaction_isolation' #3466 + +commit d58b108b74345c31c2c50867fe0d95d26836894b +Author: Javier Jaramago Fernández +Date: Sat Jun 12 17:14:53 2021 +0200 + + Added set statements with 'grave accents' to tests 'set_testing-t.csv' and 'test_filtered_set_statements-t' #3479 + +commit 1f478343069f9c7a675f3bd339097bbacb644b00 +Author: Javier Jaramago Fernández +Date: Sat Jun 12 17:11:59 2021 +0200 + + Added conditional 'grave accents' outside capturing group to 'VAR_P1' regex matching variable name #3479 + +commit 9f0caaaab055d5577b085876ba2307cf124d2d18 +Author: Javier Jaramago Fernández +Date: Sat Jun 12 17:09:03 2021 +0200 + + Added conditional 'grave accents' matching to regex matching 'SET statements' for tracked variables #3479 + +commit fdcf5fa94b287db1af6d65a246e17e6f644e43e6 +Author: Javier Jaramago Fernández +Date: Sat Jun 12 17:03:15 2021 +0200 + + Fixed capture group closing parenthesis for regex matching 'SET statements' for tracked variables #3479 + +commit 72d6602ffae8948f229762bb82ec6a98f66d71d8 +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Thu Jun 10 14:28:23 2021 +0300 + + Removed commented code + +commit c7dfb4f9dab17cce1ccda1e0f37298f8675815a1 +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Thu Jun 10 12:18:54 2021 +0300 + + Removed functions that were not used + +commit 524d23947d4298c2fd33fa4901619fa06f75f8a4 +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Thu Jun 10 12:17:36 2021 +0300 + + Minor cleanup + +commit 64ae971ff59b704127d8f7cb227525b9e38f33c1 +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Thu Jun 10 01:29:07 2021 +0300 + + Removed methods that were not used + +commit dc42fbca0b98eb6205eb792d7e3b8afe103a36f4 +Author: René Cannaò +Date: Mon Jun 7 01:30:34 2021 +0200 + + Some code cleanup in Admin + +commit df19d16f14d71b86b3419e7c0eb346be0e777f5a +Author: Christos Soulios <1561376+csoulios@users.noreply.github.com> +Date: Thu May 27 02:48:17 2021 +0300 + + Passed attributes as param to LDAP auth + Removed ldap_ctx as ldap context is managed in the plugin itself + +commit 6c7503f85f45e802f8d877c0681d7d477b8b71ce +Author: René Cannaò +Date: Fri May 28 14:05:43 2021 +0200 + + Improve debugging when unable to reach hostgroup + + When we generate an error "Max connect timeout reached while reaching hostgroup" for the client, now the error log is more verbose. + +commit b8b840fe3099841a14684c1b38cc1c1819061340 +Author: René Cannaò +Date: Fri May 28 13:03:16 2021 +0200 + + More verbosity when proxysql detects a broken connection + + Added function MySQL_Session::detected_broken_connection() that unifies the way broken connections are logged. + It also logs username, and last time used. + + Added also a new macro proxy_error_inline() + +commit 52f1d0f1ec42a6c9f4266de9e543171e3929f440 +Author: René Cannaò +Date: Thu May 27 22:33:54 2021 +0200 + + Per-user default transaction isolation level + + See issue #3465 + + If a user (configurable) connects to proxysql without specifying a session transaction isolation level, proxysql will automatically assigns one to that user connection. Of course, said user can override such default session transaction isolation level running `SET SESSION TRANSACTION ISOLATION LEVEL` on a per-connection basis. + + This feature can be configured extending `mysql_users.attributes` , adding an object named `default-transaction_isolation` . + + An example of configuration could be: + ``` + UPDATE mysql_users SET attributes='{"default-transaction_isolation":"READ COMMITTED"}' WHERE username='sbtest'; + ``` + + This feature also requires input validation making sure that only valid isolation levels are used. + Furthermore, both dash and space can be used. + If the isolation level specified is not valid, it should be automatically removed from runtime. + +commit e14accd78b164ead7eabb85d007145bfde2dcbae (tag: v2.2.0, origin/v2.2.0) +Merge: 5a6095cd 3a394834 +Author: René Cannaò +Date: Thu May 27 19:14:25 2021 +0200 + + Merge pull request #3453 from sysown/v2.2.0-3427 + + Closes #3427: Read/Write Split query rules do not work while using sysbench to evaluate perfromance + +commit 3a394834e1306d7f13b0ddc52d6946368a7eb373 +Author: Javier Jaramago Fernández +Date: Wed May 26 22:50:41 2021 +0200 + + Added null check for 'stmt_info->first_comment' before accessing it during 'PROCESSING_STMT_EXECUTE' #3427 + +commit adb5ed6b28edfe8be2c80eb20bc7a178855732c6 +Author: Javier Jaramago Fernández +Date: Wed May 26 22:12:34 2021 +0200 + + "Fixed invalid reads due to memory from 'first_comment' being freed from global 'stmt_info' #3427" + + 'CurrentQuery.QueryParserArgs.first_comment' needs to hold it's own copy + of 'first_comment', otherwise, the 'first_comment' from global 'stmt_info' + will be freed by 'Query_Info::end' at the end of the life of 'CurrentQuery'. + +commit 9e70e3918b0e757bb73081d924b0d0b62b835ca3 +Author: Javier Jaramago Fernández +Date: Wed May 26 22:00:24 2021 +0200 + + Reversed adding 'first_comment' to 'compute_hash' #3427 + + Information from 'first_comment' is redundant since the comment itself + is already contained in 'query' when reaching 'compute_hash'. + +commit 96b1bc7d99d8a8b611b8710504bff0fe36950e8d +Author: René Cannaò +Date: Wed May 26 17:47:48 2021 +0200 + + Running reg_test_3427-stmt_first_comment multiple times + + Modified reg_test_3427-stmt_first_comment to parse "param" from the filename itself. + Created few symlinks to the same source file, so that a single source will compile 4 times, in order to with and without param, and then again. + +commit 5a6095cd14574230b0a8d0ed2f88c90cce41c6b3 +Merge: 3831a5ec fa58bc4e +Author: René Cannaò +Date: Wed May 26 14:33:38 2021 +0200 + + Merge pull request #3459 from sysown/v2.x-3458 + + Closes #3458: Fix 'conditional jump or move depends on uninitialised value(s)' detected by Valgrind + +commit 3831a5ecfe7212e73c6c50243bb0343b8050ad34 +Merge: bd3e96a0 7a6b8caa +Author: Javier Jaramago Fernández +Date: Wed May 26 11:24:00 2021 +0200 + + Merge pull request #3461 from sysown/v2.x-3460 + + Closes #3460: Fix failing test 'set_character_set' + +commit 7a6b8caa76223f28a4edb463262ec2db1e8f7422 +Author: Javier Jaramago Fernández +Date: Mon May 24 13:44:02 2021 +0200 + + Removed faulty check for 'character_set_connection' in 'character_set_connection' test and updated comments #3460 + +commit ae032cafb7d186844fde7014644fc98e0304814a +Author: Javier Jaramago Fernández +Date: Mon May 24 10:22:25 2021 +0200 + + Added missing issue reference to comment added to 'set_character_set-t.cpp' #3460 + +commit 8ef59220e4dd34dddd7403c5acdb3da63024b070 +Author: Javier Jaramago Fernández +Date: Sun May 23 11:10:56 2021 +0200 + + Fixed 'set_character_set-t.cpp' logic creating transaction to avoid connection multiplexing issues and added doc #3460 + +commit fa58bc4e6af2e2acfbd145fbe91037475de896e0 +Author: Javier Jaramago Fernández +Date: Fri May 21 13:54:46 2021 +0200 + + Fixed undefined behavior for some non-void functions in 'test_ps_no_store-t' not returning + +commit 18de7a0837597405dd84425d5937461349175295 +Author: Javier Jaramago Fernández +Date: Fri May 21 13:51:04 2021 +0200 + + Added default initialization for 'Query_Info' fields 'start_time' and 'end_time' #3458 + +commit 26df9495dc50d7041b34f491e767cf543f588340 +Author: Javier Jaramago Fernández +Date: Fri May 21 09:36:17 2021 +0200 + + Added 'reg_test_3427-stmt_first_comment-t' exercising flows modified by 'first_comment' changes in '028623c0' + +commit 05838bd0cc41c842f0082e18e5098748b8d6998a +Author: Javier Jaramago Fernández +Date: Fri May 21 09:29:49 2021 +0200 + + Improved 'test_query_rules_routing-t' with more test cases and better replication check #3427 + +commit 028623c06c19e4421a99ea0b000d6252feac4db6 +Author: Javier Jaramago Fernández +Date: Fri May 21 09:19:31 2021 +0200 + + Added 'first_comment' to 'MySQL_STMT_Global_info' to allow processing it during 'STMT_EXECUTE' #3427 + +commit bd3e96a015da802320beb2ba96b0270cf00cb28e +Merge: a2c82bd9 91ba5b69 +Author: René Cannaò +Date: Thu May 20 11:13:30 2021 +0200 + + Merge pull request #3451 from sysown/v2.2.0-3317 + + Closes #3450: Port missing PR #3318 to v2.2.0 + +commit 91ba5b69cda3bc24580406b203d77df67362b88d +Author: Javier Jaramago Fernández +Date: Wed May 19 12:26:40 2021 +0200 + + Temporarily added declaration of 'GloMyLdapAuth' to 'setparser_test.cpp' to avoid linker issues #3450 + +commit c1b705bf2b63e2eeeed0a8b7380d5d7e01e33f8c +Merge: 32c60576 a2c82bd9 +Author: Javier Jaramago Fernández +Date: Wed May 19 11:14:15 2021 +0200 + + Merge remote-tracking branch 'origin/v2.2.0' into v2.2.0-3317 + +commit a2c82bd95a7c5e24438cc421910a07fb155e69e9 +Merge: d3c243d8 218bfa87 +Author: René Cannaò +Date: Mon May 17 22:10:31 2021 +0200 + + Merge pull request #3445 from sysown/v2.2.0-opt2 + + Code cleanup for MySQL variables + +commit 218bfa873903cda345d885943f2b78d84b1fcbed +Author: René Cannaò +Date: Mon May 17 13:02:35 2021 +0200 + + Setting some vars as bool in test_cluster_sync-t + + Some variables were incorrectly configured as integer and not boolean + +commit d494f6f7b291ed17fb9e78a207a87c4619eddec1 +Author: René Cannaò +Date: Mon May 17 12:12:50 2021 +0200 + + Configure use_tcp_keepalive as bool in TAP test + + test_cluster_sync-t.cpp had incorrectly set use_tcp_keepalive as number instead of bool + +commit d3c243d89882bad265f3697f8bd930dd004d69a8 +Merge: 1baca1ed 0e377c26 +Author: René Cannaò +Date: Mon May 17 11:20:33 2021 +0200 + + Merge pull request #3420 from sysown/v2.2.0-3419 + + Closes #3419: Add cluster synchronization support for global 'ldap-%' variables and 'mysql_ldap_mapping' provided by 'ldap_auth_plugin' + +commit eac6e75dad4fccc1d6e7be2c226c78eba1d91ee0 +Author: René Cannaò +Date: Mon May 17 00:35:48 2021 +0200 + + Adding a simulator for read_only test + + This commit introduces a first simulator for read_only monitoring + + ProxySQL itself will simulate hundreds of backends across hundreds of + hostgroups, all configured in hundreds of clusters, and return read_only + values for each of the simulated backend. + The read_only value can be configured in table READONLY_STATUS available in + the SQLite3Server module. + + If a backend isn't configured in table READONLY_STATUS , its default read_only + value is 1. + + It is possible to simulate a lot of simultaneous failover running queries like + the following: + + UPDATE READONLY_STATUS SET read_only=1; + CREATE TABLE t1 AS SELECT hostname FROM READONLY_STATUS ORDER BY RANDOM() LIMIT 50; + UPDATE READONLY_STATUS SET read_only=0 WHERE hostname IN (SELECT hostname FROM t1); + DROP TABLE t1; + +commit b446dc07184b0112645061220b2a9d03a053fd7e +Author: René Cannaò +Date: Sun May 16 20:29:18 2021 +0200 + + Changing query_cache_size_MB to lowercase + +commit 1baca1ed485b6f908e229c6dcc6f6539464f4c6a +Merge: 5493ddf1 fdc64003 +Author: René Cannaò +Date: Sun May 16 19:33:41 2021 +0200 + + Merge pull request #3443 from sysown/v2.2.0-3442 + + Closes #3442: Temporarily add session_track_schema to ignore_vars until proper support is added + +commit 29cf03b9978cf5de72db45bfe726aa2d315d914d +Author: Javier Jaramago Fernández +Date: Fri May 14 10:21:03 2021 +0200 + + Added initial version of test for checking query rule routing for both 'text protocol' and 'prepared statements' #3427 + +commit 65e8caf9b6edab066cec80dc86745f2c80b20c8a +Author: Javier Jaramago Fernández +Date: Fri May 14 10:07:15 2021 +0200 + + Fixed memory corruption due to invalid free of 'qi->stmt_info->query' #3427 + +commit a5208f62b7212add3cafa3f5ad804cadfc61438c +Author: Javier Jaramago Fernández +Date: Fri May 14 10:03:52 2021 +0200 + + Fixed parameters for 'process_mysql_query' call during 'STMT_EXECUTE' #3427 + +commit 32c60576b9f84f7769a0da4fd62ba45813522fb1 +Author: Javier Jaramago Fernández +Date: Thu May 13 16:58:13 2021 +0200 + + Fixed parameters supplied to 'test_filtered_set_statements' due to recent changes to set statements handling + +commit fdc6400308deb7ebe73bf08652d0d37a0a2c698f +Author: Javier Jaramago Fernández +Date: Wed May 12 18:37:55 2021 +0200 + + Mofidied 'set_testing' tests to support queries of the shape 'sql_mode=CONCAT(@@sql_mode,'VALUE')' #3442 + +commit f0aa0b75263494a030154be4d14bcb4d96697221 +Author: Javier Jaramago Fernández +Date: Wed May 12 15:41:48 2021 +0200 + + Fixed 'setparser_test.cpp' compilation using fully qualified name for 'std::string + +commit d521468cf466f3e3f4311272854db7df0cc28e32 +Author: René Cannaò +Date: Thu Feb 25 11:11:54 2021 +0100 + + Fix typo in handler_special_queries + +commit dc10bee4d54fa35f95a22853edd4ca6feb0cc84a +Author: René Cannaò +Date: Wed Feb 24 21:52:37 2021 +0100 + + Adding some comments and a quick exit on handler_special_queries for locked_on_hostgroup + +commit 8be7e52e61c8e42b9842ee1cffd77dd1eef51fe4 +Author: Javier Jaramago Fernández +Date: Wed Feb 24 13:56:44 2021 +0000 + + Added query annotation to new test 'reg_test_3317' to prevent routing due to RW split + +commit 5f01b9806254d83836e06ae4d0aef56b535d49ef +Author: Javier Jaramago Fernández +Date: Wed Feb 24 13:10:43 2021 +0000 + + Added regression test for verifying that 'handler_special_queries' takes into account 'locked_on_hostgroup' + +commit 2a07b81049efbeeb12f12f0fc89097834845a68e +Author: Javier Jaramago Fernández +Date: Wed Feb 24 13:00:54 2021 +0000 + + Added wrapper tap test for previous 'setparser' toguether with new test cases for it + +commit cba171c07de008412bb1e7076fdc1f0822805065 +Author: Javier Jaramago Fernández +Date: Wed Feb 24 12:42:02 2021 +0000 + + Introduced delayed parsing failure for SET statements + + All variables that are not known by ProxySQL should fail to be parsed. + A best effor should also be done for tracking all the variables present + in a 'SET' statement prior to returning the parsing failure. + +commit f2668c455c98e9b810f6beeebbeef42e6df6ceec +Author: Javier Jaramago Fernández +Date: Wed Feb 24 12:10:24 2021 +0000 + + Added new checks in 'handler_special_queries' for 'locked_on_hostgroup' for several simple statements + +commit 3a122aaf3c054126124c6ae0b788bed5a05070d6 +Author: Javier Jaramago Fernández +Date: Wed Feb 24 11:13:36 2021 +0000 + + Added new case to 'SETTING_GENERIC_VARIABLE' quote surrounding for queries starting with '(' + +commit a0020a43f2f6bc13dcf180a28db25e1e36445f94 +Author: Javier Jaramago Fernández +Date: Wed Feb 24 10:55:52 2021 +0000 + + Improved 'VAR_VALUE_P1' regex for 'SetParser::parse1' fixing several issues + + 1. Introduced extra paranethesis at the beggining and end of the regex for + maching queries surrounded by them like: `( SELECT ... )`. + 2. Added explicit SELECT at the beggining to mach queries starting with + `SELECT`. + 2. Introduced a new 'OR' in the first part of the regex: `|(?:NULL)` in + order to avoid collapsing NULL values followed by commas without spaces. + 3. Improved final section of the regex `(?:)` that was previously + macthing with multiple empty groups, inducing a complete collapse of + the initial query into an empty value in case of not matching the initial + capturing group. With the new one, in case of emtpy value the external + parenthesis are matched, for being remove later from the value. + +commit 5493ddf15982d0ca3c25823cfaff133851541bc3 +Merge: ee3bf049 06436420 +Author: René Cannaò +Date: Wed May 12 13:06:56 2021 +0200 + + Merge pull request #3444 from sysown/v2.2.0-opt1 + + Several code cleanup in MySQL_Thread + +commit 0643642087a65f510d004275567a5627a69695f6 +Author: René Cannaò +Date: Wed May 12 13:05:32 2021 +0200 + + Removing unused variables + +commit 49c3b5476bc1b4f7f941050552c1e4823af2c72c +Author: René Cannaò +Date: Tue May 11 19:24:49 2021 +0200 + + More code cleanup for MySQL variables + +commit 9e3d939ed3cc028542f5e8cebbca720a7eae3203 +Author: René Cannaò +Date: Tue May 11 18:15:39 2021 +0200 + + More code cleanup for MySQL variables + +commit 0e377c2622e28b75af68a1129e6a3271cfb16181 +Author: Javier Jaramago Fernández +Date: Tue May 11 13:21:37 2021 +0200 + + Fixed typo specifying to load 'MYSQL VARIABLES' instead of correct 'LDAP VARIABLES' to runtime #3419 + +commit 519105bb32e85b10f59dc51d3c0858c0edfaa6dd +Author: Javier Jaramago Fernández +Date: Tue May 11 13:19:22 2021 +0200 + + Fixed retrieving 'mysql_ldap_mapping' from peer 'runtime' instead of 'memory' #3419 + +commit eb8dc23dad7a89f5311e50470ccdb474523ca9a5 +Author: René Cannaò +Date: Tue May 11 01:55:57 2021 +0200 + + Code cleanup for MySQL variables + +commit 57fd24c2d664d7aa20fb13a2d370f5f25ff4e3c4 +Author: René Cannaò +Date: Tue May 11 00:07:33 2021 +0200 + + Several code cleanup in MySQL_Thread + +commit ee3bf049d10df5175456e4a53026afacdc92c7ad +Merge: 8c05d890 b2754ead +Author: René Cannaò +Date: Mon May 10 21:35:03 2021 +0200 + + Merge pull request #3405 from kornrunner/v2.1.1 + + re2: with -fPIC + +commit 8c05d8907c9d2978bec0c0d212f2e3ebc7880a14 +Merge: 500b370d 85c21878 +Author: René Cannaò +Date: Mon May 10 21:34:48 2021 +0200 + + Merge pull request #3422 from sysown/v2.2.0-3376 + + Closes #3376: Invalid timestamps reported for 'first_seen' and 'last_seen' fields from 'stats_mysql_errors' + +commit 500b370df2c246f000d9e6e0076f7573e9d1d84a +Merge: 8f243ab2 87997489 +Author: René Cannaò +Date: Mon May 10 21:30:01 2021 +0200 + + Merge pull request #3440 from sysown/v2.2.0-3404 + + Closes #3404: ProxySQL not cleaning up file-handles for resolvable-but-not-reachable hosts + +commit 8f243ab2713dc5950cb052e301b6510eb3efa69c +Merge: 05c82552 29ef72ce +Author: René Cannaò +Date: Mon May 10 21:29:25 2021 +0200 + + Merge pull request #3435 from sysown/v2.2.0-3434 + + Closes #3434: ProxySQL v2.1.X crashes due to invalid memory being accessed by mthd_my_read_metadata_ex + +commit 2a74ff804ee6aa018a4c698f7688f815e2c81481 +Author: Javier Jaramago Fernández +Date: Mon May 10 20:30:23 2021 +0200 + + Added temporarily ignored 'session_track_schema' variable to 'test_filtered_set_statements-t.cpp' test #3442 + +commit 4027d8cd0e1ebac1a8713d81543e6ddd911e6410 +Author: Javier Jaramago Fernández +Date: Mon May 10 20:28:35 2021 +0200 + + Temporarily added 'session_track_schema' to the list of ignored variables #3442 + +commit 879974897d721cb600f434f9049756526582c14b +Author: Javier Jaramago Fernández +Date: Mon May 10 18:17:23 2021 +0200 + + Added reproduction test isolating and documenting issue described in #3404 + +commit f403402755d88a2669155a0f52c21f1bf616a67a +Author: Javier Jaramago Fernández +Date: Mon May 10 18:15:46 2021 +0200 + + Added call to 'connect_cont' on timed out connections preventing 'fd' leak in connection destruction #3404 + +commit 414d59070c785ac3251f8b5ebbdd25b30da06c44 +Author: peter +Date: Fri May 7 20:52:27 2021 +0800 + + Check if mmsd is not NULL + + Check if mmsd is not NULL + +commit 380a24586700ad0107e9295750cae3ace57c909b +Author: peter +Date: Fri May 7 20:48:24 2021 +0800 + + Delay free mmsd + + Delay free mmsd before create a new mmsd. + +commit 29ef72ce74db4912a4675dea8b141dc892e70aeb +Author: Javier Jaramago Fernández +Date: Thu May 6 17:56:03 2021 +0200 + + Added regression test mixing binary and text protocol for issue #3434 + +commit 93e38d05cc43a12bd6cefbdacc98814aca3ec824 +Author: Javier Jaramago Fernández +Date: Thu May 6 17:49:21 2021 +0200 + + Closes #3434: Fixed invalid memory accesses by 'mthd_my_read_metadata_ex' to memory deallocated by 'mysql_free_result' + +commit 05c825520ef9972f484b9ee1074a390352e66955 +Merge: 82ca75bf 8b4c7ae8 +Author: Javier Jaramago Fernández +Date: Mon May 3 18:42:31 2021 +0200 + + Merge pull request #3426 from winmutt/v2.2.0 + + Fix floating point exception. + +commit 82ca75bf2bcc3ccd542eb1031aa07894ee73db66 +Merge: fad0eebd 11f46609 +Author: Javier Jaramago Fernández +Date: Mon May 3 18:41:16 2021 +0200 + + Merge pull request #3423 from bskllzh/v2.2.0 + + Fix two print errors debug log in commit func + +commit 8b4c7ae8818f73a3a60d6139c9c4bdd4309c7413 +Author: Rolf Martin-Hoster +Date: Wed Apr 28 20:47:57 2021 -0400 + + Fix floating point exception. + +commit 11f46609e1236630c1ee80d49a58e7538dc2e26c +Author: peter +Date: Wed Apr 28 22:46:21 2021 +0800 + + Fix two print debug logs in commit func + + Fix two print debug logs in MySQL_HostGroups_Manager::commit func. + +commit 85c2187884d0b9082d9b95bce0a1a90bf6199bde +Author: Javier Jaramago Fernández +Date: Tue Apr 27 13:32:39 2021 +0200 + + Closes #3376: Removed unnecessary operations to compute 'first_seen' and 'last_seen' timestamps for 'stats_mysql_errors' + +commit 00c6f17f80f4c1746198d8ce6aa9c96bd9584b45 +Author: Javier Jaramago Fernández +Date: Tue Apr 27 10:20:11 2021 +0200 + + Fixed 'sqlite3-t.cpp' compilation after addition of 'GloMyLdapAuth' to 'ProxySQL_GloVars' + +commit f1b3687f5d34ab925d73d15a660c2a82d5f7e727 +Author: Javier Jaramago Fernández +Date: Tue Apr 27 09:28:25 2021 +0200 + + Fixed typo using 'cluster_mysql_query_rules_save_to_disk' instead of 'cluster_mysql_users_save_to_disk' in 'pull_mysql_users_from_peer' + +commit 04d39472126afe4c69cab3ed761282b00783b3e5 +Author: Javier Jaramago Fernández +Date: Mon Apr 26 18:51:40 2021 +0200 + + Implemented sync support for 'mysql_ldap_mapping' table + +commit ba1762bc3e470155cf61edfbd10319bf61ab45e9 +Author: Javier Jaramago Fernández +Date: Mon Apr 26 18:50:22 2021 +0200 + + Implemented sync support for 'ldap-%' global variables + +commit fad0eebd64a6a773a54ea865f264a89657b4b52f +Merge: a6724cb1 b016684a +Author: René Cannaò +Date: Fri Apr 23 11:49:22 2021 +0200 + + Merge pull request #3417 from sysown/v2.2.0-3412 + + Closes #3412: Generated CA certificate rejected by MySQL client with VERIFY_CA + +commit a6724cb1efbe03b28bc7a3807ea56ac479b6e746 +Merge: aea909f6 41c5a82a +Author: René Cannaò +Date: Fri Apr 23 11:48:42 2021 +0200 + + Merge pull request #3414 from sysown/v2.2.0-3406 + + Closes #3406: 'gr_member_routing_candidate_status.viable_candidate' return NULL causes infinite crash reboot + +commit aea909f696a7cd711802540cbb57fff350fa5a99 (tag: 2.2.0) +Author: René Cannaò +Date: Fri Apr 23 11:45:15 2021 +0200 + + Update version to 2.2.0 + +commit b016684a94cb085d98579f537d331d308f67550f +Author: Javier Jaramago Fernández +Date: Fri Apr 23 10:49:01 2021 +0200 + + Improved error handling and OpenSSL API usage when adding certificate extensions + +commit e770c8a2d5ae827e6c0e0f511134ba21e1c121e0 +Author: Javier Jaramago Fernández +Date: Fri Apr 23 08:46:39 2021 +0200 + + Closes #3412: Self generated certificates now exhibit the same 'X509v3 Basic Constraints' as MySQL self generated ones + +commit 41c5a82aae7724a28b14adff166b09cff67a465d +Author: Javier Jaramago Fernández +Date: Thu Apr 22 17:14:52 2021 +0200 + + Closes #3406: Verify fetched rows in 'monitor_group_replication_thread' are not NULL before accessing them + +commit 73bcd6ba8505989e34b819b1048b8c0856ab61a1 +Author: René Cannaò +Date: Tue Apr 20 01:29:51 2021 +0200 + + Updating test_cluster_sync after setting cluster_sync_interfaces=false + +commit 86c95dbb18edceaa571c0af7dec6f4a085da5f14 +Author: René Cannaò +Date: Tue Apr 20 00:42:08 2021 +0200 + + Cluster node exports admin-mysql_ifaces + + When a cluster node (client) connects to another cluster node, it + advertises its UUID but also exports its `admin-mysql_ifaces` . + The receiving cluster can use this information to try to guess how + to connect to the node that initialized the connection, for example + to collect metrics. + This is visible in table `stats_proxysql_servers_clients_status` . + +commit 1f03bbf09f294242ee6335725558d80aab589473 +Author: René Cannaò +Date: Mon Apr 19 22:40:53 2021 +0200 + + Adding rolling restart script for cluster test + +commit c2266d93133c93bc1ec6138f1e496da45183970c +Author: René Cannaò +Date: Mon Apr 19 22:24:53 2021 +0200 + + Stop script for cluster test for up to 9 nodes + +commit ceebda3cd7b705a34a72d5563b7a2f48ad96df9b +Author: René Cannaò +Date: Mon Apr 19 22:16:27 2021 +0200 + + Configure cluster test for up to 9 nodes + + 3 core nodes + 6 satellite nodes + +commit 6a3d66d977472f7997e43104a8f71d5f61fdffaa +Author: René Cannaò +Date: Mon Apr 19 22:08:35 2021 +0200 + + Preparing the skeleton for cluster testing + +commit c05059502d0deacc521503f688a461b83509138d +Author: René Cannaò +Date: Mon Apr 19 22:04:50 2021 +0200 + + Changed sample value for cluster_sync_interfaces + +commit 4f3c133cd0e5a09514a32fb53c25889d7d75eddb +Author: René Cannaò +Date: Mon Apr 19 22:03:52 2021 +0200 + + Implemented variable cluster_sync_interfaces + +commit 7cc750a11180928797e1d27822d620928222790c +Merge: 5b10024b 1c2b7e41 +Author: René Cannaò +Date: Mon Apr 19 19:41:37 2021 +0200 + + Merge branch 'v2.1.1' into v2.1.2-cluster + +commit b2754ead9c3182685995d87278e622a6b826439c +Author: Boris Momčilović +Date: Thu Apr 15 21:24:25 2021 +0200 + + re2: with -fPIC + +commit 1c2b7e410551affac4e26d1b67646a2e51bd43da (tag: v2.1.1, tag: v2.0.18, origin/v2.1.1) +Merge: 134517d6 83acc66d +Author: René Cannaò +Date: Tue Apr 6 22:05:55 2021 +0200 + + Merge pull request #3392 from sysown/v2.1.1-3342 + + Closes #3342: ProxySQL reset connection if it starts with COM_QUIT + +commit 134517d66bc4c02c75e373c5af1d80a449028118 +Merge: 618a77d5 938306f5 +Author: René Cannaò +Date: Tue Apr 6 22:05:40 2021 +0200 + + Merge pull request #3394 from sysown/v2.1.1-3182 + + Closes #3182: Handling of pxc_maint_mode drops active connections + +commit 938306f5d742cbae6488229725332b180da1787a +Author: Javier Jaramago Fernández +Date: Tue Apr 6 10:00:20 2021 +0200 + + Closes #3182: 'update_galera_set_offline' soft now also sets readers as SHUNNED + +commit 83acc66df07eaef4e2a197b9b2df806c4d75468c +Author: Javier Jaramago Fernández +Date: Fri Apr 2 09:59:19 2021 +0200 + + Closes #3342: Enforce sending the 'initial handshake packet' as soon as it's generated + +commit 618a77d5501f497af9e15f48c509e6d82620839c +Merge: 24da762c fcf1221c +Author: René Cannaò +Date: Tue Mar 30 15:21:48 2021 +0200 + + Merge pull request #3387 from sysown/v2.1.1-833 + + Closes #833: Return ERR when receiving 'LOAD DATA LOCAL INFILE' + +commit 24da762c38cee56946a9ba0508bca9d537f4cff5 +Merge: aea78e0d bcb55895 +Author: René Cannaò +Date: Mon Mar 29 23:27:31 2021 +0200 + + Merge pull request #3381 from sysown/v2.1.1-3184-r + + Parse "SET wait_timeout" #3184 + +commit bcb55895066ffe36373d7e97bbc25d929aed5f67 +Author: Javier Jaramago Fernández +Date: Mon Mar 29 21:49:53 2021 +0200 + + Fixed typo in comment + +commit 70299f79a756ac9a269e93f85dc4f6f220c4fa1c +Author: Javier Jaramago Fernández +Date: Mon Mar 29 21:46:51 2021 +0200 + + Added new variables 'interactive_timeout' and 'net_read_timeout' to tap tests 'test_filtered_set_statements-t' and 'reg_test_3184-set_wait_timeout-t' + +commit 53ede7fca74d4814adf55cf10c784fe42ecb8a96 +Author: Javier Jaramago Fernández +Date: Fri Mar 26 13:36:12 2021 +0100 + + Added tap test 'test_filtered_set_statements-t.cpp' to check that supported 'SET' statements are being properly filtered by ProxySQL + +commit cda3fef7463b2bf30b7498109e90a3ce0d9824ad +Author: Javier Jaramago Fernández +Date: Fri Mar 26 10:05:33 2021 +0100 + + Added regression test 'reg_test_3184-set_wait_timeout-t.cpp' for changes to 'SET wait_timeout' handling + +commit fcf1221c29bacc22bd91525d2e422a22b43ea6b3 +Author: Javier Jaramago Fernández +Date: Mon Mar 29 20:52:00 2021 +0200 + + Added tap test to check that unsupported commands return the expected error code and message + +commit 4e58e36860511456505bcacb10104eb42cf4bdd2 +Author: Javier Jaramago Fernández +Date: Mon Mar 29 20:50:27 2021 +0200 + + Closes #833: Return ERR when receiving 'LOAD DATA LOCAL INFILE' to let client know operation is unsupported + +commit 8746fe24724588ed52c8a3edc007fa4c4e99b4b3 +Merge: 76deab2f aea78e0d +Author: René Cannaò +Date: Mon Mar 29 18:18:50 2021 +0200 + + Merge branch 'v2.1.1' into v2.1.1-3184-r + +commit 76deab2fade4db82d631d56dab88b141a95fb558 +Author: René Cannaò +Date: Mon Mar 29 18:18:04 2021 +0200 + + Add lock on hostgroup for any not parsed variable + +commit 111c737d80ec90bf4027662921a4eb0fa989e92d +Author: René Cannaò +Date: Mon Mar 29 13:02:33 2021 +0200 + + SetParser also parses user defined variables + +commit f0e3a87159fd1834bdc19f3555a2b5a19fc9f086 +Author: René Cannaò +Date: Mon Mar 29 13:00:49 2021 +0200 + + Introduce ignore_vars in MySQL_Variables + + This vector lists all the variables that proxysql will parse but ignore + +commit cc424b71ac0f8b502e6da8444160e2e7ed61fb90 +Author: René Cannaò +Date: Fri Mar 26 23:59:25 2021 +0100 + + Parse "SET wait_timeout" #3184 + +commit aea78e0deafa00d1cd0fe218514fa04a4351f01e +Merge: daa17a3b ac8f0dbf +Author: René Cannaò +Date: Fri Mar 26 23:52:16 2021 +0100 + + Merge pull request #3380 from sysown/v2.1.1-3379 + + Revert libmariaclient with debug + +commit ac8f0dbf8229299d31526074d166649d9031cb10 +Author: René Cannaò +Date: Fri Mar 26 22:45:28 2021 +0100 + + Allow client_deprecate_eof to compile on Centos7 + +commit 8cd224adfd99a8a2aff402ab8c52dde23d731106 +Author: René Cannaò +Date: Fri Mar 26 22:38:22 2021 +0100 + + Fixing offset of some patch file + +commit f07e7fc0adc8dbfe01a1f502dc282930f7037470 +Author: René Cannaò +Date: Fri Mar 26 00:04:16 2021 +0100 + + Revert "Build libmariaclient with debug" + + This reverts commit da7fdfe14cab51e4680657f0a91693fecda9930d. + +commit daa17a3ba6e4d8f4b18d917b643a862d929bb68e +Merge: dba572e2 506f4a51 +Author: René Cannaò +Date: Fri Mar 26 16:12:57 2021 +0100 + + Merge pull request #3377 from sysown/revert-3373-v2.1.1-revert-da7fdfe14 + + Revert "Revert "Build libmariaclient with debug"" + +commit 506f4a5156c50fef8ab8203f3ebf15c796a92ecc +Author: René Cannaò +Date: Fri Mar 26 16:12:42 2021 +0100 + + Revert "Revert "Build libmariaclient with debug"" + +commit dba572e2ef11092dc9c26678de312d5867943695 +Merge: d53578f2 284bae1e +Author: René Cannaò +Date: Fri Mar 26 15:06:01 2021 +0100 + + Merge pull request #3373 from sysown/v2.1.1-revert-da7fdfe14 + + Revert "Build libmariaclient with debug" + +commit 284bae1ed43f8b0539e26dd6bc10363883d01c7e +Author: René Cannaò +Date: Fri Mar 26 00:04:16 2021 +0100 + + Revert "Build libmariaclient with debug" + + This reverts commit da7fdfe14cab51e4680657f0a91693fecda9930d. + +commit d53578f269ab7d995db8d88dc3875b43863273b6 +Merge: a5628ebd f9be6a75 +Author: René Cannaò +Date: Thu Mar 25 00:56:50 2021 +0100 + + Merge pull request #3353 from sysown/v2.1.1-deprecate_forward_autocommit + + Deprecate mysql-forward_autocommit #3253 + +commit a5628ebdb4f4d2a66abd4d22fd7edb7868dd39b5 +Merge: b8ab99ba 231bbc46 +Author: René Cannaò +Date: Wed Mar 24 21:40:16 2021 +0100 + + Merge pull request #3370 from sysown/v2.1.1-3369 + + Closes #3369: Crash due to unhandled exception when trying to enable 'restapi' in Centos 6 + +commit b8ab99ba52e69bcc963c1be4355f96811e95e5b8 +Merge: 428f2e7e 5d0fd055 +Author: René Cannaò +Date: Wed Mar 24 21:26:31 2021 +0100 + + Merge pull request #3368 from sysown/v2.1.1-2543 + + Closes #2543: Admin and C# driver + +commit 231bbc46663282de964b5292d9e7d9fb85a2014a +Author: Javier Jaramago Fernández +Date: Wed Mar 24 18:51:34 2021 +0100 + + Closes #3369: Disabled 'fastopen' option from 'libhttpserver' to avoid issues in systems not supporting it + +commit 5d0fd055343b661462e21ff5b452549d3af28fa1 +Author: Javier Jaramago Fernández +Date: Tue Mar 23 23:08:31 2021 +0100 + + Fixed improperly handled case for 'format_timezone_hours' when hours parameter to be formatted is '0' + +commit 428f2e7e4f67b45c196afc1d184741a1f015e5d5 +Merge: 3f70eb24 228fe064 +Author: René Cannaò +Date: Tue Mar 23 22:58:32 2021 +0100 + + Merge pull request #3358 from sysown/v2.1.1-3357 + + Closes #3357: Port 'v1.4.14-show-warnings' branch into v2.1.1 and add new mysql-variable to control it + +commit 3f70eb241ed9235463cb723bfdd341391e221ae1 +Merge: e002f754 1ed90955 +Author: René Cannaò +Date: Tue Mar 23 22:58:21 2021 +0100 + + Merge pull request #3356 from sysown/v2.1.1-3354 + + Closes #3354: Improve handling of replication issues for test 'reg_test_1574-stmt_metadata-t' + +commit e002f754f72a990af2216f384978410df2a77910 +Merge: ca349905 206698d1 +Author: René Cannaò +Date: Tue Mar 23 22:57:50 2021 +0100 + + Merge pull request #3364 from sysown/v2.1.1-3363 + + Avoid crash in MySQL_Result_to_MySQL_wire without myds #3363 + +commit 4664ec312059290d61dd91ea7f81526db43dd777 +Author: Javier Jaramago Fernández +Date: Tue Mar 23 19:55:44 2021 +0100 + + Added new test file 'test_csharp_connector_support-t' to test queries to support 'csharp_connector' + +commit 99e0e2364657952858f66f4f95cd55c76adf63d3 +Author: Javier Jaramago Fernández +Date: Tue Mar 23 19:39:18 2021 +0100 + + Closes #2543: Added support for two new queries for Admin required for C# connector + + Added support for queries: + + - "SELECT @@max_allowed_packet, @@character_set_client, @@character_set_connection, @@license, @@sql_mode, @@lower_case_table_names" + - "SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP())" + +commit 206698d179af6bb54f1e5153a2ae408e8a1e33a1 +Author: René Cannaò +Date: Tue Mar 23 02:30:26 2021 +0100 + + Avoid crash in MySQL_Result_to_MySQL_wire without myds #3363 + +commit ca3499054e8bdedbee1396f262b02d75ce04ff15 (tag: 2.1.1) +Merge: 26790c36 93c3fb91 +Author: René Cannaò +Date: Sat Mar 20 18:24:56 2021 +0100 + + Merge pull request #3352 from sysown/v2.1.1-3350 + + Closes #3350: Memory leak reported by Valgrind in ''MySQL_Protocol::get_binds_from_pkt" + +commit 26790c367973aaa2f8221408b87de340916fc636 +Merge: 3266cfc5 5af9885e +Author: René Cannaò +Date: Sat Mar 20 18:24:17 2021 +0100 + + Merge pull request #3349 from sysown/v2.1.1-MonRo + + Optimizations for instances with a lot of hostgroups + +commit 3266cfc506e1bcdb3594991905ccfb4958eaea8d +Merge: d2583612 68e95bee +Author: René Cannaò +Date: Sat Mar 20 18:24:05 2021 +0100 + + Merge pull request #3343 from sysown/v2.1.1-spiffe + + V2.1.1 spiffe + +commit 228fe0640fe94016e0ee468f8cff558759376d00 +Author: Javier Jaramago Fernández +Date: Fri Mar 19 10:41:48 2021 +0000 + + Closes #3357: Ported 'v1.4.14-show-warnings' and added new mysql-variable to control it + +commit 1ed90955c391b3a0754849242036e126877c1ff3 +Author: Javier Jaramago Fernández +Date: Fri Mar 19 00:54:49 2021 +0000 + + Improve 'reg_test_1574-stmt_metadata' replication lag resiliency forcing hostgroup for 'SELECT' query + +commit f9be6a7580e362608e5a8fba2047fb55aab274c8 +Author: René Cannaò +Date: Thu Mar 18 20:10:02 2021 +0100 + + Remove forward_autocommit from test_cluster_sync-t + +commit a0fb4821ccd363b74bbd6a15cd10b9a3c3108180 +Author: René Cannaò +Date: Thu Mar 18 17:32:05 2021 +0100 + + Deprecate mysql-forward_autocommit #3253 + +commit 93c3fb911d58df9242e4be9744b4aa570db8b842 +Author: Javier Jaramago Fernández +Date: Thu Mar 18 16:21:45 2021 +0000 + + Added helper test file 'repro_test_leak_3350.cpp' used to reproduce issue #3350 + +commit 60bb5a65ae961ae8cddfead620193ac390a05b1c +Author: Javier Jaramago Fernández +Date: Thu Mar 18 16:19:52 2021 +0000 + + Closes #3350: Free memory when allocated for specific 'stmt_execute_metadata_t' bind buffers types + +commit 5af9885e901223d0f3ea065186cc06d4ffe33855 +Author: René Cannaò +Date: Thu Mar 18 11:03:50 2021 +0100 + + Do not exit read_only_action() if no server is found + +commit f7754a5e00782004e8dae5add1e2740e3aeda3b2 +Author: René Cannaò +Date: Thu Mar 18 01:35:03 2021 +0100 + + HostGroups lookup using unordered_map + + HostGroups are stored in an array of pointers. + This commit allows the lookup using an unordered_map if the number of + Hostgroups is greater than 100. + For less number of hostgroups, a sequential scan seems more efficient. + + This also introduce a test for micro benchmark. + +commit 532a0397f7a7100a098c27e506d1ced67f7a2f01 +Author: René Cannaò +Date: Thu Mar 18 00:10:32 2021 +0100 + + Faster MySQL_HostGroups_Manager::read_only_action + + This commit rewrites MySQL_HostGroups_Manager::read_only_action() in way to + reduce the calls to SQLite. It relies on two new std::set() : + - read_only_set1: if the server is already in a writer hostgroup + - read_only_set2: a cache to track the first time that a server has RO=0 + + Added also an index on MySQL_HostGroups_Manager, + ON mysql_servers (hostname,port) + +commit d258361258fa46937fabdb002975489e1b47e10c +Merge: 11ee38d1 bd5d8827 +Author: René Cannaò +Date: Tue Mar 16 23:18:22 2021 +0100 + + Merge pull request #3348 from sysown/v2.1.1-3339 + + Fixing an inifinite loop in case of multi-statements and closed backend connection + +commit 11ee38d12ae5a99c6ded8d3f840969b21ddfb2a3 +Merge: ac4fc219 668e4a1d +Author: René Cannaò +Date: Tue Mar 16 22:19:51 2021 +0100 + + Merge pull request #3345 from sysown/v2.1.1-1614 + + Closes #1614: Added extra logging suggesting solution when 'bind()' fails due to 'EADDRNOTAVAIL' + +commit ac4fc2197216ee1215bd25cf70dab502c9c30bbf +Merge: c5d018d7 3111e8b6 +Author: René Cannaò +Date: Tue Mar 16 22:15:28 2021 +0100 + + Merge pull request #3341 from sysown/v2.1.1-3340 + + Closes #3340: Server shunned due to replication lag re-enabled due to replication check timing out + +commit c5d018d740d25efc92b8a2ace7b41f61c590e016 +Merge: 461518a5 089c5e65 +Author: René Cannaò +Date: Tue Mar 16 22:15:07 2021 +0100 + + Merge pull request #3344 from sysown/v2.1.1-3247 + + Closes #3247: Make mycli able to connect to Admin interface + +commit bd5d882770e682d091273e55a43a218e0a3a1762 +Author: René Cannaò +Date: Tue Mar 16 22:12:53 2021 +0100 + + Fixing an inifinite loop in case of multi-statements and closed backend connection + + If a backend connection was terminated in the middle of the execution of multiple + statements in a multi-statements command, the worker thread was entering an infinite loop. + Furthermore, this commit disables query retry in case of multi-statements if the first one + completed successfully + + This fixes #3339 + + This commit is the port to 2.1 of 90a4922ed8712dada76f604f85ea3cab31f5fe1f + +commit 089c5e656f0dcf5e72f0f5e5d3ca4d2a67816c68 +Author: Javier Jaramago Fernández +Date: Tue Mar 16 11:04:35 2021 +0000 + + Replaced trivial 'connection_id()' implementation in favor of a simpler and safer 'query rewrite' one + +commit 668e4a1dfbea398410f86d803fadc733f4e5ed26 +Author: Javier Jaramago Fernández +Date: Tue Mar 16 10:21:37 2021 +0000 + + Closes #1614: Added extra logging suggesting solution when 'bind()' fails due to 'EADDRNOTAVAIL' + +commit 07ad56421e1cd647fe3ca1443b50c8c48883c96d +Author: Javier Jaramago Fernández +Date: Tue Mar 16 09:09:05 2021 +0000 + + Added regression test 'reg_test_3247-mycli_support-t' for testing the support to 'mycli' client + +commit dfc51c33529d5a8ef67828d1abbcf839e645559e +Author: Javier Jaramago Fernández +Date: Tue Mar 16 09:07:52 2021 +0000 + + Closes #3247: Added support for command 'SELECT CONNECTION_ID()' in order to support 'mycli' client + +commit 68e95bee61f29c63f8d4eafbb9d81402031ea36f +Author: René Cannaò +Date: Mon Mar 15 18:23:33 2021 +0100 + + Immediately exit in case of SSL error + + This commmit also enhance logging + +commit 2b8500aa3614f7019e64765d6b8816c83d6e6e63 +Author: René Cannaò +Date: Sun Mar 14 22:45:14 2021 +0100 + + Do not allow CHANGE_USER with spiffe + + If a client connection uses spiffe, CHANGE_USER is not allowed + +commit 7c0bde5f995d1c9b42390d0d7faeac547c56fbc9 +Author: René Cannaò +Date: Sun Mar 14 21:46:47 2021 +0100 + + Working prototype for SPIFFE + +commit 3111e8b603f230dc26db00576a8341a63cfe0ac8 +Author: Javier Jaramago Fernández +Date: Fri Mar 12 17:06:13 2021 +0000 + + Closes #3340: Added new 'repl_lag' error code '-3' in case 'replication_lag_check' timeout + +commit 461518a52886b188361b3b370e429b23031ea068 +Merge: 306fc0e2 e86bca9b +Author: René Cannaò +Date: Thu Mar 11 21:59:43 2021 +0100 + + Merge pull request #3337 from sysown/v2.1.1-3223 + + Closes #3223: Return proper errors codes on RESTAPI for script failures + +commit 306fc0e2bb790668a07619f8e7d6e4681bc222b7 +Merge: 6de72f34 f31d0468 +Author: René Cannaò +Date: Thu Mar 11 21:59:12 2021 +0100 + + Merge pull request #3330 from sysown/v2.1.1-3248 + + Closes #3248: Create metric to track number of times multiplexing is disabled due to `mysql-auto_increment_delay_multiplex` + +commit 6de72f34b9286c20be3417aeff3745338a6615ab +Merge: 7a8c9844 b11bc4b3 +Author: René Cannaò +Date: Thu Mar 11 21:58:58 2021 +0100 + + Merge pull request #3335 from sysown/v2.1.1-3334 + + Closes #3334: Fix crash and memory errors reported by valgrind for v2.1.1 + +commit e86bca9bf45d5c4cf9ea9ea4b621a81cf06b0f93 +Author: Javier Jaramago Fernández +Date: Wed Mar 10 22:14:35 2021 +0000 + + Added ProxySQL admin queries enabling 'RESTAPI' for test 'reg_test_3223-restapi_return_codes-t' + +commit de9dfa93b5c28326c899af37203b786690a0c1c4 +Author: Javier Jaramago Fernández +Date: Wed Mar 10 21:33:30 2021 +0000 + + Added comments on current concurrency model from libhttpserver used by ProxySQL and added note for possible benchmarking + +commit ee86afed858aaa404c08a3fb71a82bf1b0e9aef9 +Author: Javier Jaramago Fernández +Date: Wed Mar 10 21:25:40 2021 +0000 + + Added regression test for #3223 major changes for 'RESTAPI' + + + Added generic test for checking script execution through 'RESTAPI'. + + Added multiple new scripts fails to be executed through the 'RESTAPI'. + +commit a4324f49440525ccebe837976f6014fd120c9067 +Author: Javier Jaramago Fernández +Date: Wed Mar 10 21:00:04 2021 +0000 + + Closes #3223: Major rework on 'RESTAPI' script execution + + - Fixed return of proper http error codes on script failure or + internal failure to perform script execution. Introduced error + codes: + - 424: Script execution failed, either due to script failing to + be executed, exiting with non-zero error code or output + not being a valid JSON. + - 500: Internal error while trying to execute script. + - 200: Script was able to be executed properly, and result + was properly parsed. + - Fixed dangling process left by 'return' in child process + resulted from 'fork()' call. + - Fixed limitation of maximum return size of 48kb from executed + script. + - Improved usage of 'read()' by using NONBLOCKING pipes. + - Fixed leaving child process alive after timeout expiration, now + process is properly terminated. + - Improved general logging and returned JSONs in case of errors. + +commit f31d0468682d3239771a43d683f9f869ba9277ae +Author: Javier Jaramago Fernández +Date: Mon Mar 8 18:22:25 2021 +0000 + + Removed unused class member 'MySQL_HostGroups_Manager::p_err_map_access' + +commit 3fd234477a619e5fa894989e3bc9dc76db2fa1da +Author: Javier Jaramago Fernández +Date: Mon Mar 8 18:21:25 2021 +0000 + + Used added functionality to 'prometheus-cpp' to reset prometheus counters for 'PROXYSQL STOP' and 'PROXYSQL RESTART' commands + +commit fc14054c49954308aee5b0b5da275483b467836a +Author: Javier Jaramago Fernández +Date: Mon Mar 8 18:19:10 2021 +0000 + + Added patch to 'prometheus-cpp' adding a counters reset functionality through 'Registry' + +commit b11bc4b34ed75a2f902aeaccfdb9e21da794cba1 +Author: Javier Jaramago Fernández +Date: Fri Mar 5 09:24:30 2021 +0000 + + Fixed hardcoded ProxySQL port and two typos calling the invalid connection handler on 'restore_admin' + +commit 7a8c9844c6f75ebff723d6d78cfc54dffa54e513 +Merge: 5455b7d2 9cf61ed8 +Author: René Cannaò +Date: Fri Mar 5 01:17:58 2021 +0100 + + Merge pull request #3336 from sysown/v2.1.1-ssl111j + + Upgrade openssl to 1.1.1j + +commit 1845cc0130efa6ac0bb6a73cfca75b13c827cc99 +Merge: 05fbe44e 9cf61ed8 +Author: René Cannaò +Date: Fri Mar 5 00:51:15 2021 +0100 + + Merge branch 'v2.1.1-ssl111j' into v2.1.1-spiffe + +commit 9cf61ed8736ad115071060dbc1834aec81a01475 +Author: René Cannaò +Date: Fri Mar 5 00:48:31 2021 +0100 + + Upgrade openssl to 1.1.1j + +commit 05fbe44ed286484b9eb44278b94b5d3faaf869b1 +Author: René Cannaò +Date: Fri Mar 5 00:35:54 2021 +0100 + + Prototype for SPIFFE - do not merge + +commit 4071096f38691f84632c179352f699e9ab81ee7c +Author: Javier Jaramago Fernández +Date: Thu Mar 4 20:39:22 2021 +0000 + + Multiple changes into 'test_ps_async-t' test + + 1. Isolated POC for ps_buffer into function. + 2. Improved documentation of functions old and introduced checks. + 3. Added new query used to trigger a memory error during testing. + +commit d0a1866cf9ac00d938350e7b6ebd05181a9a1261 +Author: Javier Jaramago Fernández +Date: Thu Mar 4 20:33:47 2021 +0000 + + Fixed 'process_rows_in_ASYNC_STMT_EXECUTE_STORE_RESULT_CONT' not properly updating 'length' from copied last row after data copy + +commit abca810fbee7b1204a676d90a211dd3a47d193cc +Author: Javier Jaramago Fernández +Date: Thu Mar 4 20:32:28 2021 +0000 + + Fixed 'process_rows_in_ASYNC_STMT_EXECUTE_STORE_RESULT_CONT' missing last row from MySQL_STMT::result + +commit 6e997a72977ac64b8d77b911e5c0b09f52fdec2e +Author: Javier Jaramago Fernández +Date: Wed Mar 3 09:36:13 2021 +0000 + + Fixed 'invalid reads' reported by valgrind due to access to already freed string returned by 'serial_exposer' + +commit ddf7ad95b75eb458b431e5baea9578748a5d4415 +Author: Javier Jaramago Fernández +Date: Wed Mar 3 09:34:49 2021 +0000 + + Added default initialization for 'auto_increment_delay_multiplex' metric + +commit 5455b7d22851d849ff785f2a682b93e7afc4274d +Merge: 31419e8c ee7420c8 +Author: René Cannaò +Date: Wed Mar 3 01:01:15 2021 +0100 + + Merge pull request #3328 from sysown/v2.1.1-3327 + + Closes #3327: Call 'ProcessQueryAndSetStatusFlags' check even if query failed + +commit 75af796049d68c8b764a24e482f7843203ff9135 +Merge: fb97d8b4 31419e8c +Author: Javier Jaramago Fernández +Date: Tue Mar 2 17:34:19 2021 +0000 + + Merge remote-tracking branch 'origin/v2.1.1' into v2.1.1-3248 + +commit 31419e8c61a6623f89c38e130423237d255bcd99 +Merge: 309f5352 32c68648 +Author: René Cannaò +Date: Tue Mar 2 15:50:35 2021 +0100 + + Merge pull request #3326 from sysown/v2.1.1-3324 + + Closes #3324: Crash and invalid write reported by valgrind for 'test_ps_async-t' + +commit 32c686487b60c2128b6059532194c6ee24758e12 +Merge: 0dd2db1b 309f5352 +Author: Javier Jaramago Fernández +Date: Tue Mar 2 13:29:50 2021 +0000 + + Merge remote-tracking branch 'origin/v2.1.1' into v2.1.1-3324 + +commit 0dd2db1b02ffc1845b99100b9d5636db8a2f98e9 +Author: Javier Jaramago Fernández +Date: Tue Mar 2 13:01:39 2021 +0000 + + Added new iterations to 'test_ps_async-t' fetching just one and two rows + +commit 309f5352954393ab3377ba7b40a24937cd7e3fff +Author: René Cannaò +Date: Tue Mar 2 12:14:23 2021 +0100 + + Cleanup of tests/Makefile + +commit fb97d8b4ad632974cb6d1b156b2b308a70df4d34 +Author: Javier Jaramago Fernández +Date: Tue Mar 2 10:54:23 2021 +0000 + + Added new generic test 'test_prometheus_metrics-t' for checking added prometheus metrics behavior + +commit b2338195148449d745e1ab98f8143d00181366dc +Merge: 1dd24cc9 1605ae5d +Author: René Cannaò +Date: Tue Mar 2 11:41:35 2021 +0100 + + Merge pull request #3309 from sysown/v2.1.1-1574 + + Closes #1574: Packets out of order. expected 1 received 27. + +commit d507880cbb71ad5a12bd8df7e04ac5bd86dee000 +Author: Javier Jaramago Fernández +Date: Tue Mar 2 10:39:34 2021 +0000 + + Added new metric 'proxysql_myhgm_auto_increment_multiplex_total' tracking the number of times that 'auto_increment_delay_multiplex' is triggered + +commit 1dd24cc99f87269ccc680f31d1169129786d2936 +Merge: 6d49f5fa 1deee927 +Author: René Cannaò +Date: Tue Mar 2 11:38:45 2021 +0100 + + Merge pull request #3311 from sysown/v2.1.1-3310 + + Closes #3310: Improve error reporting for 'MySQL_Monitor' and 'MySQL_Session' backend connections via counters + +commit ee7420c87ab04b0f264f9a0d0cdf3e9b8a368441 +Author: Javier Jaramago Fernández +Date: Mon Mar 1 17:12:58 2021 +0000 + + Added regression test for #3327 to check that 'ProcessQueryAndSetStatusFlags' is properly call after a failed query + +commit c0547d0cec2ec7a7f5f5884b8e14da3abc0848ea +Author: Javier Jaramago Fernández +Date: Mon Mar 1 17:11:43 2021 +0000 + + Closes #3327: Moved call to 'ProcessQueryAndSetStatusFlags' to 'MySQL_Session::RequestEnd' + +commit f48170914fdef94a40c5831dd63fd7eb77493dff +Author: Javier Jaramago Fernández +Date: Mon Mar 1 15:05:06 2021 +0000 + + Changed dangerous stack array in 'test_ps_large_result-t' in favor of allocated memory to prevent stack overflows + +commit 488dcdd740e55c31c05c48493d7ba51a7f104c13 +Author: Javier Jaramago Fernández +Date: Mon Mar 1 14:59:15 2021 +0000 + + Fixed 'test_ps_async-t' row reading boundaries the same way fixed for 'ASYNC_STMT_EXECUTE_STORE_RESULT_CONT' + +commit 4b81e21d57d62b64d8cc39c692b459322eee6dc5 +Author: Javier Jaramago Fernández +Date: Mon Mar 1 14:55:58 2021 +0000 + + Added comments, simplified 'stmt->result.data' assignment and minor cleanup for 'process_rows_in_ASYNC_STMT_EXECUTE_STORE_RESULT_CONT' + +commit 7718cc9395c66f4ee9ebdd60382a74506e4fc753 +Author: Javier Jaramago Fernández +Date: Mon Mar 1 14:53:02 2021 +0000 + + Fixed iteration boundaries for 'stmt->result' rows reading in 'ASYNC_STMT_EXECUTE_STORE_RESULT_CONT' + +commit 42d6f9f6fd7c2dbd3d7d2a2b1780b6c504ce30a0 +Author: Javier Jaramago Fernández +Date: Mon Mar 1 14:47:45 2021 +0000 + + Added 'ps_buffer_stmt_read_all_rows' patch for libmariadb + + This patch handles local variable invalidation in 'mthd_stmt_read_all_rows' + due to stack swapping because of the use of 'ma_free_root' over 'stmt' + buffer. + +commit 6d49f5fa27f6c7b5008272951114e89d3963d473 +Merge: 5f269af2 ab3b0494 +Author: René Cannaò +Date: Wed Feb 24 21:57:07 2021 +0100 + + Merge pull request #3314 from sysown/v2.1.1_cluster_os_check + + Change git_version parsing to standardize across OS versions + +commit 1deee9279c87bf0a2e590cb7151e0e9468c1883a +Author: Javier Jaramago Fernández +Date: Thu Feb 18 16:05:01 2021 +0000 + + Added extra wait after setting 'max_replication_lag' in test 'test_session_status_flags-t' to avoid replication lag issues in the CI + +commit 65870492bec2bc73d133eb3f9af03d47554c6dea +Author: Javier Jaramago Fernández +Date: Thu Feb 18 16:04:46 2021 +0000 + + Removed hardcoded values for error codes in counters in 'monitor_connect_thread' and no longer required include + +commit 7c1c8295651b841174073dd2ac99d1053cc3018e +Author: Javier Jaramago Fernández +Date: Thu Feb 18 15:48:13 2021 +0000 + + Compressed multiple 'p_update_mysql_error_counter' with ternary operator and replaced zero error codes with ER_PROXYSQL_OFFLINE_SRV + +commit 84e205dd5ae1deaac0f4482ed684f082c0d6842a +Author: Javier Jaramago Fernández +Date: Thu Feb 18 14:48:49 2021 +0000 + + Removed 'PROXYSQL_MONITOR_ERR' enum in favor of single enum 'PROXYSQL_MYSQL_ERR' holding all ProxySQL errors for backend connections + +commit ab3b0494fe3dd816e3173a074ad2deba9b7df8a4 +Author: Nick Vyzas +Date: Thu Feb 18 12:19:19 2021 +0000 + + Change git_version parsing to standardize across OS versions + +commit 9713abd3a003952d21d513847d66af9316ceb23f +Author: Javier Jaramago Fernández +Date: Wed Feb 17 17:14:49 2021 +0000 + + Improved naming on new 'PROXYSQL_ERR' enums and explicit values + +commit 9bffef415680504b5684272d11c7577a0984b7d5 +Author: Javier Jaramago Fernández +Date: Wed Feb 17 16:13:13 2021 +0000 + + Added missed default initialization of flag 'registered_prometheus_collectable' + +commit 851339b5f3b1bf4b3866082349d2392c47b79763 +Author: Javier Jaramago Fernández +Date: Wed Feb 17 16:12:20 2021 +0000 + + Closes #3310: Improve error reporting for 'MySQL_Monitor' and 'MySQL_Session' backend connections via counters + +commit 1605ae5d8922e1a125fe1d14ad9a02c56a8a15a1 +Author: Javier Jaramago Fernández +Date: Tue Feb 16 18:58:12 2021 +0000 + + Added tests for the changes in mariadb 'read_stmt_execute_response' and in ProxySQL 'PROCESSING_STMT_EXECUTE' + +commit 5d0a9a208746b2ee5cb97d88af6ca03a790aebd0 +Author: Javier Jaramago Fernández +Date: Tue Feb 16 18:45:49 2021 +0000 + + Updated 'stats_mysql_prepared_statements_info' table definition to hold 'num_columns' and 'num_params' info for prepared statements + +commit 071545db5210cbc2e1cee2da3d5bd23c4006523b +Author: Javier Jaramago Fernández +Date: Tue Feb 16 19:50:47 2021 +0000 + + Added patch for 'mariadb-client' preventing 'CR_NEW_STMT_METADATA' errors by updating stmt metadata from resulset + +commit ac0b018a4dc1632ab71cec544e2633c72f5ed75b +Author: Javier Jaramago Fernández +Date: Tue Feb 16 18:39:37 2021 +0000 + + Update prepared statements metadata during 'PROCESSING_STMT_EXECUTE' + +commit 5f269af2b29ec2261f1a56d92702b899c3604175 +Author: Nick Vyzas +Date: Fri Feb 12 23:09:03 2021 +0200 + + Update Makefile + + Update CURVER to 2.1.1 + +commit 5b10024be8d4a9552cdade8d4874912a60e8aa38 +Author: René Cannaò +Date: Fri Feb 12 20:50:32 2021 +0100 + + Add uuid in tests + +commit b29ee841303d68313f6d93d1352d1e56345e4a84 +Author: Nick Vyzas +Date: Thu Feb 11 02:15:35 2021 +0200 + + Update README.md + +commit f84ac3e3486141168c5affcc362c45bd0ae3d43e +Author: Nick Vyzas +Date: Thu Feb 11 02:15:03 2021 +0200 + + Update README.md + +commit 9d5a63dc65959a21267bd83751949eaf388bf8f8 +Merge: d5a55891 5d432eb9 +Author: René Cannaò +Date: Wed Feb 10 11:36:52 2021 +0100 + + Merge pull request #3301 from sysown/v2.1.1-3273 + + Closes #3273: Infinite loop under certain timing conditions with SSL connections (Port for v2.1.1) + +commit 5d432eb9f2118d9326e56c94e03b3da4ad93f1e0 +Author: Javier Jaramago Fernández +Date: Tue Jan 26 17:42:12 2021 +0000 + + Added extra NOTE into new test 'reg_test_3273_ssl_con-t.cpp' specifying current CI limitations + +commit ead12a3c372748d5169a7ebfb0f4174906dab44b +Author: Javier Jaramago Fernández +Date: Tue Jan 26 10:46:23 2021 +0000 + + Removed duplicated diag line from new regression test 'reg_test_3273_ssl_con-t.cpp' + +commit 7e4f6f0ce8c939f1fd4e3547ee0b99b68e8f106c +Author: Javier Jaramago Fernández +Date: Tue Jan 26 01:13:24 2021 +0000 + + Added regression test 'reg_test_3273_ssl_con-t.cpp' for issue #3273 + +commit c69685d83d658e77e9b4ece4fd04a6f67bc6b047 +Author: Javier Jaramago Fernández +Date: Tue Jan 26 01:12:06 2021 +0000 + + Fix 3273: 'POLLHUP' should always be check in 'read_from_net' to verify socket is still open + +commit d5a55891fe42fba6976d8f0d545b8b685561ebbf +Merge: 259d07c9 e2432bb6 +Author: René Cannaò +Date: Tue Feb 9 11:09:09 2021 +0100 + + Merge pull request #3299 from sysown/v2.1.1-3298 + + Closes #3298: Prevent unnecessary logging and port check during admin variables flushing + +commit 259d07c9abdc8da45fa60504c6314b6440f34544 +Merge: e61b82a4 fca4055b +Author: René Cannaò +Date: Tue Feb 9 11:08:34 2021 +0100 + + Merge pull request #3295 from sysown/v2.1.0-ps_buffer + + V2.1.0 ps buffer + +commit e2432bb66130321e13e38f8617f35750e7e40802 +Author: Javier Jaramago Fernández +Date: Tue Feb 9 00:32:51 2021 +0000 + + Closes #3298: Fixed unnecessary port check and logging while flushing admin variables to runtime + +commit e61b82a439914550d03ba4f15b1a429d04903637 +Author: Javier Jaramago Fernández +Date: Thu Jan 21 21:15:56 2021 +0000 + + Removed duplicated call to 'conn_unregister' in 'monitor_group_replication_thread' performed outside proper check + +commit db9c2b5ddf25455e026ef85378b0424eb71f1c39 +Merge: d9d162fe 8141642b +Author: René Cannaò +Date: Mon Feb 8 19:51:24 2021 +0100 + + Merge pull request #3281 from sysown/v2.1.1-3280 + + Closes #3280: Add support to control 'CLIENT_DEPRECATE_EOF' in client and backend connections through global variables + +commit 8141642bfcab6ead68d9b9b2347131d06c75d32d +Merge: 1ee832af d9d162fe +Author: Javier Jaramago Fernández +Date: Mon Feb 8 15:10:45 2021 +0000 + + Merge branch 'v2.1.1' into v2.1.1-3280 + +commit d9d162fe22991fa263f698f9dfe4e1acde3b06ac +Merge: 40d0909b 891e6ad7 +Author: René Cannaò +Date: Mon Feb 8 14:49:40 2021 +0100 + + Merge pull request #3283 from sysown/v2.1.1-3282 + + Closes #3282: Added proper waiting for 'test_session_status_flags-t' to avoid failures due to replication lag + +commit 40d0909b75bf90bde24bd67d64e8ae8f9a79e290 +Author: René Cannaò +Date: Mon Feb 8 11:55:34 2021 +0100 + + Fix typo #3278:wq + +commit fca4055b506ac0af56468bf028ea164d036f36d4 +Merge: 2e5895d0 16aad8e5 +Author: René Cannaò +Date: Mon Feb 8 11:52:48 2021 +0100 + + Merge branch 'v2.1.1' into v2.1.0-ps_buffer + +commit a592402902f34b4d0fbee64c3a23314d42d909ff +Author: René Cannaò +Date: Mon Feb 8 11:45:06 2021 +0100 + + Implementation of table stats_proxysql_servers_clients_status and PROXYSQL CLUSTER_NODE_UUID command + +commit 69fb384debefad7a608e963461e1a9032cd648bf +Author: René Cannaò +Date: Sun Feb 7 16:07:01 2021 +0100 + + Replacing struct proxy_node_address_t with class ProxySQL_Node_Address + +commit 809ce44b7b564f5006405e1c0c4a48857c0cf4ec +Author: René Cannaò +Date: Sun Feb 7 15:41:27 2021 +0100 + + Allow to configure UUID from config file + +commit 36cc360942f45ac3ade8cf3b5e5fe9b13749048d +Author: René Cannaò +Date: Sun Feb 7 13:24:55 2021 +0100 + + Create UUID + + ProxySQL will now automatically generate a UUID during start up. + The UUID can be either passed through the command line using -U or --uuid, + or saved on disk in a new table named global_settings. + The new table is used to distinguish it from global_variables that is replicated. + Table global_settings isn't replicated by Cluster. + + If UUID is not present, it is automatically generated and saved. + +commit 16aad8e593eb359555944058f5852b02358215f4 +Merge: f34cc160 fc2b5384 +Author: René Cannaò +Date: Fri Feb 5 14:29:09 2021 +0100 + + Merge pull request #3286 from sysown/v2.1.1-3276 + + Ports to 2.1.1 of various PRs from 2.0.16 and 2.0.17 + +commit f34cc1605e062edfab7104dac37362f81c47878f +Merge: 420913f0 57726c16 +Author: René Cannaò +Date: Fri Feb 5 14:29:00 2021 +0100 + + Merge pull request #3290 from sysown/v2.1.1-3288 + + Closes #3288: Added extra logging to 'monitor_replication_lag_thread' when 'Seconds_Behind_Master' is NULL + +commit 891e6ad7846def8de675515adfda215b86ac7942 +Author: Javier Jaramago Fernández +Date: Sat Jan 30 15:57:26 2021 +0000 + + Closes #3282: Added proper waiting for 'test_session_status_flags-t' to avoid failures due to replication lag + + Also set 'max_replication_lag' to a lower value to avoid queries + being redirected to a replica which replication isn't working. + +commit 57726c16fdd45b684ef6e63217400b5228e2ca3a +Author: Javier Jaramago Fernández +Date: Thu Feb 4 20:46:00 2021 +0000 + + Closes #3288: Added extra logging to 'monitor_replication_lag_thread' to reflect when 'Seconds_Behind_Master' is NULL + +commit fc2b53845f3346002f07b865b5cf5421580e9699 +Author: Javier Jaramago Fernández +Date: Thu Jan 21 20:53:07 2021 +0000 + + Fixes #3265: 'update_group_replication_set_writer' now checks found 'writer' status + +commit fd5c21156ca5f29aa27181138a34bf2426f60c97 +Author: Javier Jaramago Fernández +Date: Thu Jan 21 18:27:00 2021 +0000 + + Fixed memory leak in 'Query_Processor::new_query_rule' due to field 'match_digest' never being freed + +commit 23843ed6ee79e361ed27ca9736f46cf710f0f82e +Author: Javier Jaramago Fernández +Date: Thu Jan 21 18:14:24 2021 +0000 + + Fixed invalid writes/reads in 'update_group_replication_set_writer' due to query not fitting allocated buffer + +commit 419e239da892c7b49e998b2b760c80a7ac930951 +Author: Javier Jaramago Fernández +Date: Tue Jan 19 19:26:43 2021 +0000 + + Fixes #3252: Added jemalloc compilation option '--with-lg-page' for CentOS ARM building + +commit 2b23bd31029ef71ea5562a515187db083b4bf00e +Author: René Cannaò +Date: Wed Feb 3 22:10:57 2021 +0100 + + Avoid MySQL bug 102266 #3276 + + ProxySQL is sending a lot of data to MySQL server using CLIENT_CONNECT_ATTRS in order to not hit MySQL bug https://bugs.mysql.com/bug.php?id=102266 . See also https://github.com/sysown/proxysql/issues/3276 + +commit fccb054ba322b03359e9e290efa45e9457b449a0 +Author: René Cannaò +Date: Thu Jan 28 00:42:26 2021 +0100 + + Added utf8_unicode_ci in test_set_collation-t + +commit e0bdb24ddfb9605162f7f63d3cb2c4431b4b6f6e +Author: René Cannaò +Date: Wed Jan 27 22:26:38 2021 +0100 + + Added support for charset during COM_CHANGE_USER + + When processing COM_CHANGE_USER from a client, we did not parse the charset/collation. + This commit parses and processes also charset in COM_CHANGE_USER + +commit f2d135fa21f8d60fd28a296c0c9ab1f232bd0d5b +Author: René Cannaò +Date: Wed Jan 27 15:51:22 2021 +0100 + + Use of plan() in test_set_collation-t + + Also remove hardcoded values + +commit 617ba29f8e9b09aa55272579dbfc307d48380984 +Author: René Cannaò +Date: Wed Jan 27 15:42:15 2021 +0100 + + Code clean up on test_set_collation-t + + Added mysql_free_result() + Removed a set of redendant checks + +commit efe2b7f786d41e6605d5155469814df1681471c7 +Author: René Cannaò +Date: Wed Jan 27 13:45:21 2021 +0100 + + Simplified test_set_collation-t + + Removed duplicated code + Added test for utf8_general_ci too + +commit d23005db83475fd800efc13c00a6e740b676f616 +Author: Javier Jaramago Fernández +Date: Tue Jan 19 13:32:21 2021 +0000 + + Added more detailed documentation to 'MySQL_Variables::client_set_value' + +commit 85d13c674c4d0882e114f9be13342269a020f7b2 +Author: Javier Jaramago Fernández +Date: Tue Jan 19 13:32:11 2021 +0000 + + Added new test 'test_set_collation-t' to verify that ProxySQL is properly setting collation specified by the client + +commit 7eaf7efaf03bec82286ebe8ed8b41096f566d923 +Author: Javier Jaramago Fernández +Date: Tue Jan 19 13:31:54 2021 +0000 + + Added missing required include in 'command_line.h' + +commit 598331cff914a80206eda5dba4ff09f028966623 +Author: René Cannaò +Date: Sun Jan 17 23:32:50 2021 +0100 + + 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) + + We call mysql_options with MYSQL_SET_CHARSET_NAME if collation ID >= 255 . + This to solve the problem of MySQL server returning an Access denied if the backend doesn't support a collation during mysql_change_user + +commit 702081d934a21d30f1feb26e17fd09c5de8a0b40 +Author: René Cannaò +Date: Sun Jan 17 20:38:02 2021 +0100 + + Do not search charset in mysql_change_user if already set + + This is an extension of commit 1ecb00f19fd55e6a97d5e3ea3b18039fa38d4af2 about mysql_real_connect + + It also changes mysql_optionsv() for MYSQL_SET_CHARSET_NAME + +commit 8baa82d8c452e971f8ac2473772bff7efb17db1f +Author: Javier Jaramago Fernández +Date: Fri Jan 15 16:24:52 2021 +0000 + + Fixed undefined behavior in 'test_ps_large_result-t.cpp-t' due non-void non returning functions + +commit f3dba4dcae1597abee1527b340761c59d0664756 +Author: René Cannaò +Date: Thu Jan 14 22:59:50 2021 +0100 + + Do ot use charset_name if not available in SQL3_Free_Connections() + + This fix a crashing bug + +commit 2519551cb4f101d6ea9426c24c5bef3848ca55bb +Author: René Cannaò +Date: Thu Jan 14 15:25:52 2021 +0100 + + Do not search charset in mysql_real_connect if already set + + In mysql_init() charset is set to NULL . + In mysql_read_connect() charset is not changed if already set + + This allows proxysql to change it outside the library + +commit 1ee832affd66abd1027c1cd16fe3b4b5944c8df1 +Author: Javier Jaramago Fernández +Date: Sat Jan 30 11:47:58 2021 +0000 + + Closes #3280: Add support to control 'CLIENT_DEPRECATE_EOF' in client and backend connections through global variables + +commit 420913f0a1ea91e796077458e04eaffd20eca073 +Author: René Cannaò +Date: Fri Jan 22 11:48:43 2021 +0100 + + Revert PR 3237 on TEST_AURORA + +commit 2e5895d0e235aae88709bf3826c4a6364b388c87 +Author: Javier Jaramago Fernández +Date: Thu Jan 14 16:49:28 2021 +0000 + + Fixed undefined behavior in 'test_ps_async-t' due non-void non returning functions + +commit af9d324f05a9d5bdf34060b4ac64104b98870689 +Merge: 17a4b4a7 dacea258 +Author: René Cannaò +Date: Tue Jan 12 15:57:31 2021 +0100 + + Merge pull request #3246 from sysown/v2.1.0-field + + Implemented MySQL_Protocol::generate_pkt_field2() + +commit dacea2586637f2bed03e264c67741edbb27925cc +Author: René Cannaò +Date: Tue Jan 12 13:13:51 2021 +0100 + + Implemented MySQL_Protocol::generate_pkt_field2() + + `generate_pkt_field2` is a less generic version of `generate_pkt_field` + and it is meant to be used only for queries executed on backend. + The function takes a `MYSQL_FIELD` as one of its arguments, thus a lot of + lengths do not need to be computed + +commit 17a4b4a701aa1e64a98b2d3f7518e98800abe839 (tag: v2.1.0) +Merge: 718298f2 5dbddb3c +Author: Javier Jaramago Fernández +Date: Mon Jan 11 14:32:16 2021 +0100 + + Merge pull request #3239 from sysown/v2.1.0-3238 + + Closes #3238: Improve error handling when port is already in use when instantiating 'ProxySQL_RestAPI_Server' + +commit 718298f213489e8451c3d4dc37f1e3c55fb60815 +Merge: da8979d1 6b873cbf +Author: Javier Jaramago Fernández +Date: Mon Jan 11 14:28:25 2021 +0100 + + Merge pull request #3243 from sysown/v2.1.0-3242 + + Closes #3242: Make all Prometheus metrics 'promtool' complaint + +commit 6b873cbfd8bb15fd2f6b48096aa8bf3bc5b98055 +Author: Javier Jaramago Fernández +Date: Mon Jan 11 13:16:51 2021 +0000 + + Changed several metrics name for being fully being fully complaint with 'promtool' checker + +commit 5dbddb3cc4bee63085a7f02e0d900e9ea65d2aad (origin/v2.1.0-3238) +Author: Javier Jaramago Fernández +Date: Sat Jan 9 01:45:54 2021 +0000 + + Check for specified 'restapi_port' availability before instantiating 'ProxySQL_RESTAPI_Server' + +commit da8979d1ec65fffeac8c63b80342ec817b18a745 +Merge: b7183ccb 3d4b80b5 +Author: René Cannaò +Date: Fri Jan 8 15:15:32 2021 +0100 + + Merge pull request #3227 from sysown/v2.1.0-2953 + + Closes #2953: Honor 'wsrep_sst_donor_rejects_queries' avoiding setting a DONOR node offline during a SST + +commit b7183ccb0b9e1dde87b4ab3fe09ee6b841c32975 +Merge: 651f969e dbde7e2e +Author: René Cannaò +Date: Fri Jan 8 15:15:16 2021 +0100 + + Merge pull request #3237 from sysown/v2.1.0-aurora209 + + Workaround for Aurora 2.09 bug + +commit 651f969e1c9d4fd1775d0a8555751b41f82378b8 +Merge: 18f83651 60b6fd02 +Author: René Cannaò +Date: Fri Jan 8 10:13:41 2021 +0100 + + Merge pull request #3203 from sysown/v2.1.0-3201 + + Closes #3201: Connections not being cleanup in case of 'match_tracked_options' always failing + +commit dbde7e2e92479a1435c841abc2c821ea38dc4a68 +Author: Will Jordan +Date: Mon Dec 14 13:01:56 2020 -0800 + + Workaround for Aurora 2.09 bug + +commit 18f83651e28e91090bd70cee1b0423ccf004d04b +Author: Nick Vyzas +Date: Wed Jan 6 22:14:02 2021 +0800 + + Adding ARM64 compatible docker-compose + +commit 90645e9e437014a2c6cbfe7c41133c16ff64654f +Author: Nick Vyzas +Date: Wed Jan 6 22:08:39 2021 +0800 + + Adding ARM64 build to 2.0.1 + +commit 60b6fd0222fbd81679b8c55b57334aa33c83cb1f +Author: Javier Jaramago Fernández +Date: Wed Dec 23 16:51:33 2020 +0000 + + Simplified and improved logic for connection cleanup and creation when a matching connection isn't found + +commit bd60db275115c45bc2c104a14f23f7195dcca5c1 +Merge: f718927a 2eb5d507 +Author: René Cannaò +Date: Sun Dec 27 21:10:14 2020 +0100 + + Merge pull request #3199 from sysown/v2.1.0-3177 + + Closes #3177: Fixed error log and errors reported to clients when several statements fails + +commit f718927ac929773f901a450c0d481399b5d32db2 +Merge: 963f36bc 1dc0ab5c +Author: René Cannaò +Date: Sun Dec 27 20:48:07 2020 +0100 + + Merge pull request #3222 from calh/diamond_non_idle + + Add Client_Connections_non_idle to Diamond gauge keys. + +commit 963f36bc653a03ae97b3518eecf618bb21d9a0d4 +Merge: 2e47e42a 3a8b1bce +Author: René Cannaò +Date: Sun Dec 27 20:46:16 2020 +0100 + + Merge pull request #3195 from sysown/v2.1.0-2619 + + Closes #2619: ProxySQL is creating more than 'max_connections' connections + +commit 2e47e42af42d79b93a3534abbe07765ba207de98 +Merge: 79298ac6 566d3191 +Author: René Cannaò +Date: Sun Dec 27 19:41:13 2020 +0100 + + Merge pull request #3206 from sysown/v2.1.0-3204 + + Closes #3204: Fix several memory leaks detected by valgrind + +commit 79298ac6f5e607a4e750276bdaa08565d7252f4a +Merge: fd16ab26 b402479e +Author: René Cannaò +Date: Sun Dec 27 19:12:30 2020 +0100 + + Merge pull request #3217 from sysown/v2.1.0-3216 + + Closes #3216: Galera node wrongly purged after placed 'OFFLINE HARD' in the 'offline_hostgroup' + +commit fd16ab26de874cd88c20f8ece801da62f7f2e40d +Merge: 2efcecf3 16bdd45b +Author: René Cannaò +Date: Sun Dec 27 18:37:11 2020 +0100 + + Merge pull request #3220 from sysown/v2.1.0-3219 + + Closes #3219: Server wrongly used as reader for Galera cluster with 'writer_is_also_reader=2' + +commit 2efcecf38c1d63ffa447ae63a391fca078412a5e +Merge: 145b2a4e 1daa93a9 +Author: René Cannaò +Date: Sun Dec 27 18:35:57 2020 +0100 + + Merge pull request #3226 from sysown/v2.1.0-3225 + + Closes #3225: *char* being overflow in 'ma_net_safe_read' in `client_deprecate_eof.patch` + +commit 145b2a4e8deb829ecf60fc6899185fcdb1c6939e +Author: René Cannaò +Date: Sun Dec 27 18:34:32 2020 +0100 + + Fixing an issue in test session_status_flags-t + + The test is likely failing due to replication lag + +commit 3d4b80b5e45b3d76da8779c9e04e3eb8ed964410 +Author: Javier Jaramago Fernández +Date: Thu Dec 24 12:19:57 2020 +0000 + + Honor 'wsrep_sst_donor_rejects_queries' avoiding setting a DONOR node offline during a SST + +commit 1daa93a9a9bf671afef28da34b81e4f5bcd62e93 +Author: Javier Jaramago Fernández +Date: Thu Dec 24 11:26:10 2020 +0000 + + Fixed char overflow due to assignment from 'unsigned long' + +commit 16bdd45bcca351c5689bcec9072ad4e93d0a2959 +Author: Javier Jaramago Fernández +Date: Wed Dec 23 21:20:30 2020 +0000 + + Always cleanup readers present in the 'writer_hostgroup' for 'writer_is_also_reader=2' + + Servers have no reason to be present in the reader hostgroup for 'writer_is_also_reader=2' + when they are present in any other hostgroup that is not 'backup_writer'. + +commit 1dc0ab5c424a1d5c8a9b8fa63a406b766e954ac6 +Author: Cal Heldenbrand +Date: Wed Dec 23 15:09:38 2020 -0600 + + Add Client_Connections_non_idle to Diamond gauge keys. + + I just noticed that my stats looked wrong for active connections, + and this was not being published as a gauge metric. + +commit b402479e50f7c4196e8b53c488b357d10933fb72 +Author: Javier Jaramago Fernández +Date: Wed Dec 23 19:23:07 2020 +0000 + + Enforce nodes to be 'REPLACED' with ONLINE status when placed in the offline hostgroup by 'update_galera_set_offline' + +commit 42eb3982f9d1d3a3b81da970666b69ce8cd3be5a +Merge: df1a4c02 208f82b6 +Author: René Cannaò +Date: Mon Dec 21 11:24:54 2020 +0100 + + Merge pull request #3189 from sysown/v2.1.0-3187 + + Closes #3187: Galera nodes permanently dropped from runtime_mysql_servers for writer_is_also_reader=2 + +commit df1a4c020ab4b0e74a6d21a67bc2850b8e0f87a7 +Merge: c0d05fa1 01ff4794 +Author: René Cannaò +Date: Mon Dec 21 11:22:36 2020 +0100 + + Merge pull request #3212 from sysown/revert-3192-v2.1.0-3190 + + Revert "Closes #3190: Galera cluster left without readers using 'writer_is_also_reader=2'" + +commit 01ff479421579e31f2b989e622365263093861c8 +Author: René Cannaò +Date: Mon Dec 21 11:22:23 2020 +0100 + + Revert "Closes #3190: Galera cluster left without readers using 'writer_is_also_reader=2'" + +commit c0d05fa1522ea43f08c403142863126a0299082d +Merge: 52e7f0d0 dbe16e18 +Author: René Cannaò +Date: Mon Dec 21 10:45:13 2020 +0100 + + Merge pull request #3192 from sysown/v2.1.0-3190 + + Closes #3190: Galera cluster left without readers using 'writer_is_also_reader=2' + +commit 064cb1c3d2bc4a9f94049ab1cdbc0660f906be38 +Author: René Cannaò +Date: Mon Dec 21 00:04:07 2020 +0100 + + Code cleanup + +commit f210af0aaf3ef1d65b175ae5d4af37678462c72c +Author: René Cannaò +Date: Mon Dec 21 00:02:13 2020 +0100 + + Disabled code that change recv buffer size + +commit 961588a29fffaf77c3b540ee1554efa37b97e397 +Author: René Cannaò +Date: Sun Dec 20 23:56:43 2020 +0100 + + Removed the heartbeat from previous commit + +commit 7921e130d25bbf285cbcd2907c274e08402c3b37 +Author: René Cannaò +Date: Sun Dec 20 23:41:31 2020 +0100 + + Third commit to buffer resultsets in Prepared Statements + + * MySQL_ResultSet() stores a pointer to the PS + * MySQL_ResultSet::init_with_stmt() doesn't need anymore the pointer to the PS + Furthermore, it isn't anymore an "init" but an end (we will rename it) + * Added MySQL_ResultSet::add_row(MYSQL_ROWS *rows) for PS only + * MySQL_Protocol::generate_pkt_row3() accepts an optional row length. + If passed, it will know the length of the row without computing it + * MyRS initialized during ASYNC_STMT_EXECUTE_STORE_RESULT_START + * Implemented throttling during ASYNC_STMT_EXECUTE_STORE_RESULT_START + * MySQL_Connection::process_rows_in_ASYNC_STMT_EXECUTE_STORE_RESULT_CONT() always + generates a heartbeat. For now unnecessary, and we will better tune it later + * test_ps_async-t.cpp tunes mysql-threshold_resultset_size to trigger buffering + + More testing is required + +commit 01710824485cb1a96af7eefdbe869735e812c857 +Author: René Cannaò +Date: Sat Dec 19 22:36:12 2020 +0100 + + Adding MySQL_ResultSet::init_with_stmt() + + This new function is meant to split MySQL_ResultSet::init() to later + remove all code specific to prepared statements because it assumes + it is pre-buffered + +commit 7d0ac031b3df7d10140ab271799f5a3944bdeb58 +Author: René Cannaò +Date: Sat Dec 19 22:26:32 2020 +0100 + + Removed a local variable + +commit 5c0a732d8ac426a8f0ed16493bad8ddd06a520a9 +Author: René Cannaò +Date: Sat Dec 19 22:00:48 2020 +0100 + + Second commit to buffer resultsets in Prepared Statements + + So far this seems to work, although it is dropping most of the rows. + The rows are lost intentionally up to this commit. + +commit cfb11144d6ec494f06c2cd28394fa657e87785c7 +Author: René Cannaò +Date: Thu Dec 17 12:41:31 2020 +0100 + + Partial commit to buffer resultsets in Prepared Statements + +commit 566d3191144a9a2c24548c6d3b6ba7c5cc77d2dc +Author: Javier Jaramago Fernández +Date: Wed Dec 16 17:08:07 2020 +0000 + + Updated 'mariadb_lib.c.patch' with a memory leak fix for 'mysql_close_no_command' + +commit a42bdbdd8b16cbb8d84f833c568c1b79fb091186 +Author: Javier Jaramago Fernández +Date: Wed Dec 16 00:02:02 2020 +0000 + + Fixed free connections not being cleanup in case 'match_tracked_options' fails to find matching connection + +commit 2eb5d507df0106c644269b9b397388fd9e1f0149 +Author: Javier Jaramago Fernández +Date: Tue Dec 15 16:31:27 2020 +0000 + + Fixed error log and errors reported to clients when several statements fails + +commit ba7b3aa1ede185ff3c4d6bbf90215cd8fae1906d +Author: René Cannaò +Date: Sat Dec 12 22:38:18 2020 +0100 + + Revert "Adding two new states in MySQL_Connection" + + This reverts commit 07e2b94125505f31ae01679a89188353c1fcc326. + +commit 3a8b1bce42b3b120bee21a0d610f0fb9d8f76bdb +Author: Javier Jaramago Fernández +Date: Fri Dec 11 14:34:34 2020 +0000 + + Fixed enforcing 'CLIENT_MULTI_RESULTS' for client connections specifying 'CLIENT_MULTI_STATEMENTS' + +commit 0b34782931e155049c74a8ca4a2e4230542f3787 +Author: René Cannaò +Date: Thu Dec 10 20:17:58 2020 +0100 + + Adding more TAP test for prepared statements + +commit dbe16e188fc269b5df577b527c8e362f535adc24 +Author: Javier Jaramago Fernández +Date: Thu Dec 10 10:29:41 2020 +0000 + + Fixed leaving a Galera cluster without any readers when there is just one synced node ('writer') + +commit 208f82b6199c6a17fe4f9ba0e12db2b9bf69e740 +Author: Javier Jaramago Fernández +Date: Thu Dec 10 10:26:11 2020 +0000 + + Fixed the complete removal of servers that just belong to 'reader_hostgroup' when 'writer_is_also_reader=2' + +commit 07e2b94125505f31ae01679a89188353c1fcc326 +Author: René Cannaò +Date: Wed Dec 9 10:39:55 2020 +0100 + + Adding two new states in MySQL_Connection + +commit f8399886e7d7a617da94f3b58e734bb175e255b9 +Author: René Cannaò +Date: Tue Dec 8 23:04:18 2020 +0100 + + Fixed the patch of client deprecate eof + +commit 52e7f0d0eb938f47f9a04bb5d0c5207e49e722ff +Merge: 43e69602 76b64bed +Author: René Cannaò +Date: Mon Dec 7 23:30:37 2020 +0100 + + Merge pull request #3166 from sysown/v2.1.0-3161 + + Closes #3161: Added extra logging reporting all galera nodes status when ProxySQL oves a node from hostgroup + +commit 43e696022ab4a85a747b74f89691b6d50cec33ea +Merge: e1a1ba42 632e4577 +Author: René Cannaò +Date: Wed Dec 2 11:35:30 2020 +0100 + + Merge pull request #3176 from sysown/v2.1.0-3133 + + Closes #3133: Fixes client connection hanging forever when backend is already gone + +commit 632e4577f072eaa97ef267fc129a77c5b862850d +Author: Javier Jaramago Fernández +Date: Sun Nov 29 18:25:59 2020 +0100 + + Fixed 'async_send_simple_command' not reporting server_status + +commit e40d57d75c2a2103c0d5f1b8436a10dac60f7d23 +Author: Javier Jaramago Fernández +Date: Sat Nov 28 15:29:45 2020 +0100 + + Added checks to verify that backend connection is present in several 'MySQL_Connection::async_' functions + +commit e1a1ba4277b8559e7b359f5b86596de46b2e6a85 +Merge: f8a0db26 40448a58 +Author: René Cannaò +Date: Fri Nov 20 11:18:25 2020 +0100 + + Merge pull request #3168 from sysown/v2.1.0-3167 + + Closes #3167: Fixed memory leak in 'save_mysql_servers_runtime_to_database' due to non-freed resultset + +commit 40448a58fc5839f55cd0f8184232699060fd8f35 +Author: Javier Jaramago Fernández +Date: Thu Nov 19 18:06:59 2020 +0100 + + Fixed memory leak in 'save_mysql_servers_runtime_to_database' due to non-freed resultset + +commit 76b64bed95f0a9d820abccc5e9237793f0fa170c +Author: Javier Jaramago Fernández +Date: Thu Nov 19 17:24:01 2020 +0100 + + Added extra logging reporting all galera nodes status when ProxySQL moves a node from hostgroup + +commit f8a0db26262716ca7134d86f338066719f4f4cfb +Merge: bb5ceb9f 68af2364 +Author: René Cannaò +Date: Thu Nov 19 11:11:02 2020 +0100 + + Merge pull request #3160 from sysown/v2.1.0-3159 + + Closes #3159: Added patch to replace 'std::regex' in favor of 're2' in libhttpserver for 'GCC' versions under 4.9 + +commit bb5ceb9fabe79c6f245def69a604afafae90f320 +Merge: a5edfa76 e654d41f +Author: René Cannaò +Date: Wed Nov 18 11:22:57 2020 +0100 + + Merge pull request #3158 from sysown/v2.1.0-3155 + + Closes #3155: Added 'SO_REUSEADDR' option to socket used to test 'web_port' availability + +commit a5edfa766e608dfb37275a9e72e5556599e2d97b +Merge: f85be00e ba3ee278 +Author: René Cannaò +Date: Wed Nov 18 11:22:22 2020 +0100 + + Merge pull request #3148 from sysown/v2.1.0-3147 + + Closes #3147: Fixed return code for 'MYSQL_QUERY' macro in 'tap/utils.h' + +commit f85be00e653e7d08ca2ca13fcacea6a096765594 +Merge: b712c8f3 ef539730 +Author: René Cannaò +Date: Wed Nov 18 11:21:55 2020 +0100 + + Merge pull request #3152 from sysown/v2.1.0-3150 + + Closes #3150: Fixed memory leak due packet not being freed in 'switching_auth' during 'SERVER_HANDSHAKE' + +commit 68af23646598f6e1dbcf7a8013245946ff7ecf6a +Author: Javier Jaramago Fernández +Date: Tue Nov 17 21:38:19 2020 +0100 + + Added patch to replace 'std::regex' in favor of 're2' in libhttpserver for 'GCC' versions under 4.9 + +commit e654d41f1764dcf2856703adb9bca883dfcb13ae +Author: Javier Jaramago Fernández +Date: Tue Nov 17 21:19:14 2020 +0100 + + Added 'SO_REUSEADDR' option to socket used to test 'web_port' availability + +commit ef53973018b61920cdaf00f530d04cd7d9a2bb2e +Author: Javier Jaramago Fernández +Date: Thu Nov 12 18:48:04 2020 +0100 + + Fixed memory leak due packet not being freed in 'switching_auth' during 'SERVER_HANDSHAKE' + +commit b712c8f334c487305630b10e2858a4b33bfaa785 +Author: Javier Jaramago Fernández +Date: Thu Nov 12 09:38:53 2020 +0100 + + Fixed socket resource leak in case 'bind' fails for 'web_port' + +commit ba3ee278fe74e601a9a61819b2cdf09132c993a1 +Author: Javier Jaramago Fernández +Date: Wed Nov 11 22:15:50 2020 +0100 + + Fixed return code for 'MYSQL_QUERY' macro in 'tap/utils.h' + +commit 22d66d52234d1336baebbe90ffddb08adb788203 +Merge: ed23f564 f9a79144 +Author: René Cannaò +Date: Tue Nov 10 18:41:37 2020 +0100 + + Merge pull request #3144 from sysown/v2.1.0-change_user + + V2.1.0 change user + +commit f9a7914407b2928356a5d400e972a516db27d186 +Author: René Cannaò +Date: Tue Nov 10 11:45:54 2020 +0100 + + Fix sqlite3 tap test + +commit d8e32d672a87e59625593e819b9ab24a4c7446ed +Author: René Cannaò +Date: Mon Nov 9 18:04:16 2020 +0100 + + Several error codes are now not considered severe enough to shun a node + + Those error codes are: + * from 1099 to 1104 + * from 1106 to 1113 + * from 1116 to 1118 + * 1120 + * 1136 + * from 1138 to 1149 + +commit 045bb460b12ea3f0452808cc693b804344ce0d91 +Author: René Cannaò +Date: Sat Nov 7 19:17:04 2020 +0100 + + Reset client connection when client issues a CHANGE_USER command + +commit ed23f564735584179c19a62e80adf43fad896239 +Merge: c43bc44d 1c0dbd5f +Author: René Cannaò +Date: Tue Nov 10 00:19:57 2020 +0100 + + Merge pull request #3139 from sysown/v2.1.0-3138 + + Closes #3138: Improve WebInterfacePlugin start error handling + +commit c43bc44d18c1fa95a8b0d92b54928896a6271d6a +Merge: 8f09d9a4 4b8b6402 +Author: René Cannaò +Date: Tue Nov 10 00:19:37 2020 +0100 + + Merge pull request #3137 from sysown/v2.1.0-3135 + + Closes #3135: Fixed crash due to invalid access to already freed 'MyMon_thread' + +commit 8f09d9a4bdffdc62db0de8f3b2505a5c3599f8f4 +Merge: 12b6e190 ae8606f1 +Author: René Cannaò +Date: Tue Nov 10 00:19:16 2020 +0100 + + Merge pull request #3140 from sysown/v2.1.0-3131 + + Closes FR #3131: Expose prometheus metrics through the admin interface + +commit ae8606f16c7ffa8933034cbbc4f0cf10ab33fd32 +Author: Javier Jaramago Fernández +Date: Sat Nov 7 02:29:06 2020 +0100 + + Fixed wrong unit conversions performed into 'status_variables' gauge metrics + +commit 39131a956e3f99513c01c1c2786a4a06eeb266db +Author: Javier Jaramago Fernández +Date: Sat Nov 7 02:27:18 2020 +0100 + + Fixed several prometheus metrics names and tags to follow the latest convention + +commit d2a566901e9f7c173aa72a9ab4f1ee7dacd0172f +Author: Javier Jaramago Fernández +Date: Sat Nov 7 02:23:13 2020 +0100 + + Added support for 'SHOW PROMETHEUS METRICS' command + +commit 1c0dbd5fe2b692be87d12aaff4a5f615eadd30cb +Author: Javier Jaramago Fernández +Date: Fri Nov 6 23:13:37 2020 +0100 + + Improve 'WebInterfacePlugin' initialization error handling + + - Added 'NULL' checks for 'GloWebInterface'. + - Added port availability check before starting 'GloWebInterface'. + +commit 4b8b64022023c5cb6e3d40b2a4561b7f8204187b +Author: Javier Jaramago Fernández +Date: Fri Nov 6 20:59:54 2020 +0100 + + Fixed crash due to invalid access to already freed 'MyMon_thread' + +commit 12b6e1900a2f325bcddf000570efb2546b8d5066 +Merge: 8e2009d0 070b8205 +Author: René Cannaò +Date: Fri Nov 6 18:40:16 2020 +0100 + + Merge branch 'v2.1.0' of https://github.com/sysown/proxysql into v2.1.0 + +commit 8e2009d00066f899f63eab62345657224f582bdc +Author: René Cannaò +Date: Fri Nov 6 18:39:34 2020 +0100 + + Enable C99 for libmariadbclient + +commit 070b8205f4d49b3d57bd0de47ea3ca971ce06cc6 +Merge: 4cdcc1f1 ab577706 +Author: René Cannaò +Date: Mon Nov 2 01:07:10 2020 +0100 + + Merge pull request #3128 from sysown/v2.1.0-3127 + + Closes #3127: Port missing commits from v2.0.15 into v2.1.0 + +commit 4cdcc1f18f78737b9cee80b984536a76efed2019 +Merge: 4ada7ba2 cd11e85e +Author: René Cannaò +Date: Mon Nov 2 01:06:53 2020 +0100 + + Merge pull request #3123 from sysown/v2.1.0-deprecate_eof + + Closes #2684: Add support for CLIENT_DEPRECATE_EOF + +commit 4ada7ba2e5fdb9c587af4e6dcc8d55429cdc0332 +Author: Javier Jaramago Fernández +Date: Fri Oct 30 23:46:21 2020 +0100 + + Fixed typos in comments specifying table version to be upgraded in 'disk_upgrade_rest_api_routes' + +commit cd11e85e8c3d977e89f999b9f68379561c355f78 +Author: René Cannaò +Date: Fri Oct 30 18:12:02 2020 +0100 + + Minor code cleanup + +commit 66e71a0b3f3b421832c7fe63abd3f5a9291f4894 +Merge: d328001a 6a1d6163 +Author: René Cannaò +Date: Fri Oct 30 17:30:47 2020 +0100 + + Merge pull request #3126 from sysown/v2.1.0-3125 + + Closes #3125: Renamed 'interval_ms' from 'restapi_routes' table into 'timeout_ms' + +commit d328001af8f25e550db4318e67470a0d67e973fc +Author: René Cannaò +Date: Fri Oct 30 17:26:55 2020 +0100 + + Removed obsolete files + +commit ab5777063fae155f00568c339accc4cdd0f84dfa +Author: Javier Jaramago Fernández +Date: Fri Aug 14 20:24:06 2020 +0200 + + Added 'NULL' checks to avoid accessing 'GloMTH' in 'push_MyConn_to_pool' after being freed + +commit 6a1d616396bdd899571bb947e9a63ecdf93777bf +Author: Javier Jaramago Fernández +Date: Fri Oct 30 13:01:36 2020 +0100 + + Renamed 'interval_ms' from 'restapi_routes' table into 'timeout_ms' + +commit 9225edbddd34a4607f4f3848e1117fd18e350633 +Merge: d04f240b 58c623c8 +Author: René Cannaò +Date: Thu Oct 29 17:38:55 2020 +0100 + + Merge branch 'v2.1.0' into v2.1.0-deprecate_eof + +commit 58c623c8adc9073979a127a5eb183cb50c9e41b9 +Merge: b3311beb 8fb875ae +Author: René Cannaò +Date: Thu Oct 29 17:37:13 2020 +0100 + + Merge pull request #3110 from sysown/v2.1.0-201020 + + Splitting MySQL_Session::handler() + +commit b3311beb01358757f1b8d3fbb3d4ab1afd47f269 +Merge: 4970ec9d bc2ba338 +Author: René Cannaò +Date: Thu Oct 29 17:36:51 2020 +0100 + + Merge pull request #3113 from sysown/v2.1.0-3112 + + Closes #3112: Connection pool gauge metrics should only reflect current servers + +commit 4970ec9d628caa624976e2347d6c3ca14bbe0d3e +Merge: b8220382 11d9f475 +Author: René Cannaò +Date: Thu Oct 29 17:36:24 2020 +0100 + + Merge pull request #3117 from sysown/v2.1.0-3115 + + Closes #3115: Fix removal of spaces before closing parenthesis for query digests + +commit d04f240bc685f9e6cf29ca0b1a8fe739e91f79f8 +Author: Javier Jaramago Fernández +Date: Wed Oct 28 16:44:26 2020 +0100 + + Added extra comment and fixed accidental whitespace removal for 'client_deprecate_eof.patch' + +commit 79e3d7a1b7fd79708899975b0a9c855866db8680 +Author: Javier Jaramago Fernández +Date: Wed Sep 16 21:11:59 2020 +0200 + + Added support to convert EOF packets into OK packets for 'Query_Cache' entries + +commit a1e230029eed6a03217c31cd8bee88ce54ea2096 +Author: Javier Jaramago Fernández +Date: Wed Oct 28 13:19:17 2020 +0100 + + Added new patch for 'mariadb-connector-c' adding 'CLIENT_DEPRECATE_EOF' support + +commit 7150c7d8ed78b95af26df98c2bd8509d9cb44dc8 +Author: Javier Jaramago Fernández +Date: Fri Jun 5 19:32:31 2020 +0200 + + Added metadata to 'Query_Cache' entries for supporting EOF deprecation + +commit 149530a8b2789f8fa509a48ab8d0058b7747b66a +Author: René Cannaò +Date: Mon May 11 20:58:00 2020 +0200 + + Default eof_identifier=false in generate_pkt_OK() + +commit 60f2151fe12c976c459883892c1e5efe3ae333b6 +Author: Bibek Shrestha +Date: Fri Apr 24 12:26:13 2020 -0400 + + Fix special queries response for CLIENT_DEPRECATE_EOF + + Few special queries are handled separately in ProxySQL + + 1. select @@version_comment limit 1 + 2. SHOW WARNINGS + 3. SELECT USER() + 4. PROXYSQL INTERNAL SESSION + 5. SELECT LAST_INSERT_ID() + 6. SELECT CONNECTION_ID() + 7. C code mysql_set_server_option(mysql, MYSQL_OPTION_MULTI_STATEMENTS_ON) + + We now remove EOF1 for these and respond with OK packets intead of EOF2 + +commit 205b23acb89b6f362705f7ebee8e58be7ff5e91b +Author: Bibek Shrestha +Date: Thu Apr 30 16:58:50 2020 -0400 + + Do not support CLIENT_DEPRECATE_EOF on AdminModule + +commit b16bb275f73311edeac19656a53121b833df4f4f +Author: Bibek Shrestha +Date: Mon Apr 20 17:26:39 2020 -0400 + + Hardcode false instead of default value + +commit 53032b1c15e036df3d0385a6b2598fb211b4021f +Author: Bibek Shrestha +Date: Thu Apr 16 17:22:24 2020 -0400 + + Define CLIENT_DEPRECATE_EOF as mariadb does not support it yet + +commit 81849b6141d6f65c6d0b748c818bc6a6dc4403b8 +Author: Bibek Shrestha +Date: Thu Apr 16 13:07:38 2020 -0400 + + No EOF Packet in COM_STMT_PREPARE_OK if CLIENT_DEPRECATE_EOF enabled. + + COM_STMT_PREPARE_OK contains the following packetrs + 1. An OK packet with header = 0x00 + 2. Param Definition Block (Optional) + + EOF Packet + 3. Column Definition Block (Optional) + + EOF Packet + + Both EOF Packet are no longer sent if CLIENT_DEPRECATE_EOF + flag is enabled by client. + + Signed-off-by: Bibek Shrestha + +commit 28c01e9b4d27800d910e62517085dc11a7d6da8b +Author: Bibek Shrestha +Date: Thu Apr 16 11:54:16 2020 -0400 + + Send OK packet after ResultSet + + When CLIENT_DEPRECATE_EOF flag is supported by client, the first EOF + packet after Metadata is not sent anymore. The EOF packet after each + ResultSet is replaced by an OK packet. + + Signed-off-by: Bibek Shrestha + +commit 58b4520c0dc362b148d71f1d7826b95ebbda58fe +Author: Bibek Shrestha +Date: Wed Apr 15 15:33:05 2020 -0400 + + Add CLIENT_DEPRECATE_EOF to capabilities flag + + Note that "\x8f\x80\x15" is in reverse byte order. + So the flag becomes 15808f. + 15 - Authenticatin plugin length + 80 - 10000000 (unused) + 8f - 10001111 (the leftmost 1 is for CLIENT_SESSION_TRACK) + + This is changed to 15818f. + 15 - Remains the same + 81 - 10000001 (the last byte says CLIENT_DEPRECATE_EOF enabled) + 8f - 10001111 (remains the same) + + Signed-off-by: Bibek Shrestha + +commit 8fb875aec1d2abb8540453d68eb10ed31cb390a8 +Author: René Cannaò +Date: Sat Oct 24 10:14:36 2020 +0200 + + First commit to split handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_QUERY_qpo + +commit 11d9f475b416c1cd37b4a7d8878dddc2fcb35b59 +Author: Javier Jaramago Fernández +Date: Fri Oct 23 21:09:32 2020 +0200 + + Removed unnecessary indents in 'test_tokenizer-t' + +commit 4281d4cc3c9ff014c74e79c2d0338732b7d1c078 +Author: Javier Jaramago Fernández +Date: Fri Oct 23 21:09:04 2020 +0200 + + Added more cases to tokenizer test to test new space removal behavior + +commit d640a5c84385794642fb96675cdf206955bfb1c3 +Author: Javier Jaramago Fernández +Date: Fri Oct 23 21:07:40 2020 +0200 + + Space removal before closing bracket only takes place in case of leading '.' + +commit 3ab0054af982ba0af88c844cae8be2c10fd45335 +Author: René Cannaò +Date: Fri Oct 23 19:58:33 2020 +0200 + + Some code cleanup + +commit cc4d8f232c68aa3ea0f89e821d1e7cb112aee746 +Author: René Cannaò +Date: Fri Oct 23 16:09:02 2020 +0200 + + Some code cleanup + +commit 9dce0d728c2cdb8310a5907222890d72f7dca6dd +Author: Javier Jaramago Fernández +Date: Fri Oct 23 13:51:22 2020 +0200 + + Fixed typo mistaking supplied '_myds' for internal 'MySQL_Resulset::myds' + +commit bc2ba338189e03f285b052cb7b040c739ddb0597 +Author: Javier Jaramago Fernández +Date: Fri Oct 23 00:05:27 2020 +0200 + + Remove non present servers for prometheus 'connection_pool' gauge metrics + +commit b8220382d9bb32489e26cb82244da2e615111b8c +Merge: 43624ac6 d0b6c94a +Author: René Cannaò +Date: Fri Oct 23 11:17:01 2020 +0200 + + Merge pull request #3100 from sysown/v2.1.0-3088 + + Closes #3088: Added new json 'attributes' column to 'mysql_query_rules' table + +commit 43624ac63ee6475799ef6045c8f31b0a98c4f206 +Merge: 05a005f9 0a3bbd9c +Author: René Cannaò +Date: Fri Oct 23 11:16:23 2020 +0200 + + Merge pull request #3086 from sysown/v2.1.0-3083 + + Added new column 'attributes' to 'mysql_users' table + +commit 001351b88080dc1bf2c1bfd0ec78363576529bcf +Author: René Cannaò +Date: Thu Oct 22 16:45:07 2020 +0200 + + More changes in get_pkts_from_client() + +commit da43919b7776bc500ac8672bd99ed8fbf0b4693f +Author: René Cannaò +Date: Thu Oct 22 15:52:59 2020 +0200 + + Refactoring MySQL_Session::get_pkts_from_client() + +commit 8b5812f76930bdf90fc81cdc76687587e80da4fa +Author: René Cannaò +Date: Thu Oct 22 12:04:10 2020 +0200 + + Removed dead code from MySQL_Session + + * void handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_STMT_PREPARE(PtrSize_t *); + * void handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_STMT_EXECUTE(PtrSize_t *); + +commit f3ff10e9893607c2687648b909df22c8d4a8d43c +Author: René Cannaò +Date: Thu Oct 22 12:00:38 2020 +0200 + + Splitting MySQL_Session::get_pkts_from_client + + Adding functions: + * void handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_STMT_RESET(PtrSize_t&); + * void handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_STMT_CLOSE(PtrSize_t&); + +commit 3d2e5d1c51c0d7e7c5f2eb742da81b92180535b3 +Author: René Cannaò +Date: Wed Oct 21 17:15:46 2020 +0200 + + Allow to compile cityhash on arm64 + +commit 05a005f9fbe9e52e7c45747d2b9f682102621be8 +Author: Javier Jaramago Fernández +Date: Wed Oct 21 16:42:17 2020 +0200 + + Add support for syncing 'mysql-variables' and 'admin-variables' #2820 (#2856) + + * Added forgotten metric increase in case of 'sync conflict' on proxysql_servers + + * Added support for 'global_variables' sync in proxysql_cluster + + - Added several for getting the peers to be sync. + - Added function to pull the target 'global_variables' to sync. + - Added metrics for 'global_variables' sync: + + Number of syncs done / failed. + + Sync conflicts. + + Sync warnings. + + * Removed unnecesary escaping for '%' char + + * Fixed issue due to 'flush_mysql_variables___runtime_to_database' being called without proper locking + + * Added simple helper function to get the output from a command execution + + * Multiple changes to 'cluster_synct' test + + + Spawned proxysql instance now runs inside a docker container. + + Simplified launching and logging of spawned proxysql instance. + + Added more verbose logging about the tables state. + + Added new tests for 'global_variables' synchronization. + + * Commented several variables known to not-sync and fixed port for replica 'proxysql_server' + + * Removed deprecated and non-syncable variables from 'test_cluster_sync-t' + + * Added extra logging for variables sync for 'test_cluster_sync-t' + +commit b2e3ae42221aced1e20b418ccd27ccb05c34722d +Author: René Cannaò +Date: Tue Oct 20 23:52:25 2020 +0200 + + Splitting MySQL_Session::handler() + + To make it easier to read, MySQL_Session::handler() was split into multiple functions + +commit 9a24849244f9eed71ddb8433a48e500dc5762a9b +Author: Javier Jaramago Fernández +Date: Tue Oct 20 17:38:35 2020 +0200 + + Improved cluster 'pulled_mysql_' prometheus metrics naming and labelling + +commit 7c1fb6acd1c0b0a2afe51fb1a09d192c1864af36 +Author: René Cannaò +Date: Tue Oct 20 17:02:18 2020 +0200 + + Allow compiling without jemalloc + +commit dd04dc3da46a2cf625f4eb435c743818fab1be91 +Author: René Cannaò +Date: Tue Oct 20 16:45:38 2020 +0200 + + Do not increment mysql counter error when there is no error + +commit 6a56e02dd7d2e3acae3f765e516ea44852380305 +Author: Javier Jaramago Fernández +Date: Tue Oct 20 13:07:19 2020 +0200 + + Fixed typo in 'proxysql_cluster_syn_conflict_total' metric labels + +commit 2d60b06f553aaae4a6edbd508d14722d1e4c80e3 +Author: Javier Jaramago Fernández +Date: Mon Oct 19 23:17:23 2020 +0200 + + Improved several prometheus metrics labelling and simplified some non-grouping ones + +commit 0a3bbd9cbbf753ae1ed9c1b5dc5059782a4d0e6f +Author: Javier Jaramago Fernández +Date: Tue Oct 13 18:18:58 2020 +0200 + + Revert "Fixed double quotes escaping when saving 'attributes' to config file" + + This reverts commit ee6df8ffb2da5ed321bf79e5f7bad901249ffebd. + + This commit is no longer required due to a more generic impl + introduced by: '5637b31a6bd40987a383191b08d1a849df237a53' + in branch: v2.1.0-3088 + +commit d0b6c94a228d130571797f829f9a1984efc19523 +Author: Javier Jaramago Fernández +Date: Tue Oct 13 18:01:44 2020 +0200 + + Fixed 'mysql_query_rules' 'comment' field 'double quotes' surrounding in favor of 'single quotes' + +commit 5637b31a6bd40987a383191b08d1a849df237a53 +Author: Javier Jaramago Fernández +Date: Tue Oct 13 17:58:18 2020 +0200 + + Moved 'double quotes' escaping impl to 'addField' function + + - Now all the fields values escapes 'double quotes'. + +commit 15a414cf050b7bcdf2aa29e9b05c7c4623d2c572 +Author: Javier Jaramago Fernández +Date: Tue Oct 13 16:52:58 2020 +0200 + + Fixed double quotes escaping when saving 'mysql_query_rules' 'attributes' to config file + +commit ee6df8ffb2da5ed321bf79e5f7bad901249ffebd +Author: Javier Jaramago Fernández +Date: Tue Oct 13 15:54:55 2020 +0200 + + Fixed double quotes escaping when saving 'attributes' to config file + +commit b9cb21a241f3720c90fe296d42a489ebea3fc1ca +Author: Matthias Crauwels +Date: Thu Oct 8 11:28:16 2020 +0200 + + fix for #3095 (#3096) + +commit 062660a1fe617cc773a8b0f9631506461ae6551d +Merge: eb3e4545 59696118 +Author: René Cannaò +Date: Tue Oct 13 01:01:32 2020 +0200 + + Merge pull request #3099 from sysown/v2.1.0-3090 + + Closes #3090: Change 'prometheus' metrics names to better follow official naming conventions + +commit eb3e4545975a8d1528068f7c50d5cf977149c639 +Merge: 2d98ee08 7f8875c0 +Author: René Cannaò +Date: Tue Oct 13 00:50:29 2020 +0200 + + Merge pull request #3105 from sysown/v2.1.0-3104 + + Closes #3104: Added new shutdown phase 'UnloadPlugins' to fix GloWebInterface deinitialization + +commit 7f8875c0261a2daeec14235223d66b4e2aeda3c4 +Author: Javier Jaramago Fernández +Date: Mon Oct 12 21:01:45 2020 +0200 + + Added new shutdown phase 'UnloadPlugins' to fix GloWebInterface deinitialization + + - Added new function 'UnloadPlugins' to unload plugins that + require de-initialization. + - 'GloWebInterface' plugin is now stopped during this phase. + +commit 59696118de9125675294592e08442dab383e2623 +Author: Javier Jaramago Fernández +Date: Sun Oct 11 05:49:46 2020 +0200 + + Fixed comment typo in 'hg_metrics_map' + +commit f6e0e64f42f7694bcb46f43f9ea2c484e9af84c6 +Author: Javier Jaramago Fernández +Date: Sun Oct 11 05:42:02 2020 +0200 + + "Changed prometheus counter naming convention to include '_total' suffix" + + - Other metrics names has also be changed due to this global change. + +commit 84f4c96afa61f492455bf056bf4e010df0382302 +Author: Javier Jaramago Fernández +Date: Fri Oct 9 18:25:33 2020 +0200 + + Multiple changes to multiple metrics definitions + + - Labelling has been simplified to group metrics which + are part of a common group. + - Help has been fixed to reflect this labelling change. + - Doxygen doc and comment marks has been added to signal + metrics grouping. + +commit 622a7639204fdf1a0936582602fe8b5313158e9d +Author: Javier Jaramago Fernández +Date: Thu Oct 8 12:05:45 2020 +0200 + + Added new column 'attributes' to 'mysql_query_rules' table + +commit fd245fc5597ace6a96e367f13121d62419985878 +Author: Javier Jaramago Fernández +Date: Wed Oct 7 11:49:25 2020 +0200 + + Replaced invalid definition of counter 'st_var_hostgroup_locked' in favor of gauge + + This commit also add support for including more gauge metrics based on + 'MySQL_Thread_status_variables', using the same approach previously used + for the 'counter' metrics. + +commit 59bb71578559cc39d42befe0440101cff30d3425 +Author: Javier Jaramago Fernández +Date: Tue Oct 6 13:56:16 2020 +0200 + + Fixed counter increment when no conversion is provided to 'get_status_variables' + +commit ebedd5e37b7ecd2b97ec7fc4463497b36c8ded53 +Author: Javier Jaramago Fernández +Date: Mon Oct 5 18:28:27 2020 +0200 + + Several improvements to prometheus metrics definitions + + - Metrics now follow prometheus base unit convention. + - Many metrics now make use of labels instead of enconding + the info in the metric name. + - Almost all metrics now have a meaningful 'help' message. + +commit c73de1bdb14f9e50082a9b424428c4369d9a902d +Author: Javier Jaramago Fernández +Date: Wed Sep 30 11:00:44 2020 +0200 + + Changed new 'attributes' field for 'mysql_users' to VARCHAR + + The reason behind this change is to allow a default not + NULL value for the field. + +commit 7dc78b8ce0ad0863d0bfb78f570d4484a6efc294 +Author: Javier Jaramago Fernández +Date: Wed Sep 30 11:00:01 2020 +0200 + + Fixed placeholders for values in statements after 'COALESCE' removal + +commit b0c63d27335254cd6da35a77d450e949dbb3a7fa +Author: Javier Jaramago Fernández +Date: Tue Sep 29 10:22:40 2020 +0200 + + Added new attributes field to 'Write_MySQL_Users_to_configfile' + +commit 76ca8b1b5ba2342571a8a7bfd2b26f8412edcf25 +Author: Javier Jaramago Fernández +Date: Tue Sep 29 09:59:06 2020 +0200 + + Removed 'COALESCE' usage for 'mysql_users' due to inclusion of new field 'attributes' + +commit 61aa5275fed7996dc1e8ac5328fb257589b958b3 +Author: Javier Jaramago Fernández +Date: Tue Sep 29 09:30:24 2020 +0200 + + Removed added delete to non-existing field for 'ch_account_details_t' + +commit 2d98ee0872e43714e6614d8bfe8d12bb71899ed5 +Author: René Cannaò +Date: Tue Sep 29 00:35:08 2020 +0200 + + Make current and latest version accessible from outside + +commit a0a544ccdfd5e2ede97d94b871c903efa2e70b97 +Merge: dee23060 80e9b4c0 +Author: René Cannaò +Date: Mon Sep 28 22:39:36 2020 +0200 + + Merge pull request #3087 from sysown/v2.1.0-admin_web_verbosity + + Added new admin variable 'admin__web_verbosity" + +commit 80e9b4c0d8d51cf04f1603a8512fe773ad911586 +Author: Javier Jaramago Fernández +Date: Mon Sep 28 17:30:14 2020 +0200 + + Changed new variable name to 'admin___web_verbosity' for being compliant with current 'thread' naming convention + +commit dee23060321c266efb65f657124c8a7d3a5ec225 +Author: René Cannaò +Date: Fri Sep 25 14:26:39 2020 +0200 + + Uncomplete SSL connections cause infinite loops + + This could be reproduced for example using mysql client and only specifying a certificate but not a key + + mysql -h 127.0.0.1 -P6033 --ssl-cert=file.pem + +commit 42fa0f794507b2e438c45eabfe3b9d90b0334973 +Author: Javier Jaramago Fernández +Date: Fri Sep 25 18:49:19 2020 +0200 + + Added new column 'attributes' to 'mysql_users' table + +commit 8c7b70a9c5f2a9a8803e157f3a3dc26306ed967e +Author: Cal Heldenbrand +Date: Mon Sep 21 15:30:00 2020 -0500 + + Port diamond collector to RedHat 8 + +commit 576e735d14498077ea2fd174f52ff771d4ddca0a +Author: Javier Jaramago Fernández +Date: Thu Sep 24 23:29:06 2020 +0200 + + Added new variable 'web_verbosity' to control web verbosity + +commit 7415a059a5658c525f022a0965784af0e387f676 +Author: René Cannaò +Date: Mon Sep 21 18:09:22 2020 +0200 + + Removed global shared variables + +commit d503ffec34e193d0fdec7ae361067a468f588b05 +Author: Javier Jaramago Fernández +Date: Tue Jul 14 15:51:58 2020 +0200 + + Fix invalid passing of non-trivial object through variadic function + +commit 61459acfce6f45b59c747db2a7d2d63a6737a3cc +Merge: 22b0c906 fc72683f +Author: René Cannaò +Date: Mon Sep 21 17:44:36 2020 +0200 + + Merge pull request #3072 from sysown/v2.1.0-3000 + + V2.1.0 3000 + +commit fc72683fb4896cf451b45d4baee178e3eb618b08 +Author: René Cannaò +Date: Mon Sep 21 17:13:12 2020 +0200 + + Final fixes for savepoint tests + +commit fad663fad49a65816d0af781b82a997d7eea332f +Author: René Cannaò +Date: Mon Sep 21 01:00:44 2020 +0200 + + Fix savepoint test + +commit 64a3c95f5151cd504d3fcaec0ac7ead49d58bfa7 +Author: René Cannaò +Date: Mon Sep 21 00:24:07 2020 +0200 + + Updated savepoint test to use MyHGM_myconnpoll_get instead of MyHGM_myconnpoll_push + +commit aaddb4e568a43344cb9c354e95b4f66ec8ceeaba +Author: René Cannaò +Date: Sun Sep 20 23:08:38 2020 +0200 + + Port of #3001 to 2.1.0 , related to #3000 + + A client connection can use a backend connection with a session variable set by a different client + +commit c7edd93e6615fbbc2fddda1102e664f0f2a83d6d +Author: René Cannaò +Date: Fri Sep 18 23:04:45 2020 +0200 + + Update config.guess for libdaemon + +commit 22b0c9065bf33550baadee8ffdceea11a7a3a571 +Merge: b8161c7f fdff65da +Author: René Cannaò +Date: Fri Sep 18 19:54:15 2020 +0200 + + Merge pull request #3071 from sysown/v2.1.0-KillTrx + + Implementation of max_transaction_idle_time + +commit fdff65daea7f9fa93943bff22d17c87a3d1d348c +Author: René Cannaò +Date: Fri Sep 18 18:34:39 2020 +0200 + + Implementation of max_transaction_idle_time + + Former max_transaction_time is now renamed to max_transaction_idle_time. + mysql-max_transaction_idle_time defines the maximum time a transaction can stay idle. + mysql-max_transaction_time defines the maximum time of a transaction since its start. + +commit b8161c7fc4d1f045dd13508aa26ceda076872dd5 +Author: René Cannaò +Date: Fri Sep 18 13:18:08 2020 +0200 + + Allow compile on FreeBSD + +commit 732edfdb3d92da8c710b86915b3b7bfda624e7ee +Merge: 53524018 b4cecc65 +Author: René Cannaò +Date: Wed Sep 16 15:51:46 2020 +0200 + + Merge pull request #3067 from sysown/v2.1.0-from2014-3 + + V2.1.0 from2014 3 + +commit b4cecc650a30dafdd0c5dbfe21e7a1c7ca09b134 +Author: Javier Jaramago Fernández +Date: Thu Jun 18 17:58:20 2020 +0200 + + Updated 'set_testing-t.cpp' file from branch v2.0.13 + +commit 9e9bbb08b58e5ceb7ab1c10f570a1863d098b1da +Author: René Cannaò +Date: Fri May 29 22:18:02 2020 +0200 + + set_testing do not connect to admin at all + +commit db9bc88bb634d766c33f9431452ae8f0fac6466a +Author: René Cannaò +Date: Tue May 26 23:29:09 2020 +0200 + + Reverse mysql-enforce_autocommit_on_reads from set_testing-t + +commit e1f7931a467662eb27c7ef7a08c535b9bcebe16b +Author: Javier Jaramago Fernández +Date: Fri May 15 14:45:52 2020 +0200 + + Improved tests auxiliary variables definition and replaced hardcoded server values + +commit 755671f44401c84e33eac4b263e5a81fffa7825e +Author: René Cannaò +Date: Mon May 4 20:02:52 2020 +0200 + + LDAP plugin was incorrectly removed + +commit b17202f4795c3be38ed70c59374b5c0e9c0cdc9b +Author: Jeremy Tinley +Date: Fri May 15 08:17:21 2020 -0700 + + sysown/proxysql#2796: Fix systemctl start proxysql-initial and associated documentation in the proxysql.cnf file (#2797) + +commit 358806acf28c60b85e03b71572bdd5110a8c3762 +Author: Nick Vyzas +Date: Fri May 1 16:41:26 2020 +0300 + + Update README.md + +commit 778eb1da6fd493874dd4cbb83c9256a588fcca6f +Author: Nick Vyzas +Date: Fri May 1 04:12:35 2020 +0300 + + Adding package fixes for libgnutls deps + +commit d39e6ec5965a3d6a9611d88405e987d8771a2ef9 +Author: Nick Vyzas +Date: Thu Apr 30 23:05:42 2020 +0300 + + Updating readme regarding --initial + +commit 9f92d1b05f6e0dcd9490793cb5605e94356ad218 +Author: Nick Vyzas +Date: Thu Apr 30 22:43:32 2020 +0300 + + Adding `--idle-threads` as new default + + This will enable aux threads by default as per + https://github.com/sysown/proxysql/issues/2638 + +commit 83ca92a5cda21c9d2911a0343752f9905d7015e3 +Author: Nick Vyzas +Date: Thu Apr 30 22:21:57 2020 +0300 + + Adding service proxysql-initial + +commit 2d4b0a25ca203d9a46d57279624a1cc914e15203 +Author: Valentin Rakush +Date: Fri May 8 07:10:52 2020 +0000 + + Fix QPO timeout overflow + +commit c0d5428f19e6b13fa2855f1c0ceb2dd4619f2fa5 +Author: Nick Vyzas +Date: Thu Apr 30 19:32:50 2020 +0300 + + Port to 2.1.0: build changes and adding gnutls dep + +commit 5352401836965fabb1b51a5a84dd821bef868316 +Merge: 20736c21 cf85780f +Author: René Cannaò +Date: Wed Sep 16 02:56:39 2020 +0200 + + Merge pull request #3054 from sysown/v2.1.0-from2014-2 + + V2.1.0 from2014 2 + +commit cf85780f03b9600a38b1cb60ce1808cb64bfe011 +Author: René Cannaò +Date: Thu Jun 18 20:13:08 2020 +0200 + + set_testing-multi-t replaces spaces with "DO 1" + +commit 5a5750de9238c948bc5f816dd7621b7963716729 +Author: Javier Jaramago Fernández +Date: Thu Jun 18 17:57:35 2020 +0200 + + Fixed 'SQL_CHARACTER_SET_RESULTS' handling in 'fill_server_internal_session' and 'fill_client_internal_session' + +commit 5fd6baba656083b355ec3039eb992b2d8d6275b6 +Author: René Cannaò +Date: Mon Jun 1 18:50:24 2020 +0200 + + Removed commented code + +commit dd017bbaf5408839bee63170dc65850f33be7a26 +Author: René Cannaò +Date: Sat May 30 01:12:14 2020 +0200 + + Fix a bug related to SET autocommit=1 filtered + + If SET autocommit=1 was used to terminate a transaction, + proxysql wasn't executing it and the transaction was staying open. + +commit 47d3420662159d3ff42cda1cf3e3ae8bddc486a8 +Author: René Cannaò +Date: Fri May 29 21:48:21 2020 +0200 + + Change default of exit_after_SetParse + + In handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_QUERY_qpo() + Changing the default of exit_after_SetParse from false to true. + If a variable isn't parsed or it needs to be forwarded, exit_after_SetParse is set to false + +commit 032bc03b1f8c9a27d248350c4a1363796c4c5c0e +Author: Javier Jaramago Fernández +Date: Thu Jun 18 18:00:24 2020 +0200 + + Updated 'set_testing-t.csv' test file with new combinations of mutiple SET statements + +commit bff377f401b89a3b996f5ccd9772b0ae98855645 +Author: Nick Vyzas +Date: Mon Sep 7 23:54:09 2020 +0300 + + Removing additional logic for clickhouse builds (#3052) + +commit b8542075a70e63df45f51e148c50fc874da630e1 +Author: Nick Vyzas +Date: Mon Sep 7 23:32:13 2020 +0300 + + Merge clickhouse support into main packages (#3051) + +commit b64b6cdd7f86eda34458c5f4df92edf80c1f1aff +Author: Javier Jaramago Fernández +Date: Mon Sep 7 21:57:41 2020 +0200 + + Added check to only apply libmicrohttpd patch for OSX support under OSX + +commit f5e69626f07e2c530f48c913c05df37f77f7ac20 +Author: Nick Vyzas +Date: Mon Sep 7 20:09:19 2020 +0300 + + Finalizing changes for Ubuntu 20 package (#3048) + +commit 6d785dc103050082bb7c7a3486d5cf582ed024d6 +Author: René Cannaò +Date: Sun Sep 6 00:08:48 2020 +0200 + + Changed min max_connections for Aurora autodiscovery + + Changed minimum value from 1000 to 10 (very conservative) + See issue #3043 + +commit 3c00fe5bf78e728f8f7a74f593abdf9a06644fab +Author: René Cannaò +Date: Sat Sep 5 23:06:03 2020 +0200 + + Added further debugging in savepoint-948-t.cpp + +commit 507a68db29814eab4c0a3b0b2101329dec9f8265 +Author: René Cannaò +Date: Sat Sep 5 13:34:10 2020 +0200 + + Variable mysql-monitor_replication_lag_count + + Renamed variable mysql-monitor_replication_lag_retries to mysql-monitor_replication_lag_count to match other variables naming convention. + As it is a counter, it minimum value is changed to 1. + Maximum value sets to 10. + Use of thread storage variable mysql_thread___monitor_replication_lag_count instead of GloMTH->variables.monitor_replication_lag_retries to avoid dirty reads . + +commit a2727739e4ec08c84ee1a79b32f6a2e9eb25cd24 +Author: Javier Jaramago Fernández +Date: Sat Sep 5 02:50:02 2020 +0200 + + Added new variable 'mysql-monitor_replication_lag_retries' + + This new variable controls the number of retries that replication lag + needs to exceed 'max_replication_lag' in order to set a server SHUNNED. + +commit a7814d2bbad570170886d85ce17e1eaa6bd47100 +Author: René Cannaò +Date: Fri Sep 4 10:38:43 2020 +0200 + + Removed GR example in proxysql.cfg (see #3019) + +commit 2f1db3ab27bbfbde8915209aecf0e01fc9d00dbb +Author: Javier Jaramago Fernández +Date: Tue Sep 1 13:16:29 2020 +0200 + + Prevent accessing 'pa' object in 'admin_session_handler' after 'PROXYSQL STOP' command + +commit 31f0b7c5356ee37a3d54492d0d58b0db9cec3569 +Author: Javier Jaramago Fernández +Date: Mon Aug 31 18:41:43 2020 +0200 + + Fixed 'MySQL_Threads_Handler::listener_del' logic for SO_REUSEPORT + + `MySQL_Threads_Handler::listener_del` is not aware of `perthrsocks` array + used in `MySQL_Threads_Handler::listener_add`, because of this, isn't + able to properly track which descriptors are being used in each thread. + This patch makes the threads themselves responsible for closing the + descriptors that they are using for listeners. + +commit 962177c1ee1201222109dafd56e7494ee036e27d +Author: Javier Jaramago Fernández +Date: Sat Aug 29 20:40:22 2020 +0200 + + Added mutex locks for modifying threads 'shutdown' flag and added check for exiting 'MySQL_Thread::run' + +commit 9adfa6deba0eadcc2b74805301c0e4ef2593f576 +Author: René Cannaò +Date: Wed Aug 26 11:47:47 2020 +0200 + + Removing old PEM files + +commit 601809e6fd29812bed7eb23e09b671dfe59d3b10 +Author: Jim Riggs +Date: Tue Aug 25 16:00:31 2020 -0500 + + Log emergency check of shunned servers when no servers are available + + Issue #531 added "a desperate attempt to bring back online any shunned server" when no servers are available; however, no indication or notification of this is logged. Add a log message indicating that the hostgroup has no servers available and shunned hosts are being checked before the normal shun recovery time. + +commit 931ac80bf6feaf696adc65c5af8681d5d3c7d096 +Author: peter +Date: Wed Aug 19 23:48:32 2020 +0800 + + Fix a mem leak in flush_ldap_variables___database_to_runtime fun + + Fix a mem leak in flush_ldap_variables___database_to_runtime fun of ProxySQL_Admin class when call admindb->execute_statement function. + Because in the called function(admindb->execute_statement), the strdup--strdup(sqlite3_errmsg(db)) function is used to allocate memory to store the error message of the sqlite database operation failure. + +commit f45f72883e56ea50c62f471e5edcf4c43e6983df +Author: René Cannaò +Date: Mon Aug 17 13:50:13 2020 +0200 + + Minor fixes to PR 2955 + +commit 0177f26e64cbaeb62b1c416550a7ad9ee6a04038 +Author: Javier Jaramago Fernández +Date: Mon Aug 17 11:07:33 2020 +0200 + + Added 'libhttpserver' patches and modified Makefile to fix compilation for GCC 4.8 + +commit d9a0e26febeeaff2a880684be796c75ab366767f +Author: Javier Jaramago Fernández +Date: Wed Aug 5 01:40:56 2020 +0200 + + Added extra logging reporting 'ConnUsed' and 'ConnFree' for each server + +commit 698630c14c22d1f98f4e568eef411600b9185b6e +Author: Javier Jaramago Fernández +Date: Mon Jul 27 21:00:12 2020 +0200 + + Ported required variable forgetting logic from 'set_testing' + +commit 239b8e6a9ea2837f55a19de1e52dd0942b7cf096 +Author: Javier Jaramago Fernández +Date: Mon Jul 27 20:56:17 2020 +0200 + + Fixed 'session_track_gtids' check logic and failing tests exit code + +commit ebcc35d5b3532ed787f18e151749170bc3ff61f6 +Author: Javier Jaramago Fernández +Date: Fri Jul 24 11:01:50 2020 +0200 + + Avoid checking 'session_track_gtids' in 'set_testing' + +commit fa991397bdf0561bd80ce4deefb3f8f695bca39a +Author: Javier Jaramago Fernández +Date: Thu Jul 23 14:46:42 2020 +0200 + + Reverted buffer allocation and removed unnecessary newline character + +commit 5d5b810b3e5f6888f7ac24e08c2f6dea5f4ecd40 +Author: Javier Jaramago Fernández +Date: Thu Jul 23 10:09:01 2020 +0200 + + Zero initialize the 'uuid_server' array to avoid non-initialized warnings by Valgrind + +commit b105ec2d62b0f7971381a689de9816d7087652c5 +Author: Javier Jaramago Fernández +Date: Thu Jul 23 10:07:12 2020 +0200 + + Null terminate GTID string to be processed + +commit cdf4169572cc5c31a4654ad1a74b67da91c95b04 +Author: Javier Jaramago Fernández +Date: Mon Jul 20 15:57:39 2020 +0200 + + Test 'test_connection_annotation' now also takes into account 'ConnUsed' when counting new created connections + +commit 6d279e4aabbc10d241b7b228905297ec8d0afc22 +Author: Evgeniy Patlan +Date: Fri Feb 28 14:24:01 2020 +0200 + + Improve centos6 detection + +commit 20736c2143fdebdd0efe1b8e146312cf1e42afdb +Merge: 98d8dca5 f4dd3eb1 +Author: René Cannaò +Date: Fri Sep 4 09:43:25 2020 +0200 + + Merge pull request #2986 from JavierJF/v2.1.0-2963 + + Updated mariadb-client-library to version 3.1.9 + +commit 98d8dca5a5c80ad18c81b8d402b6e5a676218b0f +Author: Javier Jaramago Fernández +Date: Wed Sep 2 14:01:56 2020 +0200 + + Fixed uninitialized variables + +commit d980c9690dfad79c857d6a9547b3cee6d7dd91a7 +Author: Javier Jaramago Fernández +Date: Wed Sep 2 12:46:21 2020 +0200 + + Fixed 'INCLUDEDIRS' for tap tests Makefile to include 'EV_IDIR' + +commit dce513d3111cc52816727b4e6d02be00165f0dde +Merge: 67ec92ce 848ddb21 +Author: René Cannaò +Date: Thu Aug 27 12:11:16 2020 +0200 + + Merge pull request #3025 from sysown/v2.1.0-70061 + + V2.1.0 70061 + +commit 848ddb2177f2f8bf6edcda5d0d66e439bfd8314d +Author: René Cannaò +Date: Wed Aug 26 20:10:35 2020 +0200 + + Added variable mysql-connect_timeout_client + + This also fix bug #1132 + +commit 546980ce0046df59af8db8b8da52cd80b1fee27b +Author: René Cannaò +Date: Thu Aug 27 11:15:44 2020 +0200 + + Close killed connection also in idle thread + + Port of PR #3024 + +commit dc62139d46e9cfc763d41ddb737670daec3f6d4b +Author: René Cannaò +Date: Thu Aug 27 11:11:14 2020 +0200 + + Fixed some path in gitignore + +commit 329fbd5a93e9bce6f7f345393b760975f3fa4ea2 +Author: René Cannaò +Date: Thu Aug 27 10:44:38 2020 +0200 + + Updating .gitignore + +commit 67ec92ceb6377b8e1ed33cd266d9465dda779ee1 +Merge: 9dbee27d 208df329 +Author: René Cannaò +Date: Mon Aug 17 16:47:34 2020 +0200 + + Merge pull request #2975 from sysown/v2.1.0-galera_ci + + V2.1.0 galera ci + +commit 9dbee27d6ce96107c6fab29a78f83a8cd15f8158 +Merge: 3981e9ec 64280356 +Author: René Cannaò +Date: Mon Aug 17 16:31:42 2020 +0200 + + Merge pull request #2993 from sysown/v2.1.0-from2014 + + V2.1.0 from v2.0.14 + +commit 6428035695fce2571df4275aca64cc90aa76d344 +Author: René Cannaò +Date: Mon Aug 17 16:07:01 2020 +0200 + + Fixed a compiling issue + +commit 3981e9ec3cbee995089db6c9712db0731412e8b9 +Merge: b64bed92 00e9696d +Author: René Cannaò +Date: Mon Aug 17 16:01:57 2020 +0200 + + Merge pull request #2957 from sysown/v2.1.0-2916_2918_2919_2920_2921 + + Fixes #2916, #2918, #2919, #2920 and #2921 + +commit b64bed9253de8e2eaa5e15a21305ce3a292c0dc6 +Merge: 2ec09fbb 3d66b6f0 +Author: René Cannaò +Date: Mon Aug 17 15:10:55 2020 +0200 + + Merge pull request #3009 from sysown/v2.1.0-2991 + + V2.1.0 2991 + +commit 3d66b6f076729d7b1c1eba7f47159e97df848f20 +Author: Brian Fraser +Date: Thu Aug 6 18:57:40 2020 +0200 + + libmicrohttp: apply patch for upstream issue #5977 + + `Fix send() call (affects Mac OS X).` + + Allows compiling libmicrohttpd (and thus proxysql) in OSX + +commit edd5c11ba335ab29b776b9a6ec4c1c3c60a853bb +Author: Brian Fraser +Date: Thu Aug 6 16:56:17 2020 +0200 + + OSX: Statically link against libev, libinjection, and libhttpserver, and dynamically against gnutls + +commit b3733934df48976d78985da1970d6c28e8c96dfc +Author: Brian Fraser +Date: Thu Aug 6 12:45:14 2020 +0200 + + TCP_KEEPIDLE is not available everywhere (e.g. not in OSX) + +commit 2ec09fbb19a2864f534aa1fa2115c3e769cfb005 +Merge: 98eaaea9 06613a39 +Author: René Cannaò +Date: Mon Aug 17 12:45:31 2020 +0200 + + Merge pull request #2987 from sysown/v2.1.0-2965 + + Updated libraries 're2' to release '2020-07-06' and 'pcre' to version '8.44' + +commit 98eaaea9503d0379e933daced793026b338dfd25 +Author: Michael Jarvis +Date: Fri Aug 14 13:52:58 2020 -0500 + + Add ".vscode/" to .gitignore + + This will ignore preferences for the Microsoft VS Code text editor. + +commit 257b00ee1c1eb183852a2295758c50622f6c52bf +Merge: eeb0509a adbbcb2f +Author: René Cannaò +Date: Sun Aug 16 01:58:48 2020 +0200 + + Merge pull request #2988 from JavierJF/v2.1.0-2964 + + Updated libssl to version '1.1.1g' + +commit eeb0509a844378dd79d43c18100315a53e718ac7 +Merge: 45bb7639 ce24c3d6 +Author: René Cannaò +Date: Fri Aug 7 00:52:43 2020 +0200 + + Merge pull request #2995 from sysown/v2.1.0-shutdown + + Adding PROXYSQL SHUTDOWN SLOW + +commit ce24c3d6d45360dd1d7bad46d5009ed9f3d883a7 +Author: René Cannaò +Date: Thu Aug 6 23:30:52 2020 +0200 + + Adding PROXYSQL SHUTDOWN SLOW + + In 2.1 we are mapping the command PROXYSQL SHUTDOWN to PROXYSQL KILL = a very fast shutdown. + The legacy old PROXYSQL SHUTDOWN is now implemented as PROXYSQL SHUTDOWN SLOW + +commit 45bb763998bbe6582f44d6f645eb8da252e1fe13 +Merge: d722bbe6 a4285221 +Author: René Cannaò +Date: Thu Aug 6 21:47:52 2020 +0200 + + Merge pull request #2994 from sysown/v2.1.0-build + + Use python2 for libinjection + +commit a4285221ca232a18ce50b89b962fceca316addc5 +Author: René Cannaò +Date: Thu Aug 6 21:41:42 2020 +0200 + + Use python2 for libinjection + +commit 39bc767df2272b983b85b9b95803fcecb71f51a6 +Author: René Cannaò +Date: Thu Aug 6 20:40:28 2020 +0200 + + Completely remove ma_global.h from 2.1.0 + +commit 41b173a83c830e2425cceebd53aec39ba831ec4b +Author: Rene Cannao +Date: Sun Jul 19 23:34:46 2020 +0000 + + Fixing a lot of compiler warnings + +commit df5bf138e4b52aca42b3e49fbe39b9336c0e43f1 +Author: Rene Cannao +Date: Sun Jul 19 22:02:04 2020 +0000 + + Removed dependency from ma_global.h + + Closes #2959 + +commit f188821e4675800a8d5a7c32356414c36cae7f4b +Author: René Cannaò +Date: Sat Jul 18 01:16:38 2020 +0200 + + Updating examples on how to compile on FreeBSD + +commit 4ce385da962c8ac08558a721c42e3f65dde3b62e +Author: René Cannaò +Date: Sat Jul 18 00:57:27 2020 +0200 + + Various Makefile edit to run on FreeBSD + +commit 1be3a39a0c1f9fc78262515f097794f1430f2dc7 +Author: René Cannaò +Date: Fri Jul 17 02:27:56 2020 +0200 + + Upgrade libhttpserver to 0.18.1 + +commit abda49c57cf6a49af8c5e1fd77e7dd9541af7f44 +Author: René Cannaò +Date: Fri Jul 17 01:43:30 2020 +0200 + + Use thread_id() instead of pthread_self() + +commit 4b3cfe75c936c39736e8b562dfda5a01778b2265 +Author: Nick Vyzas +Date: Tue Jul 14 18:19:16 2020 +0300 + + Fixed invalid path for logrotate + + reported in https://github.com/sysown/proxysql/issues/2830 + +commit 3ad738a0d8068c74267f2ade44c9854c3a20fab6 +Author: René Cannaò +Date: Sat Jul 11 04:21:00 2020 +0200 + + Update charset variables from runtime + +commit e33ee7a06321817aef25170f6eb1a186a27c3a5b +Author: René Cannaò +Date: Fri Jul 10 16:08:36 2020 +0200 + + Version check run daily and not just at startup + +commit 449f4eb65917d8939bf2e91cbf11684f475cee23 +Author: René Cannaò +Date: Wed Jul 8 16:39:33 2020 +0200 + + Adding debug_filters + +commit 9f02f4800c25511b15c66fb01e8b377060df670f +Author: René Cannaò +Date: Sat Jul 18 12:48:32 2020 +0200 + + Never reset a connection with client error code + +commit f4dd3eb17e830d39222d64c1272b1b5ea8807901 +Author: Javier Jaramago Fernández +Date: Tue Aug 4 19:20:04 2020 +0200 + + Added missing line at end-of-file + +commit 9503b92d36cbe9eedefdfbab774164640fa597cf +Author: Javier Jaramago Fernández +Date: Tue Aug 4 19:17:57 2020 +0200 + + Added simple test for checking GTID forwarding to client + +commit 208df329ea35f47c497df4cd7187131a98ef5b8a +Author: René Cannaò +Date: Fri Jul 24 00:49:49 2020 +0200 + + Improvements to test Galera with SQLite3 Server + +commit f00346001cfcd7a2dfc751db37b573e2236575fc +Author: Javier Jaramago Fernández +Date: Wed Jul 22 10:09:31 2020 +0200 + + Updated mariadb-client-library to version 3.1.9 + +commit adbbcb2fbdc5766ad71ea4ba3d26b4b1b9ad9289 +Author: Javier Jaramago Fernández +Date: Wed Jul 22 10:12:52 2020 +0200 + + Updated libssl to version '1.1.1g' + +commit 06613a39c2dc61856c0437bf76db8a79e2935522 +Author: Javier Jaramago Fernández +Date: Wed Jul 22 10:43:43 2020 +0200 + + Fixed compilation using fully qualified names for std::string + + This was required because 're2' library previously imported + 'std::string' into global namespace in the 're2.h' header. + +commit 00ab07bf765a4fa632ae3e65e56835fb42b7aa4d +Author: Javier Jaramago Fernández +Date: Wed Jul 22 10:40:09 2020 +0200 + + Updated 're2' regex library to release '2020-07-06' + +commit 423930b4121196ea9c2078035b081a226b7ac75a +Author: Javier Jaramago Fernández +Date: Wed Jul 22 10:37:26 2020 +0200 + + Updated 'pcre' library version to '8.44' + +commit 4b6eb1f509584e1ccbc48dd12a2ec0220a9201f8 +Author: René Cannaò +Date: Mon Jul 20 13:17:55 2020 +0200 + + Allow to compile tap tests for Galera + +commit 00e9696dd3fd0e022be2084a340369a355c9321c +Author: Javier Jaramago Fernández +Date: Thu Jul 2 10:44:54 2020 +0200 + + Added documentation for the new extra logic introduced for 'PROXYSQL STOP' and 'PROXYSQL START' + +commit a6b95a3344498e70207b4a03fb4fb0a3ee3a3fc6 +Author: Javier Jaramago Fernández +Date: Wed Jul 1 22:10:35 2020 +0200 + + Fixes #2920: Improved logic for 'PROXYSQL STOP' and 'PROXYSQL START' + + - Added new logic for making both commands actually wait + for the completion of the operations they started. + - Now "PROXYSQL STOP" command sends and OK packet to the + client on completion. + +commit 543f2ce8b601b51cc2b625f633bb9795c7a62aa8 +Author: Javier Jaramago Fernández +Date: Wed Jul 1 22:08:57 2020 +0200 + + Fixes #2921: Prevent 'child_mysql' to access 'GloMTH' if it's already de-initialized + +commit 72ee8586ee12277f9293aeddb68ccf6f34c6a68f +Author: Javier Jaramago Fernández +Date: Wed Jul 1 18:33:45 2020 +0200 + + Fixes #2919: Access to GloMTH from 'refresh_variables' and it's destruction is now mutex protected + +commit c415cb449f7eb07b14cf1828ca9d06aaff8de41b +Author: Javier Jaramago Fernández +Date: Wed Jul 1 18:02:23 2020 +0200 + + Fixes #2918: Worker needs to be nullified after being deleted, otherwise freed memory will be accessed later + +commit 386a8929db429fffea984e395bebb1d5ac85a700 +Author: Javier Jaramago Fernández +Date: Wed Jul 1 17:23:51 2020 +0200 + + Fixes #2916: 'admindb' is now replaced if current one doesn't match the one in the static object + +commit d722bbe62a9d67c86010cd934af0bba8ef150f8b +Merge: 53dab4a1 16ef9472 +Author: René Cannaò +Date: Fri Jul 10 12:29:13 2020 +0200 + + Merge pull request #2944 from sysown/v2.1.0-2711 + + Re-enable PXC node after pxc_maint_mode is DISABLED #2711 + +commit 53dab4a139f1f1b8ac4b805d853f11ac9eb625f2 +Merge: 1f174f62 33d8db02 +Author: René Cannaò +Date: Fri Jul 10 11:56:43 2020 +0200 + + Merge pull request #2941 from sysown/v2.1.0-200710 + + V2.1.0 200710 + +commit 33d8db02a6aef1cacb4a4c8b0e7e4a4f0bd0680f +Author: René Cannaò +Date: Thu Jul 9 23:45:03 2020 +0200 + + Change the mapping logic for SESSION_TRACK_GTIDS + + Changing the mapping logic in SESSION_TRACK_GTIDS in frontend and backend connections. + + Up to now, frontend and backend `SESSION_TRACK_GTIDSs match. + This is now changed: + * backend connections are by default set to `mysql-default_session_track_gtids` + * if `mysql-default_session_track_gtids=OFF` (the default) , `session_track_gtids` is not changed on backend + * if the client asks for `session_track_gtids=OFF` , proxysql ignores it (it just acknowledge it) + * if the client asks for `session_track_gtids=OWN_GTID` , proxysql will apply it + * if the client asks for `session_track_gtids=ALL_GTIDS` , proxysql will switch to OWN_GTID and generate a warning + * if the backend doesn't support `session_track_gtids` (for example in MySQL 5.5 and MySQL 5.6), proxysql won't apply it. It knows checking server capabilities + + This commit also deprecates function `MySQL_Session::handler_again___verify_backend__generic_variable()` + + ProxySQL is now also able to know when proxysql binlog reader is perhaps in use tracking all gtid_port in mysql_servers. + This feature in future will be used to deprecate `mysql-default_session_track_gtids` + +commit 6b4d576e6af252c542a8bfe20424fba3ab4b6564 +Author: René Cannaò +Date: Wed Jul 8 11:13:28 2020 +0200 + + Adding some internal comment + +commit d9a85dfc7a02842ddb556d05712e63ecba1f3c1d +Author: René Cannaò +Date: Fri Jul 3 18:37:04 2020 +0200 + + Input validation for mysql-default_session_track_gtids + + default_session_track_gtids allows only two values: OFF or OWN_GTID + +commit 61bca42ef3f61593533f171dd40d7ac85808c151 +Author: René Cannaò +Date: Wed Jul 8 19:05:55 2020 +0200 + + Adding charset debugging + +commit 2ade734571a65dcee63d41ddedf7412114aa3962 +Author: Felipe Zipitria +Date: Fri Jun 19 08:39:10 2020 -0300 + + fix(version): update copyright year + + Signed-off-by: Felipe Zipitria + +commit a0fc25fd8a82bec59f32aeb336b64e84ad98e64c +Author: René Cannaò +Date: Thu Jul 9 00:06:22 2020 +0200 + + Change DSS to STATE_MARIADB_GENERIC after async_change_user() + +commit 847b6975ec80d178c2ddb68e61d1355a2bf3be04 +Author: Juan Manuel Fernández García-Minguillán +Date: Tue Jun 30 16:09:49 2020 +0200 + + Initialize interr variable in galera monitor + + If isn't possible create a MySQL connection in the galera monitor + the code jump to __exit_monitor_galera_thread label, bypassing the + interr initialization. + +commit 1f174f629c50a528d7160d99b4bf9d2096d39d0a +Merge: f69dde3a cfb3a373 +Author: René Cannaò +Date: Fri Jul 10 00:07:56 2020 +0200 + + Merge pull request #2926 from sysown/v2.1.0-2872 + + V2.1.0 2872 + +commit cfb3a37320ecb15bb7dd48727157cf020808cd48 +Author: Javier Jaramago Fernández +Date: Thu Jul 2 13:02:13 2020 +0200 + + Improved set_testing logic and added new tests cases to 'set_testing-t.csv' + + - Improved 'set_testing-t.cpp' logic, allowing it to forget variables + which track will be lost after certain operations. + +commit 01b7f3f826685251905b15246257a67defb6d63e +Author: Javier Jaramago Fernández +Date: Thu Jul 2 13:00:17 2020 +0200 + + Fixes #2872: Regular expression should allow charsets with and without simple commas + +commit f69dde3a32d2fa5b5787988b3e0620563dd339fe +Author: Javier Jaramago Fernández +Date: Mon Jun 22 19:15:18 2020 +0200 + + Fixed ok(...) checks and types for variable printing + +commit e798c07ba70cf1e9de65ebd9f1a1c444f9e473a2 +Merge: f0c3cfb5 9c115f8d +Author: René Cannaò +Date: Fri Jun 19 11:15:42 2020 +0200 + + Merge pull request #2886 from sysown/v2.1.0-cherrypicks_2.0.13_2 + + V2.1.0 cherrypicks 2.0.13 2 + +commit f0c3cfb541e10f326a376e01c6fbd8ddceae8df2 +Merge: 5fb64cb1 c1caa03c +Author: René Cannaò +Date: Fri Jun 19 03:10:12 2020 +0200 + + Merge pull request #2896 from sysown/v2.0.13-duplicated_variables_for_2.1.0_2 + + V2.0.13 duplicated variables for 2.1.0 + +commit c1caa03c5a1f51a08991de9d4c14f733447e45d7 +Author: René Cannaò +Date: Fri Jun 19 02:32:47 2020 +0200 + + Fix duplicated declaration in test + +commit 62066a47434345b3444342a568d41d22876f68f6 +Author: René Cannaò +Date: Fri Jun 19 02:13:36 2020 +0200 + + Fix in mysql_tracked_variables[] + +commit 9c115f8db8b994b87eb43d3aeaa694380a202016 +Merge: b9645b39 5fb64cb1 +Author: René Cannaò +Date: Fri Jun 19 00:22:16 2020 +0200 + + Merge branch 'v2.1.0' into v2.1.0-cherrypicks_2.0.13_2 + +commit 5fb64cb182debfeb5aee383bcd2920868b1c21a6 +Merge: 5ce13abc a6dc6001 +Author: René Cannaò +Date: Fri Jun 19 00:21:24 2020 +0200 + + Merge pull request #2891 from sysown/v2.1.0-2854 + + Allow mysqlsh to connect to Admin #2854 + +commit b9645b39dce4cd0aebae568df528171f999ed0be +Merge: 28e4a59b 5ce13abc +Author: René Cannaò +Date: Thu Jun 18 23:14:48 2020 +0200 + + Merge branch 'v2.1.0' into v2.1.0-cherrypicks_2.0.13_2 + +commit 16ef9472f8ab8bbce85b34c5a3e79b724d8fdf01 +Author: René Cannaò +Date: Mon Jun 15 17:11:58 2020 +0200 + + Re-enable PXC node after pxc_maint_mode is DISABLED #2711 + + This commit also add `port` in various ORDER BY + +commit 9b52176e908157499dc18171988374b292cb65e1 +Author: René Cannaò +Date: Mon Jun 15 00:49:05 2020 +0200 + + set_testing_multi doesn't check sql_log_bin + +commit e2bf5d87a3f515c95d1bce8e7dbf098dd41fb376 +Author: René Cannaò +Date: Sun Jun 14 23:00:25 2020 +0200 + + Adding set_testing_multi to support multiple users + +commit 88f85df0ecc4b1aa9ed21509a419f098b1cb22b8 +Author: René Cannaò +Date: Wed Jun 10 04:29:26 2020 +0200 + + Revert "Minor commit to speed up test. To revert later" + + This reverts commit bfc2ba8ba4efca9f3f33e9dad7c1d25eaf3ff7df. + +commit 395898346d0a6a6fc1a926fd7768d2a8b03a899b +Author: René Cannaò +Date: Wed Jun 10 04:29:18 2020 +0200 + + Revert "2nd minor commit to speed up test. To revert later" + + This reverts commit 93f978729e19b147e1d7809da1b6942028b9ef20. + +commit a1572201296ed94ed7c21625a239bb8f559eca20 +Author: René Cannaò +Date: Wed Jun 10 04:29:12 2020 +0200 + + Revert "3rd minor commit to speed up test. To revert later" + + This reverts commit 097c9a779cf99dbcc2430d94f04290512ba032fe. + +commit fe503cfcaed93e13d0325661bf5e62b3cce32a20 +Author: René Cannaò +Date: Wed Jun 10 03:38:58 2020 +0200 + + Modify validate_charset to ignore unset variables + +commit b1ed1f57e4d5882f790acdd3b929210c55fdc439 +Author: René Cannaò +Date: Wed Jun 10 02:37:21 2020 +0200 + + Disable some valgrind warning related to RE2 + +commit dcfa06566dc944ac82819a5a89969f0cec5d7620 +Author: René Cannaò +Date: Wed Jun 10 01:42:19 2020 +0200 + + Disable some valgrind warning related to RE2 + +commit 1bca0a30bf5fccf412a89e675b7154fe4a1447f5 +Author: René Cannaò +Date: Wed Jun 10 01:35:03 2020 +0200 + + Revert "Attempt to fix some valgrind errors" + + This reverts commit 62fa7e5bbc7422d16a44539c3475724765dc4f9c. + +commit 7ffe8209e685963276c04492c7ca25c66047c85a +Author: René Cannaò +Date: Wed Jun 10 00:59:51 2020 +0200 + + Attempt to fix some valgrind errors + +commit ec1f234094c6bb2e472bf098f960da31cf435425 +Author: René Cannaò +Date: Tue Jun 9 23:46:27 2020 +0200 + + 3rd minor commit to speed up test. To revert later + +commit 2deeb3e73478e80fe1b81110dbe9e9e988569006 +Author: René Cannaò +Date: Tue Jun 9 23:23:15 2020 +0200 + + 2nd minor commit to speed up test. To revert later + +commit b9171ba6aad8b3e1107d3a208ad091c2d485653c +Author: René Cannaò +Date: Tue Jun 9 23:14:20 2020 +0200 + + Tune mysql-default_collation_connection if mysql-default_charset is changed. + + If mysql-default_charset is changed but mysql-default_collation_connection it is not, + use mysql-default_charset to tune mysql-default_collation_connection. + +commit 4b0424f5e8c6706ce912db0b5f844aedd38dfbf3 +Author: René Cannaò +Date: Tue Jun 9 22:48:01 2020 +0200 + + Minor commit to speed up test. To revert later + +commit 4748c7d05281f7a19080433b97cca14df2005ed7 +Author: René Cannaò +Date: Tue Jun 9 20:16:45 2020 +0200 + + Various bug fixes related to deprecated mysql-default_ variables + + Extended `mysql_variable_st` to add a new variable `is_global_variable`. + Using this variable we define the global variables. + Modified `mysql_tracked_variables[]` to also specify `is_global_variable`. + + Removed `default_charset` from `MySQL_Threads_Handler::variables` to use `mysql_tracked_variables[]` instead. + Removed `default_charset` also from `mysql_thread_variables_names[]`. + + Fixed `MySQL_Threads_Handler::get_variable_string()` : it was *not* returning `mysql-default_` variables. + + `MySQL_Threads_Handler::set_variable()` adds `mysql-default_` variables only if `is_global_variable` is set. + In `MySQL_Threads_Handler::set_variable()` replaced a `strcasecmp()` with `strcmp()` for `mysql-default_` variables. + + `MySQL_Threads_Handler::get_variables_list()` returns only `mysql-default_` variables with `is_global_variable` enabled. + + `MySQL_Threads_Handler::has_variable()` for `mysql-default_` variables returns true only if variable has `is_global_variable` enabled. + + `MySQL_Thread::refresh_variables()` does not refresh `mysql-default_` variables if `is_global_variable` is not enabled. + + `MySQL_Thread::MySQL_Thread()` initializes to NULL all `mysql_thread___default_variables[]` variables. + + Completely disabled in `ProxySQL_Admin::flush_mysql_variables___database_to_runtime()` the logic applied to all charset variables. + In the same methos was implemented the logic described in #1785 : + `mysql-default_charset` and `mysql-default_collation_connection` must be compatible: + * if only one is present, the other is configured automatically + * if not compatible, `mysql-default_charset` is configured from `mysql-default_collation_connection` + +commit a6dc6001437a506e55e5cfc9c6585c57347a03fb +Merge: 3c18d62c 5ce13abc +Author: Javier Jaramago Fernández +Date: Mon Jun 15 17:43:08 2020 +0200 + + Merge branch 'v2.1.0' of github.com:sysown/proxysql into v2.1.0-2854 + +commit 3c18d62c5e9d672d2226fc4e049f0a67f9fbb95c +Author: Javier Jaramago Fernández +Date: Mon Jun 15 17:40:20 2020 +0200 + + Added test for the new added commands for 'mysqlsh' + +commit cc3bbfc759efda123d694226a360fb2097a6ece0 +Author: Javier Jaramago Fernández +Date: Mon Jun 15 17:34:09 2020 +0200 + + Added new command in 'Admin Module' used by 'mysqlsh' when starting in '--sql' mode + +commit 18a7d2b1812428b62f451a2338811101d4254c4c +Author: Javier Jaramago Fernández +Date: Mon Jun 15 17:33:28 2020 +0200 + + Supported new command in 'Admin Module' used by 'mysqlsh' during connection + +commit 5ce13abc3669697762103574b69224060502bd56 +Merge: d79ddad0 28fa6fa2 +Author: René Cannaò +Date: Sun Jun 14 23:20:55 2020 +0200 + + Merge pull request #2881 from sysown/v2.1.0-2717 + + Refactored MySQL_Connection setter/getter functions functions for 'status_flags' #2717 + +commit 28e4a59b0b57ed060c1539d327748521fac22239 +Author: Javier Jaramago Fernández +Date: Fri Jun 12 14:31:07 2020 +0200 + + Added test for new annotation 'create_new_connection' + +commit e7b69bc2698de3e0ef1e76767d089b8ad2ff64ff +Author: Javier Jaramago Fernández +Date: Tue Jun 9 18:18:17 2020 +0200 + + Added extra info from 'QueryProcessor' to 'internal_session_info' + +commit 66478b89ee4e2b9bbc95852c2c2ce1417dee31e0 +Author: Javier Jaramago Fernández +Date: Tue Jun 9 18:17:25 2020 +0200 + + Added new stat 'new_req_conns_count' counting the num of 'create_new_connection' recieved + +commit 4409044398062eaf0570749c87701ab623dea63e +Author: Javier Jaramago Fernández +Date: Tue Jun 9 18:14:30 2020 +0200 + + Added support for annotation 'create_new_connection' that prevents reusing backend connections + +commit 28fa6fa241f675c25844c4b51e65808eb0c8dddd +Author: Javier Jaramago Fernández +Date: Sat Jun 13 10:48:09 2020 +0200 + + Added backend connections field check to avoid asserts in case of errors + +commit 2aef129325b73614916204e47ba35bd995623863 +Author: Javier Jaramago Fernández +Date: Sat Jun 13 01:20:43 2020 +0200 + + Added checks to verify information contained in 'backends' before trying to access it + +commit 1f958489cee6e16736ede7d16f3b3d1b5c4e4fae +Author: Javier Jaramago Fernández +Date: Fri Jun 12 19:06:49 2020 +0200 + + Removed unused code and added missing return with 'exit_status()' + +commit 9eda5a6d0a9544f4a2f393dab15d499eb7cee76f +Author: Javier Jaramago Fernández +Date: Fri Jun 12 19:04:17 2020 +0200 + + Removed 'sql_log_bin0' from 'conn.status' because it's a session variable and added 'compression' + +commit d79ddad00bcad762bef858a78290aa9f3007b945 +Merge: 3d74ef48 7b82a377 +Author: René Cannaò +Date: Fri Jun 12 12:10:14 2020 +0200 + + Merge pull request #2844 from sysown/v2.1.0-cherrypicks_2.0.13 + + V2.1.0 cherrypicks 2.0.13 + +commit 3d74ef4828dfdfd5d75a0f2b523cba1fbde96f6d +Merge: 877ec6d0 5e2f4995 +Author: René Cannaò +Date: Fri Jun 12 12:09:43 2020 +0200 + + Merge pull request #2882 from sysown/v2.1.0-2862 + + Port PR 2829 to 2.1.0 #2862 + +commit 996060bc7c342b41b20cffe13f6b314bdab1a2ba +Author: Javier Jaramago Fernández +Date: Fri Jun 12 10:24:33 2020 +0200 + + Added test file for testing the behavior of 'MySQL_Session::status_flag' to the different operations should modify it + +commit d10f519e4a62c3362753e8ac389f8536d5df7be6 +Author: Javier Jaramago Fernández +Date: Fri Jun 12 10:14:43 2020 +0200 + + Refactored 'MySQL_Session' set/get status functions + + - Added extra doc about the 'status_flags' and 'server_status'. + - Added 'sql_log_bin0' and 'prepared_statement' to the 'conn.status' + from PROXYSQL SESSION INFO. + +commit 877ec6d07ac4411bd0502b46cd85a8181d295769 +Merge: ac4585be 8fafa663 +Author: René Cannaò +Date: Tue Jun 9 20:30:18 2020 +0200 + + Merge pull request #2869 from sysown/v2.1.0-2714 + + Closes #2714: Unused variables from MySQL_Connection() + +commit 5e2f499581a8793b84ec9080d64abf81bfd618aa +Author: René Cannaò +Date: Wed May 27 19:15:52 2020 +0200 + + Remove extra debugging + +commit d5477a49df5f3e11f5b8ef657deb5192e50a2be1 +Author: René Cannaò +Date: Wed May 27 04:50:43 2020 +0200 + + Make the comparison on savepoint less strict #948 + + This is a temporary workaround until we fix an autocommit bug + +commit b89c512d4449b3de024c7784c9d4e33c029abc8b +Author: René Cannaò +Date: Wed May 27 03:22:17 2020 +0200 + + Disable routing in savepoint-948-t test + +commit 00ce76e57eeb6599c4491a8205807c2136da36d6 +Author: René Cannaò +Date: Tue May 26 22:36:11 2020 +0200 + + Add support for SAVEPOINT #948 + +commit 8fafa663365950c5984fba583ff9f1bebed8a087 +Author: Javier Jaramago Fernández +Date: Mon Jun 8 18:34:52 2020 +0200 + + Removed unused variables from 'MySQL_Connection()' + +commit 7b82a3774a89cf4992818c10425b22b89c7a16ac +Author: Javier Jaramago Fernández +Date: Mon Jun 8 18:17:19 2020 +0200 + + Set 'with_gtid' flag each time a GITD is going to be used + +commit ac4585be5aad84ed6075ca7e82c100e2c8db8269 +Merge: 211a051e cbf11dfc +Author: René Cannaò +Date: Sun Jun 7 22:39:46 2020 +0200 + + Merge pull request #2846 from sysown/v2.1.0-2834 + + Fixes #2834: Segfault due to invalid access to threads during startup / shutdown + +commit 211a051ed2c2c40a9c9b0b21b0b288efe83a2195 +Merge: bc0963e3 adaca60c +Author: René Cannaò +Date: Sun Jun 7 22:39:36 2020 +0200 + + Merge pull request #2851 from sysown/v2.1.0-2850 + + Fixes #2850: Segfaults due to access to 'GloMyLogger' and 'GloMTH' when already deinitialized + +commit f384a9225efdcf4530816138dd9691e69cf8688d +Author: René Cannaò +Date: Sun Jun 7 22:35:47 2020 +0200 + + Prevent crash if CHARACTER_SET_CONNECTION is not initialized yet #2863 + +commit adaca60c1fcdc6d7de753a85e9b996b47caddead +Author: Javier Jaramago Fernández +Date: Sat May 30 10:55:58 2020 +0200 + + Fixes segfault related to accesses to 'GloMyLogger' and 'GloMTH' when are already deinitialized + +commit cbf11dfcff93993cca5f3ce6719f0a7eb48eb8d4 +Author: Javier Jaramago Fernández +Date: Sat May 30 10:23:54 2020 +0200 + + Fix crashes related to accesses to worker threads during initialization / shutdown stages + +commit bc0963e3f4b934c47431b9be023ce96fe2ade4dd +Merge: 28bfb8ba 55264de6 +Author: René Cannaò +Date: Sat May 30 01:16:38 2020 +0200 + + Merge pull request #2833 from sysown/v2.1.0-2687 + + Sync support for 'mysql_galera_hostgroups', 'mysql_group_replication_hostgroups' and 'mysql_aws_aurora_hostgroups' #2687 + +commit 416260ab53414d53d4e697916fb196e8c8aa909e +Author: René Cannaò +Date: Fri May 29 13:14:28 2020 +0200 + + Ignore last semicolon from SET statements #2838 + +commit a3767fa39ec127234fd0e12fe8bde34519077a4a +Author: noother +Date: Thu May 28 16:06:12 2020 +0200 + + fix unquoted table name leading to sql errors + +commit 55264de6643877a35e05c26221f2a08ae0ae165e +Author: René Cannaò +Date: Fri May 29 20:10:09 2020 +0200 + + Fix invalid free + +commit d23254f41f09df6a3f9ba3c65032766b9bc003b2 +Author: Javier Jaramago Fernández +Date: Fri May 29 16:16:52 2020 +0200 + + Path for the 'datadir' field for cluster proxysql instance is now getted from a env variable + +commit 5a7e5e64199707b9dcbc6fa13b011b6af71a774e +Author: Javier Jaramago Fernández +Date: Fri May 29 13:43:32 2020 +0200 + + Modified path for launching second proxysql instance to be relative to tests dir + +commit ee5ffd87d028733837559c986a85e235831e9c7d +Author: Javier Jaramago Fernández +Date: Fri May 29 10:58:31 2020 +0200 + + Fixed paths for 'test_cluster' and other improvements + +commit 93509e0bfefaeafdd1c60cbc4d67d63ca25d7b50 +Author: Javier Jaramago Fernández +Date: Fri May 29 10:56:22 2020 +0200 + + Cleaned unused variables from tests utils + +commit bec17564b9a167273c6798fce435f6dd1eac489e +Author: Javier Jaramago Fernández +Date: Wed May 27 18:55:15 2020 +0200 + + Fixed 'ok()' test message for 'mysql_aws_aurora_hostgroups' + +commit 98a677d4afbcb3a59fd08f7b8d478f1803b7b96f +Author: Javier Jaramago Fernández +Date: Wed May 27 18:53:16 2020 +0200 + + Added extra per-table log for mysql_servers checksum generation + +commit 319630c54a40c7b3c654a004d8ccfbe0ee16025d +Author: Javier Jaramago Fernández +Date: Wed May 27 18:30:06 2020 +0200 + + Improved cluster sync test with cases for NULL comments + +commit 02d74d0d1a070e5dcf18084a29c18092c6ab44b8 +Author: Javier Jaramago Fernández +Date: Wed May 27 18:28:00 2020 +0200 + + Reworked cluster sync impl properly handling NULL values for comments + +commit d3a5dae3218e05ea1bbba144c0686747eecdbbc2 +Author: Javier Jaramago Fernández +Date: Wed May 27 18:26:59 2020 +0200 + + Removed unused variable from proposed timeout based loging + +commit a43df98c98f5f19af36392b88e989976cbdfdc95 +Author: Javier Jaramago Fernández +Date: Wed May 27 11:08:11 2020 +0200 + + Re-enabled section of the test for spawning proxysql-instance and test cluster replication + +commit b11e2431f1938b0a0d1d8d1f88881595f69ff959 +Author: Javier Jaramago Fernández +Date: Wed May 27 11:07:08 2020 +0200 + + Removed no longer required helper function + +commit 047bdc6b727267ea9ab1664cc0a6b5f80e1d6a9c +Author: Javier Jaramago Fernández +Date: Wed May 27 10:26:36 2020 +0200 + + Removed introduced helper function 'proxy_info_' and macros in favor of old 'proxy_info' + +commit 486a12e2aef6a01db71c5030cbba01e7506b6f65 +Author: Javier Jaramago Fernández +Date: Wed May 27 10:25:32 2020 +0200 + + Added new metrics for the 'wont sync' conditions and fixed some other metrics descriptions + +commit a213cf8cd786982f9c72678845d2d002a6762538 +Author: Javier Jaramago Fernández +Date: Wed May 27 10:21:15 2020 +0200 + + Added new logging messages for same epoch 'WONT SYNC' conflict using 'diff_check' for intervals + +commit 28bfb8baee7ac74aaab9dee8aa95133a6ca741d6 +Merge: df8f9ac5 1c0bd256 +Author: René Cannaò +Date: Wed May 27 03:30:24 2020 +0200 + + Merge pull request #2828 from sysown/v2.1.0-review2698 + + V2.1.0 review2698 + +commit df8f9ac5f6ed9b6786867cff7914f8774752e63f +Merge: 9929a2ba 5f030ee0 +Author: René Cannaò +Date: Wed May 27 02:44:47 2020 +0200 + + Merge branch 'v2.1.0' of https://github.com/sysown/proxysql into v2.1.0 + +commit 9929a2bae18a5055b6363821941011c7c6cde997 +Author: René Cannaò +Date: Wed May 27 02:44:16 2020 +0200 + + Reduce the number of tests in set_testing-t + +commit 5f030ee0c0c87e6ab00f7f3f79375915de7c6e6a +Merge: 507f034a 6cac1927 +Author: René Cannaò +Date: Wed May 27 02:33:44 2020 +0200 + + Merge pull request #2831 from sysown/v2.1.0-fix_test_ps_hg_routing-t + + More verbose output for test_ps_hg_routing-t + +commit 6cac1927e07fa9680a326c1a9de0f76c2759f4c3 +Author: René Cannaò +Date: Wed May 27 01:56:02 2020 +0200 + + Create new HG in test_ps_hg_routing-t + +commit 888a8a9cd546c19df9029bf490ba7c08c226f440 +Author: René Cannaò +Date: Wed May 27 00:32:35 2020 +0200 + + More verbose output for test_ps_hg_routing-t + + Added __LINE__ in output + Use table ps_hg_routing instead of test1 + Use system() to output the current configuration + +commit 1c0bd25658311c24bf18f07923d3cef48d551e07 +Author: René Cannaò +Date: Sun May 24 11:53:04 2020 +0200 + + Fixing some indentation + +commit d76b79c7fb86400ebb8f2c14e0b27c2e908fcd5a +Author: René Cannaò +Date: Sun May 24 01:30:42 2020 +0200 + + Removed define USE_MYSRVC_ARRAY + + Removed define USE_MYSRVC_ARRAY from MySQL_HostGroups_Manager , making it default + +commit 977c094a0f77b87741fccd2b33992a4643ebd49a +Author: Javier Jaramago Fernández +Date: Mon May 25 21:23:02 2020 +0200 + + Added new prometheus metrics for synchronization fetching events + +commit 651014a0b95165387bb25a80bd1c4a8134703e2c +Author: Javier Jaramago Fernández +Date: Mon May 25 21:19:26 2020 +0200 + + Added extra logging for two different situations: + + - When configuration rules specify NOT to save the config to disk. + - When synchronization isn't going to happen because both servers + hold the same epoch values for two configurations with different + checksums. + +commit 1fff14ee745a26934ad760493af14c30d20e98a1 +Author: Javier Jaramago Fernández +Date: Mon May 25 21:12:14 2020 +0200 + + Delete unused variable and fixed buffer index for helper function + +commit 507f034a23dd0c95c415109430c980cfd8f3da81 +Merge: ffc48957 8ed63e84 +Author: René Cannaò +Date: Sun May 24 13:03:53 2020 +0200 + + Merge pull request #2826 from sysown/v2.1.0-from2013-1 + + V2.1.0 from2013 1 + +commit ffc48957204b036000de58a2981d1c38ec09d440 +Merge: 15c53161 35c851b9 +Author: René Cannaò +Date: Sun May 24 13:03:39 2020 +0200 + + Merge pull request #2821 from sysown/v2.1.0-sqlite3 + + V2.1.0 sqlite3 + +commit 15c53161b4e6e105fe381fa1ba5759a9b422c6c4 +Merge: 2b9dfb80 6a6d157f +Author: René Cannaò +Date: Sun May 24 11:43:36 2020 +0200 + + Merge pull request #2779 from sysown/v2.1.0-tap-wait-replication + + TAP: wait until table is replicated + +commit 8ed63e8404de957791c0308462489abc0cbb67a1 +Author: Arthur Schreiber +Date: Wed May 20 08:33:48 2020 +0000 + + Reset data stream status after switching users. + + When a backend connection is reused for a different user, the data stream status is set to `STATE_MARIADB_QUERY`, but was not set back to `STATE_MARIADB_GENERIC` once the user was switched successfully. + + This caused additional connection setup (like executing `init_connect`) to be skipped on the first query after switching users. If another query using the the same user was executed, this new query would end up performing this additional connection setup. + + By setting the data stream status back to `STATE_MARIADB_GENERIC`, we can ensure connection setup happens correctly after switching users. + +commit 32d6ba65c0da66fe17d59bbdc7346051478993e3 +Author: Arthur Schreiber +Date: Wed May 20 10:12:17 2020 +0000 + + Actually set `session_track_gtids` on new backends. + + When a new backend connection was selected, the `session_track_gtids` config variable would be marked as set, but was never actually set on the backed connection. + +commit 63dccb31a94f07186a0cf5df7d2e484f2b4337d0 +Author: Gillian Gunson +Date: Wed May 20 15:33:41 2020 -0700 + + Rewrite and formatting change to issue template + +commit 460d75efc81b1df336f680c96868180195de29fc +Author: Mark Knapp +Date: Thu May 21 17:18:22 2020 -0400 + + Fix cache size calculation integer overflow + + Signed-off-by: Mark Knapp + +commit 35c851b9fa91e47772e4ce466517e1031fb73ad2 +Author: René Cannaò +Date: Sun May 24 00:40:12 2020 +0200 + + Moved LoadPlugin_sqlite3_plugin into SQLite3DB + + In this way we can initialize it from other applications, for example TAP tests + +commit 659471128afc1ee6fdef68415decee0bdce8841b +Author: René Cannaò +Date: Sun May 24 00:17:16 2020 +0200 + + Fixing compiling of sqlite3-t.cpp + +commit c808c1f1a8ff24653fcedee507e65331e86114f4 +Author: René Cannaò +Date: Sat May 23 23:31:55 2020 +0200 + + Move definition of sqlite3 funcs out of main.cpp + +commit f72ea735d3c56996189430b0d36c1d5b58c69547 +Author: René Cannaò +Date: Sat May 23 22:12:53 2020 +0200 + + Used default SQLite3 by default + +commit 2bbd84d2c959a7ff1a946ad66246df663461d1e1 +Author: René Cannaò +Date: Sat May 23 22:10:53 2020 +0200 + + Support for SQLite3 plugin + + This commit prepares proxysql for further development related to SQLite3. + Specifically, it allows to either use built-in SQLite3 library, or to load it from a plugin. + +commit 7f22c362758f0c8fce16c0e934d211938c5eb92d +Author: Javier Jaramago Fernández +Date: Thu May 21 21:43:03 2020 +0200 + + WIP: Removed logic from the test for manually tracing sync issue + +commit eaf5a297b9bcee7cc31d6e307848c08dce149c2e +Merge: f74dc660 2b9dfb80 +Author: Javier Jaramago Fernández +Date: Thu May 21 21:38:03 2020 +0200 + + Merge branch 'v2.1.0' of github.com:sysown/proxysql into v2.1.0-2687 + +commit f74dc660c238684f25a2e64eb5ae4490575e01bf +Author: Javier Jaramago Fernández +Date: Thu May 21 20:41:04 2020 +0200 + + Minimal changes to pipe handling in helper function to isolate eof reading + +commit 6ddb82bd4c08f1993927b673195a64f5a626d080 +Author: Javier Jaramago Fernández +Date: Thu May 21 19:53:20 2020 +0200 + + Removed unnecessary include from test file + +commit fd75d8632c1c23c3d703ccf6f561c37233e971fb +Author: Javier Jaramago Fernández +Date: Thu May 21 19:45:34 2020 +0200 + + Added new header file for helper functions + +commit fc2b8a88cc8ca9805e7ee4c13b581820f7b1a2a4 +Author: Javier Jaramago Fernández +Date: Thu May 21 19:30:12 2020 +0200 + + WIP: Multiple fixes for 'cluster_sync' testing + +commit 5ecb68d0d6e8c0a849d468c6f3458e6b36e6f93f +Author: Javier Jaramago Fernández +Date: Thu May 21 19:26:19 2020 +0200 + + Added temporal helper function to write timestamps in test + +commit 8727282cfbaaa7293ca8e67eda03e08f8d171824 +Author: Javier Jaramago Fernández +Date: Thu May 21 19:22:43 2020 +0200 + + Improved wexecvp utility function with better select and pipe handling + +commit 7661d989eca8ae84331effa0403fb01d493cf18e +Author: Javier Jaramago Fernández +Date: Thu May 21 19:17:59 2020 +0200 + + Added extra logging info for the new hostgroup tables synchronization + +commit 88c6924e79164f4d6e3f2a5902a0e112b8275fbc +Author: Javier Jaramago Fernández +Date: Thu May 21 19:15:57 2020 +0200 + + Fixed support for NULL comments in new added hostgroup tables fetching + +commit 0ac939dd69e72d6adf2d5de56c546c5ef827c78e +Author: Javier Jaramago Fernández +Date: Thu May 21 18:24:01 2020 +0200 + + Fixed 'hostgroups' table fetching retriving 'runtime' table versions + +commit 55d6368b40fa40f287e14be3ed919117c0ed5393 +Author: Javier Jaramago Fernández +Date: Thu May 21 18:22:20 2020 +0200 + + Added incorrectly deleted 'mysql_servers' mutex locking + +commit 2b9dfb80cb2a5c21580136281128a908ab1777ec +Merge: e2ea108a 61ca7c3a +Author: René Cannaò +Date: Wed May 20 18:51:24 2020 +0200 + + Merge pull request #2807 from sysown/v2.1.0-1493 + + Fixes #2793 and #1493: Connection issues in compressed connections and in mixed compressed/uncompressed connections. + +commit e2ea108aa6e5762ba1854b973eab2ebb0b02f624 +Merge: 0bdaa0b6 ae1f976e +Author: René Cannaò +Date: Wed May 20 18:49:34 2020 +0200 + + Merge pull request #2803 from sysown/v2.1.0-2802 + + Fixes #2802 and #2801: Missing entry added to prometheus map and added array init checks + +commit 7a7427e1faccf79a8542c7f5a3b3026e8fa101a8 +Author: Javier Jaramago Fernández +Date: Tue May 19 16:55:42 2020 +0200 + + Added new test to check that synchronization works in a simple cluster env + +commit f6e401c023a355b1f5e5a93958b6653fdf187ea0 +Author: Javier Jaramago Fernández +Date: Tue May 19 16:52:40 2020 +0200 + + Added new helper function 'wexecvp' to simplify command execution + +commit 2bd91dcca71d6ac7e34e27ac74d47221206b8523 +Author: Javier Jaramago Fernández +Date: Tue May 19 16:45:08 2020 +0200 + + Added helper function to 'tap' interface to check if previous tests have failed + +commit e6907127a32d22f8803e05561f4c384d76a080e4 +Author: Javier Jaramago Fernández +Date: Tue May 19 16:32:42 2020 +0200 + + Implements synchronization of: 'mysql_galera_hostgroups', 'group_replication_hostgroups' and 'mysql_aws_aurora_hostgroups' + + - Implements synchronization for the mentioned tables. + - Creates new version of 'proxy_info' that accepts a 'const char*' + as a parameter, instead of a 'string literal'. + +commit 6a6d157f2f9eb9e933a24d43abf9c293d8bb8417 +Author: Valentin Rakush +Date: Tue May 19 06:23:58 2020 +0000 + + removed dependency on replication + +commit 61ca7c3a072b2f1b84a27c5d5af90bc6c328b08f +Author: Javier Jaramago Fernández +Date: Mon May 18 22:24:21 2020 +0200 + + Remove unnecessary macros from tests compilation + +commit df614b85517bccd1ed0cf6139d69452010915b72 +Author: Javier Jaramago Fernández +Date: Fri May 15 11:08:36 2020 +0200 + + Changed 'mysql client' command parameter name for tests + +commit 27aea669cb6e8cb9d3a5a8238011ef7863d15f54 +Author: Javier Jaramago Fernández +Date: Fri May 15 11:07:17 2020 +0200 + + Improved helper function to avoid stalling when max PIPE size is exceeded + +commit 025ae40efa7b182a4981c635b9206420537b17fc +Author: Javier Jaramago Fernández +Date: Thu May 14 23:52:22 2020 +0200 + + Removed unnecessary comment from test file + +commit a1e96362bef0d62b82ff9de134ff001c49334905 +Author: Javier Jaramago Fernández +Date: Thu May 14 23:46:01 2020 +0200 + + Multiple improvements on regression tests + + - Fixed expected number of executed tests + - Removed hardcoded parameters for target servers + - Removed unnecessary code + - Removed unnecessary info in header comments + +commit a85e7fc80c87c83b1dab111fb8b1ea131d125c46 +Author: Javier Jaramago Fernández +Date: Thu May 14 21:17:38 2020 +0200 + + Added two new regression tests for fixes for #2793 and #1493 + +commit cf5336d3d0250a6e66e1d84f8ce9a91afbc766fc +Author: Javier Jaramago Fernández +Date: Thu May 14 21:07:56 2020 +0200 + + Added helper function for simplifying executing a external command + +commit 9261e3187cc36535b01133b51317cacdb78743d4 +Author: Javier Jaramago Fernández +Date: Thu May 14 20:45:01 2020 +0200 + + Fixes #1493: Update 'pkt_sid' in case of compressed connection + +commit c237243a2f0b3c19a7df6cfce2edc5930263d7d0 +Author: Javier Jaramago Fernández +Date: Thu May 14 20:41:51 2020 +0200 + + Fixes #2793: Update capabilities and max_allowed properly in case of 'switching_auth' + +commit 23687293f4686dc233ce1cbaea89930637948155 +Author: Valentin Rakush +Date: Sat May 16 20:04:11 2020 +0000 + + trace table availability. add infinite loop safety. + +commit ae1f976ea58daf545b7bc4f509a80c2fd7d32528 +Author: Javier Jaramago Fernández +Date: Fri May 15 15:41:14 2020 +0200 + + Fixes #2802: Added checks to verify that no prometheus array element is left un-initialized + +commit fd204637a5efc13dfc64ea9bb51ac5d989cce5b5 +Author: Javier Jaramago Fernández +Date: Fri May 15 15:39:12 2020 +0200 + + Fixes #2801: Updated prometheus map to contain missing entry 'p_hg_dyn_counter::proxysql_mysql_error' + +commit 691a6bf534047f60d45b600aa68ac98d1b78c320 +Author: Valentin Rakush +Date: Tue May 12 05:12:18 2020 +0000 + + Trace table availability + +commit dd4f357735f04ea29280d87699ae95f6f34be17f +Author: Valentin Rakush +Date: Mon May 11 19:14:01 2020 +0000 + + TAP: wait until table is replicated + +commit 0bdaa0b67bb49bda4e7dfde53046a831d9d798a2 +Merge: 42864937 7a79df9d +Author: René Cannaò +Date: Mon May 11 20:06:40 2020 +0200 + + Merge pull request #2772 from sysown/v2.1.0-git-version + + V2.1.0 Check GIT_VERSION + +commit 42864937923e59a10c7a4db69499d682b1e728cc +Merge: 18cfbce9 2846ce21 +Author: René Cannaò +Date: Mon May 11 20:04:29 2020 +0200 + + Merge pull request #2775 from sysown/v2.1.0-global-vars + + V2.1.0 Fix set global variables error + +commit 18cfbce9858a202e3ceb5ea50299afc8f7ac0052 +Merge: ef35aad0 c7f49ebc +Author: René Cannaò +Date: Mon May 11 17:57:40 2020 +0200 + + Merge pull request #2757 from sysown/v2.1.0-group-concat + + V2.1.0 Session variable group_concat_max_len + +commit ef35aad029e885aa5dbf69cf33e9a1843149c644 +Merge: 3af96fb1 2ab420b9 +Author: René Cannaò +Date: Mon May 11 17:53:41 2020 +0200 + + Merge pull request #2774 from sysown/v2.1.0-2763 + + Fix #2763: Segfault during GTID configuration + +commit 3af96fb177ca30b3537e42fb6a0082eaa0fa48d6 +Merge: dcf5e7a5 06ef6802 +Author: René Cannaò +Date: Mon May 11 17:14:34 2020 +0200 + + Merge pull request #2762 from sysown/v2.1.0-266_0-3 + + Implement feature requests: 2660, 2661, 2662, 2663, 1377 + +commit dcf5e7a51a31308c5975318daddb22cffb63ca6d +Merge: f698fe81 ff98fc13 +Author: René Cannaò +Date: Mon May 11 17:01:44 2020 +0200 + + Merge pull request #2773 from sysown/v2.1.0-tap-debug + + V2.1.0 Add debug target to TAP tests Makefile + +commit 2846ce21f00fec0afd37fbb68e14faccb599877e +Author: Valentin Rakush +Date: Fri May 8 20:42:51 2020 +0000 + + Fix set global variables error + +commit 2ab420b9abe35a5c049d0bde65a65cf5173d9834 +Author: Javier Jaramago Fernández +Date: Fri May 8 14:16:23 2020 +0200 + + Check if 'GTID_Server_Data' is available before trying to access 'active' member + +commit ff98fc1339dec3cff5f84918bac63a76d0a4102e +Author: Valentin Rakush +Date: Mon May 11 06:08:17 2020 +0000 + + Add debug target to TAP tests Makefile + + (cherry picked from commit e50b7ae66c0101af9f00e80d0d73f22732964b59) + +commit f698fe81589f03b3b93d441d1d8b7694dce7765d +Merge: e3055f8b 48a3efcb +Author: René Cannaò +Date: Mon May 11 15:49:54 2020 +0200 + + Merge pull request #2758 from sysown/v2.1.0-tap-doc + + Add comments for documentation purpose + +commit 7a79df9dbaf6b64f20a1155a4ca5733c8a83768e +Author: Valentin Rakush +Date: Mon May 11 05:33:26 2020 +0000 + + Check GIT_VERSION + + (cherry picked from commit be39aa278e20206fdd9502015d742c622b3f8d9c) + +commit 06ef68023a9024e74ae0c14d90231492a0a48778 +Author: Javier Jaramago Fernández +Date: Fri May 8 11:16:01 2020 +0200 + + Avoid copying extra commas in case of parsing a 'query grouping' + +commit aa132d200d66c644daff61e6a4e9ccfedbc30dfe +Author: Javier Jaramago Fernández +Date: Fri May 8 11:11:55 2020 +0200 + + Improved tokenizer tests with new cases and variable grouping size + +commit 24e300cf56677e4a91e954dbbf9b1c9d8bd69059 +Author: Javier Jaramago Fernández +Date: Fri May 8 11:08:25 2020 +0200 + + Added new line at the end of file + +commit 10c789e90948da565ebef887eb33f1c1f527b6c1 +Author: Javier Jaramago Fernández +Date: Fri May 8 11:07:17 2020 +0200 + + Added GITVERSION flag for new test file building + +commit 68891d37037b72a3f469f2ecf58c81cf9ef3ed31 +Merge: 123ae137 e3055f8b +Author: Javier Jaramago Fernández +Date: Thu May 7 21:52:15 2020 +0200 + + Merge branch 'v2.1.0' of github.com:sysown/proxysql into v2.1.0-266_0-3 + +commit 48a3efcbdc309a0a4b6beeb6ff692f3446c74cd0 +Author: Valentin Rakush +Date: Thu May 7 08:40:01 2020 +0000 + + Add comments for documentation purpose + +commit c7f49ebc9cc0b837a30f99417e076cda55460185 +Author: Valentin Rakush +Date: Thu May 7 06:44:06 2020 +0000 + + generate regexp for mysql variables + + (cherry picked from commit b3beb35ae1ee37ff0ce2068fded112cfc638b147) + +commit b0d36acb2f1d837f1136d60a7b163101adb9d26b +Author: Valentin Rakush +Date: Tue May 5 07:26:15 2020 +0000 + + Session variable group_concat_max_len + + (cherry picked from commit f56a9429fce8176820c75f703d9d09088b955fc5) + +commit e3055f8b7e317ef9f25730fb547a0e3f19512615 +Merge: 1e1cb478 23db1d7f +Author: René Cannaò +Date: Wed May 6 21:06:09 2020 +0200 + + Merge pull request #2725 from sysown/v2.1.0-testQP_stmt + + V2.1.0 test qp stmt + +commit 1e1cb478d01977bdaec8e0f0b027c91bfc46d882 +Merge: 8ae541ea d6beb731 +Author: René Cannaò +Date: Wed May 6 18:48:24 2020 +0200 + + Merge pull request #2756 from sysown/v2.1.0-set_tests2 + + V2.1.0 set tests2 + +commit d6beb731c4d2b20dcd52fa5cf3d8c15ab3834201 +Author: René Cannaò +Date: Wed May 6 18:06:54 2020 +0200 + + Use skip() instead of ok() in set_testing-t.cpp + +commit 468503425892fa5aea7567c5bb61a576cec4d8dc +Author: René Cannaò +Date: Wed May 6 17:54:09 2020 +0200 + + Remove autocommit handling from set_testing + + Autocommit will need its own set of testing. + +commit 8ae541ea8e44bbfc532739d0e202bc63fd820cdc +Merge: 930c8dbe fc9b5d75 +Author: René Cannaò +Date: Wed May 6 17:10:57 2020 +0200 + + Merge pull request #2755 from sysown/v2.1.0-set_tests + + Edits on set_testing-t.cpp + +commit fc9b5d75e40a9218188ef32b22c8bec9d39eb8d7 +Author: René Cannaò +Date: Wed May 6 16:13:59 2020 +0200 + + Count as passed the tests intentionally skipped on set_testing-t + +commit 23db1d7f22ee4392bb60e0b52a91c68989c44a42 +Merge: 91590b29 930c8dbe +Author: René Cannaò +Date: Wed May 6 15:45:40 2020 +0200 + + Merge branch 'v2.1.0' into v2.1.0-testQP_stmt + +commit 930c8dbe387edf92d6105e5ef8116622dc2c0f0d +Merge: aca9d46f 74ee4e8e +Author: René Cannaò +Date: Wed May 6 15:23:40 2020 +0200 + + Merge pull request #2754 from sysown/v2.1.0-test-fast-routing + + V2.1.0 PROXYSQLTEST automation for query rules fast routing + +commit 33176b2d3931bc782aa830e157f12421fcd4e632 +Author: René Cannaò +Date: Wed May 6 15:21:54 2020 +0200 + + Edits on set_testing-t.cpp + + Make it more verbose. + Do not track session variables that cannot be set by not root + +commit 74ee4e8ea8721b4c583f71d1cb200df5e727f96a +Author: Valentin Rakush +Date: Wed May 6 08:22:40 2020 +0000 + + PROXYSQLTEST automation for query rules fast routing + + (cherry picked from commit 6bca353e2955ffa710d31b4863cd382917a7f9be) + +commit aca9d46ff161468bf55223ad13a50138dcc2845d +Merge: 63d42050 03bf53ae +Author: René Cannaò +Date: Wed May 6 09:58:20 2020 +0200 + + Merge pull request #2750 from sysown/v2.1.0-cluster1 + + First pull request related to several changes in ProxySQL Cluster + +commit 63d4205056b0921a5e1f699872af2dd992ba6083 +Merge: 9acfaa21 42b50bbb +Author: René Cannaò +Date: Wed May 6 02:43:05 2020 +0200 + + Merge pull request #2749 from sysown/v2.1.0-tap-rm-config-2 + + Remove config test from TAP + +commit 03bf53aec8d05eddf947d03d14c08376a17657c2 +Author: René Cannaò +Date: Wed May 6 01:37:48 2020 +0200 + + Preparing the cluster module to sync variables + + Added admin variables: + * cluster_mysql_variables_save_to_disk + * cluster_admin_variables_save_to_disk + * cluster_mysql_variables_diffs_before_sync + * cluster_admin_variables_diffs_before_sync + + When flush_admin_variables___database_to_runtime() is executed, flush_admin_variables___runtime_to_database() is also called to update admin variable checksum. + + When flush_mysql_variables___database_to_runtime() is executed, flush_mysql_variables___runtime_to_database() is also called to update mysql variable checksum. + flush_mysql_variables___runtime_to_database() was also modified to avoid locking twice. + +commit 3ac219a3d7bf5e10838f80e437f3b95176887d91 +Author: René Cannaò +Date: Tue May 5 23:49:18 2020 +0200 + + Remove a redundant call to flush_admin_variables___database_to_runtime() + +commit 2e604324661baf64181074250acd3a7c6a3c8c44 +Author: René Cannaò +Date: Tue May 5 23:33:10 2020 +0200 + + Fixed typo in previous commit + +commit b6164b0d0a8cf9af9899d8b66b6762527e3ee8eb +Author: René Cannaò +Date: Tue May 5 23:30:28 2020 +0200 + + Permit ProxySQL Cluster peering same version only + + Since ProxySQL 2.1.0 , ProxySQL Cluster is allowed only between peers of the same, identical version + +commit 42b50bbba87a74c373406cfce87dc7dc06226510 +Author: Valentin Rakush +Date: Tue May 5 13:37:55 2020 +0000 + + Remove config test from TAP + + - remove select_config_file-t.cpp. It should be added to PROXYSQLTEST + - modify Makefile to reduce merge conflicts + - add constants file with environment variable for local testing + + (cherry picked from commit dba0d9b4294b9a3cd1afbdab4f05b007c456899f) + +commit 5bb3b1fb04232bc6768a2da38ec880cef52f0702 +Author: René Cannaò +Date: Tue May 5 22:35:37 2020 +0200 + + Enable SSL for ProxySQL Cluster #2748 + +commit 9acfaa211c4b2c6cc05979901798976c8141eac8 +Merge: c9b893be 971137fe +Author: René Cannaò +Date: Tue May 5 22:17:15 2020 +0200 + + Merge pull request #2723 from sysown/v2.0.11-QP_stmt_2 + + Do not cache routing metadata for COM_STMT_EXECUTE + +commit c9b893bed599e6a326840d3f362b50b0a5bc6642 +Merge: 6ab2b440 4b2107b7 +Author: René Cannaò +Date: Tue May 5 21:03:30 2020 +0200 + + Merge pull request #2738 from sysown/v2.1.0_session_handler_split_2 + + V2.1.0 session handler split 2 + +commit 6ab2b440772579487d4b8838f2325b5619b766b7 +Merge: 2fa0ac37 577c19b6 +Author: René Cannaò +Date: Tue May 5 10:55:12 2020 +0200 + + Merge pull request #2742 from sysown/v2.1.0-tap-clenaup + + V2.1.0 tap clenaup + +commit 577c19b694a8fae4b03d7b64f4e47a833949c37c +Author: Valentin Rakush +Date: Tue May 5 05:46:11 2020 +0000 + + remove dependency on proxysql.h + +commit d039101413ad74806bcd0da26251ca5bff2e3b51 +Author: Valentin Rakush +Date: Tue May 5 05:29:03 2020 +0000 + + fix tests for prometheus config + +commit 6d3741f409925341e12b2e5e05e055f76c985842 +Author: val +Date: Mon Apr 27 10:22:59 2020 +0000 + + tap cleanup + + (cherry picked from commit a15873e8be3bf0c6871028a13e75768bca50aeb4) + +commit 2fa0ac37f26952c7a53e2aefc350f15457e440aa +Merge: 43b75d5d 1a0703fc +Author: René Cannaò +Date: Tue May 5 01:33:18 2020 +0200 + + Merge pull request #2740 from sysown/v2.1.0-prometheus_tap + + Fix prometheus dependencies for TAP tests + +commit 1a0703fc3424f9af11f33f150f0250c9a03f5909 +Author: René Cannaò +Date: Tue May 5 01:31:56 2020 +0200 + + Fix prometheus dependencies for TAP tests + +commit 971137fe5b1e08ab2940b469508ecfb87d7f62c0 +Merge: c0a3efdd 9998555e +Author: René Cannaò +Date: Tue May 5 01:12:43 2020 +0200 + + Merge pull request #2739 from sysown/v2.1.0-QP_stmt_2 + + Port of v2.0.11-QP_stmt_2 into v2.1.0-QP_stmt_2 + +commit 9998555eff2db5f4d757f44958cc6c1cb7a67c07 +Author: René Cannaò +Date: Tue May 5 01:07:41 2020 +0200 + + Port of v2.0.11-QP_stmt_2 into v2.1.0-QP_stmt_2 + +commit 4b2107b7c31ab4f2fcc45441f759414b04e2432b +Author: René Cannaò +Date: Tue May 5 00:40:43 2020 +0200 + + Splitting MySQL_Session::get_pkts_from_client() + + Adding the following methods: + * handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_STMT_RESET() + * handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_STMT_CLOSE() + * handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_STMT_SEND_LONG_DATA() + +commit c0a3efdd7f83e15a0a470c130e9acd1def4200a0 +Merge: 7b021e02 43b75d5d +Author: René Cannaò +Date: Tue May 5 00:12:05 2020 +0200 + + Merge branch 'v2.1.0' into v2.0.11-QP_stmt_2 + +commit 4bed50606763a6b824f7cf754fa7908ea799818f +Author: René Cannaò +Date: Mon May 4 23:32:59 2020 +0200 + + Breaking MySQL_Session::handler() in 2 main blocks + + The two main blocks are: + * get_pkts_from_client() : handling the main loop around label __get_pkts_from_client + * handler() : handling the main loop around label handler_again + +commit c95ad4bc033b46c99c25d7665942d5806a8e2e8b +Author: René Cannaò +Date: Mon May 4 22:58:17 2020 +0200 + + Code cleanup + +commit 1adceeb9d67d8c2191314e80c4bd1c89c8f9d7ca +Merge: 43b75d5d 8d6b48f2 +Author: René Cannaò +Date: Mon May 4 22:26:16 2020 +0200 + + Merge branch 'v2.1.0_session_handler_split' into v2.1.0_session_handler_split_2 + +commit 43b75d5dbc247f735b734cd196394bd0185ea40c +Merge: 6d1ef146 0a78949d +Author: René Cannaò +Date: Mon May 4 22:24:10 2020 +0200 + + Merge pull request #2676 from sysown/v2.0.11-prometheus + + [WIP] V2.0.11 prometheus + +commit 0a78949d985e28cba91f7cfebc89991a1bb2a1bb +Merge: 7f8b07a0 6d1ef146 +Author: René Cannaò +Date: Mon May 4 22:23:05 2020 +0200 + + Merge branch 'v2.1.0' into v2.0.11-prometheus + +commit 6d1ef1461b4790e15ce6fd2a1e060339e553cfaa +Merge: b367eadf 5ae3c38a +Author: René Cannaò +Date: Mon May 4 22:16:00 2020 +0200 + + Merge pull request #2707 from sysown/v2.1.0-test_tx_isolation + + V2.1.0 test tx isolation + +commit b367eadf756e8755b11e9d5ef5e31420bc00de93 +Merge: 0edbd66e a829ca91 +Author: René Cannaò +Date: Mon May 4 22:09:59 2020 +0200 + + Merge pull request #2713 from sysown/v2.1.0-backtrace + + V2.1.0 backtrace + +commit 0edbd66e2afa0fd3261393f72585bd8a04830fd2 +Merge: 2ad803ce 27515b16 +Author: René Cannaò +Date: Mon May 4 22:09:46 2020 +0200 + + Merge pull request #2735 from sysown/v2.1.0-fix-multi + + V2.1.0 fix multi + +commit 2ad803ceb62e4065e991fefe1f0399d6582ba785 +Merge: e2f739cb e1045697 +Author: René Cannaò +Date: Mon May 4 22:09:31 2020 +0200 + + Merge pull request #2716 from sysown/v2.1.0-tap-workid + + V2.1.0 add workdir as environment variable + +commit 8d6b48f21d65536f5bf09a623c7b0b79ed631e49 +Author: René Cannaò +Date: Mon May 4 18:15:17 2020 +0200 + + Adding new method MySQL_Session::handler_again___multiple_statuses() + + First commit to simplify MySQL_Session::handler() + It handles the following statuses: + * CHANGING_USER_SERVER + * CHANGING_AUTOCOMMIT + * SETTING_MULTI_STMT + * SETTING_SESSION_TRACK_GTIDS + * SETTING_SET_NAMES + +commit 27515b16906a67255348e41c9ae0de6f1dc36e93 +Merge: d0acdcd5 e1045697 +Author: Valentin Rakush +Date: Mon May 4 15:11:25 2020 +0000 + + Merge branch 'v2.1.0-tap-workid' into v2.1.0-fix-multi + +commit d0acdcd5c2fd91ab2edddcad8cd2f4dc44160c54 +Author: Valentin Rakush +Date: Mon May 4 14:38:11 2020 +0000 + + Crashing often with strange new error (Error setting MYSQL_OPTION_MULTI_STATEMENTS) + + (cherry picked from commit 4fc76a25900051b068e9282097550aa2549eacd1) + +commit 91590b293ad70ba5c9302b2810fb997d7618d619 +Author: Valentin Rakush +Date: Mon May 4 06:18:54 2020 +0000 + + Make test more verbose + +commit 1358d0e7643d21e733e2e01f7cc639aa3148901b +Merge: 1c97d84a e1045697 +Author: Valentin Rakush +Date: Mon May 4 05:24:10 2020 +0000 + + Merge branch 'v2.1.0-tap-workid' into v2.1.0-testQP_stmt + +commit 308639d0dc8039448282b114d3658a7248873953 +Author: René Cannaò +Date: Sat May 2 01:09:47 2020 +0200 + + Renamed session_status NONE to session_status___NONE + +commit 8083561058a1023c6c6872d0a7bdb6580f430d28 +Author: René Cannaò +Date: Fri May 1 23:36:51 2020 +0200 + + Added a comment in MySQL_Session.cpp + +commit 1c97d84a4f5aed10e1155f91517eba8a89c11f24 +Author: val +Date: Thu Apr 30 21:01:37 2020 +0000 + + test case + +commit 890ad068685de0b86348be589b6860c1f041b378 +Merge: e2f739cb 7b021e02 +Author: val +Date: Thu Apr 30 20:46:40 2020 +0000 + + Merge branch 'v2.0.11-QP_stmt_2' into v2.1.0-testQP_stmt + +commit 123ae1374151a4b77ba432e80ca702476ea9df66 +Author: Javier Jaramago Fernández +Date: Thu Apr 30 16:04:17 2020 +0200 + + Added tests for new grouping feature for 'stats_mysql_query_digest' + +commit f82f239808b2db715d063dd45b6b3b7f464a0dd3 +Author: Javier Jaramago Fernández +Date: Thu Apr 30 16:03:38 2020 +0200 + + Added support for grouping queries in 'stats_mysql_query_digest' + +commit e1045697322bc0fd1262f3152beeefc0aa71b445 +Author: val +Date: Thu Apr 30 11:03:11 2020 +0000 + + reconfigure mysql_servers and mysql_query_rules for this test + + (cherry picked from commit d699fef258abbc8f1c29f1bb1bc576586312bbf4) + +commit 689ee1586771169763c76d56859aba1349bc779e +Author: val +Date: Thu Apr 30 08:29:41 2020 +0000 + + workdir initialization + + (cherry picked from commit 6a6e6e120319979d79255fb0552e4e02ce3df30a) + +commit 5ab923bfb1ed3c10fa0650fa0c560b1878824f34 +Author: val +Date: Wed Apr 29 20:45:18 2020 +0000 + + wait untill replication is over + + (cherry picked from commit 5df6821f37eca44a376739e88bdad83064b6c217) + +commit 8658643f3323457299f8f3b5a3c25225e360140d +Author: val +Date: Wed Apr 29 19:52:49 2020 +0000 + + add workdir as environment variable + +commit a829ca9104ea7e784b634b303ddc0073dfeb76ae +Author: René Cannaò +Date: Wed Apr 29 20:02:44 2020 +0200 + + Generate a detailed backtrace on crash + +commit e2f739cb9019040219c3e081d9b69ff4c77f0e14 +Merge: 1fc62546 9e8bf991 +Author: Valentin Rakush <54602153+val214@users.noreply.github.com> +Date: Wed Apr 29 17:29:30 2020 +0300 + + Merge pull request #2712 from sysown/v2.1.0-tap-cleanup + + V2.1.0 tap cleanup + +commit 9e8bf9914849c876be0514ddea84f52daa64ee72 +Author: val +Date: Wed Apr 29 12:31:40 2020 +0000 + + fix build + + (cherry picked from commit 77b74ef89758e47a7774dcb99672f327dc6ba285) + +commit 8b161be349e7c7971c97fb405e6c0a5e4158b457 +Author: val +Date: Wed Apr 29 11:16:09 2020 +0000 + + Fix PS large result test case + + (cherry picked from commit 8ad1358549defd24a145521b40b7ba5f747e7642) + +commit 5ae3c38a14b6bd37b5ef76ef4ba08d8f36798b2e +Author: val +Date: Mon Apr 27 14:06:43 2020 +0000 + + reset hash value + +commit a4af5d40edbdfc4a82155d45f8793dc4e16f374d +Author: val +Date: Sun Apr 26 20:24:03 2020 +0000 + + transaction_isolation test + +commit 1fc625464b079dc1f382a1fe78eb6c2992434dce +Author: val +Date: Mon Apr 27 10:22:59 2020 +0000 + + tap cleanup + +commit eb638a1b16801dc18a6869c19741c6abfc652261 +Author: val +Date: Tue Apr 28 12:56:33 2020 +0000 + + fix for galera set writer + +commit 72fd040681a1dead69cfd398ab82503c1152811b +Author: val +Date: Wed Apr 15 06:03:23 2020 +0000 + + Fix shunning reader when node goes to MAINTENANCE + +commit 522fc7164a08646dd3d6e3f5086571d350d56e7e +Author: val +Date: Tue Apr 14 16:10:42 2020 +0000 + + Fix pxc_maint_mode failback when writer_is_also_reader=2 + +commit e21998feeeba8316714476ac4dddb70a41e6df5e +Author: René Cannaò +Date: Mon Apr 27 19:44:23 2020 +0200 + + Added signal handler installation when running in the foreground #2636 + +commit 65e55a4b3545a9b48dfeae88791dc7eb52a01963 +Author: Javier Jaramago Fernández +Date: Mon Apr 27 12:56:00 2020 +0200 + + Added len checks to avoid possible buffer overflows + +commit 543b96facf61bf974c1dace018820e3d8d9be526 +Merge: 2df54a74 8a0e1c17 +Author: René Cannaò +Date: Sat Apr 25 20:57:46 2020 +0200 + + Merge pull request #2651 from sysown/v2.0.11-aux + + V2.0.11 aux + +commit 5f9fa3ec72cc3a97e2bab9337388ab132de28f5f +Author: René Cannaò +Date: Sat Apr 25 20:27:12 2020 +0200 + + Adding static in is_arithmetic_op + +commit 21650254838a2724b32ddee3587823aff647245b +Author: Javier Jaramago Fernández +Date: Sat Apr 25 12:50:40 2020 +0200 + + Added unit test file for tokenizer functions + +commit 2436df4b2442713ccacbe7217e199806c0dd943f +Author: Javier Jaramago Fernández +Date: Sat Apr 25 12:44:35 2020 +0200 + + Added support for FRs 2660, 2661, 2662 and 2663 + +commit 7f8b07a0db53f7498c3ffea60082f86c9d52ffb0 +Author: Javier Jaramago Fernández +Date: Fri Apr 24 12:06:56 2020 +0200 + + Created new metric counters for registering 'mysql_errors' + +commit 8b76426bafec1e71685b8f1dca542a2363ab1498 +Author: Javier Jaramago Fernández +Date: Fri Apr 24 12:05:58 2020 +0200 + + Added two new helper functions to update map counters + +commit 7b021e027adeea88dda9dd3877976b0d045f2156 +Author: René Cannaò +Date: Thu Apr 23 10:29:08 2020 +0200 + + Do not cache routing metadata for COM_STMT_EXECUTE + + From 1.3.0 till 2.0.x , when COM_STMT_PREPARE is executed and Query Processor is executed, metadata are stored in MySQL_STMT_Global_info(). + These metadata include routing information. + Is a prepared statement is prepared on a specific hostgroup, it will always be executed on the same hostgroup. + This causes negative consequences, like the one reported in issue #2691 . + This commit: + * remove hostgroup_id from MySQL_STMT_Global_info() and other metadata + * Query Processor is called also during COM_STMT_EXECUTE + * removes hostgroup from table stats_mysql_prepared_statements_info + * Query Processor do not perform any query rewrite ruding COM_STMT_EXECUTE + +commit a53988cc90241f9b72b8f69a2ba926fb4d3b325e +Author: Javier Jaramago Fernández +Date: Thu Apr 23 01:13:18 2020 +0200 + + Removed deprecated double counters metric updates in favor of callback approach + +commit 225c2536077e90bcd7b90e9e5079ff67e6b77bcb +Author: Javier Jaramago Fernández +Date: Thu Apr 23 01:04:45 2020 +0200 + + Added new 'prometheus_memory_metrics_interval' admin variable + +commit dbbfc397a6ae8bb19133434b44db2a25cef41679 +Author: Javier Jaramago Fernández +Date: Thu Apr 23 00:57:41 2020 +0200 + + "Added helper function and uniformed 'hostgroup_manager' metrics update" + + - Added new helper function to simplify ''prometheus::counters' update + and removed code duplication using it. + - 'hostgroup_manager' now exposes the same method 'p_update_metrics' as + the other modules. + +commit 444378be326f4c260688f26946506bcecfc18456 +Author: Javier Jaramago Fernández +Date: Thu Apr 23 00:53:11 2020 +0200 + + Replaced repeated metric with missing one + +commit f3c4fb648ebbafc256982d27f9b645e55bbbc75f +Author: Javier Jaramago Fernández +Date: Thu Apr 23 00:49:06 2020 +0200 + + Added missing already defined metric to map and added new one + +commit d511d6adcf4acc06748d77cbff319946d754fc56 +Author: Javier Jaramago Fernández +Date: Wed Apr 22 23:43:59 2020 +0200 + + Removed code refactored into new 'MySQL_Thread.status_variables' array impl + +commit 2df54a74c7cadd43576daa59110fbecde773a865 (tag: 2.1.0) +Author: René Cannaò +Date: Tue Apr 21 22:51:32 2020 +0200 + + Changing version to 2.1.0 + +commit 2b7ec1ac9bbff3458ded69dbbac195c46e89398f +Author: Javier Jaramago Fernández +Date: Mon Apr 20 20:32:42 2020 +0200 + + Removed no longer required dependency for 'prometheus-cpp' + +commit 611c77e67d57900e2fa52527efda54708a3d1a09 +Author: Javier Jaramago Fernández +Date: Mon Apr 20 20:19:42 2020 +0200 + + Replaced internal issue number with GH issue + +commit 7c561bc70183f570d026fcdaa5c336ea98a7d50d +Author: Javier Jaramago Fernández +Date: Mon Apr 20 20:12:33 2020 +0200 + + Added serveral 'global_variables' metrics + +commit 0bf32e7fc5237c7711995d684def87f72471c5dd +Author: Javier Jaramago Fernández +Date: Mon Apr 20 17:52:04 2020 +0200 + + Added forggotten syslink for new prometheus-cpp dep + +commit 7dfcc7f2b9e0a07fe231aad0fa6fcd42fb309bd1 +Author: Javier Jaramago Fernández +Date: Mon Apr 20 16:20:04 2020 +0200 + + RESTAPI_Server is now also started with 'metrics' endpoint enabled in case of port change + +commit 75875fbaab8eb2605abfac333ffd951605af0a69 +Author: Javier Jaramago Fernández +Date: Mon Apr 20 16:17:26 2020 +0200 + + Metrics identifier is now consistent with display order + +commit 71842ec55cefc2e059db939f6feb80354a1ac303 +Author: Javier Jaramago Fernández +Date: Mon Apr 20 16:15:36 2020 +0200 + + Removed unicode symbols from metrics 'help' strings + +commit 55160436b137c78e84dd9d1aa6da30d0f5471312 +Author: Javier Jaramago Fernández +Date: Mon Apr 20 16:14:36 2020 +0200 + + Fixed 'prometheus-cpp' library building following project conventions + +commit a20b93084aaae741f5590b8cf124e4e76591566b +Author: René Cannaò +Date: Mon Apr 20 14:17:23 2020 +0200 + + Updating issue template + +commit 5feea37abbb7954c6eb94e1de1006d6a51d449c5 +Author: Javier Jaramago Fernández +Date: Fri Apr 17 18:59:55 2020 +0200 + + Moved third-party prometheus included headers before project includes + +commit cdde6dc2fbb8f07109990eb34fa21e9c1c64ac1f +Author: Javier Jaramago Fernández +Date: Fri Apr 17 15:53:39 2020 +0200 + + Removed 'uniform initialization syntax' due to GCC 4.8 limitations + +commit a4e4e5734320b6b42efc3445c7c5e1166c291cc0 +Author: Javier Jaramago Fernández +Date: Fri Apr 17 15:27:50 2020 +0200 + + Moved all 'metrics_maps' to source files + +commit 864535d3f9bc9bdc1bea356eb74221e423e524cb +Author: Javier Jaramago Fernández +Date: Fri Apr 17 15:09:35 2020 +0200 + + Added support for GCC 4.8 and removed per-module metrics initialization functions + + - GCC 4.8 and 5 have issues with uniform initialization syntax, for + this reason, all it's uses have been replaced with assignements. + - Per-module metrics initialization functions are no longer required, + they have been replaced with the new generic ones. + +commit fb1069e99ff0bb3e4b6b92d20a6da7d82806d9f2 +Author: Javier Jaramago Fernández +Date: Fri Apr 17 14:54:40 2020 +0200 + + Added support for GCC 4.8 in prometheus-cpp patch + +commit 8cc88ce58e8eee1df54c6dc5991eec7288f8dcdc +Author: René Cannaò +Date: Fri Apr 17 01:59:55 2020 +0200 + + Migration of threads status variables as array + +commit 30aac6465ecdb3260f17ac1fbfe58949f9547421 +Author: René Cannaò +Date: Thu Apr 16 18:51:22 2020 +0200 + + Improved MySQL_HostGroups_Manager::p_update_connection_pool_update_counter() + + * added two new functions called by p_update_connection_pool_update_counter() + * fixed some typo + * added lock + +commit 1566ce44a483d8c84042be9411cd97b49bd9230a +Author: Javier Jaramago Fernández +Date: Thu Apr 16 16:00:35 2020 +0200 + + Added generic prometheus arrays initialization functions to avoid code duplication + +commit a9226f263683d188ea49f62788e74cf04c46818e +Author: Javier Jaramago Fernández +Date: Thu Apr 16 15:59:33 2020 +0200 + + Added missing required 'wrlock' call before accessing shared resource + +commit f0588c72e1a7a6653d34a84a968b0f567df320f3 +Author: Javier Jaramago Fernández +Date: Thu Apr 16 15:57:19 2020 +0200 + + Fixed typo in several prometheus metric names and identifiers + +commit 33a213e5144705a8c2c1f601809e6bd8392ae80a +Author: Javier Jaramago Fernández +Date: Thu Apr 16 10:59:23 2020 +0200 + + Fixed logic conditionally getting info from 'gtid_si' pointer + +commit d07c95b2e91cc68481819950df383e6ac3ae15ec +Author: Javier Jaramago Fernández +Date: Wed Apr 15 21:27:45 2020 +0200 + + Added metrics help and replaced metrics impl with new array based one for 'proxysql_admin' module + +commit b6bca5a3eefc3cdc9ceca633dfd81eaeb4d49b45 +Author: Javier Jaramago Fernández +Date: Wed Apr 15 21:25:58 2020 +0200 + + Added metrics help and replaced metrics impl with new array based one for 'mysql_threads_handler' module + +commit 4d961542b2e3dcb05b3876bcb990f3c4533a7cd4 +Author: Javier Jaramago Fernández +Date: Wed Apr 15 21:25:26 2020 +0200 + + Added metrics help and replaced metrics impl with new array based one for 'query_cache' module + +commit c897b25e9f5ef94ed7275ed4e655c267ae928831 +Author: Javier Jaramago Fernández +Date: Wed Apr 15 21:25:09 2020 +0200 + + Added metrics help and replaced metrics impl with new array based one for 'mysql_monitor' module + +commit 596018b913f3d315dd823379ea796617993c05c7 +Author: Javier Jaramago Fernández +Date: Wed Apr 15 17:20:07 2020 +0200 + + Added missing empty line between type definitions + +commit 41d70061101150cb4e5ae559ca96f0271b352ae3 +Author: Javier Jaramago Fernández +Date: Wed Apr 15 17:18:40 2020 +0200 + + Joined 'proxysql_server_connections' metrics using example tags + +commit ab874fa9699d6ffcaa81f3294f614951d121411f +Author: Javier Jaramago Fernández +Date: Wed Apr 15 09:20:39 2020 +0200 + + Added missing help to 'hostgroup_manager' metrics + +commit c48b1090192002b595d5cdeca2efe66fd230da1d +Author: Javier Jaramago Fernández +Date: Tue Apr 14 21:33:01 2020 +0200 + + Replaced 'hostgroups_manager' prometheus metrics with new array based impl + +commit 073337c7165281a3437c12c5974e0eee868e5bc9 +Author: Javier Jaramago Fernández +Date: Tue Apr 14 10:00:11 2020 +0200 + + Added new metric 'proxysql_gtid_executed' + +commit ae6e9f0bc7139827e535af23cea643827be1af6d +Author: Javier Jaramago Fernández +Date: Tue Apr 14 09:56:13 2020 +0200 + + Added tar files of deps for prometheus-cpp library and modified building + +commit c6f75ea454e26edee5376621eec33535ff0e41c6 +Author: Javier Jaramago Fernández +Date: Mon Apr 13 11:32:01 2020 +0200 + + Added more metrics, fixed some invalid updated ones and standarized the 'update_modules_metrics' callback + +commit 3256fb50d842b3579dbc104f36babf4cf998aac0 +Author: Javier Jaramago Fernández +Date: Mon Apr 13 11:30:00 2020 +0200 + + Changed metric name, fixed metric update and standarized the metrics update callback + +commit 4f60c3356cd1e0393024ca5ed452f467fe469a20 +Author: Javier Jaramago Fernández +Date: Mon Apr 13 10:41:51 2020 +0200 + + Added new metrics and fixed ones which weren't initialized + +commit 472207b95197ec92ff04a7d0ad1ee40904f5e5a3 +Author: Javier Jaramago Fernández +Date: Thu Apr 9 17:23:19 2020 +0200 + + Added new 'stmt', 'memory' prometheus metrics and callback with new metrics updates + +commit 026b083f6980f9997f6c9a286b79eb46e9bdc132 +Author: Javier Jaramago Fernández +Date: Thu Apr 9 17:21:29 2020 +0200 + + Added new prometheus 'query_cache' metrics + +commit 5712d7da7d182e97f7a241effe94b0400aec0d12 +Author: Javier Jaramago Fernández +Date: Thu Apr 9 17:20:33 2020 +0200 + + Fixed inconsistent header inclusion syntax + +commit 03f98ea6fb22c0a4ddc6257ddbe38b1bb5ccf293 +Author: Javier Jaramago Fernández +Date: Thu Apr 9 17:19:31 2020 +0200 + + Changed MySQL_Thread previous metrics definitions to new convention + +commit eab412546b56eb19e1f7364524107319356464cd +Author: Javier Jaramago Fernández +Date: Thu Apr 9 17:18:33 2020 +0200 + + Changed previous metrics definitions and added updating + +commit e1e89c67543105e26b4e80e64d60e4fbcc55b6e6 +Author: Javier Jaramago Fernández +Date: Thu Apr 9 17:15:21 2020 +0200 + + Changed previous metrics definitions and added new 'connection_pool' metrics + +commit 55f8de5bcf5206c5d2c56c586224302767f2647d +Author: Javier Jaramago Fernández +Date: Mon Mar 30 10:28:16 2020 +0200 + + Removed forgotten sections from main of old prometheus plugin oriented impl + +commit ccebcd6fbb149626c8cf907cf16bbfc5b9f4b356 +Author: Javier Jaramago Fernández +Date: Mon Mar 30 10:23:25 2020 +0200 + + Added required headers as a consequence of removing 'ma_global' header inclusion from 'proxysql.h' + +commit ec63af6c4a88aab79b3dfc116f8c3b8e78702b3b +Author: Javier Jaramago Fernández +Date: Mon Mar 30 10:19:54 2020 +0200 + + Removed old plugin based implementation + +commit 621332d423e85e76d0f660be939eb0c5c661aed4 +Author: Javier Jaramago Fernández +Date: Mon Mar 30 10:15:34 2020 +0200 + + Added new prometheus exposer to ProxySQL_Admin + +commit 3d6bd3b341639aea4481689e983a9d7661f06357 +Author: Javier Jaramago Fernández +Date: Mon Mar 30 10:13:43 2020 +0200 + + Added forgotted metric updating for number of 'server connections' + +commit 689bb50234c42b912a57a679d3645d722b3b28c0 +Author: Javier Jaramago Fernández +Date: Mon Mar 30 10:10:41 2020 +0200 + + Modified 'ProxySQL_RESTAPI_Server' constructor for being able to define generic extra GET endpoints + +commit c2c4723d012b5e402e3587342391049822d34a07 +Author: Javier Jaramago Fernández +Date: Mon Mar 30 10:07:21 2020 +0200 + + Added prometheus registry to gloval variables and modified definition for calling default constructor + +commit c319db2c3d2ba54b4020dc58e6b9d060febaabdd +Author: Javier Jaramago Fernández +Date: Mon Mar 30 09:59:04 2020 +0200 + + Added new prometheus metrics mimicking current ones + +commit e703178f04e4f71db1b23016ba7c8e33513dd7f0 +Author: Javier Jaramago Fernández +Date: Mon Mar 30 09:56:24 2020 +0200 + + Moved header colliding with to unique file that requires it + +commit f5c71fa63d558390adcca63f4254c72009fc6e0a +Author: Javier Jaramago Fernández +Date: Mon Mar 30 09:48:00 2020 +0200 + + Updated lib makefile for building against prometheus-cpp + +commit a0262385605e8564db94984cff968c7f4beb44af +Author: Javier Jaramago Fernández +Date: Mon Mar 30 09:47:03 2020 +0200 + + Updated prometheus-cpp dep building to include patch application + +commit 187e61121f1af9a5f10437d562e02418380dc285 +Author: Javier Jaramago Fernández +Date: Mon Mar 30 09:45:12 2020 +0200 + + Fixed prometheus-cpp patch with forgotted forward declaration + +commit 246cacd2752519f955e7ef5dfe7f6b71b83366b3 +Author: Javier Jaramago Fernández +Date: Mon Mar 30 09:39:54 2020 +0200 + + Added new dependency folder to gitignore + +commit 022297e174892a35934473cc4315ea2f083c484d +Author: Javier Jaramago Fernández +Date: Mon Mar 30 09:37:40 2020 +0200 + + Initial serial exposer impl for prometheus-cpp client API + +commit a3f42f82b5e52bc2099e17dcd9c79f564b5dae0d +Author: Javier Jaramago Fernández +Date: Sat Mar 21 17:42:28 2020 +0100 + + Initial implemention of the prometheus exporter POC + +commit 57532a762e64ee5d9f20bda1cf4cbaef3580e5b3 +Author: Javier Jaramago Fernández +Date: Sat Mar 21 17:16:10 2020 +0100 + + Added new global variable 'prometheus_plugin' to specify the loading of the plugin + +commit 8d1a6136c958945f8f29d35df7e66fae778ef0d8 +Author: Javier Jaramago Fernández +Date: Sat Mar 21 17:09:05 2020 +0100 + + Added new dependency 'prometheus-cpp' source code and updated makefiles + +commit fff3c46902c0748898e4ec8f2daa2fed890581a8 +Author: Javier Jaramago Fernández +Date: Fri Apr 17 18:06:28 2020 +0200 + + Added 'std' namespace to string arguments + +commit a863ec4ece64e1a5469acec6e3fa7cf0552a7f90 +Merge: d34178b5 c4b1dfb2 +Author: René Cannaò +Date: Fri Apr 17 02:02:53 2020 +0200 + + Merge pull request #2675 from sysown/v2.0.11-var2 + + V2.0.11 var2 + +commit d34178b5e34f90d9326a58926750593eaab682e0 +Merge: 4a9e5800 b7834cc3 +Author: René Cannaò +Date: Thu Apr 16 09:27:17 2020 +0200 + + Merge pull request #2680 from sysown/v2.0.11-2655 + + Fix multistatement error with SET NAMES #2655 + +commit b7834cc3d36888fbf0799b167a6725322edb30fc +Author: René Cannaò +Date: Wed Apr 15 16:55:41 2020 +0200 + + Fix multistatement error with SET NAMES #2655 + +commit c4b1dfb29b167fcb87ffda4cd9a783012d991369 +Author: René Cannaò +Date: Tue Apr 14 02:53:07 2020 +0200 + + wsrep_sync_wait parsed via parse_variable_number() + +commit 3454c625c2bcbfe8eb9c3bdf9f1ebc38b53c8a7f +Author: René Cannaò +Date: Tue Apr 14 02:48:29 2020 +0200 + + Adding ability to parse some variables based ontheir attributes + + Expanded mysql_variable_st to include is_number and is_bool + +commit 54ee4e9b695c7872352e69bcd8665e77c373fc2c +Author: René Cannaò +Date: Mon Apr 13 19:51:54 2020 +0200 + + Simplified the number of session statuses + + * removed 14 statuses + * configured the MySQL_Session status to SETTING_VARIABLE for 14 session variables + * extended MySQL_Session to introduce a new variable that tracks the session variable to change + * MySQL_Threads_Handler::SQL3_Processlist() can handle all variables + * removed unnecessary loops + * improved performance removing unnecessary function calls + +commit 50dc0b30147e168dd58b0f097ab111ba8344a804 +Author: René Cannaò +Date: Mon Apr 13 16:36:38 2020 +0200 + + Minor optimization in MySQL_Threads_Handler::set_variable() + +commit d83f2974b67970e138f17f6c91fba2d6385261aa +Author: René Cannaò +Date: Mon Apr 13 16:24:47 2020 +0200 + + on_connect_to_backend() to accept a MySQL_Connection as argument instead of a MySQL_Session + +commit 6dd73fc6314ff23894e89aa3477bbc79d48e2bde +Author: René Cannaò +Date: Mon Apr 13 16:19:24 2020 +0200 + + Removed long checks in MySQL_Variables methods with assert() + + If any of these variables are NULL, we should fails instead of returning. + If should be a serious bug. + +commit deb0fb2c47408348b6fe470a9839e4bd20f0b28c +Author: René Cannaò +Date: Mon Apr 13 15:52:14 2020 +0200 + + Update .gitignore + +commit f3ba5159d6c07cad4bde5ec17c991b35d0144c76 +Author: René Cannaò +Date: Mon Apr 13 15:51:21 2020 +0200 + + Removed reference to "special_handling" variables + +commit 33ab791b49b4459b4ea0d7888c3d76ac3f16883a +Author: val +Date: Fri Apr 10 07:30:51 2020 +0000 + + fix few memory leaks + +commit 056366ea6b8c8b848c74577e12f25b568769cb00 +Author: val +Date: Fri Apr 10 06:19:31 2020 +0000 + + do not set variables on connect + +commit 08c6622eb07efb8518f60fa310ab0c10183b1b39 +Author: val +Date: Thu Apr 9 14:06:39 2020 +0000 + + set charset command sets connection character set to empty + +commit 246a9d828a4b4c7bea2fa7fcbe409f81f733b161 +Author: val +Date: Thu Apr 9 12:12:36 2020 +0000 + + use separate function for set names verification + +commit 5a33e9763d73499ae6803e701d97b34c8bf7e44f +Author: val +Date: Thu Apr 9 09:53:00 2020 +0000 + + call getters just once + +commit 26b6b617ee341295697731f1f15fd32c3f91a88d +Author: val +Date: Thu Apr 9 08:40:26 2020 +0000 + + fix unnecessary recursion in MySQL_Variables + +commit 66788863b3acf0928e6974b7dbcf52bb3968a779 +Author: val +Date: Thu Apr 9 08:09:27 2020 +0000 + + set names optimization + +commit d0d7018e341ed4ddb01898742cefefae65085b63 +Author: val +Date: Wed Apr 8 14:19:06 2020 +0000 + + rollback session_track_gtids + +commit ade8491f47bccfde1f68299b3e7b3725c3e2f6df +Author: val +Date: Wed Apr 8 13:00:32 2020 +0000 + + Re-evaluate on_connect_to_backend + +commit 6e75ac703345e207738f68a5f86a84dcbcd00980 +Author: val +Date: Wed Apr 8 11:07:20 2020 +0000 + + do not change mysql_tracked_variables. do not use special_handling as for now + +commit abd0555852765b860108c27fb57f7c90acdf102d +Author: val +Date: Wed Apr 8 10:31:27 2020 +0000 + + remove is_connected_to_backend + +commit b0ca1a030f054aa452fb44daeae0db6cadce60f7 +Author: val +Date: Wed Apr 8 08:22:55 2020 +0000 + + make MySQL_Variables a global variable + +commit dab4f8a4ae9fd89249850888f85f83935a8a24ce +Author: René Cannaò +Date: Mon Mar 30 16:45:53 2020 +0200 + + Fix arithmetic bug introduce in d242771a25680ac62 + +commit 3e790c9083b0c8d32c9ceb51cd92fcde37d8c817 +Author: val +Date: Tue Mar 3 12:34:02 2020 +0000 + + Polishing and cleanup + - cleanup code + - performance optimization + - use default value for connection + +commit 61c1913334e7145318406293279801a87ef5d1ed +Author: Valentin Rakush +Date: Mon Jan 20 20:36:14 2020 +0000 + + Character set handling implementation + +commit c28deb7c7d65db53ddbceb6ea4d5f5909ee20f84 +Author: René Cannaò +Date: Mon Jan 20 23:47:33 2020 +1100 + + Generalize the use of session variables + + Added new array mysql_tracked_variables[] that defines the tracked variables. + Ideally, tracking a new session variable will requires adding only a couple of lines of code. + + Removed session variables from mysql_thread_variables_names: + - now both MySQL_Threads_Handler::get_variables_list() and MySQL_Threads_Handler::has_variable() rely on mysql_tracked_variables[] + + Simplified MySQL_Variables, as it now also uses mysql_tracked_variables[] . + + Simplify parser in MySQL_Session + + Generalized code to handle two variables together: + - sql_auto_is_null + - sql_safe_updates + + Migrating more session variables to new algorithm + + - collation_connection + - net_write_timeout + - max_join_size + + Migrating more session variables to new algorithm + + - collation_connection + - net_write_timeout + - max_join_size + +commit 0e79eb39f70679d4be7e29da6f9e94859347c696 +Author: Valentin Rakush +Date: Sat Jan 4 09:01:48 2020 +0000 + + Implementation of the session variables array + - SQL_SAFE_UPDATES + - SQL_SELECT_LIMIT + - SQL_SQL_MODE + - SQL_TIME_ZONE + - CHARACTER_SET_RESULTS + - SQL_TRANSACTION_ISOLATION + - SQL_TRANSACTION_READ + - SQL_SESSION_TRACK_GTIDS + - SQL_SQL_AUTO_IS_NULL + +commit 4a9e5800cd6286d0c8ab25a6c086bfc7696f3fb4 +Merge: 7dd76aed 45feb0a3 +Author: René Cannaò +Date: Wed Apr 8 12:38:19 2020 +0200 + + Merge pull request #2643 from sysown/v2.0.11-1923 + + Fix bug on gtid_port and unix socket domain #1923 + +commit 7dd76aed9403b82faefc1971a50865e064914732 +Merge: 6714700a 95e62b0b +Author: René Cannaò +Date: Tue Apr 7 11:38:35 2020 +0200 + + Merge pull request #2637 from sysown/v2.0.11-warmup + + V2.0.11 warmup + +commit 6714700afef83ffdadabaaddcc19f31179b7a6ee +Merge: cdbf7081 07990f8a +Author: René Cannaò +Date: Tue Apr 7 11:38:19 2020 +0200 + + Merge pull request #2647 from sysown/v2.0.11-multi-stmt + + fix multi statement + +commit 8a0e1c17482adb615ea30d137b4d8a48b45cf077 +Author: René Cannaò +Date: Tue Apr 7 00:17:22 2020 +0200 + + Simplifying MySQL_Thread::run() phase 6 + +commit 9c2750027d1d1005d5a544304c0041eb5d7c1fca +Author: René Cannaò +Date: Mon Apr 6 23:41:53 2020 +0200 + + Simplifying MySQL_Thread::run() phase 5 + +commit da21ca1b24bd56c5a2e83490a998992296fa1eb8 +Author: René Cannaò +Date: Mon Apr 6 22:20:54 2020 +0200 + + Simplifying MySQL_Thread::run() phase 4 + +commit 72912f0b88254ada55df35b3abc3ab742b5b6b95 +Author: René Cannaò +Date: Mon Apr 6 22:05:39 2020 +0200 + + Simplifying MySQL_Thread::run() phase 3 + +commit 64bc42a1228dfc8ac5e95dab83569223ba720a39 +Author: René Cannaò +Date: Mon Apr 6 21:41:00 2020 +0200 + + Simplifying MySQL_Thread::run() phase 2 + +commit 75606bb94db205f6fc5ea776f41969a61fb924b8 +Author: René Cannaò +Date: Mon Apr 6 21:20:15 2020 +0200 + + Simplifying MySQL_Thread::run() phase 1 + +commit 07990f8a5704cdf476fa02068a5d6aca057d6689 +Author: val +Date: Mon Apr 6 13:30:49 2020 +0000 + + Proper error reporting + +commit 5d6debcb6505f41f7aa37372aae5a97ee58a5811 +Author: val +Date: Mon Apr 6 09:15:38 2020 +0000 + + fix multi statement + +commit cdbf70817a9c948a33b170662dff301a6b931a73 +Author: val +Date: Mon Apr 6 05:50:42 2020 +0000 + + Revert "Implementation of the session variables array" + + This reverts commit 1fb5c9cf06d49472a44392ea5473cad48d31607b. + +commit b1339faefd30490434406e23eb514705ef77eb01 +Author: val +Date: Mon Apr 6 05:50:16 2020 +0000 + + Revert "Generalize the use of session variables" + + This reverts commit d242771a25680ac62965d4e5d26560d6960e9276. + +commit eb0862018108667f7129081874f07aa3b6c83f1c +Author: val +Date: Mon Apr 6 05:49:56 2020 +0000 + + Revert "Character set handling implementation" + + This reverts commit 796ea5b215429f35f384680c72e2e8a92b2e0092. + +commit 8696ece34b1d3ee3a95e75c18489fed95d16d369 +Author: val +Date: Mon Apr 6 05:49:26 2020 +0000 + + Revert "Polishing and cleanup" + + This reverts commit dbafde2ff45befb5c6b5daa14ad338c2b2fab1e4. + +commit 01bc9c711ab5ab1af7debdb8f0823a9532ce4a01 +Author: val +Date: Mon Apr 6 05:48:27 2020 +0000 + + Revert "Fix arithmetic bug introduce in d242771a25680ac62" + + This reverts commit 8cbaa19c702ada30fc37087457c53ebd064bc397. + +commit 45feb0a331587c3ead5557910227395d6f88742e +Author: René Cannaò +Date: Sun Apr 5 23:59:45 2020 +0200 + + Fix bug on gtid_port and unix socket domain #1923 + +commit 95e62b0b4b9cf0fb2861a9c10688a68e1f54b4a5 +Author: René Cannaò +Date: Sat Apr 4 00:42:57 2020 +0200 + + Minor opimization on previous commit + +commit 29142e6e4f3261945b48ed4059a7f8873a0596e5 +Author: René Cannaò +Date: Sat Apr 4 00:40:25 2020 +0200 + + Global connection warming support + + Port of PR #2496 to 2.0.11 + +commit 602528e9d34efd51599ac80c5081f95aa3155940 +Merge: dd65870a 3ffe68d1 +Author: René Cannaò +Date: Fri Apr 3 13:16:21 2020 +0200 + + Merge pull request #2635 from sysown/v2.0.11-fast_route2 + + V2.0.11 fast route2 + +commit 3ffe68d178448e4173f36947dd3af4a53b580dc3 +Author: René Cannaò +Date: Fri Apr 3 12:44:54 2020 +0200 + + Added first documentation on PROXYSQLTEST + +commit 77563fffe260bcfba3ed98c1df70e4bba807d1e3 +Author: René Cannaò +Date: Thu Apr 2 23:34:04 2020 +0200 + + Improving testing for fast routing + +commit f9fdde3b997d0d7fc0f5379accf52cf9a36917a6 +Author: René Cannaò +Date: Thu Apr 2 22:17:48 2020 +0200 + + Fast routing lookup without username + +commit dd65870a9afd51645a9d9780fcc0740b4dcebd66 +Merge: 7be1dfc8 82d65265 +Author: René Cannaò +Date: Wed Apr 1 17:41:10 2020 +0200 + + Merge pull request #2627 from JavierJF/v2.0.11-2622 + + Add X509V3 basic constraints required for CA certificate #2622 + +commit 7be1dfc8440c3b8edbbe884cb182b9daf389ba43 +Merge: 8ba928bf 894272e9 +Author: René Cannaò +Date: Wed Apr 1 10:09:18 2020 +0200 + + Merge pull request #2629 from sysown/v2.0.11-2628 + + Do not close file descriptors on parent #2628 + +commit 8ba928bfdc97bd88cf7dea976f9a00481e047b8b +Merge: 96516d50 3d49fb58 +Author: René Cannaò +Date: Wed Apr 1 10:05:30 2020 +0200 + + Merge pull request #2625 from sysown/v2.0.11-2623 + + Fix 2 memory leaks in libmariadbclient #2623 + +commit 9c2f0bf3acdd5d0604946bb3df958795aa4fab05 +Author: René Cannaò +Date: Tue Mar 31 21:31:10 2020 +0200 + + Adding tests to benchmark multiple lookups in mysql_query_rules_fast_routing + +commit 82d652659e0ef776edc004670e0b90a1dee061dc +Merge: cc393510 96516d50 +Author: Javier Jaramago Fernández +Date: Tue Mar 31 20:22:23 2020 +0200 + + Merge branch 'v2.0.11' of github.com:sysown/proxysql into v2.0.11-2622 + +commit cc393510d90501f80c30a2f72fc156f3c9a430d3 +Author: Javier Jaramago Fernández +Date: Tue Mar 31 20:16:23 2020 +0200 + + Changed the 'Signature Algorithm' to 'sha256WithRSAEncryption' to match mysql and ensure browser support + +commit 5cd93248ee3879e6b010f449c05fd6690e557b2f +Author: Javier Jaramago Fernández +Date: Tue Mar 31 20:14:30 2020 +0200 + + Modified 'Basic Constraints: CA' to FALSE as the cert generated by mysql itself specifies + +commit 76554fa4aef83418037e5487b08d8d011c631be3 +Author: Javier Jaramago Fernández +Date: Tue Mar 31 20:12:38 2020 +0200 + + Changed version to 'version 3' which is matched by number 2 + +commit d15f055b1bc71272bd9d338280d897bc84fd1167 +Author: René Cannaò +Date: Tue Mar 31 18:17:44 2020 +0200 + + Remove define PROXYSQL_QPRO_PTHREAD_MUTEX + + Removed also all old code that didn't use pthread mutex + +commit c4a0ea9d4dbabfd582eb89aff2ff6efcfbe6ba55 +Author: René Cannaò +Date: Tue Mar 31 18:11:06 2020 +0200 + + Remove all code not related to FAST_ROUTING_NEW208 + + Removed also #define FAST_ROUTING_NEW208 + This was new code introduced in 2.0.8 , and now is the default + +commit 96516d502070d96ef499845b9b274303de39f1c3 +Merge: 8cbaa19c 242dd526 +Author: Javier Jaramago Fernández +Date: Tue Mar 31 17:34:18 2020 +0200 + + Merge pull request #2605 from pravus/v2.0.11 + + proposed fix: x509: certificate signed by unknown authority + +commit 894272e995098b464497b0aa460ac33688c68482 +Author: René Cannaò +Date: Tue Mar 31 15:30:55 2020 +0200 + + Do not close file descriptors on parent #2628 + +commit a9d3d686a6f4638278a9788dd9ab78f5829309ea +Author: Javier Jaramago Fernández +Date: Tue Mar 31 12:01:41 2020 +0200 + + Added X509V3 basic constraints required for CA certificate + +commit 3d49fb5864fc223b3bb5234b87e64b78ec011731 +Author: René Cannaò +Date: Mon Mar 30 20:19:39 2020 +0200 + + Fix 2 memory leaks in libmariadbclient #2623 + +commit 8cbaa19c702ada30fc37087457c53ebd064bc397 +Author: René Cannaò +Date: Mon Mar 30 16:45:53 2020 +0200 + + Fix arithmetic bug introduce in d242771a25680ac62 + +commit 757337637108cffee56df376dd92c77e614191d0 +Author: René Cannaò +Date: Sun Mar 29 19:52:58 2020 +0200 + + Fix an error in 2 commits ago + +commit e07b74f5a42e63b3925acfd5aa4e87abb6136cd3 +Author: René Cannaò +Date: Sun Mar 29 19:20:48 2020 +0200 + + Fix compiling error from previous commit + +commit 3df26622d9fcf254cdc4ea5a91055ca9631cf017 +Author: René Cannaò +Date: Sun Mar 29 18:02:01 2020 +0200 + + Fixing a crashing bug when enabling LDAP plugin + + Bug introduced in 238aeb87980dca494f5a080a886f72e8acbe1e20 + +commit 07fdc6f4271f9da8ed456589a7ed01a111cee315 +Merge: f4576247 fdb16ba6 +Author: René Cannaò +Date: Sun Mar 29 17:53:57 2020 +0200 + + t fetchMerge branch 'v2.0.11' of https://github.com/sysown/proxysql into v2.0.11 + +commit fdb16ba67638e5cf428c51335ea1b2e951f107a1 +Merge: 70b9f259 dbafde2f +Author: val214 <54602153+val214@users.noreply.github.com> +Date: Thu Mar 26 21:59:53 2020 +0300 + + Merge pull request #2582 from sysown/v2.0.11-var-array + + V2.0.11 var array + +commit dbafde2ff45befb5c6b5daa14ad338c2b2fab1e4 +Author: val +Date: Tue Mar 3 12:34:02 2020 +0000 + + Polishing and cleanup + - cleanup code + - performance optimization + - use default value for connection + +commit 796ea5b215429f35f384680c72e2e8a92b2e0092 +Author: Valentin Rakush +Date: Mon Jan 20 20:36:14 2020 +0000 + + Character set handling implementation + +commit d242771a25680ac62965d4e5d26560d6960e9276 +Author: René Cannaò +Date: Mon Jan 20 23:47:33 2020 +1100 + + Generalize the use of session variables + + Added new array mysql_tracked_variables[] that defines the tracked variables. + Ideally, tracking a new session variable will requires adding only a couple of lines of code. + + Removed session variables from mysql_thread_variables_names: + - now both MySQL_Threads_Handler::get_variables_list() and MySQL_Threads_Handler::has_variable() rely on mysql_tracked_variables[] + + Simplified MySQL_Variables, as it now also uses mysql_tracked_variables[] . + + Simplify parser in MySQL_Session + + Generalized code to handle two variables together: + - sql_auto_is_null + - sql_safe_updates + + Migrating more session variables to new algorithm + + - collation_connection + - net_write_timeout + - max_join_size + + Migrating more session variables to new algorithm + + - collation_connection + - net_write_timeout + - max_join_size + +commit 1fb5c9cf06d49472a44392ea5473cad48d31607b +Author: Valentin Rakush +Date: Sat Jan 4 09:01:48 2020 +0000 + + Implementation of the session variables array + - SQL_SAFE_UPDATES + - SQL_SELECT_LIMIT + - SQL_SQL_MODE + - SQL_TIME_ZONE + - CHARACTER_SET_RESULTS + - SQL_TRANSACTION_ISOLATION + - SQL_TRANSACTION_READ + - SQL_SESSION_TRACK_GTIDS + - SQL_SQL_AUTO_IS_NULL + +commit 70b9f25937bad7fca4a6b1d46ac9ea6838522545 +Author: val +Date: Tue Mar 24 09:28:41 2020 +0000 + + edge case : offset==0 and limit==0 + +commit 7f20bfd1e8244f7ab4866e065325e1783cc0b778 +Author: René Cannaò +Date: Tue Mar 24 18:11:24 2020 +1100 + + Support for LIMIT/OFFSET in SQLite3_result() + +commit f457624758c1e398fb4860a97f8ed30c7fc7f9e8 +Author: val +Date: Tue Mar 24 09:28:41 2020 +0000 + + edge case : offset==0 and limit==0 + +commit b9d6a7a2ee769d7c9d32fd18396444d28279951f +Merge: c9a58f2a cec0404c +Author: René Cannaò +Date: Tue Mar 24 18:27:29 2020 +1100 + + Merge pull request #2612 from sysown/v2.0.11-sqlite_limit + + Support for LIMIT/OFFSET in SQLite3_result() + +commit cec0404cba8ffaaf10057739add6e00e4a304d49 +Author: René Cannaò +Date: Tue Mar 24 18:11:24 2020 +1100 + + Support for LIMIT/OFFSET in SQLite3_result() + +commit 242dd52696fc56dacfd7291e43cbbe7f9d3719dd +Author: Jason Hord +Date: Tue Mar 17 09:12:07 2020 -0600 + + added loading of intermediate certificate chain into SSL context so clients can verify the server certificate properly + +commit c9a58f2a560a4c866a8b11f4d66afc919cd15a57 +Merge: 3f06f73e e5d026a2 +Author: val214 <54602153+val214@users.noreply.github.com> +Date: Fri Mar 13 11:02:05 2020 +0300 + + Merge pull request #2601 from sysown/v2.0.11-fix-fast-forward + + Immediately kill offline backends for fast forward case + +commit e5d026a2bd5e7571d6041984d6bdd3a0b755411f +Author: val +Date: Thu Mar 12 19:09:05 2020 +0000 + + Immediately kill offline backends for fast forward case + +commit 3f06f73e2507f14d2009ce8cde8ee606873e5910 +Author: Javier Jaramago Fernández +Date: Wed Mar 11 17:58:02 2020 +0100 + + Fixed identation and code formatting + +commit 4356beb1a9765ccea83c22e4b38ee3100bc7f968 +Author: Javier Jaramago Fernández +Date: Wed Mar 11 16:58:52 2020 +0100 + + Fix invalid free for ipv6 + +commit 5552c7568fbeb9a84b229556a129e105bd994363 +Merge: a4e78ce4 29c42838 +Author: René Cannaò +Date: Wed Mar 11 20:02:55 2020 +1100 + + Merge branch 'v2.0.11' of https://github.com/sysown/proxysql into v2.0.11 + +commit a4e78ce483d7f7615629a5c375d8d8adb96b6464 +Author: René Cannaò +Date: Wed Mar 11 12:49:39 2020 +1100 + + Fixed code formatting + +commit 62c98f17dbe83f7fb61227efffc5edf77c4ef052 +Author: René Cannaò +Date: Wed Mar 11 12:48:01 2020 +1100 + + Fix invalid free for ipv6 + +commit 29c42838671aecbfe0ebcc11fe5d40dbef01cb81 +Author: Nick Vyzas +Date: Tue Mar 10 19:49:11 2020 +0200 + + Reverting pid file patch + + https://github.com/sysown/proxysql/issues/2494 + + For now users should manually update the systemd unit file in case of a non-default ProxySQL deployment + +commit fa79ba95a94e2a9881b68b2ddab85838805c91c3 +Merge: 5c4e38b0 3c090c33 +Author: René Cannaò +Date: Tue Mar 10 12:36:38 2020 +1100 + + Merge pull request #2589 from sysown/v2.0.11-ssl + + V2.0.11 ssl + +commit 3c090c33040c28e3c42197493f28d63661055471 +Author: René Cannaò +Date: Thu Mar 5 10:58:06 2020 +0100 + + Fix a random error with SSL + +commit da7fdfe14cab51e4680657f0a91693fecda9930d +Author: René Cannaò +Date: Mon Mar 2 14:56:49 2020 +0100 + + Build libmariaclient with debug + +commit a9f822c44253100619856dd205c5edad595bd295 +Author: René Cannaò +Date: Mon Mar 2 14:48:34 2020 +0100 + + libmysqlclient was incorrectly returning err 2019 + +commit de7be72c6ace89a4629f741aaf5f776a51af4e06 +Author: René Cannaò +Date: Mon Mar 2 14:41:38 2020 +0100 + + Updating struct bio_st + +commit bbcbafc4c78bbae798deb9b0d4fb327aa24258f1 +Author: René Cannaò +Date: Mon Mar 2 14:24:23 2020 +0100 + + Update Makefile for libssl + +commit 317d5accba61dfa7643a2a6c6a1a826d752df71e +Author: René Cannaò +Date: Mon Mar 2 12:50:09 2020 +0100 + + Changing symlink to libssl 1.1.1d + +commit a6ab276f529b4cc740e106dad75333580443c63f +Author: René Cannaò +Date: Mon Mar 2 12:36:53 2020 +0100 + + Updating .gitignore for openssl-1.1.1d + +commit a7c1434f28f79b9ecb159be44f40a37365d43d28 +Author: René Cannaò +Date: Mon Mar 2 12:36:16 2020 +0100 + + Adding openssl-1.1.1d tarball + +commit 6dc9606ac40cb500124f35ba85b8afb5546b5d4c +Author: René Cannaò +Date: Mon Mar 2 12:33:47 2020 +0100 + + Update heartbeat during connections + + This reduced the probability of missed heartbeats + +commit a4cac5b0b5863282762d20dcf079f8acfed04ca0 +Author: René Cannaò +Date: Mon Mar 2 12:30:24 2020 +0100 + + Removing plugin path from cfg file + +commit 5c4e38b0dcaa6febf7ff118b00b3194e45b5f1ed +Merge: d14fc52f 24e2e754 +Author: René Cannaò +Date: Sat Feb 29 09:44:28 2020 +1100 + + Merge pull request #2567 from sysown/v2.0.11-2523 + + adding MariaDB ConnectorJ test case to set parser tests + +commit d14fc52f2da4feb8cabc6a1d35b0e5ab6575400e +Merge: 3447730d 3f80155b +Author: René Cannaò +Date: Sat Feb 29 09:43:29 2020 +1100 + + Merge pull request #2571 from sysown/jobs-patch-1 + + Revert to auto configuration of build job num + +commit 3f80155b4f0e78b5852af47bb65a871ee43827ea +Author: Nick Vyzas +Date: Fri Feb 28 00:42:10 2020 +0200 + + Revert to auto configuration of build job num + + Removing patch to force 8x jobs during build, this was needed to build the previous version of the package. + +commit 24e2e7546d58c1dc96f7800dfdaef06d33c2ad2d +Author: val +Date: Thu Feb 27 08:12:02 2020 +0000 + + adding MariaDB ConnectorJ test case to set parser tests + +commit 3447730de9dd61930305b6d258858f9cdb292d01 +Merge: e42b446c 63f09e68 +Author: René Cannaò +Date: Wed Feb 26 19:12:44 2020 +1100 + + Merge branch 'v2.0.11' of https://github.com/sysown/proxysql into v2.0.11 + +commit e42b446cf2802418744ed8c71d376c3f62e3c07e +Author: René Cannaò +Date: Wed Feb 26 19:12:21 2020 +1100 + + Adding sqlite_history_convert + +commit 63f09e6889464b61b1a0a6ad36ad082f6c0f5154 +Merge: 3ac47a93 a78dbfb6 +Author: René Cannaò +Date: Wed Feb 26 16:41:41 2020 +1100 + + Merge pull request #2562 from sysown/v2.0.10-2529 + + report mysql thread_id in case of error during query + +commit 3ac47a93339f5f13a419774bc4b4b470a9984be8 (tag: 2.0.11) +Author: René Cannaò +Date: Wed Feb 26 11:00:57 2020 +1100 + + Updating make cleanall , and gitignore + +commit a78dbfb6b30aea924f210bf38612ec27bf62423b +Author: val +Date: Tue Feb 25 19:47:43 2020 +0000 + + report mysql thread_id in case of error during query + +commit 5b31997215ed4c0498737bb0ac216172cd5c6dfc (tag: v2.0.10, origin/v2.0.10) +Author: Nick Vyzas +Date: Tue Feb 25 16:30:39 2020 +0200 + + Adding Makefile support for CentOS 7 + + Add the force to symlink deletion for libmicrohttpd + +commit 1b1bd9b72dde0961c17be91504b009a4e8f82e70 +Merge: b01aef9c d5f59381 +Author: Nick Vyzas +Date: Tue Feb 25 12:27:53 2020 +0200 + + Merge branch 'v2.0.10' of https://github.com/sysown/proxysql into v2.0.10 + +commit d5f593818d8837e8685419731f981f6b720f88f5 +Author: René Cannaò +Date: Tue Feb 25 21:27:46 2020 +1100 + + Support for CentOS 6.7 in 2.0.10 (#2559) + +commit b01aef9ca3e1da3d1d6d4c0e2aa6b2dfcd335d3d +Author: Nick Vyzas +Date: Tue Feb 25 12:26:55 2020 +0200 + + Adding fixes for centos6 + +commit 73cca05586d74c0ca142dbd75aa1056cc09c5f51 +Merge: 090d93a1 1f371221 +Author: René Cannaò +Date: Tue Feb 25 21:17:46 2020 +1100 + + Merge pull request #2557 from sysown/v2.0.10-test-firewall + + firewall test + +commit 1f371221028ba280ebbfd543294633e4e4297f70 +Author: val +Date: Tue Feb 25 09:23:06 2020 +0000 + + firewall test + +commit 090d93a1ba41d29e526d2b12f8fe8b43ccbedc15 +Merge: 987d1288 b1306a28 +Author: René Cannaò +Date: Tue Feb 25 00:47:49 2020 +1100 + + Merge pull request #2556 from sysown/v2.0.10-extended_stats + + Extending Statistics, only for new Web UI + +commit b1306a28b3c1f72990186557265e16679d9e7262 +Author: René Cannaò +Date: Tue Feb 25 00:20:51 2020 +1100 + + Extending Statistics, only for new Web UI + +commit 987d1288ac2bbad3267df2169112dbac89f1e584 +Merge: 16e71a7d 4878b59e +Author: René Cannaò +Date: Mon Feb 24 22:57:11 2020 +1100 + + Merge pull request #2554 from sysown/v2.0.10-whitelist-2534 + + fix firewall whitelist rules + +commit 16e71a7df320d4c5f587533dc609274c6d6d0027 +Merge: f811139d abe78ef1 +Author: René Cannaò +Date: Sun Feb 23 09:30:17 2020 +1100 + + Merge pull request #2553 from sysown/v2.0.10-2552 + + Crash on mirror traffic #2552 + +commit 4878b59ebc6f46c186be7ccbb4ca028e9227c343 +Author: val +Date: Sat Feb 22 14:41:51 2020 +0000 + + fix firewall whitelist rules + +commit abe78ef1600c87f7829f16265f6dc0fa557aa1d8 +Author: René Cannaò +Date: Sat Feb 22 23:33:41 2020 +1100 + + Crash on mirror traffic #2552 + +commit f811139d305e80eb426d501570e5699408e0f308 +Merge: 7e1901c4 befca502 +Author: René Cannaò +Date: Sat Feb 22 10:39:35 2020 +1100 + + Merge pull request #2549 from sysown/v2.0.10-2533 + + [WIP] V2.0.10 2533 + +commit befca502032293c7839cf03ec01d5c1968c3a788 +Author: val +Date: Fri Feb 21 19:48:38 2020 +0000 + + memory corruption + +commit a1d9c5ac63f241e2e7e932d024e3196c1fa0732a +Author: val +Date: Fri Feb 21 19:24:44 2020 +0000 + + memory alloc/free + +commit 2bdf044825b0878e03ee11f296c279bf9db3fc37 +Author: René Cannaò +Date: Fri Feb 21 16:43:53 2020 +1100 + + Implementation of OFFLINE_SOFT for pxc_maint_mode + +commit 0ae253a6acb316b9ef1cf882ab2edd315769542c +Author: René Cannaò +Date: Fri Feb 21 14:41:10 2020 +1100 + + Code cleanup + +commit 865b96d343013d3742684cfef48a6e56413ee0b2 +Author: René Cannaò +Date: Fri Feb 21 13:11:33 2020 +1100 + + Code cleanup + +commit 7e1901c407dd052699f21fcfb80a73cdef7104be +Merge: 13653c7c a095ef00 +Author: René Cannaò +Date: Thu Feb 20 19:44:27 2020 +1100 + + Merge pull request #2545 from sysown/v2.0.10-stats-fast + + use DIGEST_STATS_FAST_1 always + +commit a095ef00d36bce7957df2c3ed58115017cbf50bd +Author: val +Date: Thu Feb 20 07:55:48 2020 +0000 + + use DIGEST_STATS_FAST_1 always + +commit 13653c7ca49a54269fbb85bffb5f5e0b295c1b60 +Merge: 00337678 5a842772 +Author: René Cannaò +Date: Thu Feb 20 15:28:20 2020 +1100 + + Merge pull request #2542 from sysown/v2.0.10-sqlite_server_test + + Better handling of transactions in SQLite3 + +commit 00337678188748be7af22d7e7c691f212f27e668 +Merge: 9c137dfd 12e61b89 +Author: René Cannaò +Date: Thu Feb 20 15:21:49 2020 +1100 + + Merge pull request #2539 from sysown/v2.0.10-fix-galera-query + + Fix galera query in maint_mode + +commit 9c137dfd816fff44fe68ff34efe69fd380e393ea +Merge: 332059ad 6b2072d3 +Author: René Cannaò +Date: Thu Feb 20 15:21:31 2020 +1100 + + Merge pull request #2538 from sysown/v2.0.10-fix-load-config + + Fix LOAD MYSQL SERVERS FROM CONFIG + +commit 12e61b89bb47a475ea6d4e6436d0b32dd457c701 +Author: val +Date: Wed Feb 19 07:39:36 2020 +0000 + + Fix galera query in maint_mode + +commit 6b2072d3a7753fcf4deed1b73f1c5719695a8e00 +Author: val +Date: Wed Feb 19 07:17:19 2020 +0000 + + Fix LOAD MYSQL SERVERS FROM CONFIG + +commit 5a842772c48e6be8e70e8fccc17fa48e790c9615 +Author: René Cannaò +Date: Wed Feb 19 14:42:09 2020 +1100 + + Better handling of transactions in SQLite3 + +commit 332059adff69ca7333504393aca3d2d2ee15dc97 +Author: René Cannaò +Date: Tue Feb 18 21:44:05 2020 +1100 + + Empty commit + +commit 7ee01a09879135e4bda8fc728887b83a95936c6c (tag: 2.0.10) +Merge: b3e94591 9bdab2e8 +Author: René Cannaò +Date: Tue Feb 18 10:55:34 2020 +1100 + + Merge pull request #2531 from sysown/v2.0.9-web2 + + V2.0.9 web2 + +commit 9bdab2e8f083abc0af4cf69bf747ddd50b2ed788 +Author: val +Date: Mon Feb 17 18:16:56 2020 +0000 + + revert previous commit + +commit b3e945914ab9e2fca9bd75f7dc269bcbe871b04c +Author: René Cannaò +Date: Tue Feb 18 01:16:30 2020 +1100 + + Changing version in Makefile + +commit bc65ceeac60ffda20cd920b98056cbb80b571491 +Author: Valentin Rakush +Date: Mon Feb 17 09:55:26 2020 +0000 + + added configuration data from web interface plugin testing + +commit 60923e24f744532969e922d4e5ba53f670f82d9e (tag: v2.0.9, origin/v2.0.9) +Author: Nick Vyzas +Date: Sat Feb 15 20:34:30 2020 +0200 + + Extending to handle symlink python + +commit 673c78b63f7d3534b3309c854cb90a75865baf7d +Author: Nick Vyzas +Date: Sat Feb 15 20:29:45 2020 +0200 + + Handling failure when Python is installed + +commit 4a4b29ce942d2c5b70c871654d94d07bd7f7c560 +Author: Nick Vyzas +Date: Sat Feb 15 18:25:08 2020 +0200 + + Separating apt commands in case package N/A + +commit 36fae94f6c0a791feda0f1465f7d9ce418b9ebca +Author: Nick Vyzas +Date: Sat Feb 15 17:55:39 2020 +0200 + + Added extra apt update for failing deb builds + +commit 4c2fcde26903c071baba5714837447ab5d610dea +Author: Nick Vyzas +Date: Sat Feb 15 16:54:12 2020 +0200 + + Adding another dep for Debian10 + +commit 990806975f7d43c831f18a2233536a5ee82eb27c +Merge: 1a3175c1 2e318c45 +Author: root +Date: Fri Feb 14 15:26:00 2020 -0500 + + Merge branch 'v2.0.9' of https://github.com/sysown/proxysql into v2.0.9 + +commit 2e318c457729e01e8758333c39bc4eb22ac482aa +Author: Nick Vyzas +Date: Sat Feb 15 15:17:33 2020 +0200 + + Removing Debian and making RHEL entrypoint generic + +commit 1a3175c11dc3ff0b1ab5c3a9493e4473a706af58 +Author: root +Date: Fri Feb 14 15:25:10 2020 -0500 + + Remove relic debugging logic + +commit de4a4a996de430baeb2bafd1d9d38e27372562b8 +Author: Nick Vyzas +Date: Fri Feb 14 20:46:56 2020 +0200 + + Changing patch libgnutls package name + +commit 506a04a3895613ab80752b869dbbd3b62812ba8f +Author: Nick Vyzas +Date: Fri Feb 14 20:23:16 2020 +0200 + + Adding more logic for CentOS builds + +commit d490a7e0e124bda9e65aec8d7681545f89988097 +Author: Nick Vyzas +Date: Fri Feb 14 19:39:30 2020 +0200 + + Patching for SSL compile issue + +commit e8ce5e79c58e14f1de82cb81856b06a875b77fab +Author: Nick Vyzas +Date: Fri Feb 14 18:10:04 2020 +0200 + + Adding dirty patch to debian package builds + +commit 28a9173161538d0536b77a4fc5da5f08e7b2448e +Author: Nick Vyzas +Date: Fri Feb 14 18:05:54 2020 +0200 + + Adding dirty patch for RHEL compile + +commit 4161c29c325870969af6d005927ed6358fae91ce +Merge: 1c13d49a 100a0e80 +Author: René Cannaò +Date: Fri Feb 14 09:45:50 2020 +1100 + + Merge branch 'v2.0.9' of https://github.com/sysown/proxysql into v2.0.9 + +commit 1c13d49abf56e45711c412fa162574b25851426e +Author: René Cannaò +Date: Fri Feb 14 09:45:22 2020 +1100 + + Fix build issue + +commit 100a0e80747d97b4e459cd72b391538e15fc15da +Merge: 42789804 b9035aa1 +Author: René Cannaò +Date: Thu Feb 13 08:05:30 2020 +1100 + + Merge pull request #2525 from micah/patch-1 + + Include apt-transport-https + +commit 42789804b19b1f98d9b0297465a1726ee1ab8cbf +Author: Nick Vyzas +Date: Wed Feb 12 18:41:30 2020 +0200 + + Update init script perms for /var/run/proxysql + + https://github.com/sysown/proxysql/issues/2115 + +commit 0a35550618b92b929977e437c9dbb97ffdccf667 +Author: Nick Vyzas +Date: Wed Feb 12 18:33:17 2020 +0200 + + Comment PID file by default in systemd + + https://github.com/sysown/proxysql/issues/2494 + +commit b9035aa1f9ae90bf6e3a287db621ea5767cfac6e +Author: micah +Date: Wed Feb 12 16:15:45 2020 +0000 + + Include apt-transport-https + + On Debian systems, the package `apt-transport-https` is not installed by default, and if you follow the instructions as written in the README.md, you will get an error like this: + + ``` + E: The method driver /usr/lib/apt/methods/https could not be found. + N: Is the package apt-transport-https installed? + E: Failed to fetch https://repo.proxysql.com/ProxySQL/proxysql-2.0.x/stretch/./InRelease + E: Some index files failed to download. They have been ignored, or old ones used instead. + ``` + + This simply adds the package to the install instructions for Debian/Ubuntu systems. If it is already installed, it will not produce any additional issue. + +commit b0af4d272db97334565a265c85eed898c426d4e7 +Author: René Cannaò +Date: Wed Feb 12 02:35:41 2020 +0100 + + Fix 2 bugs related to firewall + + * Query_Processor::find_firewall_whitelist_rule() wasn't correctly finding rules + * SQL injection algorithm should only be triggered if the query isn't blocked already + +commit 52362ad1de75240af9224e986d8f81d201c3a04e +Merge: 97c65897 e8a1097a +Author: René Cannaò +Date: Mon Feb 10 20:47:04 2020 +1100 + + Merge pull request #2510 from sysown/v2.0.9-into-outfile + + SELECT CONFIG INTO OUTFILE + +commit 97c65897004c2d568f376f629188813c736f6a4c +Merge: a0bd85ed 8b59af4e +Author: René Cannaò +Date: Mon Feb 10 20:46:41 2020 +1100 + + Merge pull request #2490 from val214/v2.0.9-maint-mode + + pxc_maint_mode implementation for galera + +commit c4607d94fea4eadd3cd0309e33a5e092fc43d0a4 +Author: René Cannaò +Date: Sun Feb 9 23:25:32 2020 +1100 + + class Web_Interface_plugin friends Query_Processor + +commit 238aeb87980dca494f5a080a886f72e8acbe1e20 +Author: René Cannaò +Date: Sun Feb 9 15:11:23 2020 +1100 + + Preparing the API for web interface plugin + +commit d266e296a65e7d49bc428ce4ebde7506b33dc124 +Author: René Cannaò +Date: Fri Feb 7 16:00:58 2020 +1100 + + Preparing skelethon for web ui + +commit a0bd85edf8dc4e9000147c85e0142ee48fcd30ad +Merge: 5b28ff32 8c1d4ef8 +Author: René Cannaò +Date: Fri Feb 7 15:18:35 2020 +1100 + + Merge pull request #2461 from val214/v2.0.9-restapi + + V2.0.9 restapi [FR] + +commit 5b28ff3200429cf323c1de84380d7852d381ea66 +Merge: e40246f6 5fe8cea6 +Author: René Cannaò +Date: Fri Feb 7 15:17:31 2020 +1100 + + Merge pull request #2505 from sysown/v2.0.9-tap-build-fix + + Tap test refers to mariadb client library + +commit e40246f62ae08da1b4d12fb1b65d7f44cc71eeea +Author: René Cannaò +Date: Wed Feb 5 17:02:47 2020 +1100 + + Fixed a bug in firewall whitelist + +commit 8c1d4ef8f30079dfd6af6a8a729a93d253a20880 +Author: Valentin Rakush +Date: Mon Jan 13 06:54:10 2020 +0000 + + Fix problem with runtime table. Add CORS and content type headers + +commit 30351dfd0f49459b99d42fc33785ab37a5388dd7 +Author: Valentin Rakush +Date: Sun Jan 12 20:44:05 2020 +0000 + + Fix issue with method field + +commit 4a5d986aa9bd9c234fb45e0ad44a4cbe3b96ad1e +Author: Valentin Rakush +Date: Fri Dec 27 09:07:59 2019 +0000 + + Use HTTP method for configuration + +commit 66400a35c7780858d66c7f8235a3542ebf907511 +Author: Valentin Rakush +Date: Thu Dec 26 19:49:11 2019 +0000 + + Implementation of the GET and POST methods + +commit f0687f368811062cf264271a703ce45188a636ee +Author: Valentin Rakush +Date: Tue Dec 24 20:45:26 2019 +0000 + + Implement restapi functionality + - restapi_routes table in admin module + - calling python script (json validation, error handling) + - scripts: metrics, export_users + - tests adjusted + +commit 801b42cc3c535cd0fb482d2275186df62d2908c5 +Author: Valentin Rakush +Date: Sat Dec 21 16:04:25 2019 +0000 + + Implement call to external script and return stdout in response + +commit 1c84ca66ea457b0fb967a22b97de91a6fbf24103 +Merge: 6b4fb16a c94e3b4a +Author: René Cannaò +Date: Mon Feb 3 08:48:41 2020 +1100 + + Merge pull request #2509 from sysown/v2.0.9-log-expired-password + + Report expired password error into the monitors error log + +commit 6b4fb16aa8102d5fa2c7944b2df7569b97330358 +Merge: c1419502 7949e076 +Author: René Cannaò +Date: Mon Feb 3 08:48:30 2020 +1100 + + Merge pull request #2508 from sysown/v2.0.9-expired-password + + Monitor expired password and failed pings + +commit e8a1097a5cb7a99931cdae7746188e847b53549a +Author: Valentin Rakush +Date: Sun Feb 2 19:31:55 2020 +0000 + + SELECT CONFIG INTO OUTFILE + +commit c1419502373d8d984ba0efa033cba70cdf7d87fa +Merge: e00eb130 7b7b94a2 +Author: René Cannaò +Date: Sun Feb 2 23:52:32 2020 +1100 + + Merge pull request #2507 from sysown/v2.0.9-set-verbose-output + + More verbose output for failed SET statements + +commit c94e3b4af29a9f0f83e4cdd26558f50623e26670 +Author: Valentin Rakush +Date: Sun Feb 2 12:36:21 2020 +0000 + + Report expired password error into the monitors error log + +commit 7949e0762ba12b65984e6296a5242c8a65e6a53e +Author: Valentin Rakush +Date: Sun Feb 2 11:59:28 2020 +0000 + + Monitor expired password and failed pings + +commit 8b59af4ef299c9d071ca883ecf7463c1593f8b85 +Author: Valentin Rakush +Date: Mon Jan 20 17:41:04 2020 +0000 + + Host goes offline if maint_mode is true + +commit 3814c54f6edfbb3dc71b12a7afe4a832c23e08fa +Author: Valentin Rakush +Date: Fri Dec 6 21:02:51 2019 +0000 + + pxc_maint_mode implementation for galera + +commit 7b7b94a20f38e0ed7bfe2bdc3505627ca0a9cbef +Author: Valentin Rakush +Date: Sun Feb 2 10:42:10 2020 +0000 + + More verbose output for failed SET statements + +commit e00eb130dca8cec3ff39afba273fb1b26bdac1f9 +Merge: a6debf51 f9bac731 +Author: René Cannaò +Date: Sun Feb 2 20:52:16 2020 +1100 + + Merge pull request #2506 from sysown/v2.0.9-ps-large-result-test + + Test for large result fix + +commit f9bac7315f426ad0098bdd3d5f624757fc3fd866 +Author: Valentin Rakush +Date: Sat Feb 1 15:04:43 2020 +0000 + + 4GB resultset test cleanup + +commit eab635abdbbe7bbcc552311661f628caced1d304 +Author: Valentin Rakush +Date: Sat Feb 1 14:25:49 2020 +0000 + + Test with prepared statements + +commit 515c2e1100f3c978916298db32e2324254c67257 +Author: Valentin Rakush +Date: Sat Feb 1 11:25:38 2020 +0000 + + Test for large result fix + +commit 5fe8cea66044df5d8bdb489d152f000aed9e1a5a +Author: Valentin Rakush +Date: Sat Feb 1 09:38:12 2020 +0000 + + Tap test refers to mariadb client library + +commit a6debf5126b9ec5bf2822fd47273ffc11ecc1cb0 +Author: René Cannaò +Date: Sat Feb 1 20:24:15 2020 +1100 + + Fix memory leak in monitor_AWS_Aurora_thread_HG() + +commit e062f84c3e95eda1af336abb6f2b03d499142765 +Merge: aba21e01 19e7c3f1 +Author: René Cannaò +Date: Sat Feb 1 16:34:27 2020 +1100 + + Merge pull request #2399 from val214/v2.0.9-mem-leaks + + [WIP] V2.0.9 mem leaks fixes + +commit aba21e010e5538b6198390aacd04a7e7f6ace0d9 +Merge: 3bebbe94 868f7090 +Author: René Cannaò +Date: Sat Feb 1 16:32:04 2020 +1100 + + Merge pull request #2501 from sysown/v2.0.9-PS-large-result + + Several bug fixes for large resultset with PS + +commit 3bebbe9447a97b2ef4d93c5e6c71bd18124d9ef4 +Merge: 696f68c0 34510af9 +Author: René Cannaò +Date: Sat Feb 1 16:30:35 2020 +1100 + + Merge branch 'v2.0.9' of https://github.com/sysown/proxysql into v2.0.9 + +commit 696f68c0419b90dfea5dcf464819c7dcc25b6183 +Merge: 3d2fd599 6c551eab +Author: René Cannaò +Date: Sat Feb 1 16:29:53 2020 +1100 + + Merge branch 'v2.0.9-auroraDup' into v2.0.9 + +commit 868f70903d83bdec6aaa79a1253ebcb570562673 +Author: René Cannaò +Date: Fri Jan 31 00:27:02 2020 +1100 + + Several bug fixes for large resultset with PS + + Fixed several bugs: + * resultset larger than 4GB would cause a crash + * rows large than 16MB could cause crash or memory corruption + + This commit also: + * improves memory usage for large resultset + * generates a heartbeat every 256MB of data copied, to avoid crash due to missing heartbeat + +commit 6c551eab57839cfb94239e42bb75a1fc59eda882 +Author: René Cannaò +Date: Thu Jan 30 17:25:10 2020 +1100 + + Allows the same nodes to be part of multiple Aurora clusters + +commit 34510af9b429b61323463ab115ed08460cb6f7cc +Merge: c8ce0ab9 5dc4a652 +Author: val214 <54602153+val214@users.noreply.github.com> +Date: Mon Jan 27 10:57:47 2020 +0300 + + Merge pull request #2498 from val214/v2.0.9-backtrace + + Use terminate handler for C++ exceptions + +commit 5dc4a652ca8a3329721421e0c86ec66a4f2601c3 +Author: Valentin Rakush +Date: Mon Jan 27 06:37:21 2020 +0000 + + Use terminate handler for C++ exceptions + +commit c8ce0ab979d2b6a862a3b16b4a5de86527bf24ce +Merge: 2e3da27d 828a473b +Author: val214 <54602153+val214@users.noreply.github.com> +Date: Thu Jan 23 14:13:31 2020 +0300 + + Merge pull request #2470 from val214/v2.0.9-tests-variables + + additional test for set_character_set results + +commit 828a473b1698f77432d936386d8ca6232463d2ae +Author: Valentin Rakush +Date: Wed Jan 22 16:36:40 2020 +0000 + + Fix for character_results + +commit 8dfc63d237e014b602746ba9158212440c842329 +Author: Valentin Rakush +Date: Wed Jan 1 21:28:08 2020 +0000 + + additional test for set_character_set results + +commit 2e3da27d1f1ec5fe99bba9cfb7a290025e7437de +Merge: 3d2fd599 724ddc14 +Author: val214 <54602153+val214@users.noreply.github.com> +Date: Thu Jan 23 09:08:26 2020 +0300 + + Merge pull request #2439 from val214/v2.0.9-monitor-tests + + V2.0.9 monitor tests + +commit 724ddc14eba0df30caa03d07fc66df60927002ca +Author: Valentin Rakush +Date: Wed Jan 22 20:41:47 2020 +0000 + + use testgalera and testaurora to build monitor tests from root folder + +commit 4c2a1d9ea5fd20cf96e0452cf74e4c4196866772 +Author: Valentin Rakush +Date: Tue Jan 21 20:03:23 2020 +0000 + + Fix compilation errors after merge + +commit b33b598da55ebb11c5b107eb1bfd7f6ec8722ede +Author: Valentin Rakush +Date: Sat Jan 11 16:02:15 2020 +0000 + + Update for sqlite3db tests + +commit dad9cb6c9459f9968a78a0708dcc2ddac35eb8ea +Author: Valentin Rakush +Date: Wed Dec 18 20:21:24 2019 +0000 + + Adjust makefile for select_config_file test case + +commit a1c7ac9583bdb82a64e9d553a8d89fd243c9b1c7 +Author: Valentin Rakush +Date: Wed Dec 11 18:55:29 2019 +0000 + + Use prove to run simulation tests + +commit 8ac7e37e87614f7018a9271557722384becb7c8f +Author: Valentin Rakush +Date: Wed Dec 11 10:36:08 2019 +0000 + + Galera test case: timeout max count + +commit 9a9a6ecdf22fb8381d1b4de232530920aa0ae23a +Author: Valentin Rakush +Date: Tue Dec 10 18:05:31 2019 +0000 + + Update galera monitor timeout check + +commit c85828944ebce0fd7047786a41f0436c80f69f90 +Author: Valentin Rakush +Date: Tue Dec 10 11:58:38 2019 +0000 + + Use preconfigured max counts value + +commit 2888e751450b4044875f66de744a25dd174a9faa +Author: Valentin Rakush +Date: Tue Dec 10 07:36:26 2019 +0000 + + Build proxysql with testall target + +commit 50eb3f74cb9448216481c9412fb209cf015d62df +Author: Valentin Rakush +Date: Mon Dec 9 21:02:43 2019 +0000 + + galera timeout test + +commit ddf18ad3b8ae040500e03d573e3a15b52d49d4cf +Author: Valentin Rakush +Date: Mon Dec 9 11:58:46 2019 +0000 + + Fix Can\'t connect to MySQL server error on startup + +commit 5acd1a3cf693c5ba70c7c6e2e184425cc18d4b74 +Author: Valentin Rakush +Date: Sun Dec 8 20:47:27 2019 +0000 + + Monitor test automation + +commit 3d2fd599db052e581b88725e1b95b6ac67ee7406 +Merge: 800b4d33 3b031f35 +Author: René Cannaò +Date: Mon Jan 13 16:51:46 2020 +0100 + + Merge pull request #2469 from kirs/min-gtid + + Support min_gtid annotation + +commit 800b4d33c8bfd79d3aaa8c8881cf0c03b6c7603c +Merge: 359c3d20 3fe8ca31 +Author: René Cannaò +Date: Tue Jan 14 02:35:48 2020 +1100 + + Merge branch 'v2.0.9' of https://github.com/sysown/proxysql into v2.0.9 + +commit 3fe8ca31111a1585183d25bdc115f9553391428b +Merge: 9d618714 a97d37d9 +Author: René Cannaò +Date: Mon Jan 13 16:35:35 2020 +0100 + + Merge pull request #2458 from kirs/fix-build + + Fix build instructions + +commit 359c3d208ca96b1af926309b300f83192ff0c750 +Author: René Cannaò +Date: Tue Jan 14 02:28:40 2020 +1100 + + Add link to watchdog + +commit 3b031f3518f60176fd308121e30f0d76e0e6aa79 +Author: Kir Shatrov +Date: Thu Jan 9 21:54:14 2020 -0500 + + Prevent crash on index() returning NULL + + in handler___client_DSS_QUERY_SENT___server_DSS_NOT_INITIALIZED__get_connection + +commit 9d618714a7eeaa06f6f9eef909f1bcc060834c12 +Merge: c1e8cc48 7bf773a6 +Author: René Cannaò +Date: Fri Jan 10 16:01:01 2020 +0100 + + Merge pull request #2457 from val214/v2.0.9-clean-proxysql-admin + + Cleanup of the proxysql_admin.cpp + +commit c1e8cc48610e436fbc8ee46fd9bf3e96690575ef +Merge: 1d2e059d a9d46ce7 +Author: René Cannaò +Date: Fri Jan 10 15:52:56 2020 +0100 + + Merge pull request #2468 from val214/v2.0.9-sqlite + + V2.0.9 sqlite + +commit 1d2e059d9b128c1ae7856928d5da9485924564b8 +Author: René Cannaò +Date: Fri Jan 10 03:02:53 2020 +1100 + + Add support in Admin for SHOW TABLES IN #2478 + +commit 2f7bb1a1cfb503f13bc1a08749fc4b79ccaec24d +Author: Kir Shatrov +Date: Mon Jan 6 21:52:57 2020 +0200 + + Validate gtid input + +commit 0922949b8c3acfa463461afcb0720d532ada4601 +Author: Kir Shatrov +Date: Wed Jan 1 16:10:12 2020 +0300 + + Support min_gtid comment + +commit a9d46ce747016e9c8e5f851ceacfa8661b73a2e1 +Author: Valentin Rakush +Date: Tue Dec 31 08:58:47 2019 +0000 + + Tess for overload method execute_statement. Usage example + +commit a97d37d90635b9872748d946074a337575179621 +Author: Kir Shatrov +Date: Sun Dec 22 19:15:42 2019 +0000 + + Fix build instructions + +commit d5a78360117b763592ea2ed4192ada85d9ce0505 +Author: Valentin Rakush +Date: Sat Dec 28 09:18:33 2019 +0000 + + Overload execute_statement method in sqlite3db + +commit 7bf773a67703d346661615c2a7ece3cdb4d77c29 +Author: Valentin Rakush +Date: Sat Dec 21 16:11:40 2019 +0000 + + Cleanup of the proxysql_admin.cpp + +commit 5a346864de498cd89576568eea6a99db8ed99975 +Merge: 8f459d15 b93b5f50 +Author: René Cannaò +Date: Thu Dec 19 18:47:07 2019 +0100 + + Merge pull request #2449 from val214/v2.0.9-set-option + + MYSQL_SET_OPTION multiplexing [FR] + +commit 8f459d15408229382f604f50882f4087159831db +Merge: dd003094 a9b0e664 +Author: René Cannaò +Date: Thu Dec 19 18:39:12 2019 +0100 + + Merge pull request #2451 from val214/v2.0.9-return-1290 + + Return error 1290 + +commit a9b0e6648e56394c1c870e0496ab5f4fe5ce84bb +Author: Valentin Rakush +Date: Tue Dec 17 09:19:32 2019 +0000 + + Return error 1290 + +commit b93b5f50bf40d15bda0181e0de0f986f1506aed1 +Author: Valentin Rakush +Date: Mon Dec 16 12:03:53 2019 +0000 + + MYSQL_SET_OPTION multiplexing + +commit dd0030943a2a17192ff3a1b470ec491ef69ae83b +Merge: c9c372d4 c33a3114 +Author: René Cannaò +Date: Sat Dec 14 20:10:49 2019 +0100 + + Merge pull request #2447 from val214/v2.0.9-replace-null + + Fix digest replace null issue + +commit c33a311412557a47ccb136959949aae2ade700fa +Author: Valentin Rakush +Date: Sat Dec 14 17:34:58 2019 +0000 + + Fix digest replace null issue + +commit c9c372d48ae7a11fa6ca7f20a2063cb289f4ef10 +Merge: b59fad2d f1eb04ce +Author: René Cannaò +Date: Thu Dec 12 19:04:17 2019 +0100 + + Merge pull request #2443 from val214/v2.0.9-galera-hg-active + + Fix flag Active is not correctly working + +commit f1eb04ce514d396b3af0bac07fe91bace355cd49 +Author: Valentin Rakush +Date: Thu Dec 12 16:34:46 2019 +0000 + + Fix flag Active for grop replication hostgroups + +commit 539abc680e2960195213900d96f297bee617d6bf +Author: Valentin Rakush +Date: Thu Dec 12 12:49:24 2019 +0000 + + Fix flag Active is not correctly working + +commit b59fad2d4209dd10f2e17997bd691c85a3f0d667 +Merge: 3070e036 f388f576 +Author: René Cannaò +Date: Thu Dec 12 09:14:33 2019 +0100 + + Merge pull request #2413 from val214/v2.0.9-select-config-file + + V2.0.9 select config file [FR] + +commit 3070e03620fe22013ae89352941891caab12dd2e +Merge: acf60cd5 6bb057fb +Author: René Cannaò +Date: Thu Dec 12 09:14:00 2019 +0100 + + Merge pull request #2438 from bskllzh/v2.0.9 + + Fix add a mutex lock twice in the process of function call(log_audit_… + +commit acf60cd502c8372a09e326f21328ad44622511c4 +Merge: 384b4117 b8ecdaa7 +Author: René Cannaò +Date: Thu Dec 12 09:10:44 2019 +0100 + + Merge pull request #2442 from sysown/v2.0.9-fire2 + + Implementation of SQLI fingerprints whitelist + +commit b8ecdaa7085498116d69cfacbc6bc6b6fb1a8d3a +Author: René Cannaò +Date: Thu Dec 12 10:30:55 2019 +1100 + + Removing some comments + +commit e9dc7a9b60a4090e2426659c7c1055913294eb7e +Author: René Cannaò +Date: Thu Dec 12 10:27:23 2019 +1100 + + Implementation of SQLI fingerprints whitelist + + libsqlinjection generates a lot of false positives. + This commit introduces a new table: mysql_firewall_whitelist_sqli_fingerprints + This table can list fingerprints generated by libsqlinjection: + if the fingerprint is listed in this table, proxysql will consider it as + a false positive. + + This commit also enables SQLi algorithm only if the query is not already + explicitly whitelisted. + +commit 6bb057fbdab4e296ed51dee7c2ce429638579fae +Author: peter +Date: Sat Dec 7 17:23:38 2019 +0800 + + Fix add a mutex lock twice in the process of function call(log_audit_entry() -> write() -> write_auth()) + + Bug description: + Since fix write event log and audit log coredump(#2427), i think i left out a code that was not processed, resulting in coredump again in the program of proxysql , when i confige these parameters of auditlog_filename and auditlog_filesize in proxysql.cnf file or i set these parameters in proxysql-admin command line. + the coredump contest: + (gdb) bt + #0 0x00002b224e9981f7 in raise () from /lib64/libc.so.6 + #1 0x00002b224e9998e8 in abort () from /lib64/libc.so.6 + #2 0x00002b224e991266 in __assert_fail_base () from /lib64/libc.so.6 + #3 0x00002b224e991312 in __assert_fail () from /lib64/libc.so.6 + #4 0x00000000005b2dc3 in main (argc=5, argv=0x7ffea714fd48) at main.cpp:1664 + + the proxysql.log contest: + 2019-12-06 11:03:07 main.cpp:1659:main(): [ERROR] Watchdog: 8 threads missed a heartbeat + 2019-12-06 11:03:10 main.cpp:1659:main(): [ERROR] Watchdog: 8 threads missed a heartbeat + 2019-12-06 11:03:13 main.cpp:1659:main(): [ERROR] Watchdog: 8 threads missed a heartbeat + 2019-12-06 11:03:16 main.cpp:1659:main(): [ERROR] Watchdog: 8 threads missed a heartbeat + 2019-12-06 11:03:19 main.cpp:1659:main(): [ERROR] Watchdog: 8 threads missed a heartbeat + 2019-12-06 11:03:22 main.cpp:1659:main(): [ERROR] Watchdog: 8 threads missed a heartbeat + 2019-12-06 11:03:25 main.cpp:1659:main(): [ERROR] Watchdog: 8 threads missed a heartbeat + 2019-12-06 11:03:28 main.cpp:1659:main(): [ERROR] Watchdog: 8 threads missed a heartbeat + 2019-12-06 11:03:31 main.cpp:1659:main(): [ERROR] Watchdog: 8 threads missed a heartbeat + 2019-12-06 11:03:34 main.cpp:1659:main(): [ERROR] Watchdog: 8 threads missed a heartbeat + 2019-12-06 11:03:34 main.cpp:1663:main(): [ERROR] Watchdog: reached 10 missed heartbeats. Aborting! + proxysql: main.cpp:1664: int main(int, const char**): Assertion `0' failed. + Error: signal 6: + proxysql(_Z13crash_handleri+0x25)[0x5b607c] + /lib64/libc.so.6(+0x35270)[0x2b224e998270] + /lib64/libc.so.6(gsignal+0x37)[0x2b224e9981f7] + /lib64/libc.so.6(abort+0x148)[0x2b224e9998e8] + /lib64/libc.so.6(+0x2e266)[0x2b224e991266] + /lib64/libc.so.6(+0x2e312)[0x2b224e991312] + proxysql(main+0xe3a)[0x5b2dc3] + /lib64/libc.so.6(__libc_start_main+0xf5)[0x2b224e984c05] + proxysql[0x5adaa5] + 2019-12-06 11:03:34 main.cpp:1396:ProxySQL_daemonize_phase3(): [ERROR] ProxySQL crashed. Restarting! + 2019-12-06 11:03:34 main.cpp:1397:ProxySQL_daemonize_phase3(): [INFO] ProxySQL version _DEBUG + + Impact of this fix: + I analyzed the call relationship of write_auth function of MySQL_Logger.cpp file in the whole project of proxysql with the source insight ide. I found write_auth function that was only called by the write function of MySQL_Logger.cpp file in the whole project of proxysql, and this write function was only called by log_audit_entry function or log_request function of MySQL_Logger.cpp file in the whole project of proxysql. However, i've added a mutex lock separately in log_audit_entry function and log_request function. And so i think it should delete the code for the wrlock function call in write_auth function, and it doesn't have impact for this time fix. + + Bux fix: + Fix add a mutex lock twice in the process of function call(log_audit_entry() -> write() -> write_auth()) + +commit f388f576f0ae6d52a817bed472d56677497c187e +Author: Valentin Rakush +Date: Thu Dec 5 12:16:26 2019 +0000 + + Update automation tests with new configuration parameters + +commit 6bd6c0a34b1afd8656bc114ac44242326fd5bdd7 +Author: Valentin Rakush +Date: Thu Nov 21 16:24:02 2019 +0000 + + Move config file read/write functions to separate file. + +commit 9954e6b4cb0a24c50fa44b9ff2d622b9560f7ec4 +Author: Valentin Rakush +Date: Thu Nov 21 06:46:43 2019 +0000 + + SELECT CONFIG TO: adding new columns to export (add_lag_ms, min_lag_ms, lag_num_checks) + +commit 60b7fd5e9e6091984b187bd4f6198d34e229a7af +Author: Valentin Rakush +Date: Fri Nov 1 08:14:49 2019 +0000 + + SELECT CONFIG TO implementation + +commit 4e45f7f1d425b90e2c1165f34172910c12b09dfd +Author: Valentin Rakush +Date: Fri Nov 1 06:31:33 2019 +0000 + + Fix few problems and cleanup. + + - remove unnecessary variables + - change snprintf to std::stringstream + - extend autotests configuration + - fixing several bugs + +commit f8ea3d8c753f2fad03a155cb978362b947f595b7 +Author: Valentin Rakush +Date: Thu Oct 31 09:26:00 2019 +0000 + + error logging in config file readers + +commit 342f8e8782a184a7d04f311909f7c72a745f5f9d +Author: Valentin Rakush +Date: Thu Oct 31 08:54:37 2019 +0000 + + select config file auto tests + + remove TRACE + +commit 52b5ee9486df95c6d2d666d893d242e245ec5f48 +Author: Valentin Rakush +Date: Wed Oct 30 08:14:39 2019 +0000 + + export proxysql configuration to resultset + +commit 9430cabee359740c0ea1097de9d06baa9a868b0b +Author: Valentin Rakush +Date: Tue Oct 29 09:45:46 2019 +0000 + + SELECT CONFIG FILE implementation + +commit 384b411732a46fcd54703cbd1fb5b89356b03705 +Merge: f87adbbe 67ec4107 +Author: René Cannaò +Date: Thu Dec 5 22:33:17 2019 +1100 + + Merge pull request #2437 from sysown/v2.0.9-aurora_offline + + Fix issue with LOAD MYSQL SERVERS TO RUNTIME and Aurora + +commit f87adbbe872840207b04016e2813183985bfb9cc +Merge: 0d1d16cb 49181ac1 +Author: René Cannaò +Date: Thu Dec 5 22:32:53 2019 +1100 + + Merge pull request #2431 from val214/v2.0.9-tests + + V2.0.9 unsigned charset + +commit 0d1d16cb8853c919eb75200240015a0ffff62958 +Merge: fc14891f 6a2bb979 +Author: René Cannaò +Date: Thu Dec 5 22:32:31 2019 +1100 + + Merge pull request #2422 from val214/v2.0.9-gr-fix + + Fix generation of the group replication hostgroups table + +commit 67ec4107b7724364bab307305e6b860e6e6c0f0f +Author: René Cannaò +Date: Thu Dec 5 14:55:44 2019 +1100 + + Fix issue with LOAD MYSQL TO RUNTIME and Aurora + +commit fc14891fac60ac7a33eba822c89ef522df409c42 +Merge: 951483a4 e3bebae9 +Author: René Cannaò +Date: Thu Dec 5 01:33:43 2019 +1100 + + Merge pull request #2435 from sysown/v2.0.9-clickhouse_upgrade + + Upgrade clickhouse-cpp and support for Enums + +commit e3bebae9fb7b3a20faf4ba8bde17206b500a6ac0 +Author: René Cannaò +Date: Thu Dec 5 00:23:03 2019 +1100 + + Upgrade clickhouse-cpp and support for Enums + +commit 951483a41993672c90320a0cbf2b442b9f286b54 +Author: René Cannaò +Date: Wed Dec 4 22:55:20 2019 +1100 + + Change API port from 6090 to 6070 + +commit 49181ac1bb3134560046dec0991d6eb4e6d4e41e +Author: Valentin Rakush +Date: Mon Dec 2 20:33:53 2019 +0000 + + Add host:port to unknown charset log messages + +commit cfdbedeb54c0dc3381ed4d625ac4f0cf8816804e +Author: Valentin Rakush +Date: Fri Nov 22 09:54:10 2019 +0000 + + unsigned int charset: add collation name in a log message + +commit 185e4624ac185b2f607b06133b38dacc069006ac +Author: Valentin Rakush +Date: Fri Nov 22 08:49:59 2019 +0000 + + auto tests: adjust expected values after changing client library + +commit c36a6fb491ff6679f7d7f99e3b4fe63b817057ee +Merge: c50fed4c d71d01cb +Author: René Cannaò +Date: Mon Dec 2 19:25:44 2019 +1100 + + Merge pull request #2427 from bskllzh/v2.0.9 + + Fix write event log and audit log coredump(the events.logfile&audit.… + +commit d71d01cb63e03926972eb3a82dcf144fb6d13683 +Author: bskllzh +Date: Mon Dec 2 10:54:34 2019 +0800 + + Fix write event log and audit log coredump(the events.logfile&audit.logfile null pointer) + + Bug description: + When i make a benchmark test with a sysbench(version: 1.0.17) in proxysql 2.0.8 + mysql 5.7.26, i get the follow error info: + Error: signal 11: + proxysql(_Z13crash_handleri+0x25)[0x5b607c] + /lib64/libc.so.6(+0x35270)[0x2b673de34270] + /lib64/libstdc++.so.6(_ZNSo6sentryC2ERSo+0xf)[0x2b673d67521f] + /lib64/libstdc++.so.6(_ZNSo5writeEPKcl+0x31)[0x2b673d675621] + proxysql(_ZN11MySQL_Event20write_query_format_1EPSt13basic_fstreamIcSt11char_traitsIcEE+0x27d)[0x6e2d81] + proxysql(_ZN11MySQL_Event5writeEPSt13basic_fstreamIcSt11char_traitsIcEEP13MySQL_Session+0x79)[0x6e19e9] + proxysql(_ZN12MySQL_Logger11log_requestEP13MySQL_SessionP17MySQL_Data_Stream+0x710)[0x6e5416] + proxysql(_ZN13MySQL_Session8LogQueryEP17MySQL_Data_Stream+0x6d)[0x654055] + proxysql(_ZN13MySQL_Session10RequestEndEP17MySQL_Data_Stream+0x35)[0x6540d7] + proxysql(_ZN13MySQL_Session7handlerEv+0x4397)[0x6459ed] + proxysql(_ZN12MySQL_Thread20process_all_sessionsEv+0x830)[0x623180] + proxysql(_ZN12MySQL_Thread3runEv+0x2cbe)[0x62208a] + proxysql(_Z24mysql_worker_thread_funcPv+0xbb)[0x5afb05] + /lib64/libpthread.so.0(+0x7e25)[0x2b673cda8e25] + /lib64/libc.so.6(clone+0x6d)[0x2b673def734d] + 2019-12-02 09:52:26 main.cpp:1396:ProxySQL_daemonize_phase3(): [ERROR] ProxySQL crashed. Restarting! + + I analyze the coredump with proxysql 2.0.8 debug version very carefully, and i found the variable of events.logfile is null pointer in log_request function when it call write function(me.write(events.logfile, sess)). The following is the coredump(write (this=0x2b67402fd1f0, f=0x0, sess=0x2b67414a8c00)): + (gdb) bt + #0 0x00002b673d67521f in std::ostream::sentry::sentry(std::ostream&) () from /lib64/libstdc++.so.6 + #1 0x00002b673d675621 in std::ostream::write(char const*, long) () from /lib64/libstdc++.so.6 + #2 0x00000000006e2d81 in MySQL_Event::write_query_format_1 (this=0x2b67402fd1f0, f=0x0) at MySQL_Logger.cpp:265 + #3 0x00000000006e19e9 in MySQL_Event::write (this=0x2b67402fd1f0, f=0x0, sess=0x2b67414a8c00) at MySQL_Logger.cpp:89 + #4 0x00000000006e5416 in MySQL_Logger::log_request (this=0x2b673e419680, sess=0x2b67414a8c00, myds=0x2b6741346480) + at MySQL_Logger.cpp:717 + #5 0x0000000000654055 in MySQL_Session::LogQuery (this=0x2b67414a8c00, myds=0x2b6741346480) at MySQL_Session.cpp:6691 + #6 0x00000000006540d7 in MySQL_Session::RequestEnd (this=0x2b67414a8c00, myds=0x2b6741346480) at MySQL_Session.cpp:6711 + #7 0x00000000006459ed in MySQL_Session::handler (this=0x2b67414a8c00) at MySQL_Session.cpp:4086 + #8 0x0000000000623180 in MySQL_Thread::process_all_sessions (this=0x2b6741301000) at MySQL_Thread.cpp:4392 + #9 0x000000000062208a in MySQL_Thread::run (this=0x2b6741301000) at MySQL_Thread.cpp:4125 + #10 0x00000000005afb05 in mysql_worker_thread_func (arg=0x2b673e461f30) at main.cpp:648 + #11 0x00002b673cda8e25 in start_thread () from /lib64/libpthread.so.0 + #12 0x00002b673def734d in clone () from /lib64/libc.so.6 + + And then i add a line of code in log_request function of MySQL_Logger.cpp file to check up whether events.logfile is null pointer ,as follow: + void MySQL_Logger::log_request(MySQL_Session *sess, MySQL_Data_Stream *myds) { + if (events.enabled==false) return; + if (events.logfile==NULL) return; + + proxy_info("log_request: First: events.logfile is null %d\n", (events.logfile == NULL) ? 1 : 0); + MySQL_Connection_userinfo *ui=sess->client_myds->myconn->userinfo; + + And i make a benchmark test again with proxysql 2.0.8 debug version, the coredump of proxysql happen again, then i get the follow print info from proxysql.log + [root@XXXXX proxysql]# grep -n -w 'log_request: First: events.logfile is null 1' proxysql.log + 7358447:2019-12-02 09:52:26 MySQL_Logger.cpp:617:log_request(): [INFO] log_request: First: events.logfile is null 1 + 7358448:2019-12-02 09:52:26 MySQL_Logger.cpp:617:log_request(): [INFO] log_request: First: events.logfile is null 1 + + Bux fix: + Fix write event log and audit log coredump, because the proxysql get the null pointer variable of events.logfile(audit.logfile)in a multithreaded environment. + +commit 19e7c3f1e265e51fa1690e476995c72a11172cf4 +Author: Valentin Rakush +Date: Sun Dec 1 20:07:44 2019 +0000 + + Fix memory leak in MySQL_HostGroups_Manager (gtid) + +commit 6a6873b342d826d234024cd39a06c02d6d2b592e +Author: Valentin Rakush +Date: Sun Dec 1 16:34:57 2019 +0000 + + Fix leaks in logger and admin + +commit 3a169beb537cc063763bb423796af6268d483dd5 +Author: Valentin Rakush +Date: Sun Dec 1 08:49:48 2019 +0000 + + Fix latest_version leak + +commit 0227afaee7f54fa258569b74a648d5eda70f2de4 +Author: Valentin Rakush +Date: Sat Nov 30 19:13:19 2019 +0000 + + Fix HGM gtid_ev_async leak + +commit 14bfc4db779449edeb1426cc69582e37206165c0 +Author: Valentin Rakush +Date: Sat Nov 30 18:59:16 2019 +0000 + + Fix addrinfo leak + +commit 2aac7c317985823d7311f922b1b4b3adf65fcff9 +Author: Valentin Rakush +Date: Sat Nov 30 09:20:14 2019 +0000 + + Fix mem leak in Monitor connections pool + +commit 41459e4c70c1e2740297f5c8e03640ff833aedd6 +Author: Valentin Rakush +Date: Mon Nov 25 09:01:23 2019 +0000 + + Fix memory leak in MySQL_HostGroups_Manager + +commit f193c2f94adc88183d600dd47414b8fc97ab17b8 +Author: Valentin Rakush +Date: Fri Nov 15 20:15:51 2019 +0000 + + Fix mem leak in MySQL_Listeners_Manager + +commit 5e8a2a7e3f6d07c0f8bd1d34dd38c4884f8fd093 +Author: Valentin Rakush +Date: Fri Nov 15 10:54:02 2019 +0000 + + Fix mem leak in idle threads + +commit c50fed4c9f2d847a99cefbf57944386e5eeb264a +Merge: a6fc967f b9d155b4 +Author: René Cannaò +Date: Sun Dec 1 21:44:50 2019 +1100 + + Merge pull request #2423 from sysown/v2.0.9-set_lock + + Set variables before setting lock_hostgroup + +commit b9d155b4a5892be80001d205b9243ddacb62923e +Author: René Cannaò +Date: Fri Nov 29 00:14:07 2019 +1100 + + Set variables before setting lock_hostgroup + + This commit fix the following bug: + If some session variables were set by the client before proxysql turned on + lock_hostgroup, these variables were not set. + + This commit also makes proxysql aware that this query causes lock_hostgroup: + `SET SESSION information_schema_stats_expiry=0` + +commit 6a2bb979640b7d3c4cdc2be554810dcaa0a9e2c3 +Author: Valentin Rakush +Date: Thu Nov 28 08:59:05 2019 +0000 + + Fix generation of the group replication hostgroups table + +commit a6fc967f2577d2c753be287fcb07ca9e72b619b9 +Merge: 8a778af4 18b20bf8 +Author: René Cannaò +Date: Wed Nov 27 14:17:28 2019 +1100 + + Merge pull request #2419 from sysown/v2.0.9-2394 + + Fixed issues generating some queries for galera support + +commit 8a778af489930109ce1642f861000fb52ac2f79a +Merge: 9afe6824 8954b46a +Author: René Cannaò +Date: Wed Nov 27 13:52:55 2019 +1100 + + Merge pull request #2420 from sysown/v2.0.9-libinjection + + Detect SQL injection + +commit 18b20bf8fddfe88eb4cd0b2430cc0451c0d738cc +Author: Adrián del Campo +Date: Wed Nov 13 16:32:04 2019 +0100 + + Fixed issues generating some queries for galera support + +commit 8954b46a0296b38b0a7949deb8a54721b51d0547 +Author: René Cannaò +Date: Wed Nov 27 13:22:36 2019 +1100 + + Error log now lists the SQL injection query + + Also added status variable automatic_detected_sql_injection to count detected SQL injection + +commit e12a3b27920339c9f0c98f4e274ee64082c6b0b5 +Author: René Cannaò +Date: Wed Nov 27 13:04:50 2019 +1100 + + Support for automatic SQL injection detection + + Library libjection is being used. + New variable mysql-automatic_detect_sqli defines if the feature is enabled or not. + If an SQL injection is detected: + - the client connection is immediately terminated + - an entry in the error log is reported + +commit 9afe6824ff150f9fb3518aba78fe2a03264be6cc +Merge: 57e0b2eb 79ea1268 +Author: René Cannaò +Date: Wed Nov 27 11:42:16 2019 +1100 + + Merge pull request #2407 from sysown/v2.0.9-libmicrohttpd-0.9.68 + + V2.0.9 libmicrohttpd 0.9.68 + +commit 57e0b2eb2fccdb4dbf0182a676e523e356e33cc1 +Merge: c85acefa 485d3135 +Author: René Cannaò +Date: Wed Nov 27 11:41:56 2019 +1100 + + Merge pull request #2403 from sysown/v2.0.9-whitelist + + V2.0.9 whitelist + +commit 485d3135143076090a7d9c6300988556aaf58333 +Author: René Cannaò +Date: Wed Nov 27 09:32:51 2019 +1100 + + Further development of firewall whitelist. + + * introduced 2 new variables: + - mysql-firewall_whitelist_enabled : defines if the firewall with whitelist algorithm is enabled or not + - firewall_whitelist_errormsg : error message returned to the client if an error message is not already set + * Query_Processor returns firewall_whitelist_mode to the calling MySQL_Session, but the logging on error log currently happens within the Query_Processor itself + * if mysql-firewall_whitelist_enabled is turned on and a user it is not found in mysql_firewall_whitelist_users , the default behavior is that query is rejected + * lookup on mysql_firewall_whitelist_users happens for username@ip (specific IP) and username@'' (all IPs) . Match on network subnet is currently not implemented + * implemented SAVE MYSQL FIREWALL FROM RUNTIME + * fixed implementation of SAVE MYSQL FIREWALL TO DISK + * runtime configuration can be viewed in runtime_mysql_firewall_whitelist_rules and runtime_mysql_firewall_whitelist_users + +commit 79ea1268026bfa071a65130e5c516daf746d321f +Author: Valentin Rakush +Date: Tue Nov 26 14:41:05 2019 +0000 + + Fix curl configure params + +commit 9022e8a01b5bdb32a5909c5c6973a27bc332e7ab +Author: René Cannaò +Date: Mon Nov 25 00:50:29 2019 +1100 + + Notes on how to run sysbench on SQLite3 Server + +commit c967bc179b9889e992f525ff884ee01106442218 +Author: René Cannaò +Date: Mon Nov 25 00:47:32 2019 +1100 + + Several improvements to SQLite3 Server module: + + - ability to handle transactions + - in OK packets and resultsets, SERVER_STATUS_IN_TRANS flag is set if a transaction is running + - a persistent database file in datadir is used instead of in-memory database + - database file uses WAL (Write-Ahead Logging) + - WAL journal size is set to 64MB + - monitor user can always login to SQLite3 Server + - in case of database lock within a transaction, an error is immediately returned to client + +commit 1673249da4d3564f154515824e9d09cd6019b82f +Author: René Cannaò +Date: Sat Nov 23 00:12:16 2019 +1100 + + Adding libhttpserver , and a simple "Hello World" + + libhttpserver will take care of REST API. + The feature is currently disabled. + +commit cb393da4595969a33d997e60fd676559915fe5fe +Author: René Cannaò +Date: Wed Nov 20 17:58:06 2019 +1100 + + Added version check + +commit 6a6bfefd44ad514b0c9ec8704cf8e807fc114b17 +Author: René Cannaò +Date: Wed Nov 20 10:01:57 2019 +1100 + + First draft of version check + +commit bb4e72c95285cafe463ddbbbd99831722fd983b2 +Author: René Cannaò +Date: Wed Nov 20 01:24:17 2019 +1100 + + Many important changes related to web and TLS + + * upgraded libmicrohttpd to version 0.9.68 + * enabled SSL in curl + * enabled SSL in libmicrohttpd compiling against GnuTLS + * SSL is now enabled in Web UI + * version checker in Web UI: + - is now able to check latest version using HTTPS + - uses the correct agent version + +commit c85acefacebcdf25fb0db5ccbb4a59260c7a2ea6 +Merge: a95bf67a c1ced69c +Author: René Cannaò +Date: Sat Nov 23 00:15:01 2019 +1100 + + Merge pull request #2412 from val214/v2.0.9-aurora-lag + + Aurora replication lag: fix for master replication lag + +commit a95bf67ae8070ac2670b9c8fb39ab3c89124d96b +Merge: c4b15a32 27f1e28a +Author: René Cannaò +Date: Sat Nov 23 00:14:36 2019 +1100 + + Merge pull request #2410 from val214/v2.0.9-coredumper + + ARM compilation error: remove google-coredumper from project deps. # + +commit c1ced69cb5c571c5ed965784d61c5bc83a8367dc +Author: Valentin Rakush +Date: Fri Nov 22 10:41:25 2019 +0000 + + Aurora replication lag: fix for master replication lag + +commit 27f1e28aba4a61abce496f2a189739ccd9a680ae +Author: Valentin Rakush +Date: Thu Nov 21 17:45:43 2019 +0000 + + ARM compilation error: remove google-coredumper from project deps. + +commit c4b15a320d9b7dd98b3446424d78d9d702559f48 +Merge: fcaf3428 a9f5e360 +Author: René Cannaò +Date: Thu Nov 21 17:16:36 2019 +1100 + + Merge pull request #2388 from sysown/v2.0.9-conn314 + + Upgrade to MariaDB Connector C 3.1.4 + +commit fcaf342803c835dbb7e88acb56f4e2a2017f7947 +Merge: b29a434d 42cda8dd +Author: René Cannaò +Date: Thu Nov 21 17:14:47 2019 +1100 + + Merge pull request #2402 from val214/v2.0.9-tests + + Fix for charset_unsigned_int test + +commit b29a434d1d888eab6e9bb3e33d485a3b69fc410d +Merge: a030b42d b8e4effb +Author: René Cannaò +Date: Thu Nov 21 17:14:29 2019 +1100 + + Merge pull request #2401 from sysown/v2.0.9-2395 + + Fix buffer overflow for long GTID set #2395 + +commit a030b42d858f9834c954b2fee524dc56dc4ffb97 +Merge: 0d335349 cff0a27b +Author: René Cannaò +Date: Thu Nov 21 00:03:52 2019 +1100 + + Merge pull request #2400 from val214/v2.0.9-aurora-lag + + Aurora replication lag: fix issues, adjust window size + +commit cff0a27b78e0943b7140b704706c45fbc1619fb1 +Author: Valentin Rakush +Date: Wed Nov 20 07:18:11 2019 +0000 + + Aurora replication lag: add estimated_lag_ms column to mysql_server_aws_aurora_log + +commit 17745111ca1ff2b2b9a90eaed153992b2ff50422 +Author: Valentin Rakush +Date: Mon Nov 18 10:24:17 2019 +0000 + + Aurora replication lag: online upgrade of the mysql_aws_aurora_hostgroups table + +commit 80a18ed9e21e91131ebf219cec9fa541bb88031d +Author: Valentin Rakush +Date: Sun Nov 17 09:02:47 2019 +0000 + + Aurora replication lag: fix issues, adjust window size + +commit 0d33534948f9aeabd1afc17071f3d8169f612715 +Author: René Cannaò +Date: Tue Nov 19 22:20:59 2019 +1100 + + Preparing upgrade to libmicrohttpd 0.9.68 + +commit 42cda8ddd411e823671b08110c50479bf87a425e +Author: Valentin Rakush +Date: Mon Nov 18 14:11:25 2019 +0000 + + Remove dependency on libmysqlclient.so. Use proxysql libmariadbclient.a instead + +commit 94f27716b78b16bc875b06bddf09caaa62b9b24c +Author: René Cannaò +Date: Tue Nov 19 01:04:06 2019 +1100 + + Preparing SAVE MYSQL FIREWALL FROM RUNTIME + +commit 27284444dd43c4b908f0edadc8de4bea024c0f7f +Author: René Cannaò +Date: Tue Nov 19 00:43:27 2019 +1100 + + Optimization on SQLite3 internal library + +commit 6ee2a0cb19f80469a20ab32f7699f769ca2ff54f +Author: René Cannaò +Date: Mon Nov 18 23:40:53 2019 +1100 + + Load mysql firewall whitelist rules to runtime + +commit 84c0abeb722c55a4360d86106bb0302a37cb777f +Author: Valentin Rakush +Date: Mon Nov 18 10:13:21 2019 +0000 + + Fix for charset_unsigned_int test + +commit b0952c10045c4ac2dafe51ed09a911980d87018b +Author: René Cannaò +Date: Mon Nov 18 16:47:39 2019 +1100 + + Code cleanup + +commit d9ddfaf3bd05515341c04c9e5eb39f9053efae83 +Author: René Cannaò +Date: Mon Nov 18 16:34:39 2019 +1100 + + Code cleanup + +commit 4005746b1aee0e91b42ef12836ca085d86a695c2 +Author: René Cannaò +Date: Mon Nov 18 16:30:51 2019 +1100 + + More on firewall whitelist + +commit ce4a4a2464a169a21a11f4f9c743576203601b58 +Author: René Cannaò +Date: Mon Nov 18 14:43:20 2019 +1100 + + Code cleanup and speeding compile time + +commit 45e701b54dc5f766dec707e96e25641e04ccf1be +Author: René Cannaò +Date: Mon Nov 18 13:21:59 2019 +1100 + + Code cleanup and speeding compile time + +commit 80e92b144dec764f7ca578afdde97b7c877c79b7 +Author: René Cannaò +Date: Mon Nov 18 12:37:04 2019 +1100 + + [WIP] Second commit for mysql firewall whitelist + + Improved also compiling time + +commit b8e4effbcffd66dd8101d761bad5c7fc9d13b333 +Author: René Cannaò +Date: Mon Nov 18 09:41:55 2019 +1100 + + Fix buffer overflow for long GTID set #2395 + +commit 169517eb3015d91ec70b8859ff034c4ad88d6dd8 +Merge: ee230166 9b8590da +Author: René Cannaò +Date: Thu Nov 14 11:43:20 2019 +1100 + + Merge pull request #2387 from val214/v2.0.9-aurora-lag + + V2.0.9 aurora lag + +commit ee230166aad10a5a26d71bc15788c08c30fb63fd +Merge: a4423a1f a09efe63 +Author: René Cannaò +Date: Wed Nov 13 23:17:29 2019 +1100 + + Merge pull request #2392 from sysown/v2.0.9-kill2 + + V2.0.9 kill2 + +commit a09efe634e1ff2695ffed94e7134c4cc70300c71 +Author: René Cannaò +Date: Wed Nov 13 22:19:36 2019 +1100 + + More verbose output if KILL fails + +commit 9b8590da0d6409879947252ea7816c4d14cd6756 +Author: Valentin Rakush +Date: Wed Nov 13 10:39:53 2019 +0000 + + Aurora replication lag: lag_num_checks (window) implementation + +commit cf26350138d2741777df6d0859f61be7a140193b +Author: Valentin Rakush +Date: Tue Nov 12 18:56:53 2019 +0000 + + Fix for min lag. Use std::max + +commit 39a2d2986511af83f9232b887555d1bdcf01897f +Author: Valentin Rakush +Date: Mon Nov 11 21:05:20 2019 +0000 + + Aurora replication lag: padding/min implementation + +commit 00acc3f7ae18db49c7e6a89eda4b014990987ee2 +Author: Valentin Rakush +Date: Mon Nov 11 06:08:20 2019 +0000 + + Aurora replication lag configuration + +commit 5023f2d430cf6eb155b2fe20c50f8fc0e276e8f8 +Author: René Cannaò +Date: Tue Nov 12 15:40:23 2019 +1100 + + Expending tests for firewall whitelist + + On a normal laptop, the lookup for one entry in a hash table with 39k keys and + a total of 980k entries, takes around 1.1us + +commit 7f6d64c3db2af3ca4e5c4e14ef79e55aa094ab4b +Author: René Cannaò +Date: Tue Nov 12 14:57:46 2019 +1100 + + First commit for firewall whitelist + +commit b2f3ffce5eb142654d6a5c13d31c80ea16dd1868 +Merge: 5cd1a6a9 a4423a1f +Author: René Cannaò +Date: Tue Nov 12 11:22:10 2019 +1100 + + Merge branch 'v2.0.9' of https://github.com/sysown/proxysql into v2.0.9 + +commit a4423a1f017f3351dddde4499755fdb594523c61 +Merge: bdc75c70 00ee4eb0 +Author: René Cannaò +Date: Tue Nov 12 11:21:54 2019 +1100 + + Merge pull request #2385 from sysown/v2.0.9-digest_history2 + + Add dump_time to history_mysql_query_digest #2368 + +commit bdc75c7063ab0bcef0173353ab0a1bc0846f3d42 +Merge: eb98030d 364ba710 +Author: René Cannaò +Date: Tue Nov 12 11:21:37 2019 +1100 + + Merge pull request #2384 from sysown/v2.0.9-kill + + Fix race condition on KILL CONNECTION + +commit eb98030df5b6529a68a69f2808d9fd94fa20c1b1 +Merge: d7c5c93a 67ae1ee3 +Author: René Cannaò +Date: Tue Nov 12 11:21:20 2019 +1100 + + Merge pull request #2383 from val214/v2.0.9-mem-leaks + + Fix memory leak of queue in monitor + +commit a9f5e360c1a77eb0eace12ba4d35fb265d48830a +Author: René Cannaò +Date: Tue Nov 12 10:58:44 2019 +1100 + + Upgrade to MariaDB Connector 3.1.4 + +commit 623d8b36678300fa8bed37dd8b4ecc740ad474c7 +Author: René Cannaò +Date: Mon Nov 11 16:55:07 2019 +1100 + + Enable mariadb-connector-c-3.1.4 + +commit 5cd1a6a93ec39dabeb304d171738ae06be32070a +Author: René Cannaò +Date: Mon Nov 11 16:54:28 2019 +1100 + + gitignore for mariadb-connector-c-3.1.4 + +commit d7c5c93a866e1ece4b37997e558b43d690027c51 +Author: René Cannaò +Date: Mon Nov 11 16:45:31 2019 +1100 + + Change default handle_unknown_charset=1 + +commit 00ee4eb0aea57d70522d10928b9bebdd4e92658e +Author: René Cannaò +Date: Mon Nov 11 16:17:18 2019 +1100 + + Add dump_time to history_mysql_query_digest #2368 + +commit 3bc3ae071bc0fece37d1e158d95a0d4793fef1fd +Merge: feccb764 f16b6864 +Author: René Cannaò +Date: Mon Nov 11 15:09:56 2019 +1100 + + Merge branch 'v2.0.9' of https://github.com/sysown/proxysql into v2.0.9 + +commit 364ba71002397215ec857a981359b23deccb6232 +Author: René Cannaò +Date: Mon Nov 11 15:04:47 2019 +1100 + + Fix race condition on KILL CONNECTION + + Fixed a race condition that could possible lead to a leak of file descriptors + when running KILL CONNECTION on backend + +commit feccb7642723434f518978ec700755cfe29be97c +Author: René Cannaò +Date: Mon Nov 11 15:08:43 2019 +1100 + + Revert "Fix race condition on KILL CONNECTION" + + This reverts commit b959f293062c3cc2966858dc3b8ba52e71c55144. + +commit b959f293062c3cc2966858dc3b8ba52e71c55144 +Author: René Cannaò +Date: Mon Nov 11 15:04:47 2019 +1100 + + Fix race condition on KILL CONNECTION + + Fixed a race condition that could possible lead to a leak of file descriptors + when running KILL CONNECTION on backend + +commit 67ae1ee3bd1c63aecf428cc080d7dbc22dd2d873 +Author: Valentin Rakush +Date: Sat Nov 9 19:05:12 2019 +0000 + + Fix memory leak of servers in monitor connection pool + +commit edf427689acc2199e20b7abe5007e6a2e66bfcf2 +Author: Valentin Rakush +Date: Sat Nov 9 14:16:55 2019 +0000 + + Fix memory leak in ProxySQL ConfigFile. Avoid using pointers because of valgrind crashes. + +commit 51ac79959ca520e4c6c2162377329a39e08edfb0 +Author: Valentin Rakush +Date: Fri Nov 8 21:24:31 2019 +0000 + + Fix memory leak of queue in monitor + +commit f16b68644bd5c1a598f5755dfae6c11f85012eed +Merge: 43d2ab75 23752ac7 +Author: René Cannaò +Date: Fri Nov 8 09:57:36 2019 +1100 + + Merge pull request #2379 from val214/v2.0.9-fix-hgm-leaks + + V2.0.9 fix hgm leaks + +commit 43d2ab7522557830992148622a2d230fba1cdf5d +Merge: 2079760b 299bc3ca +Author: René Cannaò +Date: Fri Nov 8 09:54:49 2019 +1100 + + Merge pull request #2380 from val214/v2.0.9-fix-admin-leaks + + Fix mem leak in admin init + +commit 299bc3ca7ae1556fb571e161f6a59d821692f6be +Author: Valentin Rakush +Date: Thu Nov 7 21:46:36 2019 +0000 + + Fix mem leak caused by duplicate code + +commit 9578b71866fc9a545d5b6967023ac7375fe7f937 +Author: Valentin Rakush +Date: Thu Nov 7 21:26:19 2019 +0000 + + Fix mem leak in admin init + +commit 23752ac70385ae0c5955ec965e8b8eda4e322f00 +Author: Valentin Rakush +Date: Thu Nov 7 21:05:27 2019 +0000 + + Fix memory leak in HGM mysql_servers generation + +commit 4cdbd2af61262cdbef6a9035fe90611e4b2e9200 +Author: Valentin Rakush +Date: Thu Nov 7 20:51:53 2019 +0000 + + Fix mem leak in HGMCU thread + +commit 9a315ddbdf8ba6ad0251100328857ee9a84e495f +Author: Valentin Rakush +Date: Thu Nov 7 20:37:24 2019 +0000 + + Fix memory leak of the HGM threads objects + +commit 2079760be82b41b2dc92b529e2368c3aaec200c1 +Merge: 35c85fe6 591f08fc +Author: René Cannaò +Date: Fri Nov 8 01:54:50 2019 +1100 + + Merge pull request #2378 from val214/v2.0.9-grouprep-monitoring-fix + + Undo error reporting when group replication hosts result set is empty + +commit 35c85fe6b54e26e27f4cf1bd688be124105b1ee5 +Merge: 1536d232 a4df794a +Author: René Cannaò +Date: Fri Nov 8 01:54:17 2019 +1100 + + Merge pull request #2376 from val214/v2.0.9-mem-leaks + + Fix memory leaks in set parser + +commit 1536d232793b1351eae2f2efb9c91bd0ed37b7f9 +Merge: 8ca3d658 d8928dd8 +Author: René Cannaò +Date: Fri Nov 8 01:53:32 2019 +1100 + + Merge pull request #2377 from val214/v2.0.9-idle-leaks + + Fix memory leaks of idle threads + +commit 591f08fc479cca99df84efe2fbca9c4c9c746c7a +Author: Valentin Rakush +Date: Thu Nov 7 14:23:16 2019 +0000 + + Undo error reporting when group replication hosts result set is empty + +commit d8928dd8968d8d2886bbea0524290ac251cb56d5 +Author: Valentin Rakush +Date: Thu Nov 7 13:54:22 2019 +0000 + + Fix memory leaks of idle threads + +commit a4df794a4ca9f06fbd49e045338e4542b0776271 +Author: Valentin Rakush +Date: Thu Nov 7 13:14:43 2019 +0000 + + Fix memory leaks in set parser + +commit 8ca3d6582a2f91bcd9f30fbd81c2f7d8f77a8130 (tag: 2.0.9) +Merge: a37dc36d 1ffd3616 +Author: René Cannaò +Date: Thu Nov 7 16:48:56 2019 +1100 + + Merge pull request #2366 from val214/v2.0.8-tx-count + + [FR] Group replication monitoring: count transactions behind events + +commit a37dc36dde826d8c725aae6ffac770a723e26742 +Merge: db864bd8 d52a771e +Author: René Cannaò +Date: Thu Nov 7 16:45:53 2019 +1100 + + Merge pull request #2364 from sysown/v2.0.9-memleaks + + V2.0.9 memleaks + +commit db864bd88a8c5569512fe09eb302c9fa2659f81a +Merge: 9cfe1ecd 3de1c1ce +Author: René Cannaò +Date: Thu Nov 7 16:44:34 2019 +1100 + + Merge pull request #2373 from val214/v2.0.9-sqlite-ok + + Use assert(0) for better debugging + +commit 9cfe1ecd07927f6b00a2b508a81760590fb13952 +Merge: b3b8d647 6bed334d +Author: René Cannaò +Date: Thu Nov 7 16:44:18 2019 +1100 + + Merge pull request #2370 from sysown/v2.0.9-digest_history + + stats_history.history_mysql_query_digest #2368 + +commit 3de1c1cee3640b93d6061651273851d316145819 +Author: Valentin Rakush +Date: Wed Nov 6 22:05:06 2019 +0000 + + Use assert(0) for better debugging + +commit 6bed334db183a1b5206962c1b41e56f9bc2397f9 +Author: René Cannaò +Date: Wed Nov 6 19:56:53 2019 +1100 + + stats_history.history_mysql_query_digest #2368 + + Implementation of new table stats_history.history_mysql_query_digest #2368 + + Implemented command `SAVE MYSQL DIGEST TO DISK`. + Save to disk with really minimal memory footprint compared to querying `stats_mysql_query_digest` or `stats_mysql_query_digest_reset` . + + Implemented new admin variable `admin-stats_mysql_query_digest_to_disk` to automatically save to disk. + +commit 1ffd3616c90079fc86ca928dde8c0559a879b0a9 +Author: Valentin Rakush +Date: Wed Nov 6 06:06:01 2019 +0000 + + Group replication monitoring: count transactions behind events + +commit b3b8d647c1b05618c517a497ff8c251ab750ce19 +Merge: fc4d229e 9cece2dc +Author: René Cannaò +Date: Wed Nov 6 13:05:44 2019 +1100 + + Merge pull request #2360 from val214/v2.0.8-tests + + fix charset testcase. handle_unknown_charset=1 + +commit d52a771e5022aa6e6bd1f70e1f10aca07b441ace +Author: René Cannaò +Date: Wed Nov 6 12:45:51 2019 +1100 + + Fix memory leak when handling SET autocommit + +commit 6aa550df0513ee893000caf5457b40dcb26324e8 +Author: René Cannaò +Date: Wed Nov 6 12:44:44 2019 +1100 + + Fixed memory leak in SET parser + +commit fc4d229e3838c0b65a345ce3051dcfddf0ad8dae +Author: René Cannaò +Date: Wed Nov 6 12:42:49 2019 +1100 + + Upgrade to 2.0.9 + +commit 877cab1e267aee57c547976e9f01f18026264f08 (tag: v2.0.8) +Merge: f829ebcb ec407d08 +Author: René Cannaò +Date: Tue Nov 5 21:37:32 2019 +1100 + + Merge branch 'v2.0.8' of https://github.com/sysown/proxysql into v2.0.8 + +commit f829ebcba0785a3e528624b8a90d8feb58020d73 +Author: René Cannaò +Date: Tue Nov 5 21:36:54 2019 +1100 + + Allows max_lag_ms to be 0 + +commit ec407d08c65c481262e1ad362f8a485c9076deea +Author: Nick Vyzas +Date: Tue Nov 5 11:33:11 2019 +0200 + + Adding CentOS 8 + +commit c51e283570a44572ed4ec16fce3d50b14fe48a0b +Author: René Cannaò +Date: Tue Nov 5 10:29:46 2019 +1100 + + Fix mem leak in stats_mysql_free_connections #2362 + +commit 9502c2e7c45eebd4666209ca55cfdf99ebe2f436 +Author: René Cannaò +Date: Mon Nov 4 14:14:39 2019 +1100 + + Report client IP:port when setting lock_hostgroup + +commit 288118d5232b30ab38ba7246241f30d6dc04e4a3 +Author: René Cannaò +Date: Mon Nov 4 13:04:04 2019 +1100 + + If unable to set session variable on backend, display value in error log + +commit 9cece2dcfc6cedf2fb2e1cfcd844ab5481b230e0 +Author: Valentin Rakush +Date: Sat Nov 2 21:12:47 2019 +0000 + + fix charset testcase. hanle_unknown_charset=1 + +commit 417ebd3080663ce973fd1c822c5ba09e3c10add0 +Author: René Cannaò +Date: Sun Nov 3 01:26:50 2019 +1100 + + Fix jemalloc bug #2358 + +commit dab863a261be2dcbf833bbe763dccff92600a6b9 +Merge: a4ad74e0 c6e7c66e +Author: René Cannaò +Date: Fri Nov 1 18:19:16 2019 +1100 + + Merge pull request #2354 from val214/v2.0.8-tests + + V2.0.8 tests + +commit a4ad74e0b783e5412d6152f0671063f5e99f221d +Author: René Cannaò +Date: Fri Nov 1 18:12:01 2019 +1100 + + Support mysqldump 8.0 for Admin #2340 + +commit 4bca7a3d5c8af4370bf65368e10d1ccf2090d6fb +Author: René Cannaò +Date: Fri Nov 1 15:00:26 2019 +1100 + + Use close_mysql() for failed Monitor connections + + This can potentially be a solution for issue 2321. + If the error during the failed connection creation is not generated + by the backend, disconnect closing the TCP connection. + +commit 2cefe2810cb26cf1205cddd3e6da8a7b36a6faa8 +Author: René Cannaò +Date: Wed Oct 30 21:04:19 2019 +1100 + + Fixing a race condition during graceful shutdown + +commit c6e7c66e2c4fed7ad91007a619e9ea777fc26102 +Author: Valentin Rakush +Date: Wed Oct 30 08:43:22 2019 +0000 + + fixing install.sh script according to folders structure + +commit d59c4146b585ad2bc022758baecb321b260fbb06 +Author: Valentin Rakush +Date: Tue Oct 29 10:48:41 2019 +0000 + + charset tests run on different versions of mysql + +commit 3ad899c75889a941634deccb55a947aa79c58366 +Author: René Cannaò +Date: Wed Oct 30 12:26:46 2019 +1100 + + Avoid crash in JSON library for invalid UTF8 + +commit 1ac092490d423a4119ddd916a95f4d0faa3e7631 +Author: René Cannaò +Date: Tue Oct 29 21:39:49 2019 +1100 + + Variable aurora_max_lag_ms_only_read_from_replicas was not evaluated + +commit d745d5068feedf48eb4a662e632405f5a4fb9c20 +Merge: be654506 f2e878fd +Author: René Cannaò +Date: Tue Oct 29 21:37:53 2019 +1100 + + Merge pull request #2335 from sysown/charset + + SET CHARACTER SET implementation 2 + +commit f2e878fda3fd5b9912c284105047971f2f3a2333 +Author: René Cannaò +Date: Tue Oct 29 20:39:05 2019 +1100 + + Readding a condition related to charset incorrectly removed + +commit 6dbac33a62df67fa8183d016a639c67d4fd9d63d +Merge: 3f910c21 be654506 +Author: René Cannaò +Date: Tue Oct 29 20:35:26 2019 +1100 + + Merge branch 'v2.0.8' into charset + +commit 3f910c213fbf8f69ff0dacfbd6cbfd4860e132d3 +Author: René Cannaò +Date: Tue Oct 29 13:32:54 2019 +1100 + + Fix header for charset + +commit be654506ec3686caea15413155ace516ad41b3b4 +Merge: 76739573 1bd6117d +Author: René Cannaò +Date: Tue Oct 29 13:07:54 2019 +1100 + + Merge pull request #2350 from sysown/v2.0.8-ssl32k + + Handle large queries with SSL enabled + +commit 76739573225337bb7e9db2335e1e2c6a0281c087 +Merge: f3d15f48 1e3aec3b +Author: René Cannaò +Date: Tue Oct 29 00:04:13 2019 +1100 + + Merge pull request #2329 from val214/changing_charset + + handle unknown character set + +commit 1e3aec3b94e20661e1eb45ed9ef1d813ad8324c9 +Author: Valentin Rakush +Date: Mon Oct 28 07:17:29 2019 +0000 + + Fixes after review + +commit 15f121d82f7996435c75b13261b5500203b78e1d +Author: Valentin Rakush +Date: Fri Oct 18 18:59:58 2019 +0000 + + handle unknown character set + +commit f3d15f4897a2e36d9a3f0563662ddb4443bd2d08 +Merge: 2c65f3b9 f9e19ba0 +Author: René Cannaò +Date: Mon Oct 28 16:18:06 2019 +1100 + + Merge pull request #2290 from acampoh/v2.0.7-fix-galera-support + + V2.0.8 fix galera support + +commit 2c65f3b9235663cbcc4dca65229c67a8d299c351 +Merge: bbb9ea39 ad8a7350 +Author: René Cannaò +Date: Mon Oct 28 14:58:38 2019 +1100 + + Merge pull request #2347 from sysown/v2.0.8-aur_repli + + V2.0.8 aur repli + +commit ad8a735061c5464c094841a8258e71ef6f7fcf8f +Author: René Cannaò +Date: Mon Oct 28 12:23:33 2019 +1100 + + Improved the speed of refreshing mysql variables + + On commodity hardware, time dropped from 10us to 3us + +commit d198a6c606f0218b738c5a0d2a833fc2708b7c31 +Author: René Cannaò +Date: Mon Oct 28 11:11:05 2019 +1100 + + Added ProxySQL_Test___Refresh_MySQL_Variables + + PROXYSQLTEST 21 + +commit 07057288e862137fccd44da255883031b2767320 +Author: René Cannaò +Date: Mon Oct 28 10:54:48 2019 +1100 + + Solving errors in make clean #2341 + +commit 50876113f70e480ff6c4351bf093f66706cd545f +Author: René Cannaò +Date: Mon Oct 28 10:51:09 2019 +1100 + + Renaming variable aurora_only_read_from_replicas into aurora_max_lag_ms_only_read_from_replicas + +commit 35705f769a02b1de875ef80e2312a34c17a6996d +Author: René Cannaò +Date: Mon Oct 28 10:46:18 2019 +1100 + + Adding variable aurora_only_read_from_replicas + + If AWS Aurora is used and max_lag_ms , send traffic only to replicas if at least N replicas are good candidates. + +commit bbb9ea39868c192e371aa4327e056e5d5dfa3483 +Author: René Cannaò +Date: Sun Oct 27 20:01:47 2019 +1100 + + Filter Aurora replica with lag > 10m #2336 + +commit c00d24d01e3e600d8d82efbfa8bea9f21823203c +Merge: 6c71b9a7 e65bce6f +Author: René Cannaò +Date: Sun Oct 27 20:01:06 2019 +1100 + + Merge pull request #2336 from wjordan/aws_aurora_discovery_deleted_replicas + + Filter deleted Aurora replicas from auto-discovery + +commit 6c71b9a70553203b8c57edbe27b5c4368b5cb61f +Merge: fb2960e1 07977984 +Author: René Cannaò +Date: Sun Oct 27 19:59:48 2019 +1100 + + Merge pull request #2341 from val214/tap + + tap tests automation + +commit fb2960e19a98a1cd28661ebc5793ab67f0b43670 +Merge: 1265461b 1008b7d0 +Author: René Cannaò +Date: Sun Oct 27 19:58:38 2019 +1100 + + Merge pull request #2343 from val214/v2.0.8-charset-datatype + + unit8_t conversion + +commit 079779841db09d5deeeb725b1937ca36562e3bae +Author: Valentin Rakush +Date: Sat Oct 26 09:16:07 2019 +0000 + + add test for extending charset datatype from uint8_t to unsigned int + +commit 1008b7d0c541f48f16c698bbcda37fc8f56cc43e +Author: Valentin Rakush +Date: Thu Oct 24 13:45:03 2019 +0000 + + unit8_t conversion + +commit 2b8adfbc1c69868060baadb52281ff7bcb239fd1 +Author: Valentin Rakush +Date: Wed Oct 23 18:45:32 2019 +0000 + + adding MyTAP tests + +commit 595f194fe3214a0c771c72579b13ed56abbc6f19 +Author: Valentin Rakush +Date: Wed Oct 23 08:03:02 2019 +0000 + + tap tests automation + + fix blank line + + fix json.hpp + +commit 1265461b5d56d67f2271318426880c17ca018891 +Author: René Cannaò +Date: Wed Oct 23 14:12:27 2019 +1100 + + Simulate removal of Aurora nodes in automated testing + +commit 8560474bfd0313f3b5b3afdeda093bfee7563171 +Merge: b8ebb827 4d767c4d +Author: René Cannaò +Date: Wed Oct 23 12:08:30 2019 +1100 + + Merge pull request #2337 from wjordan/config_new_reader_weight_default + + Default mysql_aws_aurora_hostgroups new_reader_weight to 1 in config + +commit b8ebb827bab2b1e753c3f1e5fd52241058c6b28e +Merge: 089f5a30 440851ec +Author: René Cannaò +Date: Wed Oct 23 11:44:00 2019 +1100 + + Merge pull request #2332 from val214/assert_sqlite3 + + First commit for sqlite3 assertions + +commit 440851ec6bfaf05d9fd642159deadd23e6ce3d38 +Author: Valentin Rakush +Date: Tue Oct 22 08:30:48 2019 +0000 + + Update all assertions to check SQLITE_OK + +commit 4d767c4dcacb65494f1e595be4c55b8bfea07df6 +Author: Will Jordan +Date: Mon Oct 21 14:38:34 2019 -0700 + + Default mysql_aws_aurora_hostgroups new_reader_weight to 1 in config + +commit e65bce6f0bd719b61f7ac5a73ba68cfb2b88004c +Author: Will Jordan +Date: Mon Oct 21 14:08:59 2019 -0700 + + Filter deleted Aurora replicas from auto-discovery + Aurora instances that have been deleted still exist in the + `INFORMATION_SCHEMA.REPLICA_HOST_STATUS` table, but with a + `REPLICA_LAG_IN_MILLISECONDS` set to 900000. + To allow auto discovery to remove these deleted instances from the + server list, add `AND REPLICA_LAG_IN_MILLISECONDS != 900000` to the + monitor query. + +commit 6c8b7971ae77bab2c50e2bbddc7b55ba85432597 +Author: Valentin Rakush +Date: Mon Oct 21 18:50:41 2019 +0000 + + Remove redundant info from message + +commit e8621ce3365b09fb4fdf06c5e1cbc2713e809179 +Author: Valentin Rakush +Date: Sat Oct 19 19:20:36 2019 +0000 + + First commit for sqlite3 assertions + +commit 630e66fd997cb7d723af100b74109b7ce288f0df +Author: René Cannaò +Date: Tue Oct 22 01:33:59 2019 +1100 + + Fixing logic for SET CHARACTER SET #1692 + +commit 089f5a3006aa37e50329b795a009f904fdcc82ad +Merge: a5db3f61 161697c1 +Author: René Cannaò +Date: Sun Oct 20 10:11:50 2019 +1100 + + Merge pull request #2281 from sysown/v2.0.8.67863 + + More mysql_replication_hostgroups.check_type #2186 + +commit a5db3f61be122c139984ebf0511f41975e242d31 +Merge: b9edb035 149c7c3a +Author: René Cannaò +Date: Sun Oct 20 10:09:29 2019 +1100 + + Merge pull request #2280 from sysown/v2.0.8-2273 + + More verbose output for error 2019 #2273 + +commit b9edb035aced162ee69dccb7fc672bb0bae3b20a +Merge: d493fca3 40bb39f7 +Author: René Cannaò +Date: Sun Oct 20 10:02:58 2019 +1100 + + Merge pull request #2333 from val214/makefile + + adding prerequisites to compile lib .c/.cpp files + +commit 40bb39f782d04b0f758651b83b63635edc65f777 +Author: Valentin Rakush +Date: Sat Oct 19 19:36:53 2019 +0000 + + adding prerequisites to compile lib .c/.cpp files + +commit d493fca3ba582256208d7f8ddd0da4e4f504c8de +Merge: 47683072 2313d491 +Author: René Cannaò +Date: Fri Oct 18 21:51:59 2019 +1100 + + Merge pull request #2319 from sysown/v2.0.8-autocommit_reset + + If a connection is reset, assume autocommit=1 + +commit 47683072fb737849966a7e43b4021728bdbcf0a4 +Merge: a0ea0c11 be3bb962 +Author: René Cannaò +Date: Fri Oct 18 21:51:25 2019 +1100 + + Merge pull request #2322 from sysown/v2.0.8-unhealthyconn + + Add variable mysql-log_unhealthy_connections + +commit be3bb9629d988c13d49dc4eedd11d6cbf14fac33 +Author: René Cannaò +Date: Fri Oct 18 14:58:25 2019 +1100 + + Add variable mysql-log_unhealthy_connections + + Added new variable mysql-log_unhealthy_connections. + Enabled by default. + If disabled, warnings `Closing unhealthy client connection` are suppressed. + +commit 2313d491fca21e61a3d7df56c4a4fd08d00f2096 +Author: René Cannaò +Date: Wed Oct 16 23:58:36 2019 +1100 + + If a connection is reset, assume autocommit=1 + +commit a0ea0c118c9da732fce43d1ff1e42938bae1db0f +Author: René Cannaò +Date: Wed Oct 16 04:03:18 2019 +1100 + + V2.0.8 fast routing (#2309) + + * Implementation of unit tests related to mysql_query_rules_fast_routing + + * Implementation of rules_fast_routing with khash + + * Adding memory usage for new fast routing algo + +commit ad12e1267713c71b4baf2d0fad55c9eb32f84275 +Author: Valentin Rakush +Date: Tue Oct 15 08:35:48 2019 +0000 + + set character set. initialize variables + +commit b5725c44e3da136f0c414578d420d1ced89596fe +Author: Valentin Rakush +Date: Mon Oct 14 18:26:57 2019 +0000 + + set character set implementation. initial commit + +commit ba0faeccafbc77b8823d2514f1241377883f7f1d +Merge: 635df890 e9336e2f +Author: René Cannaò +Date: Mon Oct 14 14:36:17 2019 +1100 + + Merge pull request #2310 from sysown/v2.0.8-comment + + Further enhancement of parsing comments + +commit e9336e2fb81fedea9cbe6880247c88d09bcd3d65 +Author: René Cannaò +Date: Mon Oct 14 14:31:24 2019 +1100 + + Further enhancement of parsing comments + +commit 635df8907e4128347f145c0cbc0f0b19f4f7ef29 (tag: 2.0.8) +Merge: 08181d60 71f167e9 +Author: René Cannaò +Date: Wed Oct 9 14:30:16 2019 +1100 + + Merge branch 'v2.0.8-max_allowed_packet' into v2.0.8 + +commit 71f167e99403d1365ee6766c21fc8972c63c9c1e +Author: René Cannaò +Date: Wed Oct 9 14:29:53 2019 +1100 + + Changed default max_allowed_packet from 4M to 64M + +commit 08181d601a956c822c907ec30295a3de3bfc0b39 +Merge: 5054998f c58cc0c4 +Author: René Cannaò +Date: Wed Oct 9 04:03:21 2019 +1100 + + Merge branch 'v2.0.8' of https://github.com/sysown/proxysql into v2.0.8 + +commit 5054998f7f52273ced3d13cb9847fd5ec23ac1df +Author: René Cannaò +Date: Wed Oct 9 04:02:30 2019 +1100 + + hostgroup sign in stats_mysql_query_digest #2285 + +commit 1bd6117db875932583fb3cf052cfa469f5929703 +Author: René Cannaò +Date: Wed Oct 9 03:07:32 2019 +1100 + + Handle large queries with SSL enabled + + This commit fixes the following bug: + if a client connection uses SSL and sends a query larger than 32KB, the query is never executed and the connection hang + +commit f9e19ba03eadb8a041d12221c35fadb2d9a815fe +Author: Adrián del Campo +Date: Thu Oct 3 16:44:09 2019 +0200 + + Ported back the galera support fix to v2.0.7 + +commit c58cc0c42a604d9f3883a5621e83a12ceaa53502 +Author: Nick Vyzas +Date: Thu Oct 3 01:06:13 2019 +0300 + + Update README.md + +commit 4dd4ef5f21ed5ab555e0e2fb94190b1998c30867 (tag: v2.0.7) +Merge: 732586ac 6850b1bb +Author: Nick Vyzas +Date: Mon Sep 30 19:01:56 2019 +0000 + + Merge branch 'v2.0.7' of https://github.com/sysown/proxysql into v2.0.7 + +commit 732586ac00974606ebe32181721a8a0f99339b29 +Author: Nick Vyzas +Date: Mon Sep 30 19:00:02 2019 +0000 + + Packaging updates: Debian 10 & SystemD for RHEL 7+ + +commit 161697c1bbaa170e6d7cc73d460cbd1d74528775 +Author: René Cannaò +Date: Mon Sep 30 05:49:27 2019 +1000 + + Alias to read_only all checks related to read_only + +commit 149c7c3a40ae06ad795d1c875a23296d2f681559 +Author: René Cannaò +Date: Sat Sep 28 18:10:24 2019 +1000 + + More verbose output for error 2019 #2273 + + If the backend doesn't support the charset required by the client, an error is returned. + This commit adds more verbosity. + +commit c9459ae4fd6420ac48868ab1b48b6d0a03b415c9 +Author: René Cannaò +Date: Sat Sep 28 18:03:14 2019 +1000 + + More mysql_replication_hostgroups.check_type #2186 + + Added support for: + - read_only|innodb_read_only + - read_only&innodb_read_only + +commit 1ed79a724d2fa1a1923a9725cd8a6d74ba5ac2c1 +Author: René Cannaò +Date: Sat Sep 28 16:38:18 2019 +1000 + + Version 2.0.8 + +commit 6850b1bbc69dc90fbf69bc49603d83a285ee8d68 +Merge: ba5aaefc bea3223e +Author: René Cannaò +Date: Fri Sep 27 23:40:17 2019 +1000 + + Merge pull request #2277 from val214/schema_rules + + digests number: converting numbers to ? for digest calculation + +commit bea3223e420ed4be15dc00d8afad1e99c7f27344 +Author: Valentin Rakush +Date: Fri Sep 27 13:28:35 2019 +0000 + + digests numbers: cleanup debugging + +commit b13c320210ef50d1ce69f824a1c9febd5ae0e168 +Author: Valentin Rakush +Date: Thu Sep 26 18:51:11 2019 +0000 + + digests number: converting numbers to ? for digest calculation + +commit ba5aaefcf6b5591d4698a85c43cf824ddc92842d +Author: René Cannaò +Date: Fri Sep 27 09:53:47 2019 +1000 + + Generate a warning if mysql-wait_timeout is less than 5 seconds + +commit e2b6a7a2c5c41890a8dfe09b2bd4d2f93852ab14 +Merge: 5f8e2acb 7cc3f949 +Author: René Cannaò +Date: Fri Sep 27 00:14:25 2019 +1000 + + Merge pull request #2276 from sysown/v2.0.7-0926 + + Apply mysql_query_rules.destination_hostgroup also when unable to parse SET statement. + +commit 5f8e2acbb9fbf24ea18aae6879e117b8ff9cd8c9 +Author: René Cannaò +Date: Thu Sep 26 23:55:48 2019 +1000 + + Change the default for tx_isolation + +commit 781aafb70ffebb2673e0b82ecae8e2ea035be953 +Merge: a4f56291 8f690910 +Author: René Cannaò +Date: Thu Sep 26 23:54:43 2019 +1000 + + Merge pull request #2274 from val214/tx_isolation + + set tx_isolation implementation + +commit 7cc3f949b66af63d9b90666bcb6eafae881108fb +Author: René Cannaò +Date: Thu Sep 26 23:51:47 2019 +1000 + + Apply mysql_query_rules.destination_hostgroup also when unable to parse SET statement. + + It a SET statement wasn't parsed correctly, hostgroup was locked + on current hostgroup and not on the hostgroup specified in + mysql_query_rules.destination_hostgroup + +commit a4f56291c89ea7e2df2ea21496fe3a9dee3e116a +Author: René Cannaò +Date: Thu Sep 26 22:21:55 2019 +1000 + + Fixed crash caused by KILL QUERY and mysql-eventslog_format=2 + +commit 8f690910744384b5e9a8d30e2ac300e60250324a +Author: Valentin Rakush +Date: Thu Sep 26 10:42:13 2019 +0000 + + tx_isolation: do not duplicate tx_isolation with transaction_isolation. check mysql version. + +commit 25d75b93e603cf3dcacdb5b5222b1b9f0296db81 +Author: Valentin Rakush +Date: Wed Sep 25 09:24:07 2019 +0000 + + tx_isolation: use separate default value for TX_ISOLATION + +commit 202cae4c396f580a53964713618183a38e20495a +Author: Valentin Rakush +Date: Wed Sep 25 07:48:59 2019 +0000 + + set tx_isolation implementation + +commit 725c226574134dae01f2cf5618772ce5f12f0342 +Author: René Cannaò +Date: Mon Sep 23 12:47:00 2019 +1000 + + Adding more debugging information when a client connections is closed + +commit 7ee5119a401fb694b6f9fe55a9dcd204c4b0264e +Author: René Cannaò +Date: Mon Sep 23 12:26:38 2019 +1000 + + Added new test for prepared statements + +commit 6f9989e4d96d379db980fb7451bda328fe5a5e05 +Author: René Cannaò +Date: Mon Sep 23 12:00:23 2019 +1000 + + Setting default for group replication max timeout count #2187 + + Also fixed paths in Makefile for tests + +commit 86f6104e028cc8a032dc35f4f7559831fe6c7c20 +Author: René Cannaò +Date: Fri Sep 20 13:17:04 2019 +1000 + + More verbosity on Ping timeout during ping #2265 + +commit 85f425af86eeabe2d633dab5c80aa49ca9343fd7 +Author: René Cannaò +Date: Fri Sep 20 12:56:16 2019 +1000 + + Do not disable backend for some errors codes #2261 + + Codes: + From 1048 to 1052 + From 1054 to 1075 + +commit b723dd5016627a69dbb7d68b244dd5df7b810f67 +Merge: b545cb48 757684c6 +Author: René Cannaò +Date: Thu Sep 19 06:37:36 2019 +1000 + + Merge pull request #2260 from val214/2187 + + [FR] Group Replication Timeout count + +commit 757684c6d9a3a3574359725c0663f7d3cba0a041 +Author: Valentin Rakush +Date: Tue Sep 17 07:03:06 2019 +0000 + + [FR] Group Replication Timeout count + +commit b545cb48e8bd0c127fc562634e3e001adfbd1f0a +Merge: bb4e6b0a 84985bae +Author: René Cannaò +Date: Sat Sep 14 15:56:11 2019 +1000 + + Merge pull request #2254 from sysown/v2.0.7-uservars + + Improved the parsing of user variables + +commit 84985baedcc1d55d20d8858967fc3611244df2e3 +Author: René Cannaò +Date: Wed Sep 11 19:56:35 2019 +1000 + + Improved the parsing of user variables + +commit bb4e6b0acd58818f55b0b0619e03888d1a0567eb +Merge: 9b5a015a 7f16a4cb +Author: René Cannaò +Date: Wed Sep 11 15:27:13 2019 +1000 + + Merge pull request #2251 from sysown/v2.0.7-2208 + + Fix bug #2208 + +commit 7f16a4cb3452c8cfe8d36a8cf0108042a395b9e1 +Author: René Cannaò +Date: Wed Sep 11 01:50:38 2019 +1000 + + Fix bug #2208 + +commit 9b5a015aa0421f38c3be667d3058bc96d300e0d6 +Merge: caa6d0d8 a87da209 +Author: René Cannaò +Date: Tue Sep 10 13:43:36 2019 +1000 + + Merge pull request #2250 from sysown/v2.0.7-ssl + + Downgraded openssl back to 1.1.0h #2244 + +commit caa6d0d8d85cd2bd8fd6c3cd357b41443ddfe035 +Merge: 99b4dd4b 8cd140a0 +Author: René Cannaò +Date: Tue Sep 10 13:31:46 2019 +1000 + + Merge pull request #2198 from pirDOL/v2.0.7 + + Remove unnecessary build targets of mariadb client + +commit 99b4dd4bbd1bebdf460bc5fddcae92f171d7aae6 +Merge: 7f8af99d 626c7817 +Author: René Cannaò +Date: Tue Sep 10 13:21:49 2019 +1000 + + Merge pull request #2243 from sysown/v2.0.7.2 + + V2.0.7.2 + +commit a87da209b53fb7a4f1da986f82f1c48d3a541d54 +Author: René Cannaò +Date: Tue Sep 10 13:15:38 2019 +1000 + + Downgraded openssl back to 1.1.0h #2244 + + Due to high CPU usage + +commit 7f8af99d8bd66b7484251d9149e4284a76f90db6 +Merge: 60f68b75 58b7fecb +Author: René Cannaò +Date: Tue Sep 10 11:11:41 2019 +1000 + + Merge pull request #2248 from acampoh/v2.0.7-tuenti-keepalive + + Added support for tcp_keepalives in proxysql client conns + +commit 58b7fecbef8a0397204c46fa57756ae56bca6c1d +Author: Adrián del Campo +Date: Mon Sep 9 18:03:14 2019 +0200 + + Added support for tcp_keepalives in proxysql client conns + +commit 626c7817d8232817edc259149d7962f75e9991e8 +Author: René Cannaò +Date: Mon Sep 9 14:42:58 2019 +1000 + + Deleted events file + +commit aaf83eec781ef0a9727239d6472aab704db43783 +Author: René Cannaò +Date: Mon Sep 9 14:42:27 2019 +1000 + + Finalizing the support for more session variables + + Initial support for `SET SESSION TRANSACTION READ ONLY` or `READ WRITE`. + + Extended `SET` parser to support also `SET SESSION TRANSACTION`. + + Hostgroup Manager doesn't kill backend connections in case of error 1231. + + `autocommit` is set at session level but also on MySQL client connection. + + Added several debugging entries. + + Several `handler_again___verify_backend_*` functions are disabled if `locked_on_hostgroup` is enabled. + +commit 60f68b754a755c853167e51ab5e11c9460b226cd +Author: René Cannaò +Date: Sat Sep 7 15:48:09 2019 +1000 + + Set min value for session_idle_ms to 1 + + Previously it was 100. + Up to 2.0.5 , due to a bug, session_idle_ms was always 1 when enabled . + +commit beabd5e66aef3ef86fad919dfc7c57dffcab82ae +Author: René Cannaò +Date: Tue Sep 3 00:35:39 2019 +1000 + + Fixing some unitialized variables + +commit 3f0b5c7ceb13753a6a8774353325dc77e59efc27 +Author: René Cannaò +Date: Mon Sep 2 23:13:00 2019 +1000 + + Fixed a state in generate_pkt_ERR + +commit 7b83ad53e0f1c449f9c795c839328e4e0583d3b9 +Author: René Cannaò +Date: Mon Sep 2 23:11:11 2019 +1000 + + Remove double frees + +commit e85c34b2952f5a05d3f02a8afca30c0de334d898 +Author: René Cannaò +Date: Mon Sep 2 14:00:10 2019 +1000 + + Fix a crash detected by valgrind + +commit c520866058a02b25b2455666a022ed08b39d1f1f +Author: René Cannaò +Date: Mon Sep 2 11:09:56 2019 +1000 + + More on functions for tracking more variables + +commit fd428518688a759d3ea36465a848991e499b3d0b +Merge: b298980d d02c854e +Author: René Cannaò +Date: Fri Aug 30 02:55:43 2019 +1000 + + Merge pull request #2228 from sysown/v2.0.7.4 + + V2.0.7.4 + +commit d02c854e9b4f2f4f14abe88650ea86526084f2e1 +Author: René Cannaò +Date: Fri Aug 30 01:13:10 2019 +1000 + + Implement auto discovery for Aurora writer too + +commit a6c1c4c71eb3981f0ae78508cdc91ee0b2e1b44b +Merge: 48ab04f5 eb19d3e6 +Author: René Cannaò +Date: Thu Aug 29 16:53:05 2019 +1000 + + Merge branch 'v2.0.6-aurora_discovery_2' into v2.0.7.4 + +commit 48ab04f5dca19da1df427e9c1d179a78e72c1679 +Merge: 234eb9ba a445493c +Author: René Cannaò +Date: Thu Aug 29 16:52:54 2019 +1000 + + Merge branch 'v2.0.6-aurora_discovery' into v2.0.7.4 + +commit 234eb9ba27de533e990919bc570189a46892aaa6 +Author: René Cannaò +Date: Thu Aug 29 15:09:13 2019 +1000 + + Fix bug #2224 + +commit 5336e72f1cc229cd303310cffeb92ed1060414bb +Author: René Cannaò +Date: Thu Aug 29 14:44:47 2019 +1000 + + For Aurora, do not use the writer if there are good readers candidates + +commit 187c879e0fd55b44ada56845fe75f2ec9c872bae +Author: René Cannaò +Date: Thu Aug 29 11:18:12 2019 +1000 + + Allow both hostgroup and hostgroup_id in config file #2227 + +commit 197a46ea0da38b940c32366886b3787fe0753959 +Author: René Cannaò +Date: Thu Aug 29 11:13:06 2019 +1000 + + More on functions for tracking more variables + + Extended JSON output + Temporary disabled the logic on tracking more variables as it causes crashes: we need further testing. + +commit b298980d660434bdf60f2815f92f0aa011837303 +Merge: fefadcb0 c06e316e +Author: René Cannaò +Date: Thu Aug 22 02:09:36 2019 +1000 + + Merge pull request #2209 from sysown/v2.0.7.3 + + V2.0.7.3 + +commit fefadcb0d4ada0fcb006fe6525f50a03b71f754c +Author: René Cannaò +Date: Thu Aug 22 02:08:54 2019 +1000 + + Fix bug in reading mysql_aws_aurora_hostgroups from file + +commit 673bb96cfbe74cb9761113017eff2fcf02425e38 +Author: René Cannaò +Date: Thu Aug 22 00:45:27 2019 +1000 + + Adding functions for tracking more variables + + Extended unit testing parser + Distinguish between variables that need quote or no quote + +commit 70c7ed4b276049938ff181053a6a51edc95cdebb +Author: René Cannaò +Date: Wed Aug 21 19:17:29 2019 +1000 + + Fix incorrect OK packet with message and GTID + +commit 8e1e152505cf2c4b85fd3ea7c1e478d683073f36 +Author: René Cannaò +Date: Wed Aug 21 00:55:44 2019 +1000 + + Do not send incorrect GTID to client + + Extract GTID only if no errors, and status changed. + GTID is stored both on MySQL_Connection and MySQL_Backend, to better track changes. + +commit ddf4a231a3267035090cf31b7594584b6d433e9b +Author: René Cannaò +Date: Tue Aug 20 23:46:43 2019 +1000 + + More on adding functions for tracking variables + +commit c06e316e8e1325b6a39435f8b731ced2bea15297 +Author: René Cannaò +Date: Tue Aug 20 13:12:09 2019 +1000 + + Update CurrentQuery after adding LDAP comment + +commit 015fc2a025c33d5d91d32063f23d1985ae1b7980 +Author: René Cannaò +Date: Tue Aug 20 12:42:39 2019 +1000 + + Report a clear error if LDAP authentication doesn't complete + + Also added more debugging information + +commit 7d363bb7c4fbc907f716519140c1fb358dafe510 +Author: René Cannaò +Date: Tue Aug 20 01:09:47 2019 +1000 + + Bug on debug + +commit 59a18fb8bb954da257ba43b962534bb183d300c4 +Author: René Cannaò +Date: Tue Aug 20 00:58:35 2019 +1000 + + Disconnect client if it doesn't complete auth switch + +commit f4d8d481a8830ea6195ad9a22c9389a965af1d8c +Author: René Cannaò +Date: Tue Aug 20 00:45:30 2019 +1000 + + Again more debug + +commit 46606ccd01574d3a315c44411b6ffcd42d0854df +Author: René Cannaò +Date: Mon Aug 19 21:58:19 2019 +1000 + + More on adding functions for tracking variables + +commit 46e38d4cf6635c75fd1c4d1b6ee83771b75e4683 +Author: René Cannaò +Date: Mon Aug 19 01:17:41 2019 +1000 + + More debugging + +commit 2575d24d86b61ccc79b376a2c8adc45c56932b2c +Author: René Cannaò +Date: Mon Aug 19 00:35:42 2019 +1000 + + Removing password from debug + +commit 9971dc5b478009aca0f3bcef92b699be390755b8 +Author: René Cannaò +Date: Sun Aug 18 21:55:32 2019 +1000 + + Adding several debug information + +commit 57e04c63e9ee797fc4c270f98d14505f090f40c2 +Author: René Cannaò +Date: Sun Aug 18 19:38:37 2019 +1000 + + Adding generic functions for tracking variables + + Mostly code cleanup + +commit a1f39bf784dbbb6facd8abef44aa7626bdf41585 +Author: René Cannaò +Date: Sat Aug 17 22:56:43 2019 +1000 + + 2nd drafting tracking of various variables + +commit 6e67c2122478e63f718b49a688adc4f6e31113bc +Author: René Cannaò +Date: Sat Aug 17 20:50:08 2019 +1000 + + Correctly set sql_mode from variable + +commit 91f518d61ae2680e55708ddea3b7f7c4d1e53d12 +Author: René Cannaò +Date: Sat Aug 17 20:37:53 2019 +1000 + + Drafting tracking of various variables: + + - character_set_results + - isolation level + - session_track_gtids + +commit c56bf0e68799ad9721dc694f32b69a4184d02658 +Merge: 82c0104a e16fcb32 +Author: René Cannaò +Date: Sat Aug 17 00:48:02 2019 +1000 + + Merge pull request #2199 from sysown/v2.0.7.1 + + V2.0.7.1 + +commit 82c0104ad78848ac45d8f2aab871c4b0cd6fa9c5 +Merge: 7409b835 ce338bd8 +Author: René Cannaò +Date: Sat Aug 17 00:44:39 2019 +1000 + + Merge pull request #2196 from dbussink/dbussink/remove-hardcoded-capabilities + + Remove hardcoded capabilities that the client uses + +commit e16fcb32a4f0586106da2a512124eab78415aa75 +Author: René Cannaò +Date: Sat Aug 17 00:27:59 2019 +1000 + + Reset gtid_hid for every request generating an OK packet + +commit 9172993e4af899c4d3d306cf9a90be95a76b7368 +Author: René Cannaò +Date: Sat Aug 17 00:16:19 2019 +1000 + + Reset gtid_hid at the beginning of every request + +commit 4c4380e818d5541325d04858ee60f7c7c9d6c8dc +Author: René Cannaò +Date: Fri Aug 16 23:59:26 2019 +1000 + + Fixed a bug that prevent init_connect to work + +commit 8cd140a020903c4f510fa672bec73fc461d4900e +Author: liduo04 +Date: Fri Aug 16 21:42:06 2019 +0800 + + Remove unnecessary build targets of mariadb client + +commit 540a630774b465c5c7176e1694ee0afb54d7287a +Author: René Cannaò +Date: Fri Aug 16 23:00:05 2019 +1000 + + Do not sent GTID in OK packets generated due to query rules + +commit ce338bd8dfa21904bfea6291c2803ba68c08ae82 +Author: Dirkjan Bussink +Date: Fri Aug 16 14:10:46 2019 +0200 + + Remove hardcoded capabilities that the client uses + + These hardcoded capabilities end up being set on all backend connections + ProxySQL makes. We don't want CLIENT_MULTI_RESULTS & + CLIENT_PS_MULTI_RESULTS to be enabled hardcoded, but they should be + dependent on the client connecting to ProxySQL. + + Having this mismatch meant that any connection that was not setting + these flags would not be multiplexed with subsequent connections as the + client of client flags would not match. + +commit 0ef9ad832bfe699295f1c2f1cbd566d435bd9df9 +Author: René Cannaò +Date: Fri Aug 16 21:53:00 2019 +1000 + + Bug fix: improved autocommit logic + +commit 7409b835b13db20d424e501b1af6855092705eb9 (tag: 2.0.7) +Author: René Cannaò +Date: Thu Aug 15 23:53:14 2019 +1000 + + Upgrade to 2.0.7 + +commit 05a7e7b1b6157afde9958e41876c96f70bba19fa +Author: Nick Vyzas +Date: Wed Aug 14 11:10:58 2019 +0300 + + Update README.md + +commit c746bf7f8ad0e5874e778a8b8bbd71bd58d79fea (tag: v2.0.6, origin/v2.0.6) +Author: René Cannaò +Date: Tue Aug 13 00:43:02 2019 +1000 + + Fix invalid free + +commit eb19d3e634790f20dd23ba93c91d88d122042d40 +Author: René Cannaò +Date: Tue Aug 13 00:15:06 2019 +1000 + + More debugging info + +commit a445493c01f52ac2735c6f3af914a41552009f6b +Author: René Cannaò +Date: Mon Aug 12 16:16:40 2019 +1000 + + Further testing for Aurora + +commit 4467e7106754caf56391737206145ade52694029 +Author: René Cannaò +Date: Sun Aug 11 21:23:16 2019 +1000 + + Enhancing automated testing for AWS Aurora + +commit b2975490c504d4ba0c6a5e404104a6ba01632583 +Author: René Cannaò +Date: Sun Aug 11 19:45:39 2019 +1000 + + Implementation and simulation of AWS Aurora auto-discovery + +commit 495278c76bfdd6a368b6a3f4ceee016837f9181a +Author: René Cannaò +Date: Sun Aug 11 15:47:17 2019 +1000 + + MySQL_HostGroups_Manager::commit() reports for how long it locked + +commit f040ec67dc8d471bbb946dd3d6d150f3fc739338 +Merge: 9e813596 f55d623c +Author: René Cannaò +Date: Sun Aug 11 15:23:26 2019 +1000 + + Merge pull request #2190 from sysown/v2.0.6-aurora_domain_name + + Replace endpoint_address with domain_name + +commit 9e813596516602200055454fa24e3af54767bc2e +Merge: 17f8cd8e e58cfc2b +Author: René Cannaò +Date: Sun Aug 11 15:22:58 2019 +1000 + + Merge pull request #2185 from YYJiangLoveU/MS-branch + + Let ProxySQL support Azure MySQL + +commit e58cfc2b77039414b79f3190049bd223dba0d127 +Author: Yiyao Jiang +Date: Sat Aug 10 20:30:57 2019 +0800 + + Update ProxySQL_Cluster.cpp + + revert the changes + +commit f55d623cbb91b6f14c46981344c0e8024a8eb51c +Author: René Cannaò +Date: Sat Aug 10 20:40:17 2019 +1000 + + Adding check that domain name starts with dot + +commit 2d3aaf79e58f16ab794b6f8a8cb39a324a2eec2a +Author: René Cannaò +Date: Sat Aug 10 20:14:12 2019 +1000 + + Replace endpoint_address with domain_name + +commit 17f8cd8edfd18c3a3e099bb273cd823058f9f8cd +Merge: 7df2227c f3e7f039 +Author: René Cannaò +Date: Sat Aug 10 19:44:48 2019 +1000 + + Merge pull request #2189 from sysown/v2.0.6-COM_FIELD_LIST + + Implementation of COM_FIELD_LIST + +commit f3e7f039980f781b1cd87e07e1ad6e2ba104fe8e +Author: René Cannaò +Date: Wed Jan 9 16:01:17 2019 +1100 + + Implementation of COM_FIELD_LIST + + Port from 1.4.16 to 2.0.6 + +commit 3b0e2abbc43be47e3a0363a92bec8934b29a4267 +Author: Yiyao Jiang +Date: Fri Aug 9 13:54:05 2019 +0800 + + remove the flag + +commit 031549835d88b52d139d6007a91d94bd82964a92 +Author: Yiyao Jiang +Date: Fri Aug 9 10:00:31 2019 +0800 + + remove the blank line accidentally entered + +commit 7df2227c7cb757be7d8e5a318f1c2d3ce85ff95d +Merge: ff19f093 2fec51c0 +Author: René Cannaò +Date: Wed Aug 7 21:34:49 2019 +1000 + + Merge pull request #2182 from sysown/v2.0.6-perfbench1 + + V2.0.6 perfbench1 + +commit ff19f09372dcfbbe89b8c97f2016cfaca286ed63 +Merge: c3177788 ee5b54d9 +Author: René Cannaò +Date: Wed Aug 7 21:34:38 2019 +1000 + + Merge pull request #2181 from sysown/v2.0.6-sqlite3_prepare_v2_wrapper + + Create a wrapper around sqlite3_prepare_v2 + +commit ee5b54d9838f29989272efaebfe992652c5a0393 +Author: René Cannaò +Date: Wed Aug 7 15:12:58 2019 +1000 + + Create a wrapper around sqlite3_prepare_v2 + + This should fix several crashes if the internal db is locked or busy + +commit 63af8f3f52ec48961f10ebe1bf7ac6cd42452cfb +Author: Yiyao Jiang +Date: Wed Aug 7 11:31:44 2019 +0800 + + Add azure_enabled + +commit a3b14fcb57fd04e1ce7017d0c41271ed8c69f80a +Author: Yiyao Jiang +Date: Tue Aug 6 15:49:47 2019 +0800 + + Add serverhost when connecting to MySQL Servers + +commit 2fec51c0a91bcef671dea12e0a2198c35f7bd4f8 +Author: René Cannaò +Date: Mon Aug 5 23:15:08 2019 +1000 + + A lot of changes to make query digest map faster + + Extended SQLite3_result to support a mutex for concurrent rows insert. + + Extensively rewritten get_query_digests() and get_query_digests_reset() to support multiple threads, and concurrently generate a resultset. + + Function get_query_digests_reset() defer the deletion of objects from query digest map after generating the resultset for Admin. This drastically reduce the amount of time that query digest map is locked. + + Rewritten get_query_digests_total_size() to make it multi-threaded. + + Added 3 new functions for purging: + - purge_query_digests() : wrapper + - purge_query_digests_sync() : synchronous purge of query digest map, either single-threaded or multi-threaded + - purge_query_digests_async() : asynchronous purge of query digest map, single-threaded only + + If table `stats_mysql_query_digest_reset` is queried but not `stats_mysql_query_digest`, only the first one is populated. + If table `stats_mysql_query_digest_reset` is queried and also `stats_mysql_query_digest`, the second one is populated as a copy from the first. + + Implemented new SQL `TRUNCATE [TABLE]` for `[stats.]stats_mysql_query_digest[_reset]`: this will purge the query digest map as fast as possible without creating any table in SQLite. + + For testing/benchmark: + - modified ProxySQL_Test___GenerateRandomQueryInDigestTable() to generate more random data and randomly switch `mysql_thread___query_digests_normalize_digest_text` + + Extended command `PROXYSQLTEST` with the following tests: + - 1 : generates entries in digest map + - 2 : gets all the entries from the digest map, but without writing to DB, with multiple threads + - 3 : gets all the entries from the digest map and reset, but without writing to DB, with multiple threads + - 4 : purges the digest map, synchronously, in single thread + - 5 : purges the digest map, synchronously, in multiple threads + - 6 : purges the digest map, asynchronously, in single thread (this seems the faster) + + Replaced some sprintf() with new function my_itoa() . + + Modified class QP_query_digest_stats() to include username, schemaname and client_address if no longer than 24 bytes. + This makes storage requirement for QP_query_digest_stats() bigger, but reduces a lot of calls to memory management. + + Modified QP_query_digest_stats::get_row() to drastically reduce the number of malloc/free and string copy. + + Overall, this commit has the following effects: + - it increases the memory usage for query digest map. On test workload, this results in 10% more memory usage + - drastically reduces the calls to memory management + - populating `stats_mysql_query_digest_reset` is 3 times faster + - the amount of time in which query digest map is locked is reduced by 95% + +commit 5d9f13386ce7b8d7b8f3a8702b603f0f5fffa89c +Author: René Cannaò +Date: Mon Aug 5 00:35:04 2019 +1000 + + Implementation of first set of self benchmark functions + +commit c3177788dee870888a35af34a2c8ae404c5c7cde +Author: René Cannaò +Date: Sun Aug 4 20:40:22 2019 +1000 + + Do not close backend connection for error 1317 + + This is a porting from 1.4.15 + +commit df703ee19c3b90c194efba8c41dfbc2720e03930 +Author: René Cannaò +Date: Sat Aug 3 19:03:48 2019 +1000 + + Set CLIENT_MULTI_STATEMENTS based on COM_SET_OPTION #2175 + +commit 42a172cdf6b5ac3916e12d3541ab4968c020722d +Merge: a21627c1 1658c333 +Author: René Cannaò +Date: Sat Aug 3 08:15:20 2019 +1000 + + Merge pull request #2174 from sysown/v2.0.6-2171_var + + Adding variable mysql-query_digests_replace_null #2171 + +commit 1658c33375508ed3cd8b41dc7422f9ccc66358f3 +Author: René Cannaò +Date: Sat Aug 3 02:14:26 2019 +1000 + + Adding variable mysql-query_digests_replace_null #2171 + +commit a21627c13d17b23c2cadda632e23d7977fa927d3 +Merge: 8ee95886 a55dc82c +Author: René Cannaò +Date: Sat Aug 3 02:02:07 2019 +1000 + + Merge pull request #2173 from sysown/v2.0.6-2171 + + Query digest uses ? for NULL values #2171 + +commit 8ee958863644b444fafa847167469127642e8d74 +Merge: 3b3def9f 27c00478 +Author: René Cannaò +Date: Sat Aug 3 01:39:07 2019 +1000 + + Merge branch 'v2.0.6' of https://github.com/sysown/proxysql into v2.0.6 + +commit a55dc82cf90bad5792776ba0c1a9ba225e611008 +Author: René Cannaò +Date: Sat Aug 3 01:36:38 2019 +1000 + + Query digest uses ? for NULL values #2171 + +commit 3b3def9f7804a8d3f4bebb0ad54d1686e29c426c +Author: René Cannaò +Date: Fri Aug 2 16:18:04 2019 +1000 + + Fix unitialized file + +commit 6211bc3b87d8b168a522d9b536c52f98a34d858c +Author: Yiyao Jiang +Date: Thu Aug 1 15:54:38 2019 +0800 + + remove the blank line accidentally entered + +commit 6fdac8c7003e53ace861532549737afba1d67380 +Author: Yiyao Jiang +Date: Thu Aug 1 15:23:15 2019 +0800 + + Add serverhost when connecting to MySQL Servers + +commit 27c00478cc7365be767201cc828b306899a7d33f +Merge: 97d899e7 12d9ae1b +Author: René Cannaò +Date: Wed Jul 31 15:08:15 2019 +0300 + + Merge pull request #2164 from sysown/v2.0.6-2096 + + Fix bug #2096 + +commit 97d899e70c63d29306bdf6449f92b47cf6a236ec +Merge: 1a13d345 46e11afa +Author: René Cannaò +Date: Wed Jul 31 15:08:02 2019 +0300 + + Merge pull request #2163 from sysown/2.0.6-aurora_epoch + + 2.0.6 aurora epoch + +commit 1a13d345b8b1a1de40ec3c1f131df4e16834d1e2 +Merge: 07e04262 37ee761b +Author: René Cannaò +Date: Wed Jul 31 15:07:06 2019 +0300 + + Merge pull request #2170 from sysown/v2.0.6-2169 + + V2.0.6 2169 + +commit 37ee761b77e91b4d40d8ad3613879d04d82ee206 +Author: René Cannaò +Date: Wed Jul 31 18:02:47 2019 +1000 + + Disable SSLv3 #2169 + + - switched from SSLv23_server_method() to TLS_server_method + - enforced min proto version to TLS1_VERSION using SSL_CTX_set_min_proto_version() + - when inspecting session status, cipher used is exported + +commit 12d9ae1b6b949ee7a1fdca3045f96a4b95e446de +Author: René Cannaò +Date: Sun Jul 28 22:39:19 2019 +1000 + + Fix bug #2096 + + ProxySQL was incorrectly not sending COM_PING when multiplexing is disabled + +commit 46e11afab5ae26f97328823f70940ec82a7c6964 +Author: René Cannaò +Date: Sun Jul 28 21:54:52 2019 +1000 + + Add min_epoch_ms as a modifier for max_lag_ms + + Instead of specifying max_lag_ms, it is possible to specify min_epoch_ms + +commit 07e0426223f5febfc7eb06a0d581aa1c2c6264d0 +Merge: 43e482b8 4c1f4a8d +Author: René Cannaò +Date: Sun Jul 28 09:33:25 2019 +0300 + + Merge pull request #2162 from sysown/2.0.6-aurora + + Enhancements on AWS Aurora module + +commit 4c1f4a8d822f2ac511678f1fa4aa98e7953a880e +Author: René Cannaò +Date: Sun Jul 28 16:09:39 2019 +1000 + + Enhancements on AWS Aurora module + + Added 2 new status variables: + - queries_with_max_lag_ms__delayed + - queries_with_max_lag_ms__total_wait_time_us + + Do not get replication lag from replicas if the value is 0 + + Fixed an error in the computation of max_lag_ms + +commit 43e482b874686918bf5913e6d1b37468486165c5 +Merge: ce757db7 fb4a9034 +Author: René Cannaò +Date: Sun Jul 28 08:01:59 2019 +0300 + + Merge pull request #2161 from markgergely/v2.0.6-bugfix + + Fix query digest prepared statement + +commit fb4a90340bfa87fc8caedf3e6b0a7a3a74c638e0 +Author: Mark Gergely +Date: Fri Jul 26 09:35:58 2019 -0700 + + Fix query digest prepared statement + +commit ce757db70d6cca64092a7ed9c3301cb4ba493689 +Merge: 2ba37e08 4b3c9eeb +Author: René Cannaò +Date: Fri Jul 26 19:12:24 2019 +0300 + + Merge pull request #2156 from sysown/v2.0.6-hg_locked + + V2.0.6 hg locked + +commit 4b3c9eeb2ac69792a250bbc9e775bf5ef41c8446 +Author: René Cannaò +Date: Sat Jul 27 01:38:08 2019 +1000 + + Partial revert of previous commit + +commit 48207548c973069431a2b930e3e24ef65856c08e +Author: René Cannaò +Date: Fri Jul 26 23:35:45 2019 +1000 + + Lock on backend connection if SET statement is used in multi-statements command #2130 + +commit 2ba37e08ef6bbe4e3b2ff4f116eb3d837eacc338 +Merge: 2993e057 590a24c8 +Author: René Cannaò +Date: Fri Jul 26 14:16:38 2019 +0300 + + Merge pull request #2149 from sysown/v2.0.6-capability_tracking + + V2.0.6 capability tracking + +commit 590a24c8c64fa2301ec7049ec62e039cb9aeb13f +Author: René Cannaò +Date: Fri Jul 26 20:23:29 2019 +1000 + + Tracking `CLIENT_MULTI_RESULTS` + + This commit also fixes several mistakes in handling bitwise operations + +commit bfda39ea6f6d97d108eb6acb5e4e45602113378a +Author: René Cannaò +Date: Fri Jul 26 16:15:50 2019 +1000 + + Track capability flags in get_MyConn_local() + +commit 14d3f10c829be018dcb8f7f93ea9ed1353edb781 +Author: René Cannaò +Date: Fri Jul 26 16:10:23 2019 +1000 + + Copy client_flag from MYSQL to myconn + +commit 2993e057459e7c5694ac0e77f93d35c69ef03864 +Merge: 4999d33e 0708808b +Author: René Cannaò +Date: Fri Jul 26 07:52:08 2019 +0300 + + Merge pull request #2148 from sysown/2.0.6-2147 + + Disable throttling for any client other than SESSION_MYSQL #2147 + +commit 4999d33eaf88599acd624d43a2bfc2f2c2851b40 +Merge: a37f7710 2c154a2b +Author: René Cannaò +Date: Fri Jul 26 14:03:25 2019 +1000 + + Merge branch 'v2.0.6' of https://github.com/sysown/proxysql into v2.0.6 + +commit a37f77102d26b65268548d0f2acab20536951b9d +Author: René Cannaò +Date: Fri Jul 26 14:01:02 2019 +1000 + + Fix incorrect number of bind parameters in stats_mysql_query_digest + + Bug introduced in recent commit 0831740e457 + +commit 274ca31cbea80e6046e14031bd60a395dc9bbd8d +Author: René Cannaò +Date: Sat Jul 20 03:28:03 2019 +1000 + + Fix multiple OK in multistatement + +commit 945ddc7a1fe5ad86740e96fc18961b3d4fe24e62 +Author: René Cannaò +Date: Thu Jul 25 00:25:26 2019 +1000 + + Set locked hostgroup for multistatements with SET + +commit 8c4b70a5579cf444337318c53387c5da33d31169 +Author: René Cannaò +Date: Wed Jul 24 22:11:52 2019 +1000 + + Added capability to lock hostgroup + + This should fix a lot of issues related to failed parsing of SET statement. + + This and the two 2 previous commits introduce several status variables, and a + new configuration variable: mysql-set_query_lock_on_hostgroup + + Possible values for mysql-set_query_lock_on_hostgroup: + - 0 : legacy behavior , before 2.0.5 + - 1 : (default) . SET statements that cannot be parsed correctly disable + both multiplexing AND routing. Attempting to route traffic while a + connection is linked to a specific backend connection will trigger + an error to be returned to the client + +commit a132b34f238fccbd9a0878c737837fa1ce994f6a +Author: Yiyao Jiang +Date: Wed Jul 24 15:57:29 2019 +0800 + + add servername when connecting MySQL + +commit 0db0604423102a12f7c9b1402b663c70a9d6521b +Author: René Cannaò +Date: Wed Jul 24 00:23:18 2019 +1000 + + Fix incorrect length of GTID + +commit 292d060d97f4d3f86049964cead2731702ecf4f5 +Author: René Cannaò +Date: Tue Jul 23 23:56:43 2019 +1000 + + Enable CLIENT_SESSION_TRACK in handshake packet + + Hardcoded for now + +commit f2f3935fcd3eea05dee81b5201e6942052729faf +Author: René Cannaò +Date: Tue Jul 23 23:48:41 2019 +1000 + + drafting locked hostgroup + +commit 0708808bd4837b8a98ee644f52ac7e83aecf4f31 +Author: René Cannaò +Date: Mon Jul 22 02:32:48 2019 +1000 + + Disable throttling for any client other than SESSION_MYSQL #2147 + +commit 0434295e6b88339d9d94de4d53c8cd80899016bb +Author: René Cannaò +Date: Sat Jul 20 03:28:03 2019 +1000 + + Fix multiple OK in multistatement + +commit 30b4b34c811478cc22b8d160c9ff04ba8ce1e048 +Author: René Cannaò +Date: Sat Jul 20 03:05:27 2019 +1000 + + Use 32 bits for capabilities flags + +commit 1bbc3830fa12adc6692ad8336ece9880f937997e +Author: René Cannaò +Date: Sat Jul 20 01:34:07 2019 +1000 + + Fix data type for mysql_thread___session_idle_ms + +commit 6691a867faa5db46ade3273bf0d367503616638e +Author: René Cannaò +Date: Sat Jul 20 01:16:07 2019 +1000 + + Fix issues/FR #2120 , #2121 and #2125 + + Issue #2120 : Send SESSION_TRACK_GTIDS to client + Issue #2121 : Track CLIENT_FOUND_ROWS required by the client + Issue #2125 : Track CLIENT_MULTI_STATEMENTS required by the client + +commit 2c154a2bab0c53dd0fb102611564866be85d3122 +Merge: 334cbdba 3a599fcc +Author: René Cannaò +Date: Wed Jul 17 13:46:00 2019 +0300 + + Merge pull request #2143 from Mount565/v2.0.5 + + Fix a possible memory leak + +commit 3a599fccee765fe29fa378bed14da28a8c9002a5 +Author: William Wang +Date: Wed Jul 17 18:44:54 2019 +0800 + + Update eventslog_reader_sample.cpp + + Avoid `double free or corruption ` when free(client) + +commit 54e7e8550b254e35032c9d33028e44c3d1dd4cd5 +Author: William Wang +Date: Wed Jul 17 15:36:57 2019 +0800 + + Update eventslog_reader_sample.cpp + + fix a possible memory leak + +commit 334cbdba44de6d4d4eb4f9cbc93aac830169ea01 +Merge: 64c5bd9b 255d9247 +Author: René Cannaò +Date: Tue Jul 16 13:25:26 2019 +1000 + + Merge branch 'v2.0.6-query-json' into v2.0.6 + +commit 230590bdc8f1fc6072d1cc1d3b68c9b16720fa67 +Author: René Cannaò +Date: Tue Jul 16 13:24:50 2019 +1000 + + drafting hostgroup locking + +commit 64c5bd9b08d0c1d826a03acc9074049791c07c90 +Author: René Cannaò +Date: Sun Jul 14 21:43:25 2019 +1000 + + Fix bug #2133 + + Recession bug introduced in 2.0.5 + +commit d65f7016b39533c3903d19e7db7ade2ec893f879 +Author: René Cannaò +Date: Sun Jul 14 21:31:56 2019 +1000 + + Fix bug #2131 + + Interrupting the execution of a prepared statement could cause a crash + Related to acf49f80b8c9d11738c875c05b3352ad9d77b5ab + +commit 255d9247b8bdb57c5245c00c1b14f3f929babc60 +Author: René Cannaò +Date: Sun Jul 14 20:41:05 2019 +1000 + + Reduce locking on MySQL_Logger writes to disk + +commit 0831740e457f1963c53f040365bffffcaeb248b4 +Author: René Cannaò +Date: Sun Jul 14 18:52:19 2019 +1000 + + Several enhancements on Query logger + + Enhancements: + - added metrics rows_affected and rows_sent + - added global variable mysql-eventslog_default_log : if 1 , logging is enabled for every query unless explicitly disabled in mysql_query_rules.log . Default is 0 + - added global variable mysql-eventslog_format : default is 1 (legacy format). A value of 2 enables logging in JSON format. Issue #871 + Changing value at runtime causes the current file to be closed and a new one created + - fixed logging for prepared statements: till 2.0.5 only some percentage of prepared statements was correctly logged + + Extended tables stats_mysql_query_digest and stats_mysql_query_digest_reset to also include sum_rows_affected and sum_rows_sent + + Extended `eventslog_reader_sample.cpp` to support the new enhancements + +commit 37d79ad23ab26019e1a66326c1c8875ae4dca1ec +Author: René Cannaò +Date: Thu Jul 4 02:02:33 2019 +1000 + + Fixed compiler warning: ISO C++ forbids converting a string constant to char pointer + +commit 6e69ca0e06cd1599fd88f1e4c4057e08b8e22f9f +Author: René Cannaò +Date: Thu Jul 4 01:59:51 2019 +1000 + + Fixed compiler warning: unknown escape sequence + +commit d87331955b2280b15cba15a9ea3984f05fe0d9b7 +Author: René Cannaò +Date: Tue Jul 2 22:29:25 2019 +1000 + + Reject connections with unknown charset + +commit d257ef1ab5ed611b4d5461ba5b5183917a76eaef +Author: René Cannaò +Date: Wed Jul 3 21:57:14 2019 +1000 + + Write version to stdout and not stderr #2118 + +commit 01f4075243bfcfb3bc3a880e9b22e0a68eb321b9 +Author: René Cannaò +Date: Wed Jul 3 21:56:38 2019 +1000 + + Adding one more test in set parser + +commit 9ed7094cfe453f1f59148484327f23ba604425e9 (tag: 2.0.6) +Author: René Cannaò +Date: Tue Jul 2 06:09:16 2019 +1000 + + Implemeting of more locking in SELECT statements + + SELECT ... FOR SHARE + SELECT ... LOCK IN SHARE MODE + SELECT ... FOR (UPDATE|SHARE) [OF ...] (NOWAIT|SKIP LOCKED) + +commit a51a23a053b39e80614b513c5dd1987a12bfc327 +Author: René Cannaò +Date: Mon Jul 1 18:48:22 2019 +1000 + + Change to version 2.0.6 + +commit c8e32eedba7cf00d4dfac78361c26b3ddc1e9eab (tag: v2.0.5, origin/v2.0.5) +Author: René Cannaò +Date: Sat Jun 29 23:47:15 2019 +1000 + + Removed --tags from git describe + +commit 7e3312415cfb376ea9bd4b17b328ad04545ed04e +Author: René Cannaò +Date: Wed Jun 26 08:28:34 2019 +1000 + + Fix bug #2105 + +commit 1857090e05beed2ed0b302083eef4c94f1d3ba39 +Author: Yubao Liu +Date: Tue Apr 16 11:37:52 2019 +0800 + + support BIT/JSON/ENUM/SET/GEOMETRY field types in prepared statement + + NodeJS mysql2 module uses JSON type for object value in prepared + statement's parameters. + + The order of types is changed to be consistent with MySQL + include/mysql/binary_log_types.h. + + Fixes second crash case in #2011. + + Reference: + https://dev.mysql.com/doc/internals/en/binary-protocol-value.html + +commit ae80f153159ca587f8ddc0bb9d8003265ab87635 +Author: Yubao Liu +Date: Fri May 17 11:41:21 2019 +0800 + + fix crash on "proxysql restart" + + MySQL_HostGroups_Manager::get_MyConn_from_pool() inserts connection + to mysrvc->ConnectionUsed, and this connections is also inserted + to My_Thread->cached_connections which leads to double deallocation. + + Fixed https://github.com/sysown/proxysql/issues/1985. + +commit cfbdfb1134b112b2b0274f23b73c524fa328f385 +Author: Yubao Liu +Date: Sat May 18 14:49:01 2019 +0800 + + fix crash when execute "PROXYSQL STOP" and then query table "stats_mysql_global" + + After execute "PROXYSQL STOP", main() -> ProxySQL_Main_init_phase4___shutdown() + is called and GloQC is deleted, then main() -> ProxySQL_Main_init_phase2___not_started() + is called, this function starts admin module and waits on GloVars.global.start_mutex. + Before "PROXYSQL START" is executed, admin module will crash on query to stats_mysql_global. + + Fixed https://github.com/sysown/proxysql/issues/2065. + +commit 676fd93836477b51a591b1725cb40d9ba0e5835d +Author: Yubao Liu +Date: Sat May 18 16:02:31 2019 +0800 + + fix crash when execute "PROXYSQL STOP" and then query table "stats_mysql_processlist" + + After execute "PROXYSQL STOP", main() -> ProxySQL_Main_init_phase4___shutdown() + is called, then main() -> ProxySQL_Main_init_phase2___not_started() is called, this + function creates GloMTH and waits on GloVars.global.start_mutex, thus + ProxySQL_Main_init_phase3___start_all() -> ProxySQL_Main_init_MySQL_Threads_Handler_module() + isn't called. + + Before "PROXYSQL START" is executed, admin module will crash on query to stats_mysql_processlist. + + Similar cause to https://github.com/sysown/proxysql/issues/2037 and + https://github.com/sysown/proxysql/issues/2065. + +commit 9bfd45bd3222390e99746c59b69aba0aed210365 +Author: Yubao Liu +Date: Fri May 17 11:50:26 2019 +0800 + + fix crash again on Get_Memory_Stats() + + Fixed https://github.com/sysown/proxysql/issues/2037. + +commit 4e0b87cd88f38cc14c82a2664c606a26ab44e2eb +Author: Yubao Liu +Date: Tue May 7 15:18:05 2019 +0800 + + Revert "Remove NUM_FLAG flag from column definition" + + This reverts commit 447f17fd24f67df510ba2973f4db3e4effe62223. + +commit 15aa536a6e4c569ad7cac9538f70c1ec6aeabb0a +Merge: 26bdf03e 9462035b +Author: René Cannaò +Date: Fri May 31 22:05:24 2019 +0300 + + Merge pull request #2078 from sysown/v2.0.4-1886 + + Parse set autocommit if used with other variables #1886 + +commit 26bdf03e898b880a949aa9afdde5d109abc65ffa +Author: René Cannaò +Date: Mon May 27 02:05:26 2019 +1000 + + Remove --enable-munmap from jemalloc + +commit 726e15c162c33f94ed978b41210787817ed6b97f +Author: René Cannaò +Date: Sun May 26 23:28:20 2019 +1000 + + Handle ASYNC_QUERY_END in async_set_autocommit + +commit 786bac63628acca1a485fba65a994eac3abbe9a7 +Author: René Cannaò +Date: Fri May 24 03:31:34 2019 +1000 + + Adding more internal info in JSON format #2055 + +commit 98af338b0b31bea93d69a3a8bc2aedc6508af20f +Merge: 9cc61a51 8783d55f +Author: René Cannaò +Date: Mon May 20 14:58:57 2019 +0300 + + Merge pull request #2069 from sysown/v2.0.5-tb1 + + Improvement in query digest to remove unnecessary plus and minus signs + +commit 9cc61a5124aaf2f6f85a6de2459635a1ff0f6de0 +Merge: 0546bc31 de715c0b +Author: René Cannaò +Date: Mon May 20 14:58:43 2019 +0300 + + Merge pull request #2068 from sysown/v2.0.5-autocommit_stall + + Fix stall in changing autocommit on slow backend + +commit 0546bc3160027473c7d93acb0233ea0c5dbc2c6e +Merge: 15aa025d 9604e9fb +Author: René Cannaò +Date: Mon May 20 14:58:29 2019 +0300 + + Merge pull request #2070 from sysown/v2.0.5-2055 + + Adding more internal info in JSON format #2055 + +commit 9604e9fbfb8719083d5aa303da7ca783fe43f776 +Author: René Cannaò +Date: Mon May 20 21:57:41 2019 +1000 + + Adding age of sessions and connections #2055 + +commit 15aa025db33ff1214ece60894840c237d9563f14 +Merge: 7daea5fb fdd80241 +Author: René Cannaò +Date: Mon May 20 14:57:14 2019 +0300 + + Merge pull request #2067 from sysown/v2.0.5-1183 + + Implementation of audit log + +commit fdd80241298951af28ab97ae1cd6357b42da865d +Author: René Cannaò +Date: Mon May 20 19:48:09 2019 +1000 + + Fix duration on audit log for admin connections + +commit a6897eaa0d73cd04b83d0e5116cbecaca9776c09 +Author: René Cannaò +Date: Mon May 20 16:37:41 2019 +1000 + + Adding more internal info in JSON format #2055 + + In `stats_mysql_free_connections`, exported: + * address of connection + * address of mysql struct + * mysql thread_id + + In `stats_mysql_processlist`, exported: + * address of session + * address of data stream + * address of connection + * address of mysql struct + * mysql thread_id + * removed password from non-debug built + +commit 8783d55fd237180de33658b716b7d9a85fce0fcb +Author: René Cannaò +Date: Mon May 20 15:43:20 2019 +1000 + + Improvement in query digest to remove plus signs + +commit 942a5987e24338b376ae4570e8b4cdd310eba2ab +Author: René Cannaò +Date: Mon May 20 15:39:21 2019 +1000 + + Improvement in query digest to remove minus signs + +commit 7daea5fbf2816868d16ea3c6730f3e899d1fb32b +Merge: e2311a0e bd9c88e7 +Author: René Cannaò +Date: Mon May 20 05:53:19 2019 +0300 + + Merge pull request #2066 from sysown/v2.0.5-67841 + + Do not try to gracefully close a not fully established connection + +commit 7ea33a131297278896054b59566cd5cfa9a0b419 +Author: René Cannaò +Date: Mon May 20 12:44:52 2019 +1000 + + Completing initial implementation of Audit module + +commit bd9c88e7db907378994fabd8a615dc6bb29e5ba4 +Author: René Cannaò +Date: Wed May 8 17:58:48 2019 +1000 + + Do not try to gracefully close a not fully established connection + +commit e2311a0ea623b1b26c256ab5fca9530325e92e98 +Merge: 2afbee4e 185e36fc +Author: René Cannaò +Date: Sat May 18 12:02:55 2019 +0300 + + Merge pull request #2063 from sysown/init.d-restart-fix + + Allows init.d restart to start process if stopped + +commit 2afbee4e3fa9a074e67cd072f73f106ee69d4819 +Merge: ab28efc5 79dd412b +Author: René Cannaò +Date: Sat May 18 12:02:05 2019 +0300 + + Merge pull request #2060 from sysown/v2.0.5-2059 + + Fix bug with stored procedures + +commit 185e36fcccce8d92af67a17aad2b12c32999a148 +Author: Nick Vyzas +Date: Fri May 17 00:27:04 2019 +0300 + + Allows init.d restart to start process if stopped + + As per https://github.com/sysown/proxysql/pull/1979 PR against 2.0.4 from @benjamin-lim + +commit ab28efc5f2b80b10dfcc228a381548cfda104721 +Author: Yakir Gibraltar +Date: Fri May 17 00:20:50 2019 +0300 + + Fix schemaname output in eventslog_reader_sample (#2053) + + Right now "schemaname" without one apostrophes, before: + ProxySQL LOG QUERY: thread_id="378394" username="cs_rw" schemaname=trc" client="10.101.10.101:48485" HID=10 server="bdb:3306" starttime="2019-05-13 09:09:25.274582" endtime="2019-05-13 09:09:25.275245" duration=663us digest="0x3C82E0201EA10A7B" + + After fix: + ProxySQL LOG QUERY: thread_id="378394" username="cs_rw" schemaname="trc" client="10.101.10.101:48485" HID=10 server="bdb:3306" starttime="2019-05-13 09:09:25.274582" endtime="2019-05-13 09:09:25.275245" duration=663us digest="0x3C82E0201EA10A7B" + +commit 1ce5dd8ab1040e8422387ec1387b86785057e97a +Author: René Cannaò +Date: Fri May 3 17:03:03 2019 +1000 + + Avoid calling mthd_my_skip_result on connection destructor + +commit 79dd412b485a8ca197f303a5bed7cc78c2ac0391 +Author: René Cannaò +Date: Wed May 15 21:38:40 2019 +1000 + + Fix bug with stored procedures #2059 + +commit 9e2c1fdda1a4400c89661da1bc85a88badb6a3db +Author: René Cannaò +Date: Wed May 15 19:05:46 2019 +1000 + + Draft implementation of audit log + +commit de715c0bb16471365a586348e5f516efed17c97b +Author: René Cannaò +Date: Wed May 15 12:50:19 2019 +1000 + + Fix stall in changing autocommit on slow backend + +commit 9fac131d6e20ba2576573905431d12e75fd6f77f +Author: René Cannaò +Date: Mon May 13 05:33:49 2019 +1000 + + Fixed typo in AWS Monitoring + +commit 7274fe2b4d4bf9ae0027a24373e2d7e96066d677 +Author: René Cannaò +Date: Fri May 10 01:17:35 2019 +1000 + + Upgraded to version 2.0.5 + +commit 3ac491be47b10952381f646383993160ae673606 +Author: René Cannaò +Date: Fri May 10 01:17:03 2019 +1000 + + Fix typo + +commit 7d371cf2c3f834671913b1908d4f3feb94a56fa0 (tag: v2.0.4, origin/v2.0.4) +Author: Edgaras Giedrė +Date: Tue May 7 01:17:26 2019 +0300 + + Check if build_target var is defined in entrypoint.bash (#2042) + +commit db03ba24e677eef766b868b96ec09ff7a48ed062 (tag: 2.0.5) +Author: René Cannaò +Date: Mon May 6 01:12:30 2019 +1000 + + Minor improvement on JSON outpu for better search + +commit fc597dee964df97077280c3341e4cfb7cd4077f1 +Author: René Cannaò +Date: Mon May 6 00:52:05 2019 +1000 + + More minor bug in JSON output + +commit c24753117cb665a1faa1c705f1b46851120b6bf2 +Author: René Cannaò +Date: Mon May 6 00:40:39 2019 +1000 + + Minor bug in JSON report + +commit 54d74dfccaab60e2909fce6ae674ed20907fce81 +Author: René Cannaò +Date: Mon May 6 00:20:03 2019 +1000 + + Fix bug in add_ldap_comment_to_pkt when query starts with a comment + +commit 1ada6d8be9d4d9231aab668c8cb39fab4b784f87 +Author: René Cannaò +Date: Sun May 5 22:08:30 2019 +1000 + + Minor debug info on Monitor + +commit 8564179559cf7ab527ff10ca22ba7d5a1f409ded +Merge: 93dfb15e 88c2c6e3 +Author: René Cannaò +Date: Sun May 5 20:59:12 2019 +1000 + + Merge branch 'v2.0.4' of https://github.com/sysown/proxysql into v2.0.4 + +commit 93dfb15ea2137bc8fa3784db3e4eeae54af0a6a3 +Author: René Cannaò +Date: Sun May 5 20:58:58 2019 +1000 + + Remove decay from jemalloc config + +commit 88c2c6e3d4fbd41dd5df7855b7cfedd14eeb8439 +Merge: 94e86769 817e20c2 +Author: René Cannaò +Date: Sun May 5 13:09:23 2019 +0300 + + Merge pull request #2044 from sysown/v2.0.1-aurora + + V2.0.1 aurora + +commit 94e86769e28f593a9d85cc3e494b0c1d4ccd12a3 +Author: René Cannaò +Date: Sat May 4 00:37:31 2019 +1000 + + Fix make cleanall #2043 + +commit 817e20c222c6bc8e1e1198f73bf470b8379c2412 +Author: René Cannaò +Date: Fri May 3 22:30:48 2019 +1000 + + Improvement on Galera and HGM + + - generate_mysql_servers_table() is now less verbose + - update_galera_set_writer() is protected by a mutex + - update_galera_set_writer() set status to online + - fixed wording in monitor_galera_thread() + - corrected the computing of consecutive timeout in monitor_galera_thread() + +commit 01be4ced0cc2fff4833e2bb9986f10faa386d68c +Author: René Cannaò +Date: Fri May 3 18:36:21 2019 +1000 + + Temporary disable AWS Aurora module + +commit 059579f5a2ba2cc31bce38dee0f0d0281d209ffa +Author: René Cannaò +Date: Wed May 1 20:54:19 2019 +1000 + + Fix some compiler warnings + +commit 2df11ec32035f8e12bb3de64461404e386e0bb6e +Author: René Cannaò +Date: Wed May 1 20:26:49 2019 +1000 + + If max_replication_lag is changed to 0, immediately unshun the server shunned because of replication lag + +commit a8ab922efbacd81ed7e4dacf41bb7b84ab6c2187 +Author: René Cannaò +Date: Wed May 1 19:41:48 2019 +1000 + + Removing assets from ProxySQL_Admin::stats___mysql_errors() #1983 + +commit b9dd8a76e628cd2856f7995d5802911bace1ac45 +Author: René Cannaò +Date: Wed May 1 19:19:32 2019 +1000 + + Error messages from Admin's SQL specify they are from Admin + +commit 4280b84e6a1fadc168474f94547cfb5e4cf4aa8a +Author: René Cannaò +Date: Wed May 1 17:16:02 2019 +1000 + + Fix crash on startup when calling Get_Memory_Stats #2037 + +commit b8f6e0ff80a21c8a1c3db85900a1f8385db3360e +Author: René Cannaò +Date: Wed May 1 17:11:31 2019 +1000 + + Fix integer overflow in Query Cache size #2040 + +commit ff692aa1193edaa9303da64e82058fb70487aebd +Merge: c06c6a08 7895c841 +Author: René Cannaò +Date: Tue Apr 30 20:28:21 2019 +0300 + + Merge pull request #2039 from sysown/v2.0.4-sqlite_lock + + Solve locking issue on SQLite3 + +commit 7895c841eed34c2347361122949be9c7aba85e0e +Author: René Cannaò +Date: Wed May 1 02:56:04 2019 +1000 + + Solve locking issue on SQLite3 + +commit c06c6a0851731bb4c533659b97b2308a7545771c +Merge: 4ea65caa 52c49a1a +Author: René Cannaò +Date: Tue Apr 30 19:16:31 2019 +0300 + + Merge pull request #2038 from sysown/v2.0.4-ssl-111b + + Upgrade OpenSSL to 1.1.1b + +commit 52c49a1ae63b46d5e4afe48a606b7330baafae62 +Author: René Cannaò +Date: Wed May 1 00:28:35 2019 +1000 + + Upgrade OpenSSL to 1.1.1b + +commit 4ea65caa42aee3f34dc9dc39047e262567389122 +Merge: 350958c0 b5318f57 +Author: René Cannaò +Date: Mon Apr 29 15:30:11 2019 +0300 + + Merge pull request #2035 from sysown/v2.0.4-ps_mem + + V2.0.4 ps mem + +commit 350958c06391b3815904ea46cf1dc4d03708d390 +Author: René Cannaò +Date: Mon Apr 29 22:18:06 2019 +1000 + + Disable multiplexing for SET TIMESTAMP #2033 + +commit b5318f57091b062402bfedcdb7377202cf304015 +Author: René Cannaò +Date: Mon Apr 29 22:08:32 2019 +1000 + + Upgrade to jemalloc 5.2.0 + +commit fd87551d022fe23f8472d30663a8dcf3e82f44ed +Author: René Cannaò +Date: Mon Apr 29 21:25:48 2019 +1000 + + Improve memory usage for large resultset in PS + +commit 570d0283f58684462df85775bb17349c55c8c69b +Author: René Cannaò +Date: Mon Apr 29 20:26:57 2019 +1000 + + Added variable monitor_galera_healthcheck_max_timeout_count + + Further testing required + +commit 407da6adfae52e660d526405fff9ec0bd8719d1b +Author: René Cannaò +Date: Fri Apr 26 12:03:58 2019 +1000 + + Removing a debugging line + +commit b12caa1d8c00c83377b4eeee655c50e70f10e993 +Author: René Cannaò +Date: Fri Apr 26 12:03:12 2019 +1000 + + Adding support for automated testing of Galera + + Using SQLite3 Server as backend + +commit 58ff4ff892c08077c64a5e713533c571a408813d +Merge: 7b6058e5 1d2091f6 +Author: René Cannaò +Date: Thu Apr 25 11:02:07 2019 +1000 + + Merge branch 'v2.0.4' into v2.0.1-aurora + +commit 1d2091f6ce097da7dbadf1b98374150e13758baf +Merge: bee49892 495c9336 +Author: René Cannaò +Date: Thu Apr 25 03:58:34 2019 +0300 + + Merge pull request #2030 from sysown/v2.0.4-internal_json + + V2.0.4 internal json + +commit 495c933624bb5f73d740106396cbea98512dd829 +Author: René Cannaò +Date: Wed Apr 24 22:41:37 2019 +1000 + + Adding table stats.stats_mysql_free_connections + + This table exports metrics about connections in connection pool + +commit 6e34814d343987f68e86b63ed4eeb3f5678b8b60 +Author: René Cannaò +Date: Wed Apr 24 18:48:10 2019 +1000 + + Adding more internal statistics + +commit 528d8cac38438ba7341c3dba6a2d74ded2daf03c +Author: René Cannaò +Date: Wed Apr 24 17:41:08 2019 +1000 + + Improved debugging + + Added new command `PROXYSQL INTERNAL SESSION` that clients can execute to + receive internal information about their own connection in JSON format. + + Added JSON library. + + Recompiled SQLite3 to support JSON. + + Added new column `extended_info` in `stats_mysql_processlist`. + + Added new mysql variable `mysql-show_processlist_extended` that determine the + content of `stats_mysql_processlist.extended_info`: + - 0 : no info + - 1 : JSON format + - 2 : JSON format with pretty printing + +commit 9462035b863b6c4076084da9dfb87063fff1ceff +Author: René Cannaò +Date: Wed Apr 24 10:19:37 2019 +1000 + + Parse set autocommit if used with other variables #1886 + +commit bee49892bcf214d6839f2dbd3363cc56c494a36e +Merge: 58d77e49 6a635080 +Author: René Cannaò +Date: Tue Apr 23 21:27:05 2019 +1000 + + Merge branch 'v2.0.4' of https://github.com/sysown/proxysql into v2.0.4 + +commit 58d77e498f43eeb30c255e8b81133150d408286d +Author: René Cannaò +Date: Tue Apr 23 21:17:58 2019 +1000 + + Further improvement on PR #1922 + +commit 6a635080b7b48ea45487363cfd006deb0633c37e +Merge: e1729abe 68dfaa16 +Author: René Cannaò +Date: Fri Apr 19 19:54:29 2019 +0300 + + Merge pull request #2026 from sysown/v2.0.4-1738 + + V2.0.4 1738 + +commit e1729abe2f290469c2b2a134c1b2fdc6025e163b +Author: René Cannaò +Date: Fri Apr 19 16:22:32 2019 +1000 + + Allow MariaDB ConnectorJ 2.4.1 to connect to Admin #2009 + +commit 07fec62e3545253042ce1780a707df7bebc2d582 +Author: René Cannaò +Date: Fri Apr 19 16:14:13 2019 +1000 + + Better parsing for SET statements #2008 + +commit c41fc97fd0c341ce5f12874441f86218bde932eb +Author: René Cannaò +Date: Fri Apr 19 15:56:56 2019 +1000 + + Fix digest output in eventslog_reader_sample #2015 + +commit 6f467a4b0c6aa2e20fa7e3ee27068f303111b7a4 +Merge: 33fbacd0 6c539999 +Author: René Cannaò +Date: Fri Apr 19 15:53:13 2019 +1000 + + Merge branch 'v2.0.4' of https://github.com/sysown/proxysql into v2.0.4 + +commit 68dfaa16402e0b7107f4d3579d7f53d4b35c3fc2 +Merge: 9788643f 6c539999 +Author: René Cannaò +Date: Fri Apr 19 08:52:38 2019 +0300 + + Merge branch 'v2.0.4' into v2.0.4-1738 + +commit 9788643f38d6c92b4ad6e03cc5c9287ec10ee924 +Author: René Cannaò +Date: Fri Apr 19 15:46:37 2019 +1000 + + Track NO_BACKSLASH_ESCAPES #1738 + + `SERVER_STATUS_NO_BACKSLASH_ESCAPES` is now tracked. + `set sql_mode` is executed immediately if client executes `set sql_mode` + specifying `NO_BACKSLASH_ESCAPES`. + A backend connection with `SERVER_STATUS_NO_BACKSLASH_ESCAPES` enabled has multiplexing immediately disabled. + +commit 6c539999151a49d52c07af48b849e81e1f4343a0 +Merge: 3ad5b711 acae70cd +Author: René Cannaò +Date: Fri Apr 19 07:00:50 2019 +0300 + + Merge pull request #2025 from sysown/v2.0.4-1994-pool2 + + V2.0.4 1994 pool2 + +commit 33fbacd0c23e414eeec3ed5a86cfcd475395f4c2 +Merge: 48a35475 3ad5b711 +Author: René Cannaò +Date: Fri Apr 19 09:33:10 2019 +1000 + + Merge branch 'v2.0.4' of https://github.com/sysown/proxysql into v2.0.4 + +commit 3ad5b71104e04cdc7560761431ee755878c0d5c0 +Merge: 3fdf4cf3 ad2b0522 +Author: René Cannaò +Date: Fri Apr 19 02:20:06 2019 +0300 + + Merge pull request #2016 from ahaha-zhang/v2.0.4-lastidentity + + Support last insert id variable @@identity like function LAST_INSERT_ID() + +commit 7b6058e535ad0153058590714143a917bd017a8d +Author: René Cannaò +Date: Wed Apr 17 17:06:04 2019 +1000 + + Missing unlock + +commit 89713295c28fa417168d63ac0537f8367e686b77 +Author: René Cannaò +Date: Wed Apr 17 16:20:51 2019 +1000 + + Fix compiling bug + +commit 9ecf8487f9741301d8487a7496d056cbae5ee700 +Merge: 6e03099b acae70cd +Author: René Cannaò +Date: Wed Apr 17 16:04:03 2019 +1000 + + Merge branch 'v2.0.4-1994-pool2' into v2.0.1-aurora-1994 + +commit acae70cd657562af00dd6365836294055dacc4f1 +Author: René Cannaò +Date: Wed Apr 17 15:57:32 2019 +1000 + + Debugging code in Monitor only on debug release + +commit ad2b052208f7157ad9f3556430c7e56ff92a0f60 +Author: zhangyanjun +Date: Tue Apr 16 03:13:59 2019 +0800 + + Revert "update git ignore" + + This reverts commit 29073a7717832eda7bf7224b2a851aef4f41f570. + +commit 4995b25bb8112b695f66cf2e1166ccebd8efcdbc +Author: zhangyanjun +Date: Tue Apr 16 03:07:25 2019 +0800 + + Revert "update git ignore" + + This reverts commit 435c2e5763d5070a609e73bf897cb0eb201d72ce. + +commit 29073a7717832eda7bf7224b2a851aef4f41f570 +Author: op1 +Date: Tue Apr 16 03:06:48 2019 +0800 + + update git ignore + +commit 1b14ebedd199b635df19b63915c3c883305d424a +Author: op1 +Date: Tue Apr 16 02:05:57 2019 +0800 + + support select @@identity like LAST_INSERT_ID + +commit 435c2e5763d5070a609e73bf897cb0eb201d72ce +Author: op1 +Date: Mon Apr 15 14:50:50 2019 +0800 + + update git ignore + +commit cfaefba2de48a7b2356bec0239e6a0d8d0f52780 +Author: René Cannaò +Date: Thu Apr 11 20:07:12 2019 +1000 + + Implementing purging in Monitor Connection Pool + +commit 8e96c30181977c34d733060bc2b0faefb11e1bcc +Author: René Cannaò +Date: Thu Apr 11 17:30:47 2019 +1000 + + More error handling for Monitor + +commit 505772ac05276fd8fd18246db2a688bf6c03216d +Author: René Cannaò +Date: Thu Apr 11 11:00:45 2019 +1000 + + More error handling in Monitor + +commit 6e03099b46273fecc517ac90bc10ea9c4ebc9222 +Author: René Cannaò +Date: Thu Apr 11 10:35:37 2019 +1000 + + Further error handling in Monitor + +commit 893a0fcc4965db87518ae7437e83df740c99dff3 +Merge: 006c042c 92d96815 +Author: René Cannaò +Date: Wed Apr 10 22:47:45 2019 +1000 + + Merge branch 'v2.0.4-1994-pool2' into v2.0.1-aurora-1994 + +commit 006c042c0b191d3387efb152435b691ddac3c0b8 +Author: René Cannaò +Date: Wed Apr 10 22:46:49 2019 +1000 + + Adding more protection in monitoring + +commit 92d96815c6fc872e57620aea2346f982701e5062 +Author: René Cannaò +Date: Wed Apr 10 19:40:01 2019 +1000 + + Rewriting connection pool in Monitor + + A lot of debugging code. + Most of it should be removed! + +commit 483e7ae9da9ef194b91e808f4db5fd57b4b96910 +Author: René Cannaò +Date: Tue Apr 9 20:37:17 2019 +1000 + + Adding mysql_thread_init() in Monitor + +commit 0fc8694a05653c941023cb7bacd8daaaea47a4e8 +Author: René Cannaò +Date: Tue Apr 9 15:27:20 2019 +1000 + + Increased verbosity for bug #1994 + +commit d11ec3827757f5f176df944e7d0c449541f5427b +Author: René Cannaò +Date: Tue Apr 9 14:51:48 2019 +1000 + + More error handling for Galera #1994 + +commit 48a3547575c29ee5aa43bbbc4223d3a9e596b3d0 +Author: René Cannaò +Date: Tue Apr 9 14:11:46 2019 +1000 + + Further error handling for Monitor + +commit 01023d68566e475667be9a5e476715c164b746b7 +Merge: e853e052 3fdf4cf3 +Author: René Cannaò +Date: Tue Apr 9 12:03:05 2019 +1000 + + Merge branch 'v2.0.4' into v2.0.1-aurora + +commit 3fdf4cf396c2b9f80025e8182a58c70f8901df94 +Merge: 6e115868 8ca14abb +Author: René Cannaò +Date: Tue Apr 9 04:38:39 2019 +0300 + + Merge pull request #2007 from sysown/v2.0.4-tb4 + + LDAP comment added after the first word in query + +commit 8ca14abb55c65103f107c022f38ac71bfec2c4eb +Author: René Cannaò +Date: Tue Apr 9 11:24:49 2019 +1000 + + LDAP comment added after the first word in query + +commit 6e1158680c0778a9544449ebfc1f1896ea0ddb4b +Merge: 4ba4a40d 5b54aa32 +Author: René Cannaò +Date: Tue Apr 9 04:02:45 2019 +0300 + + Merge pull request #2006 from sysown/v2.0.4-tb4 + + V2.0.4 tb4 + +commit 5b54aa32004bd7542a02d40820cd14f752e3d515 +Author: René Cannaò +Date: Tue Apr 9 00:46:43 2019 +1000 + + Errors on max connections reached #1936 + + An error is logged in error log if any of the two is reached: + a) mysql-max_connections + b) mysql_users.max_connections + +commit c30d9c21324525cdb77ee4aca171375e2c4d2de1 +Author: René Cannaò +Date: Mon Apr 8 20:44:54 2019 +1000 + + Fix bug #1935 + + Number of users connections incorrectly increased when global max_connections is reached + +commit 4ba4a40dfec3794f2e7c78839e492b8701b69d99 +Author: René Cannaò +Date: Mon Apr 8 18:39:00 2019 +1000 + + Updating issue template + +commit 3edc3af8fac12fb018cf3a700958a8aff0f8465a +Merge: 604fb07d 97229a77 +Author: René Cannaò +Date: Mon Apr 8 10:19:42 2019 +0300 + + Merge pull request #2000 from hydeperion/avoid_DBlock + + Implement retries in case of SQLite3 database is locked + +commit 604fb07db6e4e6b3b05e8b7efbe802e4d6d7d6af +Merge: 52434c07 270f680b +Author: René Cannaò +Date: Mon Apr 8 10:06:22 2019 +0300 + + Merge pull request #1995 from sysown/v2.0.4-tb3 + + V2.0.4 tb3 + +commit 52434c0750ad139c53429a210567a3f7b1ec9b97 +Merge: d1ac9460 92c54cb3 +Author: René Cannaò +Date: Mon Apr 8 16:52:03 2019 +1000 + + Merge branch 'v2.0.4' of https://github.com/sysown/proxysql into v2.0.4 + +commit d1ac9460c2fbb41620aab27a58e90c3ded8c00f6 +Author: René Cannaò +Date: Mon Apr 8 16:51:25 2019 +1000 + + Adding microbench for PR1977 + +commit 270f680b56eb5a17b1e363f0eb7ab3921a77fd05 +Author: René Cannaò +Date: Sat Apr 6 22:28:36 2019 +1100 + + More error handling in Monitor #1994 + +commit 97229a7799d8695f3f6965c043849ce9945998cd +Author: ts-shigeha.hashimoto +Date: Fri Apr 5 18:16:30 2019 +0900 + + Implement retries in case of SQLite3 database is locked + +commit 92c54cb3817e7c5ec83c5ef410e8ded5d79de481 +Merge: efa8a298 419eca39 +Author: René Cannaò +Date: Tue Apr 2 20:25:52 2019 +0300 + + Merge pull request #1993 from sysown/v2.0.4-tb2 + + V2.0.4 tb2 + +commit 9025a8fbe6567197f8aceae0716e2444d33ccefc +Author: René Cannaò +Date: Wed Apr 3 04:24:36 2019 +1100 + + Adding reference to bug #1994 + +commit dd4e104011a8134b5b34d7aaa37726414b02d1c8 +Author: René Cannaò +Date: Wed Apr 3 01:18:26 2019 +1100 + + More error handling in Monitor + +commit efa8a298f43b3998c24040f2d7fd8bba7882bd15 +Merge: bad7adda 3729d4c1 +Author: René Cannaò +Date: Wed Apr 3 00:16:18 2019 +1100 + + Merge branch 'v2.0.4' of https://github.com/sysown/proxysql into v2.0.4 + +commit bad7addaa1c9b0f4c6bca4fc33aab2695cf9b391 +Author: René Cannaò +Date: Wed Apr 3 00:15:09 2019 +1100 + + Prepare for MariaDB Connector C 3.0.9 + +commit e1164d36212fac7c2cc78f39ebd7d262cd5104e1 +Author: René Cannaò +Date: Tue Apr 2 22:48:12 2019 +1100 + + More error handling in Monitor + +commit 419eca398923655108a666714aa1054f32251e9e +Author: René Cannaò +Date: Tue Apr 2 12:08:30 2019 +1100 + + Adding SQLite3 3.27.2 in .gitignore + +commit 226405d6ac639757a57b17643b03240e00bba847 +Author: René Cannaò +Date: Tue Apr 2 02:02:12 2019 +1100 + + Adding some valgrind filters for SQLite3 + +commit fd5943374f2981315d0642aca2827e36d1299d49 +Author: René Cannaò +Date: Tue Apr 2 01:39:29 2019 +1100 + + Adding some valgrind filters for SQLite3 + +commit f8abdef8b3b22a6de656e8a19e6054ac6143b816 +Author: René Cannaò +Date: Tue Apr 2 00:38:14 2019 +1100 + + More s/strcasecmp/strcmp/ for MySQL variables + +commit 50c942dc3a20512994b68fc840e7af2ab2a5190a +Author: René Cannaò +Date: Tue Apr 2 00:35:43 2019 +1100 + + Increase stacksize of Monitor threads to 2MB + +commit 6938b04e71b010bffd0ff5dff7e04d0e38e2e25f +Author: René Cannaò +Date: Tue Apr 2 00:14:12 2019 +1100 + + Replace strcasecmp with strcmp for MySQL variables + +commit 60e343955cadda8f64b581cc682514caa4d3dac6 +Author: René Cannaò +Date: Tue Apr 2 00:09:18 2019 +1100 + + Increase stacksize of Monitor threads to 1M + +commit 3729d4c16d11f31f38ac2e9fefe5fa7aecc9b1e9 +Author: Nick Vyzas +Date: Mon Apr 1 15:07:22 2019 +0300 + + Fix for error log issue (#1991) + +commit bc0ee0b54dd4dde15c10c81bd8cade3bd6d5d9d7 +Author: Alex Jurkiewicz +Date: Fri Mar 29 00:26:08 2019 +1100 + + feat: Auto-detect number of processors (#1970) + + In case anyone is building on FreeBSD or another unsupported OS, leave + the default at four. + +commit 890bfd160c19511610d962dc726ecfaabb74a2ce +Merge: 52dc92b5 8ea5961d +Author: René Cannaò +Date: Thu Mar 28 23:43:17 2019 +1100 + + Merge pull request #1984 from sysown/v2.0.4-tb1 + + V2.0.4 tb1 + +commit 8ea5961d92fdaabb1713f706ece1c060c3263788 +Author: René Cannaò +Date: Thu Mar 28 22:00:46 2019 +1100 + + Fix typo + +commit 9cac787d99ba5892643b1654ea441c901b61ca2c +Author: René Cannaò +Date: Thu Mar 28 21:31:34 2019 +1100 + + Fixed few compiler warnings + +commit 6ccec129e4b3be296cb91cdb5501a92178835dca +Author: René Cannaò +Date: Thu Mar 28 21:26:16 2019 +1100 + + Fixed buffer overflow in HTTP server + +commit 49f7f19e85d191e86d41d9fc1a1d4f0328f30b6b +Author: René Cannaò +Date: Thu Mar 28 21:23:40 2019 +1100 + + Prevent a crashing bug in monitor_replication_lag_thread() + + What causes the bug is still not known, but this commit should prevent the crash + +commit 52dc92b54f989839c63b4773522ff418a692792a +Author: Alex Jurkiewicz +Date: Wed Mar 27 06:14:53 2019 +1100 + + fix: Simpler build scripts (#1964) (attempt 2) (#1968) + + The build scripts for all three packaging targets are identical except + for their Make targets. Unify them, and pass in a new environment + variable PROXYSQL_BUILD_TYPE to define the build type we want. + + The build scripts are updated to automatically exit if any command fails + (`set -e`), so the "&& \" pattern is no longer required. We also + `set -u` to protect against any variable being accidentally unset. + + We don't need the `&& \` pattern any more now that `set -e` is defined + at the top of the script. Also apply several defensive fixes suggested + by the Shellcheck linter (https://github.com/koalaman/shellcheck). + + Other small changes: + * fix: Add missing directory to deb script cleanup + * fix: cosmetics + * fix: Don't define config file twice in RPM spec + +commit 71977d6d450d279042525588c1411f585ae4129c +Author: René Cannaò +Date: Sat Mar 23 01:30:04 2019 +1100 + + Improve parsing of SET sql_mode #1904 + +commit a21da6b450a5bbb3f4a66a221a73627d1224114d +Author: René Cannaò +Date: Fri Mar 22 20:48:42 2019 +1100 + + Port to 2.0 of PR #1922 + + support more mysql system variables to keep mulitplexing enabled + Added variable mysql-keep_multiplexing_variables + +commit a4ff4995e14aec1eb7c41ace0132b19415a21aad +Author: René Cannaò +Date: Fri Mar 22 19:33:37 2019 +1100 + + Reset auto_increment token on disconnect #1943 + +commit 7b2039ed1d8fc7b67c1e59ab6eae2e9e81404c41 +Author: René Cannaò +Date: Fri Mar 22 19:15:45 2019 +1100 + + Fix parsing bug #1967 + +commit e853e052d4fb4d9e1dc83a3b78673078c5ea2a0c +Author: René Cannaò +Date: Fri Mar 22 10:56:00 2019 +1100 + + Fixed typo microseconds to milliseconds + +commit e20acb9a1c32aeb06dfffb96919e157b1e55eaf5 +Author: René Cannaò +Date: Fri Mar 22 00:54:36 2019 +1100 + + Adding more status variables + + Useful for AWS Aurora, but not only + +commit 6aac86bebcc00ad3caa22f8260545a154f875c17 +Author: René Cannaò +Date: Fri Mar 22 00:23:50 2019 +1100 + + Changed the way max_lag_ms in query is computed + + It now remembers if the query is waiting for long time + +commit 8ac314ee7e9f0d7645ab4147027a47491f3fd9fb +Author: Nick Vyzas +Date: Thu Mar 21 15:14:49 2019 +0200 + + Updating to v2.0.4 + +commit 8469801e740828e20887f3ff96f2d09fe5bba75c +Author: René Cannaò +Date: Thu Mar 21 21:33:00 2019 +1100 + + Implemented first prototype of latency awareness + + Configurable using mysql-min_num_servers_lantency_awareness + +commit 16913fdd78d2606dd51c4805966dd6f5096c3b51 +Author: René Cannaò +Date: Thu Mar 21 18:34:51 2019 +1100 + + Optimizing get_random_MySrvC() + +commit b74181eeea94bac03f180866d1abd4a63e8e7429 +Author: René Cannaò +Date: Thu Mar 21 13:05:03 2019 +1100 + + Added aws_aurora_replicas_skipped_during_query + + aws_aurora_replicas_skipped_during_query is a status variable for better + monitoring behavior due to replication lag in AWS Aurora + + Also fixed lag computing in connection pool + +commit 00f26d59d31a3494523b02dbe7c1314cb60a5eb9 (tag: v2.0.3, tag: 2.0.4, origin/v2.0.3) +Author: Nick Vyzas +Date: Wed Mar 20 19:30:32 2019 +0200 + + Revert "Simpler build scripts (#1964)" (#1966) + + This reverts commit 39a0c9c5b94b2c0ee81e0a89709855c46ce5fb8a. + +commit af0a7100e29eab30e27371dd05543efdb1e9a707 +Author: René Cannaò +Date: Thu Mar 21 03:28:42 2019 +1100 + + Adding support for max_lag_ms in query + +commit b36f5d785a0f421e843156dbfbd6ba9df1fc3c91 +Author: René Cannaò +Date: Thu Mar 21 01:40:59 2019 +1100 + + Second commit to support Aurora + + It adds port and endpoint_address in mysql_aws_aurora_hostgroups + +commit 39a0c9c5b94b2c0ee81e0a89709855c46ce5fb8a +Author: Alex Jurkiewicz +Date: Thu Mar 21 00:40:09 2019 +1100 + + Simpler build scripts (#1964) + + * feat: Add logrotate script and update log location + + Write to /var/log/proxysql.log by default, and add a logrotate script + which manages this path. + + Unfortunately, the logrotate script can't use `PROXYSQL FLUSH LOGS;` to + tell ProxySQL to rotate file handles*, so we use copytruncate instead. + It would be nice if ProxySQL could rotate file handles following a + signal in future... + + * For two reasons: + 1. There's no safe / standard way to find admin credentials + 2. mysql(1) client may not be installed + + * fix: Better handle unknown OS service un/install + + This adds an error message to `make install/uninstall` on "unsupported" + distros. The behaviour is the same as before (do nothing, successfully). + + * fix: Unify standard, debug and clickhouse build scripts + + The build scripts for all three packaging targets are identical except + for their Make targets. Unify them, and pass in a new environment + variable PROXYSQL_BUILD_TYPE to define the build type we want. + + The build scripts are updated to automatically exit if any command fails + (`set -e`), so the "&& \" pattern is no longer required. We also + `set -u` to protect against any variable being accidentally unset. + + * fix: Simplify build script logic + + We don't need the `&& \` pattern any more now that `set -e` is defined + at the top of the script. Also apply several defensive fixes suggested + by the Shellcheck linter (https://github.com/koalaman/shellcheck). + + * fix: Add missing directory to cleanup + + * fix: cosmetics + + * fix: Don't define config file twice + +commit ee219f4283da483b63fc497b083905535d2ad896 +Author: Alex Jurkiewicz +Date: Thu Mar 21 00:36:57 2019 +1100 + + feat: Add logrotate script and update log location (#1963) + + Write to /var/log/proxysql.log by default, and add a logrotate script + which manages this path. + + Unfortunately, the logrotate script can't use `PROXYSQL FLUSH LOGS;` to + tell ProxySQL to rotate file handles*, so we use copytruncate instead. + It would be nice if ProxySQL could rotate file handles following a + signal in future... + + * For two reasons: + 1. There's no safe / standard way to find admin credentials + 2. mysql(1) client may not be installed + +commit 905d05f0f834dc37af5794d9b406cc329cb1997c +Author: René Cannaò +Date: Thu Mar 21 00:18:00 2019 +1100 + + Handle mysql_users.use_ssl from config file #1960 (#1961) + +commit 0f923ba3fb4704fbcfd90be94f4199ef57b1def6 +Merge: 0498b6dd 1232a638 +Author: René Cannaò +Date: Wed Mar 20 11:17:41 2019 +1100 + + Merge pull request #1958 from carsonip/fix-typo + + Fix minor typos + +commit 1232a6382e1d87d49eb4590d42ff24d73f648617 +Author: Carson Ip +Date: Wed Feb 20 11:51:15 2019 +0800 + + Fix minor typos + +commit 0498b6dd9c92ef5f3af21751f50c3c12f4e1c11b +Merge: 48e49a18 8450d85e +Author: René Cannaò +Date: Sat Mar 16 22:04:23 2019 +1100 + + Merge pull request #1954 from sysown/v2.0.3-1944 + + Fix bug in authentication after AuthSwitch + +commit 48e49a18e5d72d19aff77eb84319fe88b38619ef +Merge: b84271f8 cfe1c7ff +Author: René Cannaò +Date: Sat Mar 16 22:04:01 2019 +1100 + + Merge pull request #1953 from carsonip/fix-throttle + + No throttle when throttle_max_bytes_per_second_to_client == 0 + +commit b84271f82d91a7f667bcd898cea1e23bc52d9d7f +Merge: c590dbc2 494174ea +Author: René Cannaò +Date: Sat Mar 16 22:01:01 2019 +1100 + + Merge pull request #1952 from carsonip/fix-epoll-hang-2 + + Do not move throttled session to epoll + +commit cfe1c7ff726ad20b85549ada8286a2cba60a8466 +Author: Carson Ip +Date: Thu Mar 14 23:18:52 2019 +0800 + + No throttle when throttle_max_bytes_per_second_to_client == 0 + + If throttle_max_bytes_per_second_to_client == 0, disable throttling. + This matches the mysql convention of 0 == no limit. Change the default + to 0. + +commit 8450d85e0ec36e0088e72f623ec495b079d12db5 +Author: René Cannaò +Date: Fri Mar 15 04:48:18 2019 +1100 + + Fix bug in authentication after AuthSwitch + + If AuthSwitchResponse has a NULL char, parsing fails. + This is likely the root cause of #1944 , but also #1934 + +commit 494174ea44449ec4c497496eb67caf42412f5ce1 +Author: Carson Ip +Date: Thu Mar 14 21:46:16 2019 +0800 + + Do not move throttled session to epoll + + Epoll thread does not poll for EPOLLOUT. If a throttled session with + pending data out is moved to epoll thread, the session will stay in + epoll thread indefinitely, causing a hang observed by client. Fix by not + moving throttled session to epoll thread. + + Fix #1939 + +commit c590dbc21eb47b5002df45b91a8917567f25f8bd +Merge: 0df8a23d 45b148cc +Author: René Cannaò +Date: Wed Mar 13 21:42:59 2019 +1100 + + Merge pull request #1948 from carsonip/fix-idle-session-loop + + Fix skipping sessions in idle threads iteration + +commit 0df8a23de31619e9e62f5fc124b9990bf2edafe4 +Merge: 21b170bd aa0f8d95 +Author: René Cannaò +Date: Wed Mar 13 21:42:39 2019 +1100 + + Merge pull request #1945 from carsonip/fix-mypoll + + Fix skipped mypoll processing + +commit 45b148cc61f42e1ea333855a5cdd301a37b679b7 +Author: Carson Ip +Date: Wed Mar 13 11:19:27 2019 +0800 + + Fix skipping sessions in idle threads iteration + +commit aa0f8d95a6373772283832fdae4b33d08d9e22c1 +Author: Carson Ip +Date: Mon Mar 11 17:36:05 2019 +0800 + + Fix skipped mypoll processing + +commit 21b170bdd7ece767fbe0d76e92635f88069576e0 +Author: René Cannaò +Date: Tue Mar 5 20:02:43 2019 +1100 + + Minor code cleanup #1882 + +commit 537c667a7d053ef3d48c8d03262fc71049ecacf2 +Merge: 95132343 3fd701b4 +Author: René Cannaò +Date: Tue Mar 5 13:24:10 2019 +1100 + + Merge pull request #1900 from insom/status_flags + + Add backend connection status flags to stats_mysql_processlist + +commit 95132343f7a46e182397b920afaffb3b790fa980 +Merge: d1b467e7 abd2b4c7 +Author: René Cannaò +Date: Tue Mar 5 12:52:24 2019 +1100 + + Merge pull request #1932 from sysown/v2.0.3-1927 + + Fix bug #1927 + +commit 3fd701b47c22812ebc48ceea7c7e19ac357142bf +Author: Aaron Brady +Date: Tue Feb 12 09:20:29 2019 -0500 + + Add backend connection status flags to stats_mysql_processlist + +commit abd2b4c70c72cd3e37c926965e4cd93e5762c8c4 +Author: René Cannaò +Date: Thu Feb 28 18:15:31 2019 +1100 + + Fix bug #1927 + +commit d1b467e76027c2bf4d21df6dee834eef75ad264e +Author: René Cannaò +Date: Thu Feb 28 17:13:37 2019 +1100 + + Do not kill Session if a backend failed + + This new algorithm makes the backend connection fails instead of killing the session + This is an improvement over issue #1085 + +commit 0c232bf04b04e0d1ad7a4d7820b6089e7e9a2b77 +Author: René Cannaò +Date: Thu Feb 28 17:13:37 2019 +1100 + + Do not kill Session if a backend failed + + This new algorithm makes the backend connection fails instead of killing the session + This is an improvement over issue #1085 + +commit 2e20854684e74a5c3007ba723e8841bb3bc2b9a8 +Author: René Cannaò +Date: Wed Feb 27 04:05:11 2019 +1100 + + Second commit (not complete) to support Aurora + +commit 278605c52d88eb31f5038e0137da851f392be39c +Merge: 124a975a 8b772ed3 +Author: Nick Vyzas +Date: Mon Feb 25 13:57:06 2019 +0200 + + Merge pull request #1919 from lorenzocipriani/v2.0.2 + + Fixed path of proxysql.service file + +commit 124a975a893b9c4fef3cf37ec63dd8aa81e9b525 +Merge: cb4f194a bea24276 +Author: Nick Vyzas +Date: Mon Feb 25 13:56:21 2019 +0200 + + Merge pull request #1925 from ShiroDN/patch-1 + + Fixed systemd service parse error + +commit bea24276813a914b49ec9fde7a5bf94cd939174c +Author: Tomas Leypold <36225991+ShiroDN@users.noreply.github.com> +Date: Mon Feb 25 12:20:41 2019 +0100 + + Fixed systemd service parse error + + Fixed systemd service restart specifier parse error. Restart value should be "no", "never" is not acceptable value according to systemd.service man page. + + [/lib/systemd/system/proxysql.service:15] Failed to parse service restart specifier, ignoring: never + +commit 8b772ed3977a886618a771588cc532c905172f5e +Author: Lorenzo Cipriani +Date: Thu Feb 21 16:25:01 2019 +0000 + + Added proxysql system user and group management + + During the make install phase a proxysql system user and group are created automatically. + As system user this cannot be used for login to the system but just to run the program. + + During the make uninstall phase the proxysql user and group are deleted automatically. + + Fixed the error with the number of endif statements that prevented the execution of the uninstall rule. + +commit cb4f194a26320517887f49d42df91edae47c9e26 +Merge: c6b46abb d183eae2 +Author: René Cannaò +Date: Wed Feb 20 16:34:45 2019 +1100 + + Merge pull request #1917 from carsonip/fix-typo + + Fix minor typo + +commit c6b46abbdb6e69b436e057ef2d3b1e53149201bd (tag: 2.0.3) +Author: René Cannaò +Date: Wed Feb 20 16:33:35 2019 +1100 + + Changing version to 2.0.3 + +commit d183eae2cd95808bddb30233a50b8404a85a63c3 +Author: Carson Ip +Date: Wed Feb 20 11:51:15 2019 +0800 + + Fix minor typo + +commit e5508179f067812990d25eec5da98e6b905b8059 +Author: Lorenzo Cipriani +Date: Tue Feb 19 19:09:58 2019 +0000 + + Fixed path of proxysql.service file + + Given that the proxysql.service file has been moved to the subfolder systemd/system, the path in the Makefile had to be updated as well. + +commit 533442f4a9bcb0a9a713cb0d06e2780055d62020 (tag: v2.0.2, origin/v2.0.2) +Author: Nick Vyzas +Date: Mon Feb 18 18:06:41 2019 +0200 + + Updating to version 2.0.2 + +commit afd51fda8f4bc3f56a796442c28bc8f1766d8fc8 (tag: 2.0.2) +Merge: 66c99d92 6461c73d +Author: René Cannaò +Date: Tue Feb 19 01:05:15 2019 +1100 + + Merge pull request #1910 from sysown/v2.0.2-1901 + + Bug fix for #1901 + +commit 66c99d9227feeb124b53baff13bf8f51d6b3df45 +Merge: 8757134d 868c5ec0 +Author: René Cannaò +Date: Tue Feb 19 01:05:00 2019 +1100 + + Merge pull request #1908 from sysown/v2.0.2-ldap_variable + + V2.0.2 ldap variable + +commit 8757134d35d7a1e11c1034495473ece34a8d8e36 +Merge: 2897aecb 91b02c71 +Author: René Cannaò +Date: Tue Feb 19 01:04:40 2019 +1100 + + Merge pull request #1907 from sysown/v2.0.2-1893 + + Fix crash if login without password #1893 + +commit 2897aecb20eedaf3e744a57ef3891d4002523181 +Merge: 8d953de1 830b0433 +Author: René Cannaò +Date: Tue Feb 19 01:04:21 2019 +1100 + + Merge pull request #1912 from sysown/v2.0.2-1891 + + V2.0.2 1891 + +commit 830b043319a6df586fcac20d5a7a507382cc6f21 +Author: René Cannaò +Date: Sun Feb 17 15:14:44 2019 +1100 + + Fixed a performance regression in fast_forward + + fast_forward was slow for resultset with a lot of rows, because it was + reading a packet at the time + +commit d2f8952a83cfe6f36711e4223bf0e388d59c2c86 +Author: René Cannaò +Date: Sun Feb 17 15:11:22 2019 +1100 + + Fix crashes when fast_forward is used #1891 + + Memory was incorrectly freed more than once. + Also, connections related to fast_forward were attempted to be reset. + +commit 8d953de111315e0974f108b60471d155b83dfe2b +Merge: 0e2efd8b adade27d +Author: René Cannaò +Date: Sun Feb 17 02:16:05 2019 +1100 + + Merge branch 'v2.0.2' of https://github.com/sysown/proxysql into v2.0.2 + +commit 0e2efd8bf49da75ec7245fe663555c9c79ab5c72 +Author: René Cannaò +Date: Sun Feb 17 02:15:18 2019 +1100 + + Adding perror on pthread_create failure on Admin + +commit 6461c73d82c1badf45ed95172ca22b872bea78f5 +Author: René Cannaò +Date: Sun Feb 17 00:43:49 2019 +1100 + + Bug fix for #1901 + +commit 91b02c7186b4bef27ee153afdcf672f4412e6a96 +Author: René Cannaò +Date: Sat Feb 16 22:41:13 2019 +1100 + + Fix crash if login without password #1893 + +commit 868c5ec0e3c4dc56a2759decd58d53eb719bec68 +Author: René Cannaò +Date: Sat Feb 16 22:17:58 2019 +1100 + + Adding ldap user variable, 2nd commit + +commit adade27dbd5d942d69fce7168e0fbbe33456608d +Author: Nick Vyzas +Date: Fri Feb 15 22:53:48 2019 +0200 + + Fixes install failure in Docker due to systemctl + + Generic Deb Compliant Fix + +commit c777a50a56fd468214dcfe2ba5534ba109c3c162 +Author: Nick Vyzas +Date: Fri Feb 15 22:52:52 2019 +0200 + + Fixes install failure in Docker due to systemctl + + Ubuntu Bionic Fix + +commit 531f3b4021305f43fd939c681fdf98a941fb49c3 +Author: René Cannaò +Date: Tue Feb 12 17:52:10 2019 +1100 + + Adding ldap user variable, first commit + +commit a35917c3463a7de7cee63bf6d946b9481b54f856 +Author: René Cannaò +Date: Mon Feb 11 11:16:15 2019 +1100 + + First commit (not complete) to support Aurora + +commit be86f31f620077160bb4bd7e7ad7310eef22c617 +Author: René Cannaò +Date: Mon Feb 11 00:30:04 2019 +1100 + + Removing setparsertest binary + +commit d4c24f8bab29598e0cac0d8767765f381f7bfc11 +Merge: 7cb9109c a99e7ae2 +Author: René Cannaò +Date: Mon Feb 11 00:29:12 2019 +1100 + + Merge pull request #1885 from sysown/v2.0.2-tz + + Fixed parsing of SET with double quote + +commit 7cb9109c57ae78e55a7a48e16bf8c065593a8f52 +Author: René Cannaò +Date: Mon Feb 11 00:28:29 2019 +1100 + + Multiplexing erroneously disabled #1897 + +commit a99e7ae20731caac7beb1947c9e48caf3b88ea53 +Author: René Cannaò +Date: Thu Jan 31 17:19:28 2019 +0100 + + Fixed parsing of SET with double quote + +commit 67869cd06c1589d4a3ac16da26e3e50235b0becf +Author: René Cannaò +Date: Sun Jan 27 23:52:50 2019 +1100 + + Removed an fprintf + +commit 89e31bf972110edf68ebd1f3950ceb25056452cc +Author: René Cannaò +Date: Sun Jan 27 21:46:45 2019 +1100 + + Fixed syntax error in vacuum + +commit ac2e710cad00070e2aeb5a01f574fc2a978e36af (tag: v2.0.1, origin/v2.0.1) +Author: René Cannaò +Date: Sun Jan 27 01:34:50 2019 +1100 + + Use readlink to get fullpath of proxysql + +commit 152d05962e7b4339ff884fd471191a3c08977a15 +Author: Nick Vyzas +Date: Sat Jan 26 14:46:56 2019 +0200 + + Fixes startup error when no containers running + + Fixing patch introduced by https://github.com/sysown/proxysql/pull/1764 when docker is installed but no containers are running + +commit d4771a9fa7021af3cd62d484782f59f4f49f7569 +Author: Nick Vyzas +Date: Fri Jan 25 20:48:28 2019 +0200 + + Adding dynamic control of version number in deb packages + +commit e1bebaa9ab204f2ab9fadcfad8f688072861c623 +Author: René Cannaò +Date: Mon Jan 21 17:28:05 2019 +1100 + + Generate SHA1 of proxysql binary + + SHA1 of proxysql binary allows better troubleshooting + + This commit also stop printing messages for RLIMIT_NOFILE if executed with --help + +commit 519ee209db47d13db2910a74af81383566fca4d4 (tag: 2.0.1, origin/v2.0.0) +Merge: 68ae38b3 9b141032 +Author: René Cannaò +Date: Mon Jan 21 15:08:25 2019 +1100 + + Merge pull request #1875 from sysown/v2.0.0-mqr_mem + + Collect memory statistics about query rules + +commit 68ae38b34b6bc334f56d6dea1cdd9e9128363b81 +Merge: 1797144d 11924ca1 +Author: René Cannaò +Date: Mon Jan 21 14:52:07 2019 +1100 + + Merge pull request #1867 from sysown/v2.0.0-conn_pool_username + + Optimize connection pool to find matching username + +commit 1797144dca22df92c1d8607e80fb02d7542044e6 +Merge: 649cb8e6 332ee579 +Author: Nick Vyzas +Date: Mon Jan 21 00:09:43 2019 +0200 + + Merge pull request #1764 from bogomips/v2.0.0 + + "/etc/init.d/proxysql stop" stops even processes running in docker containers + +commit 649cb8e651487c65b7fdf285e53657e14262d701 +Merge: 4d3e45fc 96b24dba +Author: Nick Vyzas +Date: Mon Jan 21 00:07:43 2019 +0200 + + Merge pull request #1865 from sysown/v2.0.0_1789 + + Fixes for systemd & "proxysql" user service + +commit 96b24dba0df3f791392817ed24c0d4c3edb4a653 +Author: Nick Vyzas +Date: Mon Jan 21 00:05:59 2019 +0200 + + Fixes for systemd and proxysql service user + +commit 9b141032363eecc6f54a8353227d61f23b565a3d +Author: René Cannaò +Date: Sat Jan 19 17:50:30 2019 +1100 + + Collect memory statistics about query rules + +commit 4d3e45fc1bce22f823806eb192c44d76d83d0224 +Author: René Cannaò +Date: Fri Jan 18 04:03:01 2019 +1100 + + Fixed bug in get_current_query_rules + +commit f23b66d866c7fac3128464ef7bba7675250b8803 +Merge: 19646aa4 6be1121e +Author: René Cannaò +Date: Wed Jan 16 18:58:45 2019 +1100 + + Merge pull request #1868 from sysown/v2.0.0-1770 + + Support for MYSQL_TYPE_VARCHAR in PS #1770 + +commit 19646aa4de6400d94a4f606ea90e382559a65882 +Merge: 7dd480e2 5861c7b7 +Author: René Cannaò +Date: Wed Jan 16 18:58:10 2019 +1100 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit 7dd480e29906388c4ce602183a88fd88172f9c57 +Author: René Cannaò +Date: Wed Jan 16 18:57:41 2019 +1100 + + Upgraded copyright to 2019 + +commit 6be1121e5dd553423a8c2b7d776bacee521a3739 +Author: René Cannaò +Date: Wed Jan 16 05:41:13 2019 +1100 + + Support for MYSQL_TYPE_VARCHAR in PS #1770 + +commit 11924ca1294d809aa742bd3db0d0cc008a8e68ce +Author: René Cannaò +Date: Wed Jan 16 00:07:28 2019 +1100 + + Optimize connection pool to find matching username + + Try to get from connection pool and connections cache, a connection with the same schemaname + +commit 5cea1dbbf310b974b32a03bddc28dc1436be3f4c +Author: Nick Vyzas +Date: Mon Jan 14 23:06:04 2019 +0200 + + Fixes for systemd & "proxysql" user service + +commit 5861c7b731d754fa0b889ddbfb6e977522201f35 +Merge: 8dd1bf09 4f800f90 +Author: Nick Vyzas +Date: Mon Jan 14 16:54:57 2019 +0200 + + Merge pull request #1686 from aminet/v2.0.0 + + Debian controlfile and systemd's service update. + +commit 8dd1bf096798e9926cd8aaa216a34dc1da8a5089 +Author: René Cannaò +Date: Tue Jan 15 01:12:52 2019 +1100 + + Crash when LDAP plugin is not loaded #1863 + +commit c1c0617995162178ff020fb47a0d998ba7198968 +Author: René Cannaò +Date: Mon Jan 14 17:58:39 2019 +1100 + + Wrong decoding causes crash #1350 + + Wrong decoding in MySQL protocol for field bigger than 16MB causes crash. + The only code path affected by this seems to be reading parameters from + prepared statements. + +commit cacbe7c9013a6b5e633ac9a50c5d4c66a3472935 +Author: René Cannaò +Date: Sun Jan 13 21:59:04 2019 +1100 + + Missing newline in an error message + +commit 169478d87e74f74c499a69c13660fab94c472802 +Author: René Cannaò +Date: Sun Jan 13 16:11:46 2019 +1100 + + Fix multiresult in 2.0 + +commit ef49b2570edc715aa6cc276ea1626260addd590b +Author: René Cannaò +Date: Sun Jan 13 14:40:05 2019 +1100 + + Removing some complaints from Valgrind + +commit 85709f2c156517dd58ff29c1415f0b1d5da6c444 +Merge: 40bf4f67 0a60cfda +Author: René Cannaò +Date: Sun Jan 13 11:44:05 2019 +1100 + + Merge pull request #1858 from sysown/v2.0.0-merge-tb + + V2.0.0 merge tb + +commit 40bf4f6714d4f46717a15f2adc3beac27f35584e +Author: Nick Vyzas +Date: Fri Jan 11 16:44:09 2019 +0200 + + Update README.md + +commit 1bcc87c4e0b64bb805f218d3a4e9b4d8c6c84cdb +Author: Nick Vyzas +Date: Fri Jan 11 15:50:58 2019 +0200 + + Update README.md + +commit 50aae05bbbcd7ff652d354aadfbfdf7e1d646026 +Author: Nick Vyzas +Date: Fri Jan 11 14:08:55 2019 +0200 + + Update README.md + +commit 0a60cfda1101ab4ff800a9ae0b1264cbc72ee67a +Merge: b82a1c18 5117e1d3 +Author: René Cannaò +Date: Fri Jan 11 01:58:19 2019 +1100 + + Merge branch 'v2.0.0-tb' into v2.0.0-merge-tb + +commit b82a1c18ac8ccd2b92632a28f9d3dccb25a05a0a +Merge: 147974f4 f20d9c50 +Author: René Cannaò +Date: Thu Jan 10 22:50:40 2019 +1100 + + Merge pull request #1857 from sysown/v2.0.0-digestSplit + + V2.0.0 digest split + +commit 147974f4ecc32171f6a1d54d148fadea6e724d54 +Merge: 6bdacade 49a4dd5f +Author: René Cannaò +Date: Thu Jan 10 22:49:17 2019 +1100 + + Merge pull request #1847 from sysown/v2.0.0_merge_ldap + + V2.0.0 merge ldap + +commit 49a4dd5fc5c39d9640395d43fc2b0dfafbe412cd +Merge: d9af1f18 6bdacade +Author: René Cannaò +Date: Thu Jan 10 22:49:03 2019 +1100 + + Merge branch 'v2.0.0' into v2.0.0_merge_ldap + +commit 6bdacade784e5ebaf326be3e595c106b6c092992 +Author: René Cannaò +Date: Wed Dec 19 02:57:41 2018 +0100 + + Added mysql-auto_increment_delay_multiplex #1828 + + Temporary disable multiplexing when last_insert_id is returned in OK packet. + Multiplexing is disabled for mysql-auto_increment_delay_multiplex queries. + mysql-auto_increment_delay_multiplex ranges from 0 to 1000000 . + + Default value is 5 + +commit f20d9c501871fe7a9f384312c81c95ef8f9fc40c +Author: René Cannaò +Date: Thu Jan 10 21:09:42 2019 +1100 + + Fix typo in previous commit + +commit 782aae072efdb4f76b6a716e163699b47c6b06dc +Author: René Cannaò +Date: Thu Jan 10 21:03:52 2019 +1100 + + Implement automatic vacuum of stats schema #1011 + +commit e2874e4d2a006bacdda075b613899c09c2522b3d +Merge: 6cec5078 bfa21623 +Author: René Cannaò +Date: Thu Jan 10 16:55:30 2019 +1100 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit 6cec5078ec22833ecbe248d5b9fe1042c6bdc877 +Author: René Cannaò +Date: Wed Dec 19 07:27:27 2018 +0100 + + Tune shun time if ping interval is too low #1883 + + When shunning a node, evaluate the different between + `mysql-monitor_ping_interval` and `mysql-shun_recovery_time_sec`, and postpone + in the future when the server needs to be recovered + +commit bfa21623670cedbbf3f4e6d52fc8da0af9d6b1f8 +Merge: 77391982 c7d0c2ca +Author: René Cannaò +Date: Thu Jan 10 16:50:10 2019 +1100 + + Merge pull request #1838 from acampoh/fix_sql_state_admin + + Fixing sql states in many error messages from admin console. + +commit 77391982a7dc85215f1a398ede3ab274a1ae11e1 +Merge: 09e59340 f762929c +Author: René Cannaò +Date: Thu Jan 10 16:49:17 2019 +1100 + + Merge pull request #1840 from acampoh/fix_galera_test_query + + Fixed query to get available galera nodes in a hostgroup + +commit 6f8c37eec915e626cb54f73f1ae72f3f61a70174 +Author: René Cannaò +Date: Thu Jan 10 01:31:16 2019 +1100 + + Store digest_text on a different hash table + + This should drastically reduce memory usage where identical queries are executed an several schemas or by different users. + +commit 09e593403ce3b6527d52470fc8d7c9f276b8dbfd +Merge: a143b50a 450ed45c +Author: René Cannaò +Date: Wed Jan 9 18:00:00 2019 +1100 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit a143b50a7d47c0cb28be22b2c8362b5a8f591ff0 +Author: René Cannaò +Date: Wed Jan 9 17:57:03 2019 +1100 + + Fixed a memory leak + + If client disconnects without retrieving the resultset, the memory used by the last packet could be leaked if larger than network buffer. + +commit d9af1f18cc5bd862e9a52d4cae2ebafc98353aba +Author: René Cannaò +Date: Wed Jan 9 00:04:15 2019 +1100 + + Fixed datatype for ClickHouse_Authentication::exists() + +commit 54d32d4580b3aa6b6e77a331c86d81e3c4ee71c2 +Author: René Cannaò +Date: Tue Jan 8 02:45:14 2019 +1100 + + Implementation of AUTH SWITCH + + - if clients uses mysql_native_password, if LDAP is enabled and if the user doesn't exist, switch to mysql_clear_password. + - if neither mysql_native_password or mysql_clear_password are used by the client: + - if LDAP is not enabled, always switch to mysql_native_password + - if LDAP is enabled: + - if the user exists, switch to mysql_native_password + - if the user doesn't exists, switch to mysql_clear_password + + Added MySQL variable mysql-add_ldap_user_comment to determine if a comment with the original username needs to be added in the queries. + + This commit also tracks the charset during the first handshake response. + +commit 450ed45c030d48bb316d7885788306c28145d530 +Author: René Cannaò +Date: Mon Jan 7 15:35:26 2019 +0100 + + Setting synchronous=0 on wrong schema #1842 + +commit 953bbac09fb63965ffeb22f634add0cb4bea74a3 +Author: René Cannaò +Date: Mon Jan 7 15:33:36 2019 +0100 + + Support writer_is_also_reader=2 in Hostgroup Manager + +commit d1d8cb21ad2d72cf34b1ec17894680ecdceee590 +Author: René Cannaò +Date: Sat Dec 29 01:01:08 2018 +1100 + + Handle error 2019 + + If client tries to specify a charset that doesn't exist on backend, switch to default charset + +commit fc4d201f7668c5714af722f2f901730a9bf25772 +Author: René Cannaò +Date: Sat Dec 29 00:42:29 2018 +1100 + + Extend server_capabilities to 32 bits + + Also introduces new flags by default: + - CLIENT_MYSQL + - CLIENT_PLUGIN_AUTH + +commit 2bf4ff6e57a7260fda522760f36d97d732f2746b +Author: René Cannaò +Date: Sat Dec 29 00:27:01 2018 +1100 + + Disable ldap_auth_plugin from proxysql.cfg + +commit d0b898614330cbf91f7d0fe2e8a1b8263672a895 +Author: René Cannaò +Date: Fri Dec 28 23:46:25 2018 +1100 + + Remove trailing spaces from USE command + +commit 10f38d4e2fdf762abafe8dc974bed50b23a67615 +Author: René Cannaò +Date: Fri Dec 28 03:20:50 2018 +1100 + + Various code cleanup + +commit f762929c94f3ba4a82658fa0503e14606ec7d6da +Author: Adrián del Campo +Date: Thu Dec 27 16:40:24 2018 +0100 + + Fixed query to get available galera nodes in a hostgroup + +commit dc73e7bd5df5f4ef24426ae5c3435ed443cd4d90 +Author: René Cannaò +Date: Thu Dec 27 13:18:32 2018 +1100 + + Minor optimizations detected with valgrind + +commit 3218caff1a5bacbfd0e3994cd1f210180905c15e +Merge: 98f8d91f 0a1d5d95 +Author: René Cannaò +Date: Thu Dec 27 11:20:18 2018 +1100 + + Merge branch 'v2.0-ldap' into v2.0.0_merge_ldap + +commit c7d0c2caf69ce646426635b0da8ac85da4e74b2f +Author: Adrián del Campo +Date: Fri Dec 21 11:12:57 2018 +0100 + + Fixing sql states in many error messages from admin console. + + As the # is already included when generating the message, is not needed here, making the output in mysql show a wrong one + +commit 98f8d91f6922341c49273f7239e6441fc213f278 +Author: René Cannaò +Date: Fri Dec 21 09:57:17 2018 +0100 + + Do not uppercase LAST_INSERT_ID() #1094 + +commit 6ac1c417c589b8e42bd4b36a3a40f7fec0479426 +Author: René Cannaò +Date: Fri Dec 21 09:03:50 2018 +0100 + + Support for SELECT CONNECTION_ID() #1797 + +commit 3bc9cbac697de05efc4f453c540941633c79baa7 +Author: René Cannaò +Date: Thu Dec 20 06:47:07 2018 +0100 + + Updating issue_template.md + +commit a253c09d1137a78e3a40012285384768558b48e6 +Author: René Cannaò +Date: Wed Dec 19 07:55:04 2018 +0100 + + Disable multiplexing for certain variables #1832 + + Disable multiplexing for: + - SQL_SAFE_UPDATES + - SQL_SELECT_LIMIT + - MAX_JOIN_SIZE + +commit a4c8671b76aa137129053e54f958b5238aed1206 +Author: René Cannaò +Date: Wed Dec 19 08:04:38 2018 +0100 + + Filter SET @@session.autocommit from log #1831 + +commit c77f91aa6a2ec48e5919a50b295ee86b2dd2bebf +Merge: f91d93bb 883d66a7 +Author: René Cannaò +Date: Thu Dec 20 03:02:33 2018 +0100 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit f91d93bbcb589ead6a28dc1d5771753eeb399ec3 +Author: René Cannaò +Date: Thu Dec 20 03:02:07 2018 +0100 + + Use quote in SET NAMES COLLATE #1821 + +commit 883d66a71f97dc3c23389ee044f3101dd87f1af5 +Author: René Cannaò +Date: Sun Dec 16 12:01:57 2018 +0100 + + Inlining some functions related to connection pool + +commit 96f179f943954f3e04e1f1d65ba9ecbb3d0bd320 +Author: René Cannaò +Date: Sun Dec 16 20:39:34 2018 +1100 + + Prevent a buffer overflow in SELECT @@version + +commit 5d3b571e4cca5e968805302a8f2097970178bbd5 +Author: René Cannaò +Date: Sun Dec 16 20:22:21 2018 +1100 + + Prevent a buffer overflow in SELECT @@version + +commit 7d6afa8bf0f5215bd5a2473e18be2da25083ead2 +Merge: 83310e33 ad625ba7 +Author: René Cannaò +Date: Fri Dec 14 22:54:32 2018 +1100 + + Merge pull request #1825 from sysown/v2.0.0-144-merge + + V2.0.0 144 merge + +commit ad625ba745f365e42829944bb576d7320a86d314 +Author: René Cannaò +Date: Thu Nov 15 12:33:21 2018 +0200 + + Remove asserts from MyDS_real_query::init() + +commit 4fc81d945ad9ce0c5693fd1eba94da82dfde149c +Author: René Cannaò +Date: Wed Nov 14 12:32:49 2018 +0200 + + Free dataset after INIT_CONNECT + +commit 0e452c7bbd6a86ebc52dfc10da2b9c9a790b593b +Author: René Cannaò +Date: Tue Nov 13 22:55:22 2018 +0200 + + Fix edge case + +commit 8396041fd2df8894c5ebb6aa7c13322f4be8fe3b +Author: René Cannaò +Date: Tue Nov 13 19:29:40 2018 +0200 + + Minor tuning on previous commit + +commit 3c49b2bf615da0d5b7e7805c3f4128c06bb461d8 +Author: René Cannaò +Date: Tue Nov 13 17:34:03 2018 +0200 + + Revert autcommit to 1 if it is the first SELECT + + If: + * client wants autocommit=0 + * enforce_autocommit_on_reads=false + * there is no transaction + * this seems to be the first query, and a SELECT not FOR UPDATE + Action: + * switch back to autcommit=1 + +commit ced8227d8eb2e19ef950d38ba92cb2b1a208f2d4 +Author: René Cannaò +Date: Wed Dec 12 02:11:39 2018 +1100 + + Removed several deadlocks related to Threads stats + +commit 83310e33a6b87ffb3007f220b2fa58ce40f15d49 +Author: Adrián del Campo +Date: Wed Nov 14 11:00:32 2018 +0100 + + Fixed shun recovery time calculation + + If shun recovery time >= max_connection timeout, the desperate attempt + of recovering a node currently gets multiplied by 9 instead of reduced + to a 10% + +commit 75b5865f1cdedf70d80821dc9db0f3886c4aa58c +Author: René Cannaò +Date: Sun Nov 25 14:03:02 2018 +0200 + + Always return signed char in scramble. Fixes #1757 + +commit a39f48b81d7cf40efc50120d4d077d21a8de4365 +Merge: f6468de4 a058d5cc +Author: René Cannaò +Date: Thu Nov 22 19:41:10 2018 +0200 + + Merge pull request #1779 from sysown/2.0.0-860 + + Support for KILL command #860 + +commit f6468de4b4c95ece2a5e4173cfdf2824ec057687 +Merge: 8df4d52d d7b95177 +Author: René Cannaò +Date: Thu Nov 22 19:32:02 2018 +0200 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit 8df4d52d0e5099d45df51c81b799fe76b7b3892b +Author: René Cannaò +Date: Thu Nov 22 19:28:43 2018 +0200 + + Use SO_REUSEPORT for Admin + + Closes #1726 #1723 #1787 + +commit 5117e1d3fa37b1f845343de807e025d86871d2c9 +Author: René Cannaò +Date: Mon Nov 19 16:20:08 2018 +0200 + + Log Authentication error + +commit c0084f1357af5eb48a8d5ca46d279cdd774434aa +Author: René Cannaò +Date: Mon Nov 19 15:35:37 2018 +0200 + + Fixed computation of number of transactions + +commit 52b0c7784fe583a8dd21dc1f727d6be59fafeef7 +Author: René Cannaò +Date: Mon Nov 19 14:38:20 2018 +0200 + + Added 3 new global status variables + + - Access_Denied_Wrong_Password + - Access_Denied_Max_Connections + - Access_Denied_Max_User_Connections + +commit fef7e6daee81ea70ccd5068d0043426aea75cb30 +Author: René Cannaò +Date: Mon Nov 19 11:53:53 2018 +0200 + + Fixed parentesis in SQLite3_Server + +commit 5a7c4b00e2fd9a28afdf58d77e9b752cbf2f87a6 +Author: René Cannaò +Date: Mon Nov 19 11:51:50 2018 +0200 + + Fixing various compiler warnings + +commit 6a9655082b8a7a40c4ca08b04178f09da739e82c +Author: René Cannaò +Date: Mon Nov 19 10:52:21 2018 +0200 + + Specify HG when shunning or resuming nodes due to replication lag + +commit 0f56d576d1722aa9369cc49193969c72b2ef9522 +Author: René Cannaò +Date: Mon Nov 19 10:37:29 2018 +0200 + + Completed implementation of stats_mysql_errors + +commit bbe9dd7acee41aab92308e411de067b954ed0424 +Author: René Cannaò +Date: Fri Nov 16 22:18:00 2018 +0200 + + Adding class HGM_query_errors_stats() + +commit c5cff7a9216dc4e4de8c594d97d1c244977d4e81 +Author: René Cannaò +Date: Thu Nov 15 19:30:42 2018 +0200 + + Added client_address in stats_mysql_query_digest + +commit d7b95177a4c57089bff648a7244a6ee9c0141b80 +Merge: bff2a3e8 cbf9a71b +Author: René Cannaò +Date: Thu Nov 15 17:00:16 2018 +0200 + + Merge pull request #1784 from rkennedy-zendesk/v2.0.0 + + Add cleaning libconfig-1.7.2 to the `cleanall` target. + +commit 8faedbe968810f06c0c6cd734f1e9babf4ea89cd +Author: René Cannaò +Date: Thu Nov 15 12:33:21 2018 +0200 + + Remove asserts from MyDS_real_query::init() + +commit bc83d56063617db66dc10b0669bb22edb6fc539e +Author: René Cannaò +Date: Wed Nov 14 12:32:49 2018 +0200 + + Free dataset after INIT_CONNECT + +commit e25a5bc26e5a8950640803447c88fc84a62433ec +Author: René Cannaò +Date: Tue Nov 13 22:55:22 2018 +0200 + + Fix edge case + +commit 3d3e11a97279408d386cad23a8610b3e336b1ec5 +Author: René Cannaò +Date: Tue Nov 13 19:29:40 2018 +0200 + + Minor tuning on previous commit + +commit ca48cb81c4191e5ce94bbc57af96323045ac2c82 +Author: René Cannaò +Date: Tue Nov 13 17:34:03 2018 +0200 + + Revert autcommit to 1 if it is the first SELECT + + If: + * client wants autocommit=0 + * enforce_autocommit_on_reads=false + * there is no transaction + * this seems to be the first query, and a SELECT not FOR UPDATE + Action: + * switch back to autcommit=1 + +commit cbf9a71ba4e3bb265957fb8e50b3134cb9653095 +Author: Ryan Kennedy +Date: Mon Nov 12 08:54:54 2018 -0800 + + Add cleaning libconfig-1.7.2 to the `cleanall` target. + + Previously `cleanall` wasn't cleaning up the previous compilation of + libconfig, leading to some situations where linking would mysteriously + fail. + +commit bff2a3e8d94676670618e326deb064da008e2761 +Author: Andrew Ernst +Date: Fri Nov 2 11:19:24 2018 -0700 + + Read configuration for mysql_group_replication_hostgroups from config file. + +commit a058d5cc9bfebbf9febb07dc0770d1def357cb5a +Author: René Cannaò +Date: Thu Nov 8 20:18:37 2018 +0100 + + Support for KILL command #860 + + Both KILL QUERY and KILL CONNECTION work + + The only security check enforced is that the user sending the KILL + is the same user of the connection/query being killed. + +commit 98e706c43ac860eb89a512714dcd83d88feea064 +Merge: 2e381bbe 46b14fb2 +Author: Nick Vyzas +Date: Thu Nov 8 15:28:24 2018 +0100 + + Merge pull request #1776 from rkennedy-zendesk/patch-1 + + Fix gcc 4.8 vs. 4.9 typos. + +commit 46b14fb28a604b0e925acb754dd5b372aabed670 +Author: Ryan Kennedy +Date: Wed Nov 7 10:03:07 2018 -0800 + + Fix gcc 4.8 vs. 4.9 typos. + + Appears to be a bad copy/paste. The instructions for gcc 4.8 appear to be using gcc 4.9 and the instructions for gcc 4.9 appear to be using gcc 4.8. + +commit 2e381bbeb91fdd1d901d8170f6b9ccf9fbabbc8c +Author: René Cannaò +Date: Sun Nov 4 13:38:48 2018 +0100 + + Upgrade libconfig from 1.4.9 to 1.7.2 + +commit 297321ef433c5b683285f829fc5e0c3c79686652 +Author: René Cannaò +Date: Fri Nov 2 23:25:50 2018 +0100 + + Fix bug in sprintf + +commit 2696934ebf90e34eeed886a69039752e99f1174b +Author: René Cannaò +Date: Fri Nov 2 18:24:35 2018 +0100 + + Bug fix from recent PR + +commit 76cf36c2ceef2d5736b3ec1e23397db82da9a7d8 +Merge: 0aeb6227 72724b22 +Author: René Cannaò +Date: Thu Nov 1 19:00:04 2018 -0700 + + Merge pull request #1766 from sysown/v2.0.0-cache_wait_1 + + Preparing for support of cache_timeout + +commit 0aeb6227934f840498b707c096fdd4bdda957b5d +Merge: 1badfd39 37f316e9 +Author: René Cannaò +Date: Thu Nov 1 18:59:45 2018 -0700 + + Merge pull request #1765 from sysown/v2.0.0-wr2 + + Add support for writer_is_also_reader=2 + +commit 1badfd397a18fe5c922d8b85915af6438a1aa947 +Author: René Cannaò +Date: Fri Nov 2 02:18:27 2018 +0100 + + Parse SET sql_mode='' + +commit 8f46da4d3107420bd9ce292c877c4b6226d631f3 +Author: René Cannaò +Date: Fri Nov 2 02:17:49 2018 +0100 + + More debugging messages + +commit f47e74c4b2dd1f4d985f3e59998570aaa4b3d967 +Author: René Cannaò +Date: Fri Nov 2 00:23:58 2018 +0100 + + Fixed some bugs related to debugging built + +commit 2bd4961b06c57dc4750002e5215c3536d91938ca +Author: René Cannaò +Date: Thu Nov 1 15:03:10 2018 +0100 + + Abort if pthread_create fails #1768 + +commit 04e836a0113ff2b307746397564dd75f6ed8ece2 +Author: René Cannaò +Date: Thu Nov 1 02:01:22 2018 +0100 + + Support for autocommit=(true|false|on|off) #1758 + +commit 72724b22e06ee3daf0ea820ebf4068f5c87ceced +Author: René Cannaò +Date: Wed Oct 31 23:54:21 2018 +0100 + + Preparing for support of cache_timeout + + Adding column mysql_query_rules.cache_timeout . + Functionality is not implemented yet, only the column is added. + +commit 37f316e940db653451a8b48c21226a906f75b2bf +Author: René Cannaò +Date: Wed Oct 31 17:10:34 2018 +0100 + + Add support for writer_is_also_reader=2 + + This functionality is enabled for: + - mysql_galera_hostgroups + - mysql_group_replication_hostgroups + + If writer_is_also_reader=2 and there are servers in + backup_writer_hostgroup, only these servers will be used + in reader_hostgroup + +commit 332ee579eef23a31001561a725d36e8fcbd723c5 +Author: Pierluigi Petrelli +Date: Wed Oct 31 15:49:46 2018 +0100 + + /etc/init.d/proxysql stop does not stop processes running in a docker container + +commit 5d57fd5c4f0e91b3e2368702792b15cc129e427a +Author: René Cannaò +Date: Wed Oct 31 11:51:41 2018 +0100 + + Fix a segfault in Admin for empty queries + +commit 305a338268e1525ae0d5bc5f7dfce4d3409e8fe3 +Author: René Cannaò +Date: Wed Oct 31 10:58:57 2018 +0100 + + Add input validation for password during login + +commit 0a1d5d9555d462234c59fb57aac234ea13de6ad7 +Author: René Cannaò +Date: Wed Oct 31 01:36:34 2018 +0100 + + Copy mysql_ldap_mapping from disk to memory + +commit a1a168398c03ccfa6b7d0def8fc10e0264d1d593 +Author: René Cannaò +Date: Wed Oct 31 01:08:22 2018 +0100 + + Fix a bug in CHANGE_USER and chains of ProxySQL + +commit 4d9050a159d78ca6d95e2cf3b760f00ffc83da19 +Author: René Cannaò +Date: Tue Oct 30 19:53:35 2018 +0100 + + Detatch DISK DB before creating LDAP tables + +commit f003512ae6beff879ac51a9ed4b42f89a5147e0a +Merge: f620bcfc 58520e1a +Author: René Cannaò +Date: Sun Oct 28 15:33:57 2018 -0700 + + Merge pull request #1761 from sysown/v2.0.0-flush_cache + + Add support for PROXYSQL FLUSH QUERY CACHE + +commit 58520e1ad14492b8e569113b67e7cc436bc116fa +Author: René Cannaò +Date: Sun Oct 28 23:02:21 2018 +0100 + + Add support for PROXYSQL FLUSH QUERY CACHE + +commit f620bcfcf7aabf47c66a85dab548af9a393fec23 +Merge: 7d214152 90348cd1 +Author: René Cannaò +Date: Thu Oct 25 08:19:50 2018 -0700 + + Merge pull request #1743 from sysown/v2_1720 + + Fixes user / schema column order + +commit 7d214152ab4596657abb53c51f2a61a7c309e06b +Merge: da79756e 16729a45 +Author: René Cannaò +Date: Thu Oct 25 08:18:55 2018 -0700 + + Merge pull request #1749 from sysown/v2.0.0-sql_mode_concat + + Add support for SET sql_mode = CONCAT(...) + +commit 16729a45545f4d9550559759872a8bce7427fc9f +Author: René Cannaò +Date: Fri Oct 19 19:22:19 2018 +0200 + + Support for spaces in SET sql_mode = CONCAT(...) + +commit 3335cde6c94e31839de5979ec7f43c6f39a2a8ef +Author: René Cannaò +Date: Fri Oct 19 19:10:03 2018 +0200 + + Add support for SET sql_mode = CONCAT(...) + +commit da79756e95adef0c6336267be707d38f2ec8a89d +Merge: f5a82235 4e2baadd +Author: Nick Vyzas +Date: Thu Oct 18 14:12:42 2018 +0300 + + Merge pull request #1741 from sysown/v2_962_2 + + Adding constraints for port/flagXXX/compression types + +commit 90348cd1c9e1bad3cb074254c9ae674c490c8ce7 +Author: Nick Vyzas +Date: Thu Oct 18 02:28:07 2018 +0300 + + Fixes user / schema column order https://github.com/sysown/proxysql/issues/1720 + +commit 4e2baadd14639d7eb45a214ac715cdcc64512fee +Author: Nick Vyzas +Date: Thu Oct 18 02:03:01 2018 +0300 + + Fixing comments, adding a missing column + +commit 84390c481fa5083e2e7c93cfab13a728a7d6409a +Author: Nick Vyzas +Date: Wed Oct 17 20:47:29 2018 +0300 + + Adding fixes and additional constraints + +commit db9bff5e06780ad843e95765812bae1b64804c00 +Author: Nick Vyzas +Date: Wed Oct 17 18:03:29 2018 +0300 + + Adding constraints for port/flagXXX/compression types #1582 + +commit 47bf5faff798534f2fe2e57dbd40633c803ad7b5 +Author: René Cannaò +Date: Sun Oct 7 07:59:55 2018 +0200 + + Second large commit to support LDAP + + Functions add() and lookup() in MySQL_LDAP_Authentication have support for backend_username. + Added mysql_ldap_mapping table. + Created Admin::init_ldap() to be called after LDAP initialization. + Added better LDAP caching. + LOAD LDAP MAPPING TO RUNTIME cleans part of the cache (association to backend user). + All queries will have a comment "proxysql-ldap-user=%s" to track original user + +commit d96108123de7a34c1f34eb0e20a36cccd306ae4a +Author: René Cannaò +Date: Wed Aug 22 18:22:26 2018 +0200 + + Scheleton for LDAP support + +commit f5a82235d98e93a70ae08ba753ffad4e318826a2 +Author: René Cannaò +Date: Wed Oct 10 02:15:29 2018 +0200 + + Added more status variables to improve troubleshooting + +commit d3a330fee40eea88f8cb6435e40c79b7c12918dd +Author: René Cannaò +Date: Tue Oct 9 17:51:23 2018 +0200 + + Track number of generated errors and max connect timeout + + These metrics are exported + +commit f89231c2034f4e10fcaedfd04b279d02f78ac058 +Author: René Cannaò +Date: Mon Jul 30 15:21:47 2018 +0200 + + Add randomness in Monitor checks #1630 + + - servers are checked in random orders + - checks are scheduled in the 2-4% range of the relative timeout + +commit 832aa48a4d618b559eab58f9f1da8f114a5228e8 (tag: v2.0.0-rc2) +Merge: 1d4c6d19 2e2b436e +Author: Nick Vyzas +Date: Sat Sep 29 23:30:27 2018 +0300 + + Merge pull request #1721 from sysown/v2.0.0-1528 + + V2.0.0 1528 + +commit 2e2b436e729111810f8f7e26a652481335e842b6 +Author: René Cannaò +Date: Sat Sep 29 02:34:21 2018 +1000 + + Further improvement on SET parser #1528 + + Support for SET NAMES + other variables + +commit 7249f006cc0a41458e79feff57398f0a1efa37bb +Author: René Cannaò +Date: Sat Sep 29 01:43:31 2018 +1000 + + Further improvement on SET parser #1528 + + `SET` is not case sensitive + Handle `time_zone` with numeric time offset + +commit 1d4c6d19ec9321217a99f8be62b24cfb887dc657 +Merge: f572dfc2 42e1802c +Author: Nick Vyzas +Date: Fri Sep 28 16:23:59 2018 +0300 + + Merge pull request #1704 from sysown/v2_1674 + + Enable mysql_query_rules_fast_routing in ProxySQL Cluster + +commit 42e1802c16ccc4c6e93eeb25b896dc8718e1b5df +Author: Nick Vyzas +Date: Fri Sep 28 15:31:30 2018 +0300 + + Removing X perms + +commit e3b455129290abdbf33aaf437ddbd38ab76869cc +Author: Nick Vyzas +Date: Fri Sep 28 15:30:47 2018 +0300 + + Adding fix to support 2.0 query rule columns + +commit 901b3e49a3aea7c72deb852bc2a7d1cf91dbe22f +Merge: da99ec0a f572dfc2 +Author: Nick Vyzas +Date: Fri Sep 28 11:55:27 2018 +0300 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2_1674 + +commit f572dfc22fa6aceacb485e1dfaed8cce149e5568 +Merge: 95fc3282 f666d40d +Author: Nick Vyzas +Date: Fri Sep 28 03:24:37 2018 +0300 + + Merge pull request #1713 from sysown/v2.0.0-1696 + + Do not cache empty resultset, rule setting #1696 + +commit f666d40db2ff5ea2c59ba41d4a17beb0f39cb18d +Author: René Cannaò +Date: Wed Sep 26 22:21:47 2018 +1000 + + Do not cache empty resultset, rule setting #1696 + +commit da99ec0a7e25bffd01807198ce560f858cfe43f3 +Author: Nick Vyzas +Date: Fri Sep 21 22:09:11 2018 +0300 + + Enable mysql_query_rules_fast_routing in ProxySQL Cluster + + https://github.com/sysown/proxysql/issues/1675 + +commit 95fc3282b81e1c78128c38bf97394c3190f5690a +Merge: 35694171 314753ee +Author: Nick Vyzas +Date: Fri Sep 21 17:48:44 2018 +0300 + + Merge pull request #1587 from sysown/v2_grhg_fix + + Fix to persist mysql_group_replication_hostgroups v2.0 + +commit 35694171aca8485059f86e0b03a2751260d3b4a6 +Merge: 4411f6ba c68d72aa +Author: Nick Vyzas +Date: Fri Sep 21 17:44:40 2018 +0300 + + Merge pull request #1699 from sysown/v2.0.0-1693 + + Add new variable mysql-query_cache_stores_empty_result #1693 + +commit 4411f6bae428e522f6a56ade1f89e35657f6ec4a +Merge: 4cfd8abc a20617ec +Author: René Cannaò +Date: Fri Sep 21 13:31:09 2018 +0200 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit 4cfd8abc46d82e218119d44642976774ac1837e2 +Author: René Cannaò +Date: Fri Sep 21 13:21:02 2018 +0200 + + CLIENT_LONG_FLAG in CapabilityFlags #1192 #1631 + +commit fccef7f64edc8025f26c1b68cc1aba811d2bf680 +Author: Brice Figureau +Date: Mon May 28 10:16:27 2018 +0200 + + Parse multiple variable (simple) SET commands + + The current parser for SET in MySQL_Session is not able to parse multiple + variables SET commands like: + SET sql_mode='TRADITIONAL', NAMES utf8 COLLATE unicode_ci + + This patch introduces a simple regex based parser for all variation of + simple variables. + This is not a generic SET parser, though. + +commit c68d72aa37008a144bb067011c8dd4ca7ff1878f +Author: René Cannaò +Date: Tue Sep 18 16:57:48 2018 +0200 + + Add new variable mysql-query_cache_stores_empty_result #1693 + + The variable controls if resultset withour rows will be cached or not + +commit 4f800f908aef4f6289c788252e797328b955961e +Author: Aurélien Minet +Date: Wed Sep 12 14:11:43 2018 +0200 + + Debian controlfile and systemd's service update. Package ctl file will use service file and not /etc/init.d and service file has more systemd's parameters. Both have changes to make proxysql running under a non root user (arbitrary named proxysql). + +commit a20617ecd912cd9dcb6007719497136ec45fb267 (tag: v2.0.0-rc1) +Merge: 42a0e7cc f4b2ef23 +Author: Nick Vyzas +Date: Mon Sep 10 19:44:49 2018 +0300 + + Merge pull request #1682 from sysown/v2.0.0-ch + + Support for Clickhouse in 2.0 + +commit f4b2ef23cba0f24a7f49bf91f2e96f50ea20109e +Author: René Cannaò +Date: Mon Sep 10 17:53:18 2018 +0200 + + Support for Clickhouse in 2.0 + + Support for Clickhouse wasn't able to compile due to conflicting definition + after the introduction of mysql_users.comment column + +commit 42a0e7cc7aaaf57225c9b529c46449cddd128012 +Author: René Cannaò +Date: Sun Sep 2 16:54:27 2018 +0200 + + For Galera cluster, detect MySQL backend version + + Because MySQL 5.7 deprecates INFORMATION_SCHEMA.GLOBAL_STATUS and returns + errors unless show_compatibility_56=ON, the new Galera check determines the + version of the backend and uses either INFORMATION_SCHEMA.GLOBAL_STATUS or + performance_schema.global_status + +commit c00e6efae574575f79aeeb905643c88ff73f6d07 +Author: Nick Vyzas +Date: Wed Aug 29 18:20:07 2018 +0300 + + Set 600 as default perms for proxysql.cnf + +commit 6a99170e3a9a9e406f8429af42190837c8f7f074 +Merge: 24b15cc7 ba29ea29 +Author: René Cannaò +Date: Wed Aug 29 00:12:02 2018 +1000 + + Merge pull request #1660 from mrosata/v2.0.0 + + fixed broken link + +commit ba29ea296e32f3fb3e10c03d483166d3237e3429 +Author: Michael Rosata +Date: Tue Aug 28 10:06:17 2018 -0400 + + fixed broken link + +commit 24b15cc70f395962be2b4164c6540cf80818cef8 +Merge: 44d810fb 3b578a11 +Author: Nick Vyzas +Date: Tue Aug 28 12:20:30 2018 +0300 + + Merge pull request #1657 from sysown/aurora_ro_fix + + Fixes RO check for Aurora + +commit 3b578a119fdd9ab79a69c41380de54c2d781c07d +Author: Nick Vyzas +Date: Fri Aug 24 08:53:03 2018 +0300 + + Fixes RO check for Aurora + + Addresses a bug where the innodb_read_only check is not processed while monitoring an Aurora instance + +commit 44d810fbd2f88e5af2abb2666dee91036932d828 +Author: René Cannaò +Date: Sat Aug 18 16:31:17 2018 +0200 + + Reduce lo verbosity for Galera checks + +commit 7f6205bb5d17e7d324baf885738d363535cfa953 +Author: René Cannaò +Date: Sat Aug 18 16:23:48 2018 +0200 + + Increase upper limit of mysql-hostgroup_manager_verbose from 1 to 2 + + With a value of 2 less debug information are displayed about Galera and Group Replication + +commit f51aa84f46506c72ebd5538820dbbe6795dfc9cc +Author: René Cannaò +Date: Sat Aug 18 14:39:00 2018 +0200 + + Reduce verbosity for Galera checks that won't result in any change + + Galera checks may first detect the status of a node and then decide if an action is needed. + This commit reduces the amount of messages logged in error log is no action will be performed. + +commit d694d2942e373040988fabfcee4db0382cd45d64 +Author: René Cannaò +Date: Sat Aug 18 13:34:02 2018 +0200 + + Fxied a crashing bug caused by a buffer overflow + +commit 0573c5118e0c56f6b48991b2864de1b94c575f9e +Author: René Cannaò +Date: Mon Aug 6 15:48:22 2018 +0200 + + Add global variable mysql-kill_backend_connection_when_disconnect + +commit 8876e5e784aac494daa302e539ba55d5d1766d09 +Author: René Cannaò +Date: Fri Aug 3 14:56:03 2018 +0200 + + Kill backend connections using KILL when a client disconnects + +commit d6ea843b8e2871e520232c2a27b665868604d24f +Author: OKUMURA Takahiro +Date: Wed Jul 11 23:13:26 2018 +0900 + + Fix typo + +commit 78ffc177c757a07833fb58f53036786cccdb5930 +Author: Nikolaos Vyzas +Date: Mon Apr 2 20:04:10 2018 +0300 + + This patch handles any type of quoting on MySQL variables. It fixes https://github.com/sysown/proxysql/issues/1429 + +commit 6fe89b9286aec6ce33e164cc13435759016727df +Author: René Cannaò +Date: Thu Aug 16 07:28:37 2018 +0200 + + Disable librtmp and libpsl in curl + +commit 58ca2d3920a2c9ff3671f158def02c23876d3301 +Author: René Cannaò +Date: Thu Aug 16 07:08:59 2018 +0200 + + Statically link curl on OSX #1560 + +commit 8c4ba5ba42bf4e69057d74bf96fc1c64810cc429 +Author: René Cannaò +Date: Mon Aug 6 14:26:24 2018 +0200 + + Updated doc on global variables + +commit 9c74094aeb6a09a0de140e8660cad1b4462b0d2e +Merge: 7158e601 1fdc7087 +Author: René Cannaò +Date: Tue Aug 14 01:27:19 2018 +1000 + + Merge pull request #1643 from vixns/read-galera-fromconfig + + read mysql_galera_hostgroups from config file + +commit 1fdc7087e2265d013d0357bfd47f48c4b46ad504 +Author: Stéphane Cottin +Date: Mon Aug 13 17:23:11 2018 +0200 + + read mysql_galera_hostgroups from config file + +commit 7158e601d14bfe9b9c573e312988d0b088077e45 +Author: René Cannaò +Date: Fri Aug 10 18:49:16 2018 +0200 + + Unable to parse innodb_read_only variable #1641 + + This is a recession bug introduced in 88fdec89a828589c1b3c93f4d112fcda945cb290 + +commit 35511309899bed0efe3efb1ab073272e5d5e4974 (tag: v2.0.0-beta.1) +Author: René Cannaò +Date: Wed Aug 8 07:04:27 2018 +0200 + + Ensure that the scramble sent during handshake has always positive char #1636 + + This seems a problem only with MySQL Connector/J 8.0 , but it is possible that other drivers could be affected + +commit 6c2721607b42f78cc37d47daab1dd53d2889901c +Author: René Cannaò +Date: Wed Aug 8 06:37:31 2018 +0200 + + Prevent Valgrind errors for RE2 #1635 + + Added flag -DRE2_ON_VALGRIND to ensure that RE2 initialize memory structures and avoid Valgrind errors + +commit 73f73b6c0add823e48f09c8d580403c24561789a +Author: René Cannaò +Date: Wed Aug 8 06:33:47 2018 +0200 + + Add column comment in mysql_users table #1633 + + Added online migration from previous table definition (1.3.0 and 1.4.0). + LOAD MYSQL USERS TO RUNTIME and SAVE MYSQL USERS TO MEMORY handle the new field + comment can be read also from config file + ProxySQL Cluster reads comment from remote node + +commit 720233863c38b8889c180152b2300e35b93b60e5 +Author: René Cannaò +Date: Sat Aug 4 14:49:21 2018 +0200 + + Define CLOCK_MONOTONIC as CLOCK_SYSTEM when not defined #1571 + +commit 224bbaaa84a0400c6f96cb8d5fb2a7aa81447be9 +Author: saidramirez <35537612+saidramirez@users.noreply.github.com> +Date: Wed Feb 7 16:16:07 2018 -0500 + + improved pgrep usage + + When the init.d script searches for process to kill using pgrep, it can incorrectly also choose other processes which have `proxysql` in theie name. For example, if I run a test script in one terminal + ``` + $ cat proxysql_do + #!/bin/bash + echo "my pid is $$" + sleep 120; + ``` + + `pgrep proxysql` will return the pid of `proxysql_do` and also all other proxysql processes running on the host: + ``` + $ ./proxysql_do + my pid is 15998 + ``` + while in another terminal: + ``` + $ pgrep proxysql + 6565 + 6566 + 15998 + $ pgrep -x proxysql + 6565 + 6566 + ``` + +commit b4b6bad1b0cdac9d6dea89882fe3798b09db8474 +Author: René Cannaò +Date: Fri Aug 3 19:47:18 2018 +0200 + + Set DSS state when running query + + This prevent proxysql from hanging when sending query to server is slow + +commit a41693dfc56f246297f823ddaa2ee5a481fb1837 +Author: René Cannaò +Date: Tue Jul 31 18:53:05 2018 +0200 + + Do not decrease count of used connection when connection was rejected #1626 + +commit 2fc61b9fd9c81289bb598273662be64814381f54 +Author: René Cannaò +Date: Sat Jul 28 16:49:37 2018 +0200 + + Admin to reply to SELECT @@global.read_only #1622 + +commit 496ac198cf097bf5ddf643ec3f08544afebb993a +Author: Steven Hartland +Date: Sun Jul 15 21:45:29 2018 +0100 + + Fixed STMT_SEND_LONG_DATA processing + + Fixed STMT_SEND_LONG_DATA processing which was incorrectly reading data from the STMT_EXECUTE packet, causing corruption of any subsequent parameters. + + Prior to this it was only safe to use STMT_SEND_LONG_DATA for the last parameter of the statement. + + Also: + * Corrected some comment indentation. + + Fixes: #1283 + +commit 32ef3451e99e5401a4003fb5e4e52c165a152b58 +Author: René Cannaò +Date: Sun Jul 15 19:03:01 2018 +0200 + + Handled cases in which dbname in HandshakeResponse41 is not null terminated + +commit 33bb5a95fa918069f990aefd475d3f61f888054d +Author: René Cannaò +Date: Sat Jul 14 14:30:59 2018 +0200 + + If a backend generates errors while running queries, implement the same logic of errors during connections. + + For example, if backend returns one of these 2: + - WSREP has not yet prepared node for application use + - Server shutdown in progress + + Related to #1605 + +commit c1cb47a1a7369c5ffca80edfb062bfe617612aa9 +Author: Nick Vyzas +Date: Thu Jul 5 21:05:02 2018 +0300 + + Update README.md + +commit 3d6741b23cbf5768380e0c2c5c38937dd8b32d89 +Author: Nick Vyzas +Date: Thu Jul 5 21:01:56 2018 +0300 + + Update README.md + +commit 88fdec89a828589c1b3c93f4d112fcda945cb290 +Author: René Cannaò +Date: Sat Jul 28 16:22:28 2018 +0200 + + Use SELECT @@global.read_only #1621 + +commit 2dda9ae0d998dfb81d9f2856fb6c4be253c18604 +Author: Nick Vyzas +Date: Sat Jun 16 00:06:39 2018 +0300 + + Update issue_template.md + +commit c308b868542f38f1800de55015011d0e0da457c3 +Author: Nick Vyzas +Date: Fri Jun 15 19:30:25 2018 +0300 + + Update issue_template.md + +commit 0fdd52b46dcef090d4e5a743d4f77fdcdfb71b26 +Author: René Cannaò +Date: Sat Jul 14 14:21:01 2018 +0200 + + Minor memory leak fix + +commit 29fb0d211f4c4fabb6bcb16c53c4564c58e971b9 +Author: René Cannaò +Date: Sat Jul 14 10:51:03 2018 +0200 + + Explicitly add /sbin in $PATH #1597 + +commit 6434e0df31b9f20487fa8538b40ba8bc22aa040e +Merge: 07c1f32b b3419de1 +Author: René Cannaò +Date: Tue Jul 31 15:41:48 2018 +0200 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit 07c1f32bdf8111549a46b33292588ba390a6321e +Author: René Cannaò +Date: Tue Jul 31 15:41:10 2018 +0200 + + Upgrading re2 to 2018-07-01 + +commit b3419de1a0df512c5c032e5b0087af363b942175 +Merge: 06737ab6 5b76f9c1 +Author: René Cannaò +Date: Wed Jul 25 14:37:11 2018 +0200 + + Merge pull request #1617 from steven200796/cache_purge_1013 + + cache purging request on query rule basis, issue #1013 + +commit 5b76f9c1feae4de424ef2b3133d562803b02d335 +Author: Steven Shi +Date: Tue Jul 24 00:43:02 2018 -0400 + + cache purging request on query rule basis, issue #1013 + +commit 06737ab6eeba2c8b178281ec15d530a2e2643fea +Merge: 76fde8a1 fc112b2c +Author: René Cannaò +Date: Wed Jul 4 09:20:43 2018 +0200 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit 76fde8a18bcb8e2f812017e399eb38f0f25003bd +Author: René Cannaò +Date: Wed Jul 4 09:18:52 2018 +0200 + + Updating copyright + +commit fbb9b861fb8e228f94f1ce3e31a18c952e301b25 +Author: René Cannaò +Date: Wed Jul 4 08:08:08 2018 +0200 + + Exit if unable to open config file specified on command line + +commit 314753ee9bc8522e90094e0b70748938f5e856ae +Author: Nick Vyzas +Date: Mon Jul 2 14:09:40 2018 +0300 + + Fix to persist mysql_group_replication_hostgroups + +commit fc112b2cd1fe00e654c4684413b6a0250548a276 +Author: Nick Vyzas +Date: Thu Jun 28 13:32:33 2018 +0300 + + Adding disclaimer to proxysql.cnf + + https://github.com/sysown/proxysql/issues/482 + +commit c44ae0e93f61518306bade96523896c8a3ed5bbf +Author: pondix +Date: Thu Jun 28 12:38:45 2018 +0300 + + Adding .gitignore for Eclipse files + +commit e41f959f711ca6b9c394308fff182199c8aa728c +Author: René Cannaò +Date: Wed Jun 27 01:49:52 2018 +0200 + + Reset the value of mmsd->interr before each check + +commit 3e4583cdccd2b15c4d57309d0fb5628babe1a064 +Author: René Cannaò +Date: Thu Jun 21 20:01:50 2018 +0200 + + DELETE FROM mysql_servers_incoming during LOAD TO RUNTIME + +commit 9c62cc749eed40e5e239288b7ab5cd1c785df856 +Author: René Cannaò +Date: Thu Jun 21 17:28:27 2018 +0200 + + Several memory sanitizer + +commit 8756d37bfca69aa072fcd959ad3dff2586ecdb2e +Author: René Cannaò +Date: Thu Jun 21 16:17:28 2018 +0200 + + Galera: try to bring a node online if there are no writers + +commit 77f7c4891ca30476210992b96f146813a0c85166 +Author: René Cannaò +Date: Thu Jun 21 12:56:58 2018 +0200 + + Galera: do not try to resume nodes with wsrep_reject_queries==true + +commit f795b1644566d9a9c29af767f0086509aaafd6cc +Author: René Cannaò +Date: Thu Jun 21 12:30:23 2018 +0200 + + Galera: removed wrong check that prevents converge + +commit 78c97ec579e1c569b8ab91f2c0f0cf20635ad370 +Author: René Cannaò +Date: Thu Jun 21 10:29:58 2018 +0200 + + Do not reset connections for error 1047 and 1053 + +commit 179358960532e5ec5cdb1b5594a7971ee8b9db6f +Author: René Cannaò +Date: Wed Jun 20 15:19:02 2018 +0200 + + Better handling of connect_timeout_server_max + +commit 80957830880a25ed39e6690fabcc91fef2098764 +Author: René Cannaò +Date: Wed Jun 20 15:17:52 2018 +0200 + + Fix bug introduced in 2.0 about CHANGE_USER + +commit 0bc9933219a56a44b801ad01a6ea3d2a45b4bdbb +Author: René Cannaò +Date: Tue Jun 19 19:17:42 2018 +0200 + + Better handling of bug #1386 + +commit 11caed7d7a5b5080239f11c17b9985dd6b283c39 +Author: René Cannaò +Date: Tue Jun 19 18:58:15 2018 +0200 + + Galera: do not convert when updating writers if leads to no changes + +commit 466e8b112fcac7c200c895a09ba2e3929b987fae +Author: René Cannaò +Date: Tue Jun 19 13:45:25 2018 +0200 + + Fix for bug #1386 + + The new definition for replace_pattern is: + replace_pattern VARCHAR CHECK(match_pattern IS NOT NULL) + +commit 9fe0b482eda33d79e24766900edd1975794a021c +Author: René Cannaò +Date: Fri Jun 15 20:23:20 2018 +0200 + + Set maximum weight to 10M #1224 + + Also some code formatting clean-up + +commit 776aa0c99df09808f36a7e06ab386f9a0f470b48 +Author: René Cannaò +Date: Fri Jun 15 19:11:41 2018 +0200 + + Fixed a bug in computing poll_timeout_bool + +commit a03604d555509c343ac6bd2905d5f304d7e28f1d +Author: René Cannaò +Date: Thu Jun 14 20:20:24 2018 +0200 + + Prevent a loop in GTID reader + +commit 291becdb20032ca3691799ccd2c856a945bb5880 +Author: René Cannaò +Date: Thu Jun 14 20:01:22 2018 +0200 + + Galera: force converge if max_writers is exceeded + +commit 26065f30baa9e4e65a4881d5f6e6d7138eef8ad2 +Author: René Cannaò +Date: Thu Jun 14 09:46:26 2018 +0200 + + Fixing bugs from previous commit + +commit e5cfc2570131f83197a885588af03b8918321a22 +Author: René Cannaò +Date: Thu Jun 14 08:58:23 2018 +0200 + + Prevent loading new Galera configuration if leading to a no-op + + This is to prevent cases in which only one node is left, but from its status it should be offline. + ProxySQL would normally set it offline and then back online. + This commit prevents it to change status twice. + +commit 1480ceadf381eb8dee3688478a0b90facac91e0e +Author: René Cannaò +Date: Thu Jun 14 08:08:20 2018 +0200 + + Adding some minor optimizations + +commit 0788dd6468d79683bacc67cedfaf471b63f1829f +Author: René Cannaò +Date: Thu Jun 14 06:11:12 2018 +0200 + + Removing unnecessary checks in MySQL_Thread::run() + +commit b1eef9950b4a8cd59313b82c52e6a07243967857 +Author: René Cannaò +Date: Tue Jun 12 17:50:52 2018 +0200 + + Wrong number of arguments in converge_galera_config() + +commit 7474a64df15aa944a948707f283fa2b59b505bc8 +Author: René Cannaò +Date: Tue Jun 12 14:45:30 2018 +0200 + + Galera: do not set node offline only if wsrep_sst_donor_rejects_queries=true + +commit 8c0eb73d51b00fa72b241298a2b085f9d6b38a5f +Merge: dd0981bf 553544d4 +Author: René Cannaò +Date: Mon Jun 11 19:02:52 2018 +1000 + + Merge pull request #1543 from sysown/v2_149-commits + + Merging commits from 1.4.9 + +commit dd0981bf9507797fc781ca6d1d313838c24aee12 +Author: yuta-oxo <13583684+yuta-oxo@users.noreply.github.com> +Date: Mon Jun 11 12:58:26 2018 +0900 + + Fix memory leaks + +commit 7db8f24b8b4ce03b2e379d20d71b8760ff50a09c +Author: René Cannaò +Date: Mon Jun 11 08:51:36 2018 +0200 + + For Galera cluster, try to find the most appropriate node if none seems healthy + +commit ce5f0d5bfbb0299066933f1c6673a8439a094370 +Author: René Cannaò +Date: Sun Jun 10 18:14:58 2018 +0200 + + Removing 2 compiler warnings + +commit 45a136a88bd9819861c3bc3e2aa35d14ee799bdd +Author: René Cannaò +Date: Sun Jun 10 18:12:09 2018 +0200 + + Fix bug #1536 + +commit 9038e6a7c951751973c33049534a008063bdc4b5 +Author: René Cannaò +Date: Sat Jun 9 18:06:16 2018 +0200 + + Fix bug #1473 + +commit 3ce3abd1cf9a152a80f68dfb70b447878b552a92 +Author: René Cannaò +Date: Sun Mar 18 03:31:40 2018 +0100 + + Try to send LAST_INSERT_ID to backend #1421 + +commit aaabb4beaa9269d8039e9c97cbcb6eaa8bc76777 +Author: René Cannaò +Date: Sat Jun 9 17:36:06 2018 +0200 + + Automatically increase RLIMIT_NOFILE #1490 + +commit ab77b835b57357278e3977816e85970bea2db830 +Author: René Cannaò +Date: Sat Jun 9 17:09:59 2018 +0200 + + Improving fast_forward code, big performance boost + +commit 60d7f7e92a0be034b94d2861e2c532ceb51b80e8 +Merge: acf49f80 988c2241 +Author: René Cannaò +Date: Thu Jun 7 15:43:58 2018 +0200 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit acf49f80b8c9d11738c875c05b3352ad9d77b5ab +Author: René Cannaò +Date: Thu Jun 7 15:42:51 2018 +0200 + + Fix a possible crash during backend shutdown + + This behavior happens only on debug build, yet is a real bug + +commit 553544d412b0fab4dcc156ae8f5237b2b553aac9 +Author: René Cannaò +Date: Wed May 23 06:48:05 2018 +0200 + + Better handling of SET statements from mysqldump + +commit df553136e335ab318dd4693ce7c62fc2268a4f53 +Author: Dominic Tubach +Date: Mon May 21 18:12:09 2018 +0200 + + Thread: Set m_running to 0 on successful join + +commit 6a20d84a2b4e62d115ed74463eca0c171e3dcb14 +Author: Albert Vernon +Date: Thu May 17 12:56:33 2018 -0400 + + Split CentOS instructions between older and newer + +commit 9081a8eb2a2bbdc6612ace047066871a2ae54106 +Author: Nick Vyzas +Date: Thu May 17 16:34:46 2018 +0300 + + Added fix for mysqldump error in reported in https://github.com/sysown/proxysql/issues/1382 + +commit 6707711cc8219d89c023c3dd8f8b98b4a28511b8 +Author: Albert Vernon +Date: Wed May 16 15:49:22 2018 -0400 + + Grammar fix + +commit b99bee76b8dd77e367e5c7d0e155b98ba28e1fe0 +Author: Albert Vernon +Date: Wed May 16 15:30:22 2018 -0400 + + Use correct package for g++ with RHEL and CentOS + + As of CentOS 7.4 and Fedora 28, the correct package name to install `g++` is `gcc-c++`. + +commit f3feddb3020952a22219c0953d12fa2f35cef5a6 +Author: Hiroaki Nito +Date: Tue May 8 11:42:12 2018 +0900 + + Prevent duplicate execution of proxysql_galera_checker.sh + +commit 0bafca7212178edc6fc42e4178a46d6d6ab07e6c +Author: René Cannaò +Date: Sat Apr 28 10:47:33 2018 +0200 + + Fix bug #1472 + + `enforce_autocommit_on_reads` should apply only when changing autocommit from 1 to 0 + +commit e13ba850dd4063c3319796e7775dd16215e8033a +Author: Adam Stanton +Date: Tue Apr 24 16:08:30 2018 -0700 + + Add variable client_multi_statements to address #1074 + + See comments in Github issue. Once applied, this change + allows the user to toggle the 'client_multi_statements' + flag as a global variable. + +commit f84bc09fc7d9397196158174f26e9eb90259a3de +Author: Aurélien Minet +Date: Tue Apr 24 15:45:09 2018 +0200 + + support load mysql_group_replication_hostgroups from the config file (#1050), sample config file update + +commit a7c7b2320956dfea1d580f84877291014a7ae9f2 +Author: cjwright83 +Date: Thu Apr 19 12:54:45 2018 +0100 + + amend to allow compilation to work on Darwin + +commit 988c2241d6cd42328ad179400ad553819f080036 +Merge: 3d049761 54c9eb6d +Author: Nick Vyzas +Date: Thu Jun 7 13:48:53 2018 +0300 + + Merge pull request #1495 from pondix/v2.0.0 + + Merging changes from v1.4.9 to 2.0.0 + +commit 54c9eb6db0028da2732dfb8792dd7892045bcf9b +Merge: 4d3e0188 3d049761 +Author: Nick Vyzas +Date: Thu Jun 7 13:48:05 2018 +0300 + + Merge branch 'v2.0.0' into v2.0.0 + +commit 3d0497616b515b76e0c8f67fb5502838e3d60796 +Author: René Cannaò +Date: Thu Jun 7 11:48:15 2018 +0200 + + Galera node was erroneously set as write when wsrep_reject_queries=true + +commit 8d49f9d047bece8adefd9f3f5ceee5fcfad8f86a +Merge: 36db9fe2 ff8eef7c +Author: René Cannaò +Date: Thu Jun 7 11:20:05 2018 +0200 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit 36db9fe20ddf676d408bf53564b2dbba5ef650bd +Author: René Cannaò +Date: Thu Jun 7 11:18:49 2018 +0200 + + Fix for bug #1541 + +commit ff8eef7c7a404d2dc65f56820ec412cd9811ec67 +Merge: 1bd36b8d 5a0f9ced +Author: René Cannaò +Date: Thu Jun 7 16:54:21 2018 +1000 + + Merge pull request #1525 from sysown/v2_1511 + + Fixes crash on shutdown when connection is null + +commit 1bd36b8d8ff3515fe53808ae2d112ade1441e2ca +Author: René Cannaò +Date: Wed Jun 6 19:49:13 2018 +0200 + + Do not dump on error log runtime mysql servers tables when running queries against runtime_mysql_servers + + The same applies also for: + - runtime_mysql_replication_hostgroups + - runtime_mysql_group_replication_hostgroups + - runtime_mysql_galera_hostgroups + + Close #1435 and #1436 + +commit f4e328196417a86c487ee336cf37a6540e286685 +Author: René Cannaò +Date: Wed Jun 6 19:01:14 2018 +0200 + + Typo on disable replication lag for offline nodes + +commit c57a6c1ec80153e8358fa9a45145063a94ae2108 +Author: René Cannaò +Date: Wed Jun 6 18:59:36 2018 +0200 + + Disable monitor for node not responding to ping also for Galera and Group Replication checks + +commit efb716b04815305e43f41220de8eaf2d216a38b7 +Author: René Cannaò +Date: Sat Mar 17 10:28:34 2018 +0100 + + Disable monitoring of servers not responding to ping + + This commit also prevents shunned nodes to come back online if they are missing pings. Related to #1416 + Because it reduces the number of checks, it may also be relevant to #1417 + +commit 2461b837e7217d0228621f109e10970d26599c37 +Author: René Cannaò +Date: Wed Jun 6 14:49:11 2018 +0200 + + Missing argument in previous commit + +commit be3d1600faf06e894e8c3196b6f13aa55afed4f6 +Author: René Cannaò +Date: Wed Jun 6 13:24:19 2018 +0200 + + Evaluate writer_is_also_reader from within converge_galera_config() in case if only one node exists + +commit d8f0ace80cd2e9bb5f56cb3582f755e141614e4b +Author: René Cannaò +Date: Wed Jun 6 11:50:37 2018 +0200 + + Missing return in galera_find_last_node() + +commit 6599473ee3f9c672a25b571c60360c490a19c2c4 +Author: René Cannaò +Date: Wed Jun 6 10:26:34 2018 +0200 + + Continue monitoring Galera nodes after going offline + +commit f7f7633cc3a4a3bd3eb0dcdde8f925f105200cc7 +Author: René Cannaò +Date: Wed Jun 6 10:12:37 2018 +0200 + + Set Galera node offline for wsrep_desync==true or wsrep_local_state!=4 + +commit a5b83d309dca69104b9176e155c5051f85ceb6a3 +Merge: ff523ddf 1e9a11e9 +Author: René Cannaò +Date: Wed Jun 6 09:21:19 2018 +0200 + + Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0 + +commit ff523ddf928f5f737aafeba8181b0874847c2afb +Author: René Cannaò +Date: Wed Jun 6 09:19:53 2018 +0200 + + Fixed wrong definition in monitor table for Galera + +commit 1e9a11e9a9f5b7b57594c4c06bff6e4f440e8837 +Merge: 86e0ee8f e7a09b84 +Author: Nick Vyzas +Date: Tue Jun 5 17:28:11 2018 +0300 + + Merge pull request #1537 from sysown/v2_1520 + + Adding Ubuntu 18 (Bionic) and Fedora 28 for 2.0.0 + +commit e7a09b84847d51a9b111ec0a200cb1d9f8523f1a +Author: Nick Vyzas +Date: Tue Jun 5 17:22:16 2018 +0300 + + Updating dockerhub to new build repo + +commit b13bc40432eadb905c015523e2e7f9e0945ebfb8 +Author: Nick Vyzas +Date: Tue Jun 5 15:31:10 2018 +0300 + + Updating dockerhub repos + +commit 7506c0ca5f3c2d71b82e7741777ef52e47c9fb9d +Author: Nick Vyzas +Date: Tue Jun 5 15:28:50 2018 +0300 + + Adding legacy Makefile + +commit 6527f3d7a50df4c19092709d1422640bef1ac61a +Author: Nick Vyzas +Date: Tue Jun 5 14:52:27 2018 +0300 + + Adding Fedora 28 to `package` build + +commit 43454c3cf348ab7baa9787bf6e1484bd7c02a9a0 +Author: Nick Vyzas +Date: Tue Jun 5 14:47:31 2018 +0300 + + Fixing c++ version + +commit d3798957f2298aedbda99066f23e1bdd209b25f1 +Author: Nick Vyzas +Date: Tue Jun 5 14:03:40 2018 +0300 + + Adding Ubuntu Bionic and Fedora 28 + - Includes new package building process with docker-compose + +commit 86e0ee8f26c7681d973746b14363398a4774e68c +Author: René Cannaò +Date: Tue Jun 5 12:25:51 2018 +0200 + + Cleanup of libssl and libev with make cleanall + +commit 38649ae158896f88d2bb530f0775cddf20db1aef +Merge: b63df5af 353d2a49 +Author: René Cannaò +Date: Tue Jun 5 11:41:39 2018 +0200 + + Merge branch 'v2.0.0-GaleraAdv' into v2.0.0 + +commit 353d2a49a5c419afdceeba3626380b66f44d0c8f +Author: René Cannaò +Date: Tue Jun 5 11:41:09 2018 +0200 + + Try to use the last node in a Galera Cluster + +commit 18ac68dbb0922d9f63fd1125b8533a6c11ed3fc1 +Author: René Cannaò +Date: Mon Jun 4 18:44:24 2018 +0200 + + Fixed typo s/Group Replication/Galera/ + +commit b63df5aff28c494986b2e3201ba12f053214b7b2 +Author: René Cannaò +Date: Wed May 30 09:40:14 2018 +0200 + + Fix bug introduce in 6eeeb5c + +commit a5a0d0edecc821f5962cd6b04b90c06531ebde60 +Author: René Cannaò +Date: Tue May 29 18:19:49 2018 +0200 + + Improving handling of Galera Cluster + +commit 21affa068f60b9b89f6b1451e575741e87e9f357 +Author: René Cannaò +Date: Sat May 26 14:35:37 2018 +0200 + + Improve the performance of MySQL_Thread::refresh_variables() + + On a commodity hardware, performance improved from 25us to 7us + + Performance can be improved more if replacing legacy algorithm of searching variables by name. + Although the legacy algorithm allow to add plugins in future. + +commit 89d16a1ceb44f6cc80ac69222c034ad57e75e279 +Author: René Cannaò +Date: Sat May 26 13:16:53 2018 +0200 + + Multiple improvements in MySQL Monitor + + Added 10 new metrics + Added 3 new global variables + * monitor_threads_min : minimum number of threads + * monitor_threads_max : maximum number of threads + * monitor_threads_queue_maxsize : maximum numbr of pending checks before starting new threads + +commit 0a875c2a7dfa701b8f31dab0f4f351c26842309e +Author: René Cannaò +Date: Sat May 26 08:56:05 2018 +0200 + + Change stack size for Monitor threads from 64K to 128K + + Changing some error messages into warning and info + +commit 5a0f9cedd7208ad35e7bd4331e14b4bfdf5f2aec +Author: Nick Vyzas +Date: Fri May 18 19:21:22 2018 +0300 + + Adding additional case + +commit b06fd61d4ef77073b30f9fef1088b705f5fb42f7 +Author: Nick Vyzas +Date: Fri May 18 17:22:51 2018 +0300 + + Added sqlstate code + +commit a1a7997bdc8ab0d99a1dfcb24155eca354f038b0 +Author: Nick Vyzas +Date: Fri May 18 15:25:54 2018 +0300 + + Fixes crash on shutdown when connection is null + +commit 87723ed2153b37258636b8e900c3da84aca157b6 +Author: René Cannaò +Date: Fri May 25 11:05:29 2018 +0200 + + Allow to specify errorlog in config file + + It is now possible to specify a new global variable "errorlog" that defines + the path for the error log + + Related to #784 and #1471 + +commit 45e9401bc224a3d73a25bb5a7f4ba5ba2fc5234e +Author: René Cannaò +Date: Thu May 24 17:27:41 2018 +0200 + + Optimize SQL3_Processlist() + + Lock one thread at the time instead of locking all of them at once + + Also removed unnecessary signal_all_threads() + +commit 0b9597b0c8cab10275e0863763f714f71ef03875 +Author: René Cannaò +Date: Thu May 24 17:09:27 2018 +0200 + + Optimize Get_Memory_Stats() + + Lock one thread at the time instead of locking all of them at once + +commit 018e02ea542fff4ed569c7b81b7714ceb086a48c +Author: René Cannaò +Date: Thu May 24 16:11:45 2018 +0200 + + Removing signal_all_threads() from Get_Memory_Stats() + + Threads don't need to signaled + +commit f20a1c79acceff193ca6a741a54f054a08b27f5f +Author: René Cannaò +Date: Thu May 24 16:10:40 2018 +0200 + + Removing reference to spin locks from MySQL_Thread + +commit 6908f491a7c97e37c696f938f8a3c5f28e87b975 +Author: René Cannaò +Date: Thu May 24 14:34:56 2018 +0200 + + Fixed typo + +commit 077971d3873f50e405f78e5ee7dc5e191d7ccca8 +Author: René Cannaò +Date: Wed May 23 07:29:48 2018 +0200 + + Missing parenthesis + +commit fa5ca81ff641c9e15044fc1a03629c003097d668 +Author: René Cannaò +Date: Tue May 22 08:40:02 2018 +0200 + + Enable backtrace only on glibc #654 + + musl doesn't support backtrace + +commit 4c35682ec0b8aedbba5febad0a792b85ba67b56e +Author: Dominic Tubach +Date: Mon May 21 18:12:45 2018 +0200 + + Thread: Check for m_running == 1 only once in destructor + +commit 3a4f11fe7575d668bf03be117a052a258737b3d4 +Author: René Cannaò +Date: Sun May 20 16:55:52 2018 +0200 + + Prevent infinite loop in case of backend shutdown + +commit 5221d913669dc60d0b55359a55d8ce8bc57412cf +Author: René Cannaò +Date: Fri May 18 19:19:42 2018 +0200 + + Better error handling in Monitor module + +commit 601f9b08628f7998b86b9a4980c82827063655d0 +Author: René Cannaò +Date: Thu May 17 18:50:08 2018 +0200 + + Second commit to track MySQL errors + +commit f13e0842b05059f024bd70de9fc791edcb26df69 +Merge: 0df72748 60e3b030 +Author: René Cannaò +Date: Wed May 16 02:08:52 2018 +1000 + + Merge pull request #1499 from sysown/v2_1496 + + Added all session status values v2.0.0 + +commit 0df72748e64a0618e487ab1e988990fcd57062a0 +Merge: ea706f3b 2fd9407b +Author: René Cannaò +Date: Wed May 16 02:08:14 2018 +1000 + + Merge pull request #1502 from sysown/v2_1491 + + Added default_schema to checksum criteria 2.0.0 + +commit ea706f3b0bb090e33dfa8b0ec27b640b11a19304 +Author: René Cannaò +Date: Tue May 15 17:50:16 2018 +0200 + + Fix bug #1503 + +commit 5d0d3612b05cd73db404df105d96a499ec264817 +Author: René Cannaò +Date: Tue May 15 11:44:27 2018 +0200 + + Fix bug #1507 + +commit 083319ed7eb5918d9ef880d0ab029f5d93d4caa5 +Author: René Cannaò +Date: Fri May 11 15:28:53 2018 +0200 + + First commit to track MySQL errors + +commit 2fd9407b9530e2a1dc941c59ac01da6661c8c3bc +Author: Nick Vyzas +Date: Thu May 10 17:24:53 2018 +0300 + + Added default_schema to checksum criteria 2.0.0 + +commit 60e3b030d41fc6a85403bd04b0e727e31d522f42 +Author: Nick Vyzas +Date: Wed May 9 18:33:00 2018 +0300 + + Added all session status values to display in processlist command https://github.com/sysown/proxysql/issues/1496 + +commit 4d3e0188eb04bad785702b7f5a2877b1d8d9080d +Author: René Cannaò +Date: Mon Apr 30 15:25:15 2018 +0200 + + Combine multiple packets in larger buffers for resultsets from QC #1482 + +commit 6d5b5c7f296478bf61d5569203e6c3511beaa25d +Author: René Cannaò +Date: Sat Apr 28 10:47:33 2018 +0200 + + Fix bug #1472 + + `enforce_autocommit_on_reads` should apply only when changing autocommit from 1 to 0 + +commit e0e561cee781cf8968ada9c54364c29506df45b7 +Author: René Cannaò +Date: Wed Apr 25 13:39:29 2018 +0200 + + Fix bug #1063 + + Also handling errors >= 3000 + +commit e370e1781dcebaf4f00918fbb08b375334e2c6dd +Author: Adam Stanton +Date: Tue Apr 24 16:08:30 2018 -0700 + + Add variable client_multi_statements to address #1074 + + See comments in Github issue. Once applied, this change + allows the user to toggle the 'client_multi_statements' + flag as a global variable. + +commit 689ab0c294e754ae176bb91ef1ba50830902c361 +Author: Aurélien Minet +Date: Tue Apr 24 15:45:09 2018 +0200 + + support load mysql_group_replication_hostgroups from the config file (#1050), sample config file update + +commit afdd6023633987bbc9232fa6378e8340ee399075 +Author: cjwright83 +Date: Thu Apr 19 12:54:45 2018 +0100 + + amend to allow compilation to work on Darwin + Conflicts: + src/Makefile + +commit a92159a331b5d559e544c5a9b2bd2860cbf8d213 +Author: René Cannaò +Date: Mon Apr 30 15:25:15 2018 +0200 + + Combine multiple packets in larger buffers for resultsets from QC #1482 + +commit 0029f84f8884bc6da6003735d088ed84a0d70f28 +Author: René Cannaò +Date: Mon Apr 30 05:53:58 2018 +0200 + + Revert "Splitting Thread::Run ito multiple functions" + + This reverts commit e95d1cd0decdbaea91a4028f701ffb4921289c5f. + +commit 27d58d867edbc2a7fd8250656b1a18504d02f261 +Author: René Cannaò +Date: Mon Apr 30 05:53:45 2018 +0200 + + Revert "Fixed incorrect computed timeout from previous commit" + + This reverts commit 6494c828c1ba66b7e1e212e1ddfc0ec47b5c46df. + +commit ba40804c1a226053508db1650d26749902d7f05f +Author: René Cannaò +Date: Sun Apr 29 16:17:02 2018 +0200 + + Enforce mysql_users.use_ssl + + If mysql_users.use_ssl is enabled, user must connect with SSL + + Also fixed a bug introduced in e95d1cd0 for testing purpose + +commit 1c8c08fe9e3f7af804132e821f919b67a7bf74f5 +Author: René Cannaò +Date: Sun Apr 29 14:17:58 2018 +0200 + + Fixing typo Group Replication => Galera + +commit 62d8407cdbdf91870d9b74f7404c415af8d5b402 +Merge: 2b280da4 7b11967f +Author: René Cannaò +Date: Sun Apr 29 14:14:08 2018 +0200 + + Merge branch 'v2.0-Galera' into v2.0.0 + +commit 2b280da402c5624f18ba756291dbae733cdffc17 (tag: 2.0.0) +Author: René Cannaò +Date: Sun Apr 29 10:58:03 2018 +0200 + + Updating docker files to 2.0.0 + +commit 53fa9dc13c7792b97ee61270d77eba65d057448e +Author: René Cannaò +Date: Sun Apr 29 10:50:47 2018 +0200 + + Version 2.0.0 + +commit a7e43c4f81be1e48b233ceb71a0247b0ded9aee2 +Author: René Cannaò +Date: Sun Apr 29 10:50:14 2018 +0200 + + Add packaging for Debian9.4 and Fedora27 + +commit 7e5b19e58d8ac0a5427fd186d70514cc95a26243 +Merge: 780f0230 6494c828 +Author: René Cannaò +Date: Sun Apr 29 10:24:52 2018 +0200 + + Merge branch 'v2.0-lab-ThreadRunSplit' into v2.0-lab + +commit 780f0230334784349817da860eb9c198b4279660 +Author: René Cannaò +Date: Sun Apr 29 03:18:04 2018 +0200 + + SSL: switch from EVP_md5 to EVP_sha1 + +commit b58bfacae2fa51df50058997dac52859941971a1 +Author: René Cannaò +Date: Sun Apr 29 02:40:59 2018 +0200 + + Second commint to embed openssl + +commit be77da766be42d6804770bc047d9b9b1b755d50b +Author: René Cannaò +Date: Sun Apr 29 00:29:40 2018 +0200 + + Adding embedded OpenSSL 1.1.0 + +commit 13601eeaa6b54ab675325635ef47ecb91fcab844 +Merge: 42a60b70 358718d1 +Author: René Cannaò +Date: Sat Apr 28 15:38:02 2018 +1000 + + Merge pull request #1484 from Etison/v2.0-lab + + Add support for check_type to proxysql.cnf for mysql_replication_host_groups + +commit 358718d1ef06c71ee630048d519d66d2c3ccefea +Author: Adam McManus +Date: Fri Apr 27 13:04:43 2018 -0500 + + Add support for check_type to proxysql.cnf for mysql_replication_hostgroups + +commit 42a60b70f56d60aee92afb83aa1712fb744dc0ec +Author: René Cannaò +Date: Wed Apr 25 13:39:29 2018 +0200 + + Fix bug #1063 + + Also handling errors >= 3000 + +commit bec2400bf73928d3e658bec8f82f06eef06e76bb +Merge: 528a3477 b35665a7 +Author: René Cannaò +Date: Wed Apr 25 03:37:16 2018 -0700 + + Merge pull request #1464 from pondix/v2.0-lab + + Applying 1.4.8 fixes to 2.0-lab + +commit b35665a727f263e56fb8ed878a9189df65e1c19c +Merge: 0e9d0550 528a3477 +Author: Nick Vyzas +Date: Wed Apr 25 13:28:50 2018 +0300 + + Merge branch 'v2.0-lab' into v2.0-lab + +commit 528a3477ed7d4064a6c1a0367c85f86725eb0a8a +Author: René Cannaò +Date: Tue Apr 17 13:29:05 2018 +0200 + + Allow hostname for GTID + +commit 7b11967fe304e52e74cd57bfdbff6d4a2a2a4439 +Author: René Cannaò +Date: Tue Apr 17 09:48:50 2018 +0200 + + Change query check for Galera + +commit df651b45f3c47fd25642b7647ac39025601d9cbd +Author: René Cannaò +Date: Tue Apr 17 09:44:29 2018 +0200 + + Fix typo + +commit 9175e5f426830b6530bddb4514d47b8365bd94a6 +Author: René Cannaò +Date: Tue Apr 17 09:44:29 2018 +0200 + + Fix typo + +commit 9f98174e5c1bbd0e128f0ef40728b226a110ddc1 +Author: René Cannaò +Date: Tue Apr 17 09:25:10 2018 +0200 + + Remove incorrect delete of resultset from Admin + +commit ffffd1324e61a1bfbcf4532009a7efb3e43a61f9 +Author: René Cannaò +Date: Tue Apr 17 09:18:15 2018 +0200 + + Added missing mutex initialization for Galera + +commit 1cb13309dbef53975c35bdc935146ef3d6f820b3 +Author: René Cannaò +Date: Mon Apr 16 16:26:59 2018 +0200 + + Adding Galera check + +commit 6494c828c1ba66b7e1e212e1ddfc0ec47b5c46df +Author: René Cannaò +Date: Sun Apr 15 15:26:36 2018 +0200 + + Fixed incorrect computed timeout from previous commit + +commit e95d1cd0decdbaea91a4028f701ffb4921289c5f +Author: René Cannaò +Date: Sat Apr 14 07:28:17 2018 +0200 + + Splitting Thread::Run ito multiple functions + + This allowed also to identify few bottleneck and rewrite some code + +commit bdca8ee6bbc6e03ca3ba2c349bedb61946dce38f +Author: René Cannaò +Date: Fri Apr 13 16:11:53 2018 +0200 + + Adding PEM certificates in gitignore + +commit 133a690e8d6f52bb70daf3287a8850162b01977a +Author: René Cannaò +Date: Fri Apr 13 16:11:20 2018 +0200 + + Reduce memory allocation + +commit 0e9d055000427381a5159060fc363ed849a0a6a7 +Author: René Cannaò +Date: Fri Apr 6 09:25:35 2018 +0200 + + Disable brotli from curl #1458 + +commit c15ee4979722acf3f8ba8eb8b054bd89371a90a8 +Author: René Cannaò +Date: Fri Apr 6 08:00:33 2018 +0200 + + Add support for wildcard in mysql_query_rules.client_addr #1450 + + Input validation: + - client_addr not longer than INET6_ADDRSTRLEN + - % allowed only at the end of client_addr + + Query rule itself remembers if there is a wildcard or not. + If there is a wildcard compares string till the wildcard. + If client_addr=='%' , it is a match all. + +commit 405f8363b0b1fe1c991bc73a473906f8045bf936 +Author: Nikolaos Vyzas +Date: Wed Apr 4 18:43:30 2018 +0300 + + Fix to return OK packet for SET WAIT_TIMEOUT + +commit 993ef216276e9b51e72f097f6b6233cd07bdd783 +Author: Daniël van Eeden +Date: Mon Apr 2 18:46:12 2018 +0200 + + Disable libssh2 support in curl to fix building on Fedora 27 + + Without this building failed with undefined references to libssh2: + ``` + g++ -o proxysql obj/main.o obj/proxysql_global.o ../lib/libproxysql.a -std=c++11 -I../include -I../deps/jemalloc/jemalloc/include/jemalloc -I../deps/mariadb-client-library/mariadb_client/include -I../deps/libconfig/libconfig-1.4.9/lib -I../deps/libdaemon/libdaemon -I../deps/sqlite3/sqlite3 -I../deps/clickhouse-cpp/clickhouse-cpp -I../deps/libmicrohttpd/libmicrohttpd/src/include -I../deps/curl/curl//include -O2 -ggdb -L../lib -L../deps/jemalloc/jemalloc/lib -L../deps/libconfig/libconfig-1.4.9/lib/.libs -L../deps/re2/re2/obj -L../deps/mariadb-client-library/mariadb_client/libmariadb -L../deps/libdaemon/libdaemon/libdaemon/.libs -L../deps/pcre/pcre/.libs -L../deps/libmicrohttpd/libmicrohttpd/src/microhttpd/.libs -L../deps/curl/curl//lib/.libs -Wl,--export-dynamic -Wl,-Bstatic -lconfig -lproxysql -ldaemon -ljemalloc -lconfig++ -lre2 -lpcrecpp -lpcre -lmariadbclient -lmicrohttpd -lcurl -Wl,-Bdynamic -lpthread -lm -lz -lrt -lcrypto -lssl -ldl + ../deps/curl/curl//lib/.libs/libcurl.a(libcurl_la-easy.o): In function `global_init': + easy.c:(.text+0x7d): undefined reference to `libssh2_init' + ../deps/curl/curl//lib/.libs/libcurl.a(libcurl_la-easy.o): In function `curl_global_cleanup': + easy.c:(.text+0x2c8): undefined reference to `libssh2_exit' + ``` + + I don't think libssh2 support is needed and this fixes the build. + The other option would be to add `-lssh2`. + +commit e3603de5d82f841a5fe9ef0075302ef99ffdf842 +Author: René Cannaò +Date: Mon Apr 2 17:03:22 2018 +0200 + + Remember if the current connection has an unknown transaction status + + Further improvement on previous commit + +commit 7b3757a273f82228a88bcdac65fb09720aea4159 +Author: René Cannaò +Date: Mon Apr 2 16:15:07 2018 +0200 + + Remember if the current connection has an unknown transaction status + + The fix for bug #1038 was to not return a connection to the connection pool if it has an error. + Although this is correct, it also has the side effect that connections coming + from connection pool and failing during the first query because the connection + was already broken, would be considered as possibly to run a transaction. + That is incorrect. + + Now at connection level it is tracked if the transaction status is known or not. + +commit f13c4462ee1a1b56a3d8bdc6fd73b79e8d234ce2 +Author: René Cannaò +Date: Mon Apr 2 05:49:41 2018 +0200 + + Missing flag SERVER_STATUS_NO_BACKSLASH_ESCAPES for SQLite3 backends #1446 + +commit c5040ab8546b8291903e6840d9b33ead9da8f7aa +Author: René Cannaò +Date: Mon Apr 2 05:01:48 2018 +0200 + + Monitor: do not consider unhealthy ProxySQL's as backends if monitor is unable to login + +commit 6411c94240b4a756c59df57d9fca87fa7e413a7f +Author: René Cannaò +Date: Tue Apr 10 18:06:58 2018 +0200 + + Fix async call for SSL backend. + + Solves a severe performance issue + +commit ce815a5a726464984f674d94f10b3f3837787eea +Author: René Cannaò +Date: Mon Apr 9 16:38:32 2018 +0200 + + Initial commit to natively support Galera + +commit 2e2f2278ea8d30b960fbaa8c99df95d4daa672db +Author: René Cannaò +Date: Fri Apr 6 19:12:57 2018 +0200 + + Allow using file-based keys and certificates for frontend SSL connections #1437 + + Files are all located in datadir: + - proxysql-key.pem + - proxysql-ca.pem + - proxysql-cert.pem + + If all 3 files exist, ProxySQL will load them. + If none of the 3 files, ProxySQL will create them. + If only some of the 3 files are present, ProxySQL will refuse to start. + +commit 5863d9c2f1936564fbdf1279b65c5ad7364f0929 +Author: René Cannaò +Date: Wed Apr 4 12:16:56 2018 +0200 + + Make CLIENT_SSL configurable + +commit 06030f8b851e140a15d88b62bfc65b7048072bcd +Author: René Cannaò +Date: Fri Mar 30 19:58:59 2018 +0200 + + SSL: add support for Diffie-Hellman ciphers + +commit b11bdef8075cbb8bb62d26a110aedcefb179f1bf +Author: René Cannaò +Date: Thu Mar 29 17:22:11 2018 +0200 + + HTTP: moving funtions into private + +commit b973e3c666d3802b79d34ec6ce04323b29f82f96 +Author: René Cannaò +Date: Thu Mar 29 15:52:08 2018 +0200 + + Bug fix #1441 + +commit 76cd65013b058a639e21703bfce5c227caf38deb +Author: René Cannaò +Date: Thu Mar 29 15:45:30 2018 +0200 + + SSL optimizations + + - increased key size from 512 bits to 2048 bits + - changed SSL method from TLSv1_server_method to SSLv23_server_method + +commit 1b2fe335c7d799dc467090d2ed73dfa17e9a9bfc +Author: René Cannaò +Date: Thu Mar 29 11:13:32 2018 +0200 + + Workaround for bug CONC-320 + + Support SSL connections to backends, broken in MariaDB Connector C 3.0 + The patch works only for OpenSSL + +commit b584703e93fc648b49af6fd1145bb720078d983b +Author: René Cannaò +Date: Tue Mar 27 18:42:09 2018 +0200 + + If possible, use RAND_bytes to generate randoms + +commit e003dcca72bc88e19c3164f747bffdadeada461f +Author: René Cannaò +Date: Mon Mar 26 18:45:46 2018 +0200 + + Incorrect PS metadata was being erased. Possible fix for #1428 + +commit cb2fdc30a2847c5328112669d2c8a80d2fb0ab23 +Merge: 6dab42bf c4c2c3f3 +Author: René Cannaò +Date: Tue Mar 27 01:29:22 2018 +1100 + + Merge pull request #1434 from sysown/rwlock_patch_2 + + Increasing RW Lock in PROCESSING_STMT_PREPARE + +commit c4c2c3f38afa014deff0f865a175c5982e8d9601 +Author: Nick Vyzas +Date: Mon Mar 26 17:28:42 2018 +0300 + + Increasing RW Lock in PROCESSING_STMT_PREPARE + + Same as https://github.com/sysown/proxysql/pull/1433 - applying to branch 2.0-lab manually + +commit 6dab42bf3ac9b48ae29d64ea6431120674a2079d +Author: René Cannaò +Date: Mon Mar 26 02:45:17 2018 +0200 + + Fix related to #1431 specific to version 2.0 + +commit 380523d39225f04feb293fe2eac13eb2743e2e6d +Author: René Cannaò +Date: Mon Mar 26 02:40:15 2018 +0200 + + Several fixed to graceful shutdown if proxysql_stats.db is not writable #1431 + +commit c28d61561bb70890035f9070b3e191e58d7810c7 +Author: René Cannaò +Date: Sun Mar 25 15:55:42 2018 +0200 + + Do not return a connection after STMT_PREPARE with no parameters #1432 + +commit df606f2c70dc705d182addda43062c39a7099caa +Author: René Cannaò +Date: Sun Mar 25 12:46:45 2018 +0200 + + Added mysql variable reset_connection_algorithm + + Variable reset_connection_algorithm could either be: + 1 = algorithm used up too version 1.4 + 2 = algorithm new since ProxySQL 2.0 (now default) + + When reset_connection_algorithm = 2 , MySQL_Thread itself tries to reset connections instead of relying on connections purger HGCU_thread_run() + +commit be7f687a43d9b1ef6b5aadf223610466ff60054f +Author: René Cannaò +Date: Fri Mar 23 15:21:22 2018 +0100 + + Optimize when purging prepared statements + +commit 2bb322db6f8dcdecc697842bba444d82bf6e12bd +Author: René Cannaò +Date: Thu Mar 22 17:31:52 2018 +0100 + + Several fixed in Prepared statements + + * is STMT_PREPARE failed when there is a previous status (maybe STMT_EXECUTE) disconnect the client immediately. Maybe this is related to #1366 , but I can't reproduce it yet + * purge prepared statements is also their server reference counter is 0 + * initialize connections queue for purging connections + +commit c3040acc7495da670f10dc7d8712c8fe4c6b4ec5 +Author: René Cannaò +Date: Tue Mar 20 18:50:23 2018 +0100 + + Export metrics from MyHGM ConnPoll in Web interface + +commit 24cff142e809409b5fab320c79dac136238f04c2 +Author: René Cannaò +Date: Tue Mar 20 17:08:03 2018 +0100 + + Removed debugging leftover + +commit d4997224404ebc9ee8dc42498e10814bbf654b37 +Author: René Cannaò +Date: Tue Mar 20 17:04:40 2018 +0100 + + Include error 2000 as client error as assume the connection is broken + +commit 883f33170dd40f964fb9d83b837f7c62da64445d +Author: René Cannaò +Date: Mon Mar 19 08:33:18 2018 +0100 + + Add support for nulllable columns #1420 + +commit 8b472a6e2149bdd311023c8d6958ee85d525fff8 +Author: René Cannaò +Date: Sun Mar 18 15:19:56 2018 +0100 + + Added error for issue #1410 + +commit eed53d7405a18b486f07bc68c95a8dcc1e5a61ea +Author: René Cannaò +Date: Sun Mar 18 14:41:29 2018 +0100 + + Try to understand if an uncompressed packet is wrongly marked as compressed #1410 + +commit 28b9fc1f333067065786f047d65979e87e6ea9ae +Author: René Cannaò +Date: Tue Mar 20 04:12:14 2018 +0100 + + Bug fix for memory leak in LOAD MYSQL SERVERS TO RUNTIME #1425 + +commit dc8357e89429927978ff86ff75a1f750d5f90413 +Author: René Cannaò +Date: Sat Mar 17 16:07:15 2018 +0100 + + ClickHouse: add support for nullable column #1420 + +commit 1e524bb39d7dc6121afb079d714413bee6205bb8 +Author: René Cannaò +Date: Sat Mar 17 13:10:05 2018 +0100 + + Use the right schema for new connections to ClickHouse #1419 + +commit bfc2d5d3d0f3bcf4aa102103cd0b14e40fa42659 +Author: René Cannaò +Date: Sat Mar 17 15:59:14 2018 +0100 + + Set default schema to "default" #1419 + +commit e949e7a569ac72653a588cf5c354300348666500 +Author: René Cannaò +Date: Wed Mar 7 12:26:49 2018 +0100 + + Try to get from connection pool and connections cache, a connection with the same schemaname + + This is ported from 1.4.7 , and modified to work with GTID support in 2.0 + +commit 13a57285b1e31a008d905971b363da686f80b1ad +Author: René Cannaò +Date: Tue Mar 13 12:10:54 2018 +0100 + + Trigger new routing algorithm only if hash table is not empty + +commit ce7d32421f0c476866994778f4abf7c704984634 +Author: René Cannaò +Date: Tue Mar 13 10:54:30 2018 +0100 + + Reduce the size of delimiter + +commit 97c81b4ef67e2f5061c07cbb441c4e8825a2a132 +Author: René Cannaò +Date: Fri Mar 9 16:59:13 2018 +0100 + + Initialize qr in Query_Processor + +commit b5d8c4d3ba6f24e18b56b8f6e66e88148105f707 +Author: René Cannaò +Date: Fri Mar 9 15:48:22 2018 +0100 + + Added table mysql_query_rules_fast_routing + + This table is responsible for performing routing for very specific use case + scenarios, like having tens of thousands of schemas + +commit 5bf50992ba5e6f2a33dcf06da4aed1c403f7dbbe +Author: René Cannaò +Date: Fri Mar 16 12:51:21 2018 +0100 + + Typo in ALTER TABLE for mysql_servers upgrade + +commit 1f627ec55242b509963d68387fe23202600a67a9 +Author: René Cannaò +Date: Thu Mar 15 15:26:13 2018 +0100 + + Add support for utf8_unicode_ci in 2.0 #1396 + +commit 869a1e81ca406672fc4630f0a0852278f8434d5d +Merge: d92e4c88 c87e18ab +Author: René Cannaò +Date: Tue Mar 13 13:30:50 2018 +0100 + + Merge branch 'v2.0-lab' of https://github.com/sysown/proxysql into v2.0-lab + +commit c87e18ab73cdc90a83591690e6ffe04b2db9a330 +Merge: 289eccc6 ac81c25c +Author: René Cannaò +Date: Tue Mar 13 23:30:14 2018 +1100 + + Merge pull request #1409 from pondix/v2.0-lab + + Merging pre-V2.0 lab commits since fork + +commit d92e4c88d5ddb40121e3447164943d0c0738dfcd +Author: René Cannaò +Date: Thu Mar 8 04:56:32 2018 +0100 + + Added command PROXYSQL COREDUMP + + Still not completed + +commit ac81c25ce26d6e561fbe869d5f52a98e49918dff +Author: René Cannaò +Date: Wed Mar 7 12:26:49 2018 +0100 + + Server disappearing when RO=1 becomes RO=0 + + This issue is similar to #1039 + +commit 57bf90f2959f43e7321257bc5b911c2c59aed1a6 +Author: Nikolaos Vyzas +Date: Wed Mar 7 23:07:25 2018 +0200 + + Removing unneeded files (mariadb-client-library patches) + +commit 233428e28c9aaec1da0eb5a9b4c9e20c07158325 +Author: René Cannaò +Date: Wed Mar 7 13:55:19 2018 +0100 + + Fixed typo + +commit 65b7ab5ee8e63db28cbecf4edbad1ae6d70d0846 +Author: René Cannaò +Date: Wed Mar 7 12:20:36 2018 +0100 + + Added google-coredumper + +commit 7a2e27c3615747e87a37cf540063c1e8df07b5eb +Author: Nikolaos Vyzas +Date: Tue Mar 6 18:55:57 2018 +0200 + + Adding minor conflict resolution fixes + +commit e1652bf7e6cea647dcd495e7f3da48978439d253 +Author: Nikolaos Vyzas +Date: Tue Mar 6 18:11:46 2018 +0200 + + Fixing MHGM header file + +commit f2d3684a499a86edccd6fa5648ea74e309eb2762 +Merge: 5a554a36 289eccc6 +Author: Nikolaos Vyzas +Date: Tue Mar 6 17:44:03 2018 +0200 + + Merge remote-tracking branch 'upstream/v2.0-lab' into v2.0-lab + +commit 5a554a36f61529d2cd3a0c700f5051f6a2ab06ff +Author: René Cannaò +Date: Fri Feb 23 17:19:41 2018 +0100 + + Variable mysql-binlog_reader_connect_retry_msec + + This variable control the retry interval to connect to binlog reader + +commit 6b8a82e3e90370af32ba3a0f79a1e5a828069bd8 +Author: René Cannaò +Date: Fri Feb 23 16:49:38 2018 +0100 + + Added retry mechanism for missing binlog reader + +commit dcee9c8106ed4df38f082b54589d8a0b42aa4b3c +Author: René Cannaò +Date: Wed Feb 21 09:53:47 2018 +0100 + + Error handling for failing writes with SSL + +commit 5f9612c6c0f8d17f815decc6a7cfce8acd4335fc +Author: René Cannaò +Date: Wed Feb 21 08:28:10 2018 +0100 + + Changing QUEUE_T_DEFAULT_SIZE back to 32K + + SSL_read uses records of up to 16KB: + https://wiki.openssl.org/index.php/Manual:SSL_read(3) + + If the read buffer is too small, data is not read correctly + +commit 96f738ec6492ba5a74227a9aa09d40113279d713 +Author: René Cannaò +Date: Wed Feb 21 08:27:19 2018 +0100 + + Incorrect set event to POLLOUT when using SSL + +commit 33007f3fdd024e9eb10c9f5cdb4ef47ec44aa0b2 +Author: René Cannaò +Date: Fri Feb 9 19:10:30 2018 +0100 + + Remove key and cert files + +commit 953352742b454e394b311007f33251c3e8a175e9 +Author: René Cannaò +Date: Fri Feb 9 19:09:53 2018 +0100 + + Do not print SSL key and cert in errorlog + +commit 29baddd409b86fe5025e46e736310a41542f968b +Author: René Cannaò +Date: Fri Feb 9 19:07:35 2018 +0100 + + At startup, generate new SSL key and certificate + + Certificate is self signed + +commit 52a1d8a8d9b1db1995e9e291f5b96f14152c0f72 +Author: René Cannaò +Date: Fri Feb 2 08:51:18 2018 +0100 + + Added experimental (not completed) support for SSL client side + +commit 486e7c41f09017b06c7dfeca9ff2ba674aebdb02 +Author: René Cannaò +Date: Fri Jan 19 15:53:25 2018 +0100 + + 1st commit on SSL client side + +commit 2d1be59bd4c8bd0c4c38ccc9424abc8a5ec22403 +Author: René Cannaò +Date: Thu Feb 1 02:38:09 2018 +0100 + + Add DEFAULT 0 for stats tables + +commit a6291f1693b952af9fab6fb7f9aafc736198f056 +Author: René Cannaò +Date: Tue Jan 30 16:55:50 2018 +0100 + + Further improvement for handling GTID + + Statistics collected aboout GTID queries + Statistics displayed on HTTP server + Count number of GTID events per server + Online upgrade of all mysql_connections tables + Fixed path for libev + +commit 3e59bdef2ac498319ff9d59a08fa0db376cba33e +Author: René Cannaò +Date: Fri Jan 26 16:19:48 2018 +0100 + + Expanding stats_mysql_connection_pool + + Added counters of queries using gtid sync + Added PR #1343 for FR #1207 + +commit 9f3c265fd9975a6deaf95702b54b516003a22cb9 +Author: Nikolaos Vyzas +Date: Tue Mar 6 17:05:50 2018 +0200 + + Resolving conflicts for "Add support for GTID consistent reads" + +commit c61a6d619a5f938c1296a80b4fd81a834c50cacc +Author: Nikolaos Vyzas +Date: Tue Mar 6 17:04:11 2018 +0200 + + Resolving conflicts for "Fixing bug on loading mysql servers to runtime" + +commit 9938ec24b5ec0ebc1c0f1c2306b4be0c61f20ada +Author: Nikolaos Vyzas +Date: Tue Mar 6 17:03:02 2018 +0200 + + Resolved conflicts for "ProxySQL reads GTID information from proxysql_mysqlbinlog" + +commit 333876dc7fa49683277dcef51ceb17a540788b7e +Author: René Cannaò +Date: Sun Jan 14 23:53:31 2018 +0100 + + Link against libev + +commit 4699494e082e0ab408d3ebcc8b842252f5eac73f +Author: René Cannaò +Date: Sun Jan 14 23:38:43 2018 +0100 + + Adding libev + +commit e51cb81a08a4e5ed3113840f5ed261b963dc624e +Author: René Cannaò +Date: Sun Jan 14 23:31:42 2018 +0100 + + Drafting tracking of GTID + +commit 99be80f90ed0ef8aa620d036b925e62035ca1209 +Author: René Cannaò +Date: Mon Jan 8 23:57:11 2018 +0100 + + Update mysql_servers in HostgroupsManager + +commit ddd8f7b67f71b16e7ba1bf184956ed91388fd183 +Author: Nikolaos Vyzas +Date: Tue Mar 6 17:01:29 2018 +0200 + + Resolving conflicts for 'Add gtid_port to mysql_servers' + +commit 23dd75d2abd766b0ff58929dbcc1cc45debbad53 +Author: Nikolaos Vyzas +Date: Tue Mar 6 16:52:33 2018 +0200 + + Resolving conflicts for Clickhouse server patch + +commit 1b7b6f08fde96ebd1631f3cfd4ce11ce3a07cfc9 +Author: Nikolaos Vyzas +Date: Tue Mar 6 16:51:45 2018 +0200 + + Resolving conflict for 2.0 ProxySQL admin migration + +commit bc90f26cafce4c17777b1388e5afd7b6680cf061 +Author: Nikolaos Vyzas +Date: Tue Mar 6 16:50:08 2018 +0200 + + Resolving conflict in ProxySQL Cluster lib + +commit 0dbe94877d7c37be206248b897f2d38319bb5eb3 +Author: René Cannaò +Date: Fri Dec 29 01:07:36 2017 +0100 + + Added SESSION_TRACK_GTIDS in connector-C CONC-302 + +commit 1d927381e9848d03d9336dc25e9434e678fec3b9 +Author: René Cannaò +Date: Thu Dec 28 23:37:20 2017 +0100 + + First attempt to track GTID needed for #1208 + + Putting this on hold, due to https://jira.mariadb.org/browse/CONC-302 + +commit 7228f4e0deed9d6e85887f5757725214d67fb5e9 +Author: Nikolaos Vyzas +Date: Tue Mar 6 16:46:39 2018 +0200 + + Merging changes and resolving conflicts related to MariaDB connector upgrade + +commit 45af204ca687d58c369bde320ebf6fcfcaae4535 +Author: René Cannaò +Date: Thu Dec 28 15:15:41 2017 +0100 + + Fix Makefile for MariaDB Connector C 3.0.2 + +commit 8d5824c37a92bda3249f5a6b848a515ff34e31c9 +Author: René Cannaò +Date: Thu Dec 28 15:05:55 2017 +0100 + + Update Makefile for cleanall + +commit 4e201b67a11684419ce40ab8439cac652787c200 +Author: René Cannaò +Date: Thu Dec 28 15:02:43 2017 +0100 + + Apply patches to mariadb_connector_c_3.0.2 #1126 + +commit 027ca876d9cef7296161d7c159bf0ebae1a926fe +Author: René Cannaò +Date: Thu Dec 28 12:53:50 2017 +0100 + + Added mariadb-connector-c-3.0.2-src + +commit be0843c051a3122cb8eb7955a82213b2494fc00d +Author: René Cannaò +Date: Tue Mar 6 15:23:45 2018 +0100 + + Fix integer overflow on connection_max_age_ms #1393 + +commit b347178348648fbb60af0676874aa7ea582f30e0 +Author: René Cannaò +Date: Tue Mar 6 06:44:26 2018 +0100 + + Added variable monitor_read_only_max_timeout_count #1206 + + It implements a retry mechanism in case read_only checks time out + +commit 79d212e4cf46d33579756abb2efb723a056d4835 +Author: René Cannaò +Date: Wed Feb 28 20:25:03 2018 +0100 + + Update curl for centos + +commit 82031c855c77f6e6b5389358918447f186186c9a +Author: René Cannaò +Date: Tue Feb 27 16:20:05 2018 +0100 + + Update Makefile for 1.4.7 + +commit bdfce24794378cc939a56f1d768c3e10ceae12ba +Author: René Cannaò +Date: Tue Feb 27 16:17:56 2018 +0100 + + Updating docker files for 1.4.7 + +commit fa94e390eec7db47791a51dd7d1fbecf984403ee +Author: René Cannaò +Date: Tue Feb 27 15:49:57 2018 +0100 + + Add support for utf8_unicode_ci #1396 + +commit 42a7679b25f4654f28afe19c316121df4f61582e +Author: René Cannaò +Date: Tue Feb 27 14:01:15 2018 +0100 + + Use monotonic_time for connection creation time #1393 + +commit ec7e9e496419f70e726b876c582e37b295ac6716 +Author: René Cannaò +Date: Tue Feb 27 13:34:40 2018 +0100 + + Reset connection creation time on CHANGE USER #1393 + +commit e33bd7f494b608e1c3e42665b74a2ce941c14a9d +Author: René Cannaò +Date: Sun Feb 25 13:34:07 2018 +0100 + + Add client_flags for future tracking + +commit 289eccc64adfc7ed2b62dc514aa59c6d9256b726 +Merge: 51538731 3f2eb9e3 +Author: René Cannaò +Date: Fri Feb 23 17:27:08 2018 +0100 + + Merge branch 'v2.0-lab' of https://github.com/sysown/proxysql into v2.0-lab + +commit 5153873189879e2d320f63d5923fb3af16c50c69 +Author: René Cannaò +Date: Fri Feb 23 17:19:41 2018 +0100 + + Variable mysql-binlog_reader_connect_retry_msec + + This variable control the retry interval to connect to binlog reader + +commit 9c4d097917ab171e708a981fc70e7a61eacbe8f1 +Author: René Cannaò +Date: Fri Feb 23 16:49:38 2018 +0100 + + Added retry mechanism for missing binlog reader + +commit 64241d0169fcdd53341824a49a5409fb7326b97d +Merge: 0160b723 75c9cf0d +Author: René Cannaò +Date: Wed Feb 21 09:55:19 2018 +0100 + + Merge branch 'v1.4.7' of https://github.com/sysown/proxysql into v1.4.7 + +commit cd44fcf470dc20f0a789eea53bcec2105ad52a9c +Author: René Cannaò +Date: Wed Feb 21 09:53:47 2018 +0100 + + Error handling for failing writes with SSL + +commit 245a80538ae7662f4809633d00c69ca1f0e35e05 +Author: René Cannaò +Date: Wed Feb 21 08:28:10 2018 +0100 + + Changing QUEUE_T_DEFAULT_SIZE back to 32K + + SSL_read uses records of up to 16KB: + https://wiki.openssl.org/index.php/Manual:SSL_read(3) + + If the read buffer is too small, data is not read correctly + +commit 0968b8e16c269ff15c6545a0998add5e49b112e6 +Author: René Cannaò +Date: Wed Feb 21 08:27:19 2018 +0100 + + Incorrect set event to POLLOUT when using SSL + +commit 0160b723de21ef9f544e13f0b61e2c9e686188e8 +Author: René Cannaò +Date: Mon Feb 19 15:11:45 2018 +0100 + + MySQL stats_mysql_global queryable as SELECT @@ #1375 + +commit ef783858a4ebab5402a180f6ce13ce5a9ca2579f +Author: René Cannaò +Date: Mon Feb 19 14:38:35 2018 +0100 + + Handle case #1373 + +commit 3f2eb9e3f385d8a6e24aae02c492235335adac2a +Author: Nick Vyzas +Date: Fri Feb 16 17:42:15 2018 +0200 + + Update README.md + +commit 75c9cf0da904f899c0f0af19e42ef1d4c42e4f4f +Author: Nick Vyzas +Date: Fri Feb 16 17:41:57 2018 +0200 + + Update README.md + +commit 61dab7a0839d0b8ed6430e28cda82c8f6df59e9d +Author: René Cannaò +Date: Fri Feb 9 19:10:30 2018 +0100 + + Remove key and cert files + +commit a449f509782000d8f0f4ec953b9ebdeb63a2b27c +Author: René Cannaò +Date: Fri Feb 9 19:09:53 2018 +0100 + + Do not print SSL key and cert in errorlog + +commit aa71b6ebfad6c0257f1a65c1ca6366e45ffd7b3c +Author: René Cannaò +Date: Fri Feb 9 19:07:35 2018 +0100 + + At startup, generate new SSL key and certificate + + Certificate is self signed + +commit 5dfe30271d99306b406f4968b7550cc13ceafb1b +Author: René Cannaò +Date: Fri Feb 9 03:11:58 2018 +0100 + + Embed main-bundle.min.css in web UI #1354 + +commit 8a2ffdb7f223c3eb9736dd6609dcc2fad5536cf6 +Author: René Cannaò +Date: Fri Feb 9 02:50:26 2018 +0100 + + MyComQueryCmd not initialized could cause crash #1370 + + This happens for prepared statements, and mysql-query_digests=false + +commit 7e95852986ccaa0ede012b26c125302cc3b1431f +Author: René Cannaò +Date: Thu Feb 8 02:47:13 2018 +0100 + + Fix bug #1357 : incorrect parsing of SET NAMES ... COLLATE + +commit e8de8ee2c8803827ff45dcb15f77dc9db42a6a5a +Author: René Cannaò +Date: Thu Feb 8 01:49:12 2018 +0100 + + Added new metrics + + * MyHGM_myconnpoll_destroy + * MyHGM_myconnpoll_get + * MyHGM_myconnpoll_get_ok + * MyHGM_myconnpoll_push + * MyHGM_myconnpoll_reset + * Queries_frontends_bytes_recv + * Queries_frontends_bytes_sent + +commit a8e8859b798c5ebcc2f4028452aef28f297fd3bf +Author: René Cannaò +Date: Tue Feb 6 16:08:28 2018 +0100 + + Add rw lock to ensure metadata aren't updated while running STMT_PREPARE_RESPONSE + +commit 0c6430d00fe4e14c37303575e7870c5a84d628d8 +Author: René Cannaò +Date: Fri Feb 2 08:51:18 2018 +0100 + + Added experimental (not completed) support for SSL client side + +commit f9789aa5404fcd541d489740b49de9ed358a74e3 +Author: René Cannaò +Date: Fri Jan 19 15:53:25 2018 +0100 + + 1st commit on SSL client side + +commit 82e2c802b95a6d2da1533724cb60b9e5e7014de9 +Author: René Cannaò +Date: Thu Feb 1 17:53:25 2018 +0100 + + Fix for bug #1342 + +commit 3b9e4a61500738554e7bc775db57b23e5a0d09e0 (tag: v1.4.6, tag: 1.4.7) +Author: René Cannaò +Date: Thu Feb 1 03:06:06 2018 +0100 + + Change version to 1.4.6 + +commit 58c2e9c1797f9f451a49087ceaf2547666532215 +Merge: 880d5516 656973ab +Author: René Cannaò +Date: Thu Feb 1 02:48:41 2018 +0100 + + Merge pull request #1345 from AshwiniAhire/v1.4.6 + + Fix for bug 1342 + +commit 880d5516bb463bf81cdb93c64ab98e7bca82b7bf +Merge: 36275e84 9b3fffdf +Author: René Cannaò +Date: Thu Feb 1 02:40:46 2018 +0100 + + Merge pull request #1349 from pondix/v1.4.6 + + Removing SQLLite lock assertion + +commit f3794c81a5271e05fd40ef87955d00a812780530 +Author: René Cannaò +Date: Thu Feb 1 02:38:09 2018 +0100 + + Add DEFAULT 0 for stats tables + +commit 35ee631844bd25b0ce449484ec89f06632eb854a +Author: René Cannaò +Date: Tue Jan 30 16:55:50 2018 +0100 + + Further improvement for handling GTID + + Statistics collected aboout GTID queries + Statistics displayed on HTTP server + Count number of GTID events per server + Online upgrade of all mysql_connections tables + Fixed path for libev + +commit 9a6b176d3144d10e0f497bfdc4a67af3f38172b5 +Author: René Cannaò +Date: Fri Jan 26 16:19:48 2018 +0100 + + Expanding stats_mysql_connection_pool + + Added counters of queries using gtid sync + Added PR #1343 for FR #1207 + +commit 46d7f9a14b0ca7e5de6d150e946b8d6a3f0e7c1a +Author: René Cannaò +Date: Thu Jan 25 19:45:17 2018 +0100 + + Add support for GTID consistent reads + + This patch includes a new column mysql_query_rules.gtid_from_hostgroup + + If defined, it is used for GTID consistent read + +commit 9b3fffdf4971373b0b3e5abfb9b361c62b5c951d +Author: pondix +Date: Thu Jan 25 15:29:12 2018 +0200 + + Removing SQLLite lock assertion + +commit 36275e84aae2487dd17adf7af14fe0f13b737250 +Author: Nick +Date: Tue Jan 23 23:00:16 2018 +0200 + + Update INSTALL.md + +commit 2f7b33d2e93619b4e1e8da21e0d3d671042c516f +Author: Nick +Date: Tue Jan 23 18:06:22 2018 +0200 + + Update INSTALL.md + +commit 656973ab2a4ba7eae66c81e71a625c54aad0efc7 +Author: Ashwini +Date: Mon Jan 22 14:52:11 2018 +0000 + + Fix for bug 1342 + +commit b2562a63ad8377cd3389b079e09e0e0b221a9a6e +Author: René Cannaò +Date: Thu Jan 18 12:01:38 2018 +0100 + + Fixing bug on loading mysql servers to runtime + + Also fixed a bug related to concurrency in MySQL HGM + +commit 3b9e408bbce2870f817474e59993ab9ba87ffc6c (tag: v1.4.5, tag: 1.4.6) +Merge: 7ab67dc6 bfcf57e9 +Author: René Cannaò +Date: Tue Jan 16 18:32:58 2018 +0100 + + Merge pull request #1336 from pondix/v1.4.5 + + Updated 'hits' to uint64 to prevent overflow + +commit f4a0c4a2b5e58d1ad503251c12ba6149c5f65914 +Author: René Cannaò +Date: Tue Jan 16 18:28:17 2018 +0100 + + ProxySQL reads GTID information from proxysql_mysqlbinlog + + This is the first commit to pull data from proxysql_mysqlbinlog. + It is still in Alpha phase, as it is missing a log of important logics, like error handling, retry mechanism, timeouts, etc + +commit bfcf57e9d0e06eb1c90a5a6f79537c78fff279f3 +Author: Nick Vyzas +Date: Mon Jan 15 21:18:12 2018 +0200 + + Updated 'hits' to uint64 to prevent overflow + +commit a15917ead36846fc4425981c3aedfddca473200f +Author: René Cannaò +Date: Sun Jan 14 23:53:31 2018 +0100 + + Link against libev + +commit 415a216e9afeff53e3693c2b23c11f23155b9a28 +Author: René Cannaò +Date: Sun Jan 14 23:38:43 2018 +0100 + + Adding libev + +commit f0a2edce4a02feb6b3928f987372d7465b31e398 +Author: René Cannaò +Date: Sun Jan 14 23:31:42 2018 +0100 + + Drafting tracking of GTID + +commit 7ab67dc685fffa620ff9c5606a578651994e27ea +Author: René Cannaò +Date: Sun Jan 14 01:25:20 2018 +0100 + + Bug fix for #1333 + + Prepared statements counters are now computed at runtime instead of on-demand. + Now MySQL_STMT_Manager_v14::get_metrics() doesn't depend anymore from the + number of prepared stataments cached. + The old code (slow code) is still present in the DEBUG version, and used to + validate the new counters. That also means that DEBUG versions are way slower + than non debug versions. + +commit 7c2d4e35d091509dd394acf7bc334e2c1048a0ae +Author: René Cannaò +Date: Tue Jan 9 21:19:46 2018 +0100 + + Bug fix for #1323 + +commit a7699e81aae6e62f72fd199db8b0429eb222e341 +Author: René Cannaò +Date: Tue Jan 9 21:19:46 2018 +0100 + + Bug fix for #1323 + +commit 11aac954b7328ee0270ea5da535b74e74cbe2eb4 +Author: René Cannaò +Date: Tue Jan 9 18:54:25 2018 +0100 + + Preparation for 1.4.5 + +commit c28e55528480fc67417fb44017db5efd92a9a018 +Author: René Cannaò +Date: Tue Jan 9 00:36:55 2018 +0100 + + Crash on mirroring #1305 + +commit 642f5b2220510442fe4b061d46b0e68afb24ed9f +Author: René Cannaò +Date: Tue Jan 9 00:36:55 2018 +0100 + + Crash on mirroring #1305 + +commit ff473b3a2a2b4aceeceaeaae1b95c65a6cde0062 +Author: René Cannaò +Date: Mon Jan 8 23:57:11 2018 +0100 + + Update mysql_servers in HostgroupsManager + +commit 04cfa1c733038b2244b7c229410db52e86540d49 +Author: René Cannaò +Date: Mon Jan 8 21:22:27 2018 +0100 + + Add gtid_port to mysql_servers + +commit fe39795907265851d1710afda87db16aa126f685 +Author: René Cannaò +Date: Mon Jan 8 17:25:25 2018 +0100 + + Code cleanup + +commit fe2f16d6df15252f0107a6a224dad7b1efdb13f6 +Author: René Cannaò +Date: Mon Jan 8 15:58:39 2018 +0100 + + Added support for innodb_read_only and super_read_only #1195 + +commit ddfb2cbf81136bf2f8f68d8ea80580d404848c48 +Author: René Cannaò +Date: Mon Jan 8 00:39:31 2018 +0100 + + Updated gitignore + +commit f2b13b7f798ad9f6ff106defac5f2531d05da01f +Merge: c94fbe7f 7911917e +Author: René Cannaò +Date: Mon Jan 8 00:38:08 2018 +0100 + + Merge branch 'v1.4.5' of https://github.com/sysown/proxysql into v1.4.5 + +commit c94fbe7f20d00d4a184a835ecd6103e5b3993471 +Author: René Cannaò +Date: Mon Jan 8 00:36:48 2018 +0100 + + Fixed bug #1304 + + * change datatype mysql_replication_hostgroups.comment to be VARCHAR NOT NULL DEFAULT '' instead of VARCHAR + * handle cases in which mysql_replication_hostgroups.comment is NULL + +commit 7911917ef613f1b16b2fe2d14554ff36a9461632 +Author: René Cannaò +Date: Wed Jan 3 21:44:57 2018 +0100 + + Update issue_template.md + +commit 2e652c24bc99754c6834006ad8056a87ac691a7c +Author: René Cannaò +Date: Wed Jan 3 21:10:31 2018 +0100 + + Create issue_template.md + +commit 0f3aa944d038c57a66cfcb11c9c147273396552c +Author: René Cannaò +Date: Sat Dec 30 18:07:34 2017 +0100 + + Ignore LOCK/UNLOCK TABLE in ClickHouse #1314 + +commit d04ee3d385bbd47a13066c8ffd62de952bb2ea98 +Author: René Cannaò +Date: Sat Dec 30 17:29:46 2017 +0100 + + Remove all references to PS handling before 1.4 + + Handling of prepared statements changed a lot in 1.4 , as a lot of code was rewritten. + Old code was still present, and was possible to toggle it on and off based on PROXYSQL_STMT_V14 . + Because only the new code is maintained, all references to old code are now removed, + including PROXYSQL_STMT_V14 + +commit 462cb996d35a9d1fff9400a3a8f926ba82e9bd78 +Author: René Cannaò +Date: Sat Dec 30 17:18:00 2017 +0100 + + Fix minor bugs + +commit f87c41188fd5438ab847602b8008f1225df339e9 +Author: René Cannaò +Date: Sat Dec 30 17:13:26 2017 +0100 + + Purge PS metadata cache only when possible #1312 + +commit 6844d4869564a99817548f77eefaa74deefc9a22 +Author: René Cannaò +Date: Sat Dec 30 16:42:09 2017 +0100 + + Fix typo on previous commit + +commit 2d85f0603968093d00a035a39963454c8af9b16d +Author: René Cannaò +Date: Sat Dec 30 15:35:37 2017 +0100 + + Fix bug #1307 . Add lock when adding PS to cache + +commit 0141b99fbce6f92c9697d3d582faf67773afb809 +Author: René Cannaò +Date: Sat Dec 30 18:07:34 2017 +0100 + + Ignore LOCK/UNLOCK TABLE in ClickHouse #1314 + +commit 3520dbbacc92cd1c5cfc56e6d514b92e646725a8 +Author: René Cannaò +Date: Sat Dec 30 17:29:46 2017 +0100 + + Remove all references to PS handling before 1.4 + + Handling of prepared statements changed a lot in 1.4 , as a lot of code was rewritten. + Old code was still present, and was possible to toggle it on and off based on PROXYSQL_STMT_V14 . + Because only the new code is maintained, all references to old code are now removed, + including PROXYSQL_STMT_V14 + +commit 232bec9ad43bae5851cbf9183ddfbe0e45fa9b8f +Author: René Cannaò +Date: Sat Dec 30 17:18:00 2017 +0100 + + Fix minor bugs + +commit 3ddbfd826f47d9aad8336060320a69aac3fddd2d +Author: René Cannaò +Date: Sat Dec 30 17:13:26 2017 +0100 + + Purge PS metadata cache only when possible #1312 + +commit 54b7487b2a74fb8c784e18fe8083ac634f8f7da6 +Author: René Cannaò +Date: Sat Dec 30 16:42:09 2017 +0100 + + Fix typo on previous commit + +commit f414083ed43281eaddfb44e2a761461c26be1138 +Author: René Cannaò +Date: Sat Dec 30 15:35:37 2017 +0100 + + Fix bug #1307 . Add lock when adding PS to cache + +commit 4a3d6ce4907b0821d9114273efb0a313cb381d6e +Author: René Cannaò +Date: Fri Dec 29 01:07:36 2017 +0100 + + Added SESSION_TRACK_GTIDS in connector-C CONC-302 + +commit 6f05bc3bb24dc30916760ca2f8e78e6066abed83 +Author: René Cannaò +Date: Thu Dec 28 23:37:20 2017 +0100 + + First attempt to track GTID needed for #1208 + + Putting this on hold, due to https://jira.mariadb.org/browse/CONC-302 + +commit fc2995de3aee2272762e59533642c3d47a97d4d9 +Author: René Cannaò +Date: Thu Dec 28 15:35:38 2017 +0100 + + Compile ProxySQL with Connector-C 3.0.2 #1126 + +commit 2f1615939f20ec348fee099962624fae7ed0a4ee +Author: René Cannaò +Date: Thu Dec 28 15:15:41 2017 +0100 + + Fix Makefile for MariaDB Connector C 3.0.2 + +commit 6bcc49fe4f68394a607951b0ed3f84b325daf753 +Author: René Cannaò +Date: Thu Dec 28 15:05:55 2017 +0100 + + Update Makefile for cleanall + +commit 69596e230a7d6742eae70e25e9c8fab73e1d5ffa +Author: René Cannaò +Date: Thu Dec 28 15:02:43 2017 +0100 + + Apply patches to mariadb_connector_c_3.0.2 #1126 + +commit 5edbf2c2bae105e526cbe83d96017fbec6b37abd +Author: René Cannaò +Date: Thu Dec 28 12:53:50 2017 +0100 + + Added mariadb-connector-c-3.0.2-src + +commit b3de6f7ae687978a2001988028b15d251ed9614b +Author: René Cannaò +Date: Thu Dec 28 00:01:51 2017 +0100 + + Stop HGCU_thread_run as the first task of MySQL_HostGroups_Manager destructor #1299 + +commit 60a3cab0f4283123da2fb152b4e4c6cdce54fcba +Author: René Cannaò +Date: Wed Dec 27 23:24:58 2017 +0100 + + Bug fix for #1305 + +commit a51b040b4a1ee992e20cbd838b3eb7c62433a553 (tag: v1.4.4, tag: 1.4.5) +Author: René Cannaò +Date: Wed Dec 20 11:01:54 2017 +0100 + + Updated release note + +commit 52c56025e00fbcdcc8175ab75d8a6b6edb42ed25 +Author: René Cannaò +Date: Wed Dec 20 09:53:49 2017 +0100 + + Updated release note + +commit 60fa11629ec148436f9a01780ca553ed7116c8e9 +Merge: fb469f26 25b71952 +Author: René Cannaò +Date: Wed Dec 20 09:48:43 2017 +0100 + + Merge pull request #1292 from everpcpc/patch-1 + + build curl without nghttp2 and libidn2 + +commit 25b719525991a9dd4a235b6d785fceceab070fd2 +Author: everpcpc +Date: Wed Dec 20 15:39:18 2017 +0800 + + build curl without nghttp2 and libidn2 + +commit fb469f266ad136f062a5b37e0b7f2a78fa0bbed5 +Author: René Cannaò +Date: Tue Dec 19 23:48:00 2017 +0100 + + Updating release note + +commit 59c20e392935a596759d4af8ff632be5f843ae1b +Author: René Cannaò +Date: Tue Dec 19 22:50:30 2017 +0100 + + Missing include + +commit 768d6bcbd43108dc77624612de0ec08ce1443529 +Merge: 943cdfc3 2d5560c2 +Author: René Cannaò +Date: Tue Dec 19 21:09:18 2017 +0100 + + Merge pull request #1290 from pondix/v1.4.4 + + Disable multiplexing for specific vars + +commit 943cdfc335a0ad2eb440aa7c7ae9562d4d971f8d +Author: René Cannaò +Date: Tue Dec 19 21:08:16 2017 +0100 + + Updating release note + +commit dc2a6cf541b1b7e57f74713504a03c7ddf3b1d15 +Merge: fc68ba20 b1368383 +Author: René Cannaò +Date: Tue Dec 19 17:16:12 2017 +0100 + + Merge branch 'v1.4.4' of https://github.com/sysown/proxysql into v1.4.4 + +commit fc68ba2011d903ab7066d49b32dc9c347f6de73a +Author: René Cannaò +Date: Tue Dec 19 17:15:50 2017 +0100 + + Check GloQC before getting stats from QC + +commit d9c25ca03e24044b5db988b9a395f44199f3ff0c +Author: René Cannaò +Date: Tue Dec 19 17:05:42 2017 +0100 + + Disable web interface by default + +commit b136838326e39ac5e8c0dc54d9b7382afc5ea84e +Merge: 07183535 2ac60b0d +Author: René Cannaò +Date: Tue Dec 19 08:31:11 2017 +0100 + + Merge pull request #1291 from everpcpc/fix + + Typo fixes + +commit 2ac60b0dbc005f919916b1f1bd602f30b550b31d +Author: everpcpc +Date: Tue Dec 19 15:27:26 2017 +0800 + + log before free + +commit 072b1962477e841c4b08d2d83bed1f2614607e03 +Author: everpcpc +Date: Tue Dec 19 15:27:05 2017 +0800 + + fix comment typo + +commit 07183535c4711dc5df9345bc6643a9952cb61d8b +Author: René Cannaò +Date: Mon Dec 18 23:18:23 2017 +0100 + + Update ProxySQL_v1.4.4.md + +commit 9ee347621d87ed20bfca8731c674771172f86f3c +Author: René Cannaò +Date: Mon Dec 18 13:47:13 2017 +0100 + + Fixed path for curl + +commit 2d5560c23563096ab611c67825d7063044e6da9a +Merge: 8b7d32be 640e7a85 +Author: Nick Vyzas +Date: Mon Dec 18 14:42:48 2017 +0200 + + Merge branch 'v1.4.4' of https://github.com/pondix/proxysql into v1.4.4 + +commit 8b7d32be2b64ed72674f54637030c0efd7f59a15 +Author: Nick Vyzas +Date: Mon Dec 18 14:39:07 2017 +0200 + + Moved session_vars to static var and unified code + +commit 640e7a85167507051e7baf0dbc8a7e48661d5ac3 +Author: Nick +Date: Mon Dec 18 14:21:15 2017 +0200 + + Lowering const session_vars size + +commit bb83fc9ed89c12e27760f036884ba7830e485c75 +Author: Nick +Date: Mon Dec 18 14:19:07 2017 +0200 + + Remove unused regex include + +commit 17cf8800ca4d63a7b859e2682bfd66a2ba63195d +Author: Nick Vyzas +Date: Mon Dec 18 14:15:42 2017 +0200 + + Added a list of session variables to disable multiplexing + +commit 721f949801cc63b4cafe59104dd819038f3a329d +Author: René Cannaò +Date: Mon Dec 18 01:27:43 2017 +0100 + + ProxySQL webui is now able to check latest version + +commit eecb4fe9afd2434bfd941b02332c2a3df8a98683 +Author: René Cannaò +Date: Mon Dec 18 00:22:26 2017 +0100 + + Added curl + +commit a85d69d92762450f1623ac5d808e84453f0c80d8 +Merge: 5e491714 c9b13ca8 +Author: René Cannaò +Date: Sat Dec 16 12:50:54 2017 +0100 + + Merge pull request #1289 from pondix/v1.4.4 + + Layout changes and HTML fix + +commit 5e4917144361f12d95669b399ea78042fc040f44 +Merge: d27a77c4 ba3b1221 +Author: René Cannaò +Date: Sat Dec 16 12:46:28 2017 +0100 + + Merge pull request #1287 from sysown/qpr-fix + + Fix validation on query_processor_regex + +commit 2a4b68f0ac091fbcced61f58f47c93f6180c4ffe +Author: Nick Vyzas +Date: Fri Dec 15 21:19:53 2017 +0200 + + Adding session vars pattern matching to disable multiplexing + +commit c9b13ca84c2978fe25ee68f8345670bbcc4b6293 +Author: Nick Vyzas +Date: Fri Dec 15 16:08:45 2017 +0200 + + Layout changes and HTML fix + +commit ba3b1221152d58535dd0cc9a68cbcd77ed35cbe7 +Author: Nick +Date: Thu Dec 14 19:38:14 2017 +0200 + + Fix validation on query_processor_regex + +commit d27a77c4c80cce9f871b5fc4b350b0d2b9b87593 +Author: René Cannaò +Date: Thu Dec 14 16:30:00 2017 +0100 + + New global variable execute_on_exit_failure #1285 + + This is a global variable tha can be defined only in config file + When proxysql dies for whatever reason, the script defined in execute_on_exit_failure is executed. + Use this script to generate an alert. + +commit 63026287720e744c0f237e3ea32e7bebcc5ded5e +Author: René Cannaò +Date: Wed Dec 13 21:21:07 2017 +0100 + + Data sent with STMT_SEND_LONG_DATA was lost #1283 + + Values were incorrectly set to NULL + +commit 2ed7808dc3b3b7c0cdc3b0864e7fa20b31260c27 +Merge: f78139e5 03eca20b +Author: René Cannaò +Date: Tue Dec 12 16:51:42 2017 +0100 + + Merge branch 'v1.4.4' of https://github.com/sysown/proxysql into v1.4.4 + +commit f78139e55ef45b52d1532bdbe5b8878131842860 +Author: René Cannaò +Date: Tue Dec 12 16:50:35 2017 +0100 + + Handle SET SQL_MODE and NAMES in same query #1279 + +commit 03eca20bf9a7043c1a7dfdbe4408eb40126e583c +Author: Nikolaos Vyzas +Date: Mon Dec 11 18:03:23 2017 +0200 + + Removing files merged to WIKI + +commit c6d01ccf7f88e7b72f2c8fc6ae08729cc87dbaf2 +Merge: 3c91ac01 ea9fa03a +Author: René Cannaò +Date: Sun Dec 10 20:16:16 2017 +0100 + + Merge branch 'v1.4.4-ps_memleak' into v1.4.4 + +commit ea9fa03ab1f74a9d574abd79371ede208123726b +Author: René Cannaò +Date: Sun Dec 10 15:42:15 2017 +0100 + + Added table stats.stats_mysql_prepared_statements_info + + This new table exports global metrics on prepared statements + +commit d27327a003e2a97113b0c69a246dc9355efa9176 +Author: René Cannaò +Date: Sun Dec 10 13:51:14 2017 +0100 + + Generate different stmt_id if clients ask for the same multiple times + +commit 3c91ac019b87d549a0c4ab1e1fa2acd416402e24 +Author: René Cannaò +Date: Sun Dec 10 12:39:57 2017 +0100 + + Introduced watchdog and automatic restart + + See https://github.com/sysown/proxysql/wiki/Watchdog + +commit 7eccd347e33f68a7592a22e9453064784559c55e +Author: René Cannaò +Date: Sat Dec 9 22:39:55 2017 +0100 + + Add support for Percona Heartbeat #1248 + + This commits adds a new variable: mysql-monitor_replication_lag_use_percona_heartbeat + + This variable defines the percona heartbeat table used to check replication lag. + If set, replication lag is checked against the defined table, otherwise `SHOW SLAVE STATUS` is used. + To be set, the value should match the following regex: + ``` + `?([a-z\d_]+)`?\.`?([a-z\d_]+)`? + ``` + +commit ab879814848b0617d4a48d23a5e53d48b9faf478 +Author: Nick Vyzas +Date: Sat Dec 9 18:14:06 2017 +0200 + + Adding optional lock option to destroy_MyConn_from_pool + +commit 703ee8ef0f9c00ccb35151273437b59dab86877d +Author: René Cannaò +Date: Fri Dec 8 12:07:40 2017 +0100 + + Reset connections instead of dropping them when mysql-max_stmts_per_connection is reached + + Also fixed a memory leak associate with this feature. + Cleaned up a bit of code. + +commit c52888d4db0db48412146153364a5740d789c00b +Merge: 698fb9e5 48df4ff8 +Author: René Cannaò +Date: Mon Dec 4 21:47:24 2017 +0100 + + Merge pull request #1270 from pondix/v1.4.4 + + Adding constraint for hostgroup_id >= 0 in mysql_servers + +commit 48df4ff893edaac746494fd7337fa8cb8eb1375c +Author: Nick +Date: Sun Dec 3 16:35:17 2017 +0200 + + Fixed typo + +commit d484bb79d98fcde40be2ff54f20ad65b289164c0 +Author: Nick Vyzas +Date: Sun Dec 3 14:50:49 2017 +0200 + + Correcting version number + +commit 0a6ea1d51486768e0986f6b93007f1363848d955 +Author: Nick +Date: Sun Dec 3 13:40:29 2017 +0200 + + Fixing upgrade logic comments + +commit 107dd231738002924e4a01217d5d27aaf43b3702 +Author: Nick Vyzas +Date: Sun Dec 3 13:37:47 2017 +0200 + + Fixing logic bug related to versioning + +commit 2be0491c616412571d646484ccea680725d5b699 +Author: Nick +Date: Fri Dec 1 14:08:56 2017 +0200 + + Adding comment column + +commit ed4924d896129c0fe07ad85afe1884c72f3ad286 +Author: Nick +Date: Fri Dec 1 13:55:49 2017 +0200 + + Removing whitespace + +commit b8c2862f401f19e9adf1cc4480424aa1b2124c0b +Author: Nick Vyzas +Date: Fri Dec 1 03:39:40 2017 +0200 + + Adding non-zero constraint to mysql_server.hostgroup_id + +commit 323979967350b52f0bbf7ede4c5122f0e937102d +Merge: c058f7e5 698fb9e5 +Author: Nick Vyzas +Date: Fri Dec 1 02:29:52 2017 +0200 + + Merge remote-tracking branch 'upstream/v1.4.4' into v1.4.4 + +commit c058f7e511032ab0c9628398edb90467d2bcaa0a +Author: Nick Vyzas +Date: Fri Dec 1 02:27:38 2017 +0200 + + Adding 1_3_0 mysql_servers migration + +commit a7ef4fe5511b62a72b465021a1bc1415067a538c +Author: Nick Vyzas +Date: Fri Dec 1 01:34:07 2017 +0200 + + Adding constraint for hostgroup_id >= 0 in mysql_servers + +commit 698fb9e56edaf78d051fb1b2b12fade7cfb52365 +Author: René Cannaò +Date: Thu Nov 30 23:42:09 2017 +0100 + + Support for more time range in WebUI + +commit dc1e9b0bfaf019e6b660a55ceb69666516b665fe +Author: René Cannaò +Date: Thu Nov 30 20:37:36 2017 +0100 + + Copied license file in upper dir for dependencies + +commit 248b73264b4993c8da4991566643468252f0929c +Merge: 8a455667 db620ad7 +Author: René Cannaò +Date: Thu Nov 30 20:25:39 2017 +0100 + + Merge branch 'v1.4.4' of https://github.com/sysown/proxysql into v1.4.4 + +commit db620ad7b323996dfaee776355fffa1056d30274 +Merge: 6fc08b3f 28a9e3f9 +Author: René Cannaò +Date: Thu Nov 30 20:25:02 2017 +0100 + + Merge pull request #1269 from pondix/v1.4.4 + + Persist eventlog file across restarts + +commit 8a4556676c93a3f670de06ad60fec4b905a1fd16 +Author: René Cannaò +Date: Thu Nov 30 20:20:09 2017 +0100 + + Export query cache metrics in WebUI + +commit 28a9e3f98407965d20597369a6059baf6db70e01 +Author: Nick Vyzas +Date: Thu Nov 30 20:39:59 2017 +0200 + + Fixes - "Event log file is overwritten on ProxySQL service restart" #1201 + +commit 6fc08b3f3d20c533de537f28a443da2872670262 +Author: René Cannaò +Date: Thu Nov 30 01:27:52 2017 +0100 + + Added variable mysql-verbose_query_error #1059 #1060 + + If variable mysql-verbose_query_error is set, "Error during query" message will be extended adding: + - username + - client IP + - schemaname + - digest of the original query (not the original query itself) + +commit 968c8dcee5d9e010aa615ed576082fa5ac880bbf +Author: René Cannaò +Date: Wed Nov 29 15:00:55 2017 +0100 + + Implementation of LOAD ADMIN VARIABLES FROM CONFIG #1076 + +commit 3e69e5e052ed836e19e1820a70ee9b7728618288 +Author: René Cannaò +Date: Wed Nov 29 14:23:50 2017 +0100 + + HTTP module uses admin stats credentials + +commit aee0fa1111d11a9232f1165d91a08faa1c92b89a +Author: René Cannaò +Date: Wed Nov 29 13:35:21 2017 +0100 + + Code cleanup + +commit 01977828ed06ed4f86d5918a8ab4d39277b06461 +Author: René Cannaò +Date: Wed Nov 29 13:27:47 2017 +0100 + + Code cleanup + +commit d8c927227bd903e4a6b5cb26e0d05e59bcdb4a30 +Author: René Cannaò +Date: Wed Nov 29 13:24:22 2017 +0100 + + Code cleanup + +commit 58c7cd632a3ce1ae93a2e5ad5a0d2342417e5d7c +Author: René Cannaò +Date: Wed Nov 29 13:18:16 2017 +0100 + + Code cleanup + +commit 2dce7013df666adcce19dc9e116050d57ec9c99c +Author: René Cannaò +Date: Wed Nov 29 13:08:33 2017 +0100 + + Added variable autocommit_false_is_transaction #1256 + + If autocommit_false_is_transaction=true (false by default), a connection + with autocommit=0 is treated as a transaction. + + If forward_autocommit=true (false by default), the same behavior applies. + +commit 1d5756c6cda8fcefa0cb5ade61ab90681bca9072 +Author: René Cannaò +Date: Tue Nov 28 12:33:00 2017 +0100 + + Moving MySQL_Connection::IsActiveTransaction() back into cpp file + +commit a9151ce9298adb38c18a91ea60409e3c41a83d6e +Author: René Cannaò +Date: Tue Nov 28 01:59:27 2017 +0100 + + Tokenizer memory optimization for ClickHouse + +commit 785e66c928aaa83c21e3b017b08d97065267d0a8 +Author: René Cannaò +Date: Tue Nov 28 01:57:54 2017 +0100 + + Display interfaces in HTTP + +commit 895055f5ffef3aadb59e46e35a05157cbb2f24d0 +Author: René Cannaò +Date: Tue Nov 28 00:25:10 2017 +0100 + + Admin crashes if writing on a closed socket #1227 + +commit d4b783583d7f6b3aea72153648d7a61a7403b671 +Author: René Cannaò +Date: Mon Nov 27 19:58:23 2017 +0100 + + Add support for utf8mb4_0900_ai_ci (MySQL 8) #1129 + +commit c50e3a4473cd27a5f17248d3a701b3accaba6e97 +Author: René Cannaò +Date: Mon Nov 27 16:56:47 2017 +0100 + + Default to CASELESS for re_modifiers in config file #1124 + +commit 69654afa17c25d9718a646853623b37621c653de +Author: René Cannaò +Date: Sun Nov 26 00:42:32 2017 +0100 + + Do not dump replication hostgroups if hostgroup_manager_verbose=0 #1204 + +commit dfa35e25b68e9e60008d885b510b2eef0dc3f196 +Author: René Cannaò +Date: Sun Nov 26 00:38:10 2017 +0100 + + Remove tables mysql_server_connect and mysql_server_ping #1252 + + Tables were originally meant to be used as aggregate tables, but they were never used. + +commit e6e0041b18f2d645858de42cdb1cb90eca60b158 +Author: René Cannaò +Date: Sun Nov 26 00:28:08 2017 +0100 + + In Admin, filter commands specific to MySQL and/or transactions #1047 + +commit eb8db1c6aaec6766e603046123099222b00ac899 +Merge: 4fb9e3f8 79dc404a +Author: René Cannaò +Date: Sat Nov 25 22:52:11 2017 +0100 + + Merge pull request #1238 from pepijnblom/patch-1 + + fix some version numbers in the compile examples + +commit 4fb9e3f88b8dc2603997c78b6b7115e918fc16c4 +Author: René Cannaò +Date: Sat Nov 25 22:42:40 2017 +0100 + + Dump in error log status of mysql_servers during reconfiguration + + Close issue #1255 + +commit b8e490bcc29ae80f2cf93d44fdc6ea48c8ebc327 +Author: René Cannaò +Date: Thu Nov 23 15:22:07 2017 +0100 + + Clean up query metadata when set autocommit fails #1257 + +commit 3745b28cad0b9c7234d01db402ccfd4d70d5b10e +Author: René Cannaò +Date: Thu Nov 23 12:28:21 2017 +0100 + + Reapplying fix for bug #1038 + + Also fixed some Makefile issue + +commit 48a441c44f74085cbee0733fc9c4dc5050c02c51 +Merge: bddf7413 fd5459cd +Author: René Cannaò +Date: Thu Nov 23 12:18:26 2017 +0100 + + Merge branch 'v1.4.4' of https://github.com/sysown/proxysql into v1.4.4 + +commit bddf741301d5ff8938c14ecf5e9b440c9169df1f +Author: René Cannaò +Date: Thu Nov 23 12:17:36 2017 +0100 + + Initialize time_zone in client connection #1253 + +commit fd5459cd504bd94784cf28ff94295914bea69dbd +Merge: 8ebc2b0f 1984a240 +Author: René Cannaò +Date: Mon Nov 20 06:54:35 2017 +0100 + + Merge pull request #1239 from pepijnblom/patch-2 + + Fix for building on Alpinelinux + +commit 7f567048d2145bdeda889194ca30d8830e43293a +Author: René Cannaò +Date: Sun Nov 19 19:03:26 2017 +0100 + + Fixed few anomalies detected with valgrind + +commit 8ebc2b0f50082108e9a2518427de68c4aaf8c8a5 +Author: René Cannaò +Date: Sun Nov 19 14:24:30 2017 +0100 + + Add support for Darwin + +commit 02d3c6ee75e4918e949bcb485e2f948bfc6c3265 +Author: René Cannaò +Date: Sun Nov 19 14:04:33 2017 +0100 + + Fix compiling issue on FreeBSD #1216 + +commit c2f7525d1ed0862ed2a6595772cf4dbfb11798ec +Merge: dee35186 bc44c163 +Author: René Cannaò +Date: Sun Nov 19 13:59:04 2017 +0100 + + Merge branch 'v1.4.4' of https://github.com/sysown/proxysql into v1.4.4 + +commit dee35186a89f40e7467d11bfdb2081e3faca9111 +Author: René Cannaò +Date: Sun Nov 19 13:23:49 2017 +0100 + + Web UI displays some real values + + It displays: + - uptime + - Detected OS + - if idle threads is enabled + - if Monitor is enabled + +commit 8adf68c0027c11f467d0aacb79b3b67cd46ae294 +Author: René Cannaò +Date: Sun Nov 19 03:07:41 2017 +0100 + + Further development for web interface + + Explicitly disabled https from libmicrohttpd (for now) + Created key and certificate, although not in use (for now) + Embedded font-awesome CSS + Added support for time range for MySQL and System + Added support for *_hour tables + Enabled digest auth in web ui (for now hardcoded credential, will fix in future commits) + Drafted a home page (not ready yet) + +commit bc44c163d821ae5fc34b59160eaab68b36363583 +Merge: 7f0f0374 903a47f2 +Author: René Cannaò +Date: Wed Nov 15 23:27:24 2017 +0100 + + Merge pull request #1243 from pondix/v1.4.4 + + Default false for mysql-stats_time_backend_XXX vars + +commit 903a47f27d80ce5bc29f94854c22b905c9b20ae1 +Author: pondix +Date: Thu Nov 16 00:17:47 2017 +0200 + + Changing mysql-stats_time_backend_query and mysql-stats_time_backend_query default values to false + +commit 7f0f0374806f7eab59bfa02da6ac0bcd0eeb47e5 +Author: René Cannaò +Date: Wed Nov 15 12:56:53 2017 +0100 + + Stop spinning on poll() #1232 + + Stop spinning on poll() when throttling bandwidth from backend because client is too slow + +commit 9f0764ecfaf05debc78cb8dde1b5499cbfe976c6 +Author: René Cannaò +Date: Tue Nov 14 09:01:27 2017 +0100 + + Throttle data retrieve from backend #1232 + + Retrieve from backend pauses if threshold_resultset_size*8 data is queued up to client + +commit 44cc349a0953428d16e08525bd5d84c181364870 +Merge: ddb1a046 455026bf +Author: René Cannaò +Date: Tue Nov 14 02:12:46 2017 +0100 + + Merge branch 'v1.4.1-1034' into v1.4.4-bandwidth + +commit ddb1a046b9ee7ec6d87b7d0c9f78a1939bf0a036 +Author: René Cannaò +Date: Tue Nov 14 01:47:01 2017 +0100 + + mysql_users.transaction_persistent=1 by default from config file + + Fixes bug #1236 + +commit 94f143e90cc54909902f791f70f220ebfc726ccb +Merge: 41e31408 82be4c49 +Author: René Cannaò +Date: Tue Nov 14 01:44:18 2017 +0100 + + Merge branch 'v1.4.4' of https://github.com/sysown/proxysql into v1.4.4 + +commit 41e314089474a7f3688a7d37152a7779092278bb +Author: René Cannaò +Date: Tue Nov 14 01:43:20 2017 +0100 + + Fix bug #1233 + + Allows runtime_mysql_query_rules.multiplex=2 + +commit 78c32c6fba593b073d27246d7813f6367578808d +Merge: ded88b1f 6fbd6f52 +Author: René Cannaò +Date: Tue Nov 14 01:37:24 2017 +0100 + + Merge branch 'v1.4.4-graphs' into v1.4.4 + +commit ded88b1f2dfa365f01a496545709ecbf01adae53 +Merge: 83b2a2a4 18f6826e +Author: René Cannaò +Date: Tue Nov 14 01:36:59 2017 +0100 + + Merge branch 'v1.4.4-connthr' into v1.4.4 + +commit 6fbd6f52ec78a11e7f91d1e8e55d293dc84ef267 +Author: René Cannaò +Date: Tue Nov 14 01:29:58 2017 +0100 + + First implementation of web interface + +commit 1984a240485efe74b90030c5ce691059e20b651a +Author: pepijnblom +Date: Sat Nov 11 07:30:02 2017 +0100 + + Fix for building on Alpinelinux + + You can't assume that the user is running Debian/Ubuntu and try to run update-rc.d + +commit 79dc404a37c781fc2d7c6696598eeeb6f706b920 +Author: pepijnblom +Date: Sat Nov 11 07:20:28 2017 +0100 + + fix some version numbers in the compile examples + +commit 82be4c49d563f283147d5a7fecc96cfdac404edc +Author: René Cannaò +Date: Tue Oct 31 16:28:05 2017 +0100 + + Setting stats_time_query_processor=false disables Query Processor + + Related to issue #1190 + Commit 80bad8a811dc5ec28f30e29d9dffd21e355acfbf introduced this bug + +commit 83b2a2a463b3d12464586dfbc10339eade1afc2a +Author: René Cannaò +Date: Sat Oct 28 21:53:13 2017 +0200 + + Support for collations + + Issues #780 #554 #1219 + +commit ba423d27b4467f25cdd4303c6de690e649bd1c84 +Author: René Cannaò +Date: Fri Oct 27 18:33:35 2017 +0200 + + Allows hashed password for Admin #1221 + + It was working till version 1.4.2 + Bug introduced in 1.4.3 + Feature reintroduced in 1.4.4 + +commit 66eda52f0625aaa59f4bae162a1aaac1987c4409 +Merge: 7ade6e9e 47b9b835 +Author: René Cannaò +Date: Fri Oct 27 11:56:13 2017 +0200 + + Merge branch 'v1.4.4' of https://github.com/sysown/proxysql into v1.4.4 + +commit 7ade6e9eeacc160fa2b51d2e449aa5443b6cd0a8 +Author: René Cannaò +Date: Fri Oct 27 00:18:11 2017 +0200 + + In pull_mysql_servers_from_peer(), consider status ONLINE for SHUNNED + +commit 47b9b835fc452d2899201dc28739d217edba9bd5 +Merge: 2465e94d 66e87166 +Author: René Cannaò +Date: Thu Oct 26 23:37:16 2017 +0200 + + Merge pull request #1209 from pondix/patch-1 + + Adding IPv6 localhost support + +commit 2465e94d21036bd2ce84a3d549a0ecc4854b0d8c +Merge: a4dac89c 5192ebdd +Author: René Cannaò +Date: Thu Oct 26 23:36:42 2017 +0200 + + Merge pull request #1217 from xginn8/v1.4.4 + + when dropping a new unit file to disk, daemon-reload isn't necessary + +commit a4dac89c29863c9657721f49609c45d54685c337 +Merge: 9d4b7e3d e7efb705 +Author: René Cannaò +Date: Thu Oct 26 23:35:55 2017 +0200 + + Merge pull request #1220 from jermlinden/v1.4.4-default_port + + When parsing configfile, default mysql_server port to 3306 + +commit 7dbcbc3e7a73be1d2f03c2dc1def9184975379fd +Author: René Cannaò +Date: Thu Oct 26 23:24:28 2017 +0200 + + Bug fix for #1188 + + * all commands expected in Admin are serialized + * Cluster get mysql servers information directly from MyHGM + * Before applying MySQL servers changes, Cluster fetch again the checksum to verify it didn't change + +commit e7efb705a29bd5d5553341f0ac98daef04013718 +Author: Jerm Linden +Date: Thu Oct 26 16:52:29 2017 +0000 + + When parsing configfile, default mysql_server port to 3306 + +commit 5192ebdd41c71834f1e81d740aff5d56ec1491b5 +Author: Matthew McGinn +Date: Wed Oct 25 23:14:14 2017 -0400 + + when dropping a new unit file to disk, daemon-reload isn't necessary (and is actually a bad practice) + +commit e75d47487895d16f99bb83997e537d0c900085cd +Author: René Cannaò +Date: Thu Oct 26 02:20:32 2017 +0200 + + Added mutex in replication_lag_action() + +commit 18f6826ef79991dfa85cdf9bf67a4d64a416cd55 +Author: René Cannaò +Date: Tue Oct 24 22:07:59 2017 +0200 + + Added new variable to limit the number of backend connections per second + + Variable name is `mysql-throttle_connections_per_sec_to_hostgroup` . + Curently it is a global variable and limits the number of new connections per + hostgroup, and not per specific node. + For example, if mysql-throttle_connections_per_sec_to_hostgroup=100, no more + than 100 new connections can be created on any hostgroup no matter the number + of servers in that hostgroup. + The default is very high (1000000) thus not changing default behaviour. + Tuning this variable allows to control and throttle connections spikes to the + backend servers. + + Added also new status variable `Server_Connections_delayed`. + This is a counter of how many times Hostgroup Manager didn't return a + connection because the limit was reached. It is worth to note that a single + client request could make multiple requests, therefore this variable counts + the number of time a new connection wasn't created and not how many requests + were delayed. + +commit 9d4b7e3d4cc6dfd45cf50539f5be72ef2e6bf8b2 +Author: René Cannaò +Date: Fri Oct 20 10:51:18 2017 +0200 + + Don't sync from a peer without max epoch + + This commit solves a race condition. + If are present: + * a peer with epoch X and enough diff_check + * a peer with epoch Y and not enough diff_check + The sync was performed from the node with epoch X. + + This commit postpones the sync if this race condition happens. + Probably fixes #1188 + +commit 2c902ddcb0d75d004ac91fb4adccfc1d6bb1804a +Author: René Cannaò +Date: Fri Oct 20 00:49:10 2017 +0200 + + Wrong length modifier in fprintf + + This cause incorrect output in #1188 + +commit 07d27637192003152e17f2809e5ac40f6c49277f +Author: René Cannaò +Date: Fri Oct 20 00:22:20 2017 +0200 + + diff_check compared against diff_ms instead of diff_ps + +commit 66e87166c9d8f4c7e173b2d2f6d5c1f84e74f01e +Author: Nick <6354634+pondix@users.noreply.github.com> +Date: Mon Oct 16 21:06:56 2017 +0300 + + Adding IPv6 localhost support + + Fixes: + + ``` + root@vpn-web-dev:~# mysql -uadmin -p -h::1 -P6032 + Enter password: + ERROR 1040 (42000): User 'admin' can only connect locally + ``` + +commit 62180d72216cde8a998c5010d2e7271f63253823 +Author: René Cannaò +Date: Tue Oct 10 19:29:29 2017 +0200 + + Do not send cursor for prepared statements #1128 + + Closes also issues #892 and #961 + +commit b44e2c81bf48c3dcf98f46b0ef3e6428676b135e +Author: René Cannaò +Date: Tue Oct 10 19:23:25 2017 +0200 + + Do not use autcommit from backend if set + + This is a better implementation of 513df4f124a1c57034adc1d939b8b0beb4e0504e + +commit 78fce2b0d4cea6e1f925290af61565b8d9d70615 +Author: René Cannaò +Date: Tue Oct 10 18:51:37 2017 +0200 + + Improvement on stats_mysql_query_digest #1100 + + * record also unknown queries + * remove parenthesis from the beginning of the query to understand the type of query + +commit 513df4f124a1c57034adc1d939b8b0beb4e0504e +Author: René Cannaò +Date: Tue Oct 10 00:33:41 2017 +0200 + + Do not use autcommit from backend if set + +commit ec4049ac1e3b0402281e810cfd5a9008fc48ffcf +Author: René Cannaò +Date: Mon Oct 9 23:15:45 2017 +0200 + + Optimization on connections reset + + Limit the size of the queue #1185 + Reuse the same user #1186 + +commit 225e1f15fc510067983f2d904db07939527993c2 +Author: René Cannaò +Date: Mon Oct 9 17:22:56 2017 +0200 + + Minor protocol fixes + + Bugfixes: + - didn't remember flags generate_STMT_PREPARE_RESPONSE() + - was returning 2 warnings for INIT_DB + +commit dd7b1acad4f316f683345e5af4c41b7a8e44af59 +Author: René Cannaò +Date: Mon Oct 9 14:48:06 2017 +0200 + + Pass column length in PS metadata #1192 + + column length was incorrectly set to 0 + +commit 447f17fd24f67df510ba2973f4db3e4effe62223 +Author: René Cannaò +Date: Sat Oct 7 02:44:27 2017 +0200 + + Remove NUM_FLAG flag from column definition + + Possible bug fix for #1192 + +commit 375f912ab0f364b75af085a91b72d98365ed1bfd +Author: René Cannaò +Date: Fri Oct 6 23:55:19 2017 +0200 + + Stmt_Cached and Stmt_Max_Stmt_id for PS #1198 + + In 1.4 the handling of prepared statements were rewritten to solve some design limitations. + The code responsible for `Stmt_Cached` and `Stmt_Max_Stmt_id` wasn't migrated tho. + Fixed now. + +commit b688120b252b1c960fdd7740da24066f7e45b49a +Author: René Cannaò +Date: Thu Oct 5 02:54:27 2017 +0200 + + Memory corruption on STMT resetted twice + + Bug #1197. + Caused by PS resetted during change user, and then again when resetting the connection + +commit 59bac7f36508277abd9952968aa7d7df31aed3a0 +Author: René Cannaò +Date: Thu Oct 5 02:44:35 2017 +0200 + + Reset PS metadata if they change + + Possible bug fix for #965 + +commit 0f4df84167f3b7211f04dad84163acfc1491339c +Author: René Cannaò +Date: Tue Oct 3 23:16:52 2017 +0200 + + Fix bug #1194 + + 3 server errors were retried only once, and then destroying the client connection instead of returning error: + * case 1290: // read-only + * case 1047: // WSREP has not yet prepared node for application use + * case 1053: // Server shutdown in progress + + This fix should also improve the handling of graceful shutdown (error 1053) + +commit a98b68bbd50c62a9abf1f9182229838f71196ae1 +Author: René Cannaò +Date: Tue Oct 3 12:16:47 2017 +0000 + + Removing exception due to previous memory optimizations + +commit bd2f5be153ecbac44f87b02c595a319ea5bcdd1d +Author: René Cannaò +Date: Fri Sep 29 07:52:50 2017 +0000 + + Minor memory optimization on MySQL_ResultSet + +commit fbd2f15efe0a1d7149366fb78ff99a24bcae425c +Author: René Cannaò +Date: Fri Sep 29 06:38:38 2017 +0000 + + Memory Optimizations + + Try to allocate buffers in tokenizer() + Optimized MySQL_ResultSet::buffer_to_PSarrayOut() + +commit 4e4938a1e98c7a68d994a34033081d12d8c6727c +Author: René Cannaò +Date: Fri Sep 29 05:10:43 2017 +0000 + + More memory optimization for small resultset + +commit f61c1387a69ad9b89b8cb3dd09ac9a33330b9fe4 +Author: René Cannaò +Date: Fri Sep 29 12:36:50 2017 +0200 + + Memory optimization for small resultset + + Modified these 2 functions to allows write directly in the ResultSet buffer if available: + * MySQL_Protocol::generate_pkt_EOF() + * MySQL_Protocol::generate_pkt_field() + +commit 232aafd02854ec276479b2b699ddb2cdfae7ca3c +Author: René Cannaò +Date: Fri Sep 29 04:11:01 2017 +0200 + + Improving memory allocation in MariaDB Client + +commit 80bad8a811dc5ec28f30e29d9dffd21e355acfbf (tag: 1.4.4) +Author: René Cannaò +Date: Fri Sep 29 00:36:05 2017 +0200 + + Make cpu timers optional #1190 + + Introduced 2 new global variables: + * mysql-stats_time_backend_query (default true) + * mysql-stats_time_query_processor (default true) + + For backward compatibility, they are both enabled by default + +commit 8b23edcbcc0d1a8256ab1fa3435b7562355b3c6f +Author: René Cannaò +Date: Tue Sep 19 21:11:10 2017 +0200 + + Base preparation for 1.4.4 + +commit 79a32d34d2144e0a9a4bd246d8454f3ec1e466cd (tag: v1.4.3) +Author: René Cannaò +Date: Mon Sep 18 18:01:27 2017 +0200 + + Update Makefile for clickhouse packages + +commit e092ea7ba6cb5dec1d1be7a0b10e0c5b46f90e83 (tag: 1.4.3) +Author: René Cannaò +Date: Mon Sep 18 02:06:15 2017 +0200 + + Improvement to integrate ClickHouse and phpmyadmin + +commit 8a8e6814406740abd4bbc35d70447da43c946b1f +Merge: d8c08fec a214ef2f +Author: René Cannaò +Date: Thu Sep 14 01:27:43 2017 +0200 + + Merge branch 'v1.4.3' of https://github.com/sysown/proxysql into v1.4.3 + +commit d8c08fec1d2748ccd7bfd6c082cda7571b9a6657 +Author: René Cannaò +Date: Thu Sep 14 01:17:00 2017 +0200 + + ClickHouse support for Float32 and Float64 + +commit dbf47ee06be003f93edb6b28cf42a83dab733c12 +Author: René Cannaò +Date: Thu Sep 14 01:14:34 2017 +0200 + + Casting string to char pointer + +commit 7b153c407bde87583349afb494669adf1adca222 +Author: René Cannaò +Date: Thu Sep 14 01:10:59 2017 +0200 + + Bugfixes for ClickHouse, unitialized variables + +commit 46193a634cdd6e28837d621fe352cd5066a79e05 +Author: René Cannaò +Date: Wed Sep 13 21:07:15 2017 +0200 + + Further development of SQLite3 Server + + Added variable for SQLite3 Server + Added new command: + * LOAD SQLITESERVER VARIABLES FROM MEMORY / TO RUNTIME + * LOAD SQLITESERVER VARIABLES FROM DISK / TO MEMORY + * SAVE SQLITESERVER VARIABLES FROM RUNTIME / TO MEMORY + * SAVE SQLITESERVER VARIABLES FROM MEMORY / TO DISK + + Connections to SQLite3 Server uses the same MySQL users in `mysql_users` + + Fixed minor issues related to ClickHouse Serve + Fixed also some Makefile errors + +commit a214ef2f40f80a5be73db7e5615ffbc9f86a97e6 +Merge: 0b0e6198 b72d29c7 +Author: René Cannaò +Date: Wed Sep 13 17:09:31 2017 +0200 + + Merge pull request #1175 from hornetmadness/patch-1 + + Noted that multiple admin users can be specified. + +commit b72d29c792c853958b549a87f1b9d2c6abcf62c0 +Author: Erik Mathis +Date: Wed Sep 13 11:04:36 2017 -0400 + + Noted that multiple admin used can be specified. + + https://groups.google.com/d/msg/proxysql/Di6szGG76wk/xoTbjUmQAgAJ + +commit 0b0e6198d22ab7fe7a508d4a941c7e84dc5c1ca8 +Author: René Cannaò +Date: Mon Sep 11 13:34:58 2017 +0200 + + Added ClickHouse variables + + Set dynmic hostname/port + New commands: + * LOAD CLICKHOUSE VARIABLES FROM MEMORY / TO RUNTIME + * LOAD CLICKHOUSE VARIABLES FROM DISK / TO MEMORY + * SAVE CLICKHOUSE VARIABLES FROM RUNTIME / TO MEMORY + * SAVE CLICKHOUSE VARIABLES FROM MEMORY / TO DISK + +commit 21349eb1f7bade6a4db71fbb2e45679720e070e2 +Author: René Cannaò +Date: Sun Sep 10 10:05:01 2017 +0200 + + Fixed copyright year + +commit 0a125813b452780f1a8e0a5682a8c481f7834448 +Author: René Cannaò +Date: Sun Sep 10 09:50:56 2017 +0200 + + Updated Makefile for ClickHouse + +commit 1699bf5daeb19b9a5e51dde363cb22850167a891 +Author: René Cannaò +Date: Sun Sep 10 09:40:29 2017 +0200 + + Add ubuntu16-clickhouse + +commit be615240528d72b59e98cacd4a3476e1d03cf2bb +Author: René Cannaò +Date: Sun Sep 10 09:26:55 2017 +0200 + + Update version to 1.4.3 in docker files + +commit 62898623df8103a552d5fbfdc56094613ddaceb3 +Author: René Cannaò +Date: Sun Sep 10 09:18:07 2017 +0200 + + Add optional support for ClickHouse + +commit 474dd78dc22977846dd582f40595d4faa9a8b0ae +Author: René Cannaò +Date: Tue Aug 15 21:17:21 2017 +0200 + + Several ClickHouse enhancement + + * graceful handle of missing backend (before was just crashing) + * code cleanup + * adding an embedded SQLite3 connections inside ClickHouse Server to execute internally dummy queries + * filter of several SET commands + * support for SHOW [SESSION ](VARIABLES|STATUS) LIKE + * support for SHOW [GLOBAL|ALL] VARIABLES + * support for SHOW GLOBAL STATUS + * support for SHOW COLLATION #1136 + * support for SHOW CHARSET #1136 + * support for SHOW ENGINES #1139 + * support for SELECT current_user() #1135 + * support for SELECT CONNECTION_ID() #1133 + * support for SHOW FULL TABLES FROM `default` + * working semi-support for SHOW COLUMNS FROM + +commit 5731ee66961823e20d0d85977cbf0ca5d3877b89 +Author: René Cannaò +Date: Tue Jul 25 18:20:34 2017 +0200 + + Filter few mysql specific commands + + Commands filtered. + + Returns OK: + SET NAMES + SET AUTOCOMMIT + SET SESSION TRANSACTION ISOLATION LEVEL + + Return empty resulset: + SHOW [SESSION] VARIABLES + +commit a703a9172cdbf3ec718067ec437c922c8f39bde4 +Author: René Cannaò +Date: Sun Jul 16 17:37:06 2017 +0200 + + Further implementation for ClickHouse + + Added --clickhouse-server variable + + Added Admin's table: + * clickhouse_users + * runtime_clickhouse_users + * disk.clickhouse_users + + Added commands to handle ClickHouse users + + Extended number of commmands supported for ClickHouse + +commit d7434ec5af77a177408aac22a8e78e98408c6a74 +Author: René Cannaò +Date: Sat Jul 15 02:05:35 2017 +0200 + + Fixed deps Makefiel for cityhash + +commit 809527212609c522c6fb4b31b4ab98980a062c68 +Author: René Cannaò +Date: Sat Jul 15 02:03:02 2017 +0200 + + Added cityhash + +commit cf57858e502dc9786a5528fbf99ef1d22988d2f5 +Author: René Cannaò +Date: Sat Jul 15 01:56:55 2017 +0200 + + Adding lz4 + +commit 1ec3b3908a092b383be36664f488ac4af434d051 +Author: René Cannaò +Date: Sat Jul 15 01:47:03 2017 +0200 + + Adding clickhouse-cpp Makefile + +commit 46165ba0d829957a9b42537f78e7f1846a93fa8a +Author: René Cannaò +Date: Sat Jul 15 01:34:33 2017 +0200 + + Adding clickhouse-cpp + +commit b57ff42b9c59e2c8b394978b387c5a24424bfb8d +Author: René Cannaò +Date: Sat Jul 15 01:29:08 2017 +0200 + + Drafting again support for ClickHouse + + Introduced new ClickHouse Server module + Introduced new ClickHouse Authentication module + + None of the two new modules are working yet: only initialized. + +commit 983dc5d111be2716805d470bb9a18bc9a5ffd4f1 +Author: René Cannaò +Date: Fri Jul 7 14:55:56 2017 +0200 + + Second commit related to SQLite3_Server + +commit cf7ed16461122dea3b8d878eb3b003f1b6edcbc0 +Author: René Cannaò +Date: Sun Jun 25 21:40:04 2017 +0200 + + Added skelethon for SQLite3_Server + +commit b00878d3bd5b9d492667ede9d05bff6baac7807e +Author: René Cannaò +Date: Sun Jun 25 19:52:57 2017 +0200 + + Introducing proxysql_session_type + + As a way to differentiate types of sessions + +commit 25b2780c768df0ff7b6d3e4aabb6807b80dcb130 +Author: René Cannaò +Date: Sun Jun 25 15:38:15 2017 +0200 + + Update gitignore + +commit f9596cc0c1c0c6e5263641d03f30266eaa2b9b71 +Author: René Cannaò +Date: Sat Sep 9 01:56:58 2017 +0200 + + Fix packages for Centos5 and Debian9 dbg + +commit 576edfe1be8401e29ecb4a03754db1e7187ab1db (tag: v1.4.2, origin/v1.4.2) +Merge: 04038d0e 81574c2b +Author: René Cannaò +Date: Fri Sep 8 16:30:47 2017 +0200 + + Merge branch 'v1.4.2' of https://github.com/sysown/proxysql into v1.4.2 + +commit 04038d0e3ff36ef5af06f62908ddbeb281abff70 +Author: René Cannaò +Date: Fri Sep 8 16:29:35 2017 +0200 + + Solving compiling error in gcc 6.1 + +commit 81574c2bf1bce05b8346c4c441e1b06e5831c110 +Merge: c9d3d03f 6b9906be +Author: René Cannaò +Date: Fri Sep 8 13:29:09 2017 +0200 + + Merge pull request #1169 from ananthakumaran/v1.4.2 + + initialize the filler byte to 0 + +commit 6b9906befaf26c937f6452e1dc02b2cf6aaa2e97 +Author: Anantha Kumaran +Date: Fri Sep 8 16:16:33 2017 +0530 + + initialize the filler byte to 0 + + ``` + COM_STMT_PREPARE OK + OK response to a COM_STMT_PREPARE packet + + direction: server -> client + + payload: + 1 [00] OK + 4 statement-id + 2 num-columns + 2 num-params + 1 [00] filler + 2 warning count + ``` + + According to the protocol 10th byte (filler) of the response should be + 0. introduced by 02432b2b2734473654e5fe8055d6b623a42be4f2. + +commit c9d3d03f320fe76619acc51ce7005af943b4625c +Author: René Cannaò +Date: Fri Sep 8 05:35:21 2017 +0200 + + Cluster: better handling of mysql_servers.status + +commit ed802e9f5dfd6786bb04bd8a8bf0457536e88b69 +Author: René Cannaò +Date: Wed Sep 6 02:58:08 2017 +0200 + + Cluster: typo prevents checksum on mysql_servers + +commit ba220421308a158ef96692e58cd99dedd296faa7 +Author: René Cannaò +Date: Wed Sep 6 02:26:58 2017 +0200 + + Cluster: minor typos + +commit 924c1fa9f8c57aa3385ef4b9af7f541da70375ee +Author: René Cannaò +Date: Wed Sep 6 01:09:51 2017 +0200 + + Cluster: Load query rules always as active=1 + +commit 4bc72143b04f89daf4a1ee4fc0c188e643b46a64 +Author: René Cannaò +Date: Tue Sep 5 16:26:33 2017 +0200 + + Make sure that not empty hostname are logged + +commit 21df8d1346a3eb19717071d0606b7ea25b05ca84 +Author: René Cannaò +Date: Tue Sep 5 14:53:15 2017 +0200 + + Return 0 checksum if mysql_users is empty + + If table `mysql_users` is empty, its checksum must be all zeros + +commit 51c2af46f504d1343cf0ec8847d052c21a44ce9a +Author: René Cannaò +Date: Tue Sep 5 04:01:07 2017 +0200 + + Use runtime_mysql_replication_hostgroups in Cluster + +commit 67077fd96c3f17502759e8d2a1d7573640fe9698 +Author: René Cannaò +Date: Tue Sep 5 01:46:34 2017 +0200 + + Fixed typo: sync was based on own_version and not own_epoch + +commit cfbeac76a4033eeb2e70ae5ce702911fb35a4379 +Author: René Cannaò +Date: Tue Sep 5 01:14:20 2017 +0200 + + Cluster: Sync if threshold >= instead of > + +commit a22eb8b3959a8edb4a9498949c99f59b562b8242 +Author: René Cannaò +Date: Sat Sep 2 01:51:17 2017 +0200 + + No connection from pool for fast_forward #1157 + + If a user is configured with fast_forward, no connection should be taken from the connection pool. + Yet the Hostgroup Manager should know about such connection. + +commit 0598c0d0af8cb1e40f8838373182d910a8ef3934 +Author: René Cannaò +Date: Fri Sep 1 22:15:31 2017 +0200 + + Fix for bug #1160 : reset time_zone + +commit 1bb87b584db6cea82e060eb009dfdbb2437925a1 +Author: René Cannaò +Date: Fri Sep 1 22:11:55 2017 +0200 + + Fix for bug #1160 : reset sql_mode + +commit b211e9903fd2fc070b2744c44eaaf4906652f9ed +Merge: 17770734 e3c4cb99 +Author: René Cannaò +Date: Fri Sep 1 21:34:32 2017 +0200 + + Merge branch 'v1.4.2-checksum' into v1.4.2 + +commit 177707345515fe5a6545b8a8b2d236b39a972f0f +Merge: 70637cdb 76dc9d88 +Author: René Cannaò +Date: Fri Sep 1 21:34:05 2017 +0200 + + Merge pull request #1152 from everpcpc/autocommit + + fix check autocommit false mistaken to true + +commit 70637cdb754cd6f3bd5e2e92a26d7d6200f58956 +Merge: 4e1e6d9e a57ebb36 +Author: René Cannaò +Date: Fri Sep 1 21:16:16 2017 +0200 + + Merge pull request #1154 from i1tech/v1.4.2 + + Add reload command to init.d script. + +commit 4e1e6d9ebea685e3e8ce8e94191e8be69a96f0a8 +Merge: 75bb9b77 31e29ddc +Author: René Cannaò +Date: Fri Sep 1 21:13:08 2017 +0200 + + Merge pull request #1158 from krzysztof-ksiazek/v1.4.2 + + Further improvements to reduce config reloading + +commit e3c4cb9964aea2b40f8d98374c29037c234cb695 +Author: René Cannaò +Date: Fri Sep 1 21:11:48 2017 +0200 + + A lot of changes all related to Cluster + + In `MySQL_Cluster` class added functions to sync with remote node, like: + - `pull_mysql_query_rules_from_peer()` + - `pull_mysql_servers_from_peer()` + - `pull_mysql_users_from_peer()` + - `pull_proxysql_servers_from_peer()` + + Added 8 new global variables in Admin. + 4 variables determine after how many different checks the remote configuration will be synced: + - cluster_mysql_query_rules_diffs_before_sync + - cluster_mysql_servers_diffs_before_sync + - cluster_mysql_users_diffs_before_sync + - cluster_proxysql_servers_diffs_before_sync + 4 variables determine if after a remote sync the changes need to be written to disk: + - cluster_mysql_query_rules_save_to_disk + - cluster_mysql_servers_save_to_disk + - cluster_mysql_users_save_to_disk + - cluster_proxysql_servers_save_to_disk + + Table `proxysql_servers` is now automatically loaded from disk to memory and into runtime at startup. + + Added new Admin's command `LOAD PROXYSQL SERVERS FROM CONFIG` to load `proxysql_servers` from config file to memory (not runtime). + + Internal structures with credentials in MySQL_Authentication moved from `unsorted_map` to `map` : this to ensure the right order when generating the checksum. + + Config file supports both `address` and `hostname` for `mysql_servers` and `proxysql_servers` , #1091 + + `ProxySQL_Admin::load_proxysql_servers_to_runtime()` now has a lock or no lock option, to avoid deadlock + + For now, Cluster module is quite verbose. + +commit 31e29ddc904e94a42410f6c6f807b167607736de +Author: Krzysztof Ksiazek +Date: Thu Aug 31 10:47:52 2017 +0200 + + Further improvements to reduce config reloading + +commit a57ebb36e72a226882010135d9f0f7be417618cc +Author: John W Smith +Date: Wed Aug 30 15:37:03 2017 -0400 + + Fixing previous push for reload function + +commit 1b2ea6a76b84d5dbad527b846d1031db6a4dd4c6 +Author: John W Smith +Date: Wed Aug 30 10:22:28 2017 -0400 + + Add reload command to init.d script. + +commit 76dc9d886e9f388722fbd944986541afde35332a +Author: everpcpc +Date: Mon Aug 28 16:35:56 2017 +0800 + + fix check autocommit false mistaken to true + +commit 2a76f95e31fb43117651436e3afeb76ab86e8e95 +Author: René Cannaò +Date: Fri Aug 25 13:13:28 2017 +0200 + + Further enhancement on Cluster + + Extended class ProxySQL_Checksum_Value() in ProxySQL_Cluster module to support further metrics + Implemeted `SELECT GLOBAL_CHECKSUM()` and relative tracking of global checksums + Added variable `admin-cluster_check_status_frequency` to check peer's global status at regular intervals + +commit 75bb9b77fa10d4f74a3161ef3b168d7f3257a4c6 +Merge: 3eda7637 d44838b5 +Author: René Cannaò +Date: Fri Aug 18 12:58:33 2017 +0200 + + Merge pull request #1144 from everpcpc/autocommit + + add option autocommit_false_not_reusable + +commit d44838b57232d77439955593787bb7649d1ace0a +Author: everpcpc +Date: Fri Aug 18 15:26:18 2017 +0800 + + add option autocommit_false_not_reusable + +commit ee8110a51540f0d5209946f0fa22d4d1ccfc9121 +Author: René Cannaò +Date: Fri Aug 18 00:29:53 2017 +0200 + + Enhancement on Cluster solution + + This commit introduces: + + 2 new tables: + * `runtime_checksums_values` : stores checksums of configurations in runtime. For now for `mysql_query_rules`, `mysql_servers` and `mysql_users` + * `stats_proxysql_servers_checksums` : when clustering is enabled, it collects all metrics from `runtime_checksums_values` from all its peers + 3 new global variables that defines it checksum needs to be generated during `LOAD ... TO RUNTIME` + * `admin-checksum_mysql_query_rules` + * `admin-checksum_mysql_servers` + * `admin-checksum_mysql_users` + + ProxySQL Cluster connections now have timeouts: + * 1 second timeout for CONNECT and WRITE + * 60 seconds timeout for READ (useful for long poll) + +commit 3eda76379e661fd19e57f2d0b6bdb5ad77073039 +Author: René Cannaò +Date: Tue Aug 15 23:51:19 2017 +0200 + + Do not return ERR for MYSQL_OPTION_MULTI_STATEMENTS_ON #1122 + +commit a217e4fa3d4f20d639106f31ea9651d8856be1cc +Author: René Cannaò +Date: Tue Aug 8 21:20:49 2017 +0200 + + Updating doc #976 + +commit 02cbe1828413b0bd6b02be29badcc106ce68a6a4 +Author: René Cannaò +Date: Tue Aug 8 21:17:05 2017 +0200 + + Merging #981 into 1.4.2 + +commit 238ca17f6dc353933172ba775dccd9d50b1b817c +Author: René Cannaò +Date: Tue Aug 8 21:09:07 2017 +0200 + + Merging PR #931 and #1035 + +commit 6d80b5406de5cdab071deb944b4a78d06889dddf +Author: Charlie Root +Date: Sat Aug 5 02:33:25 2017 +0800 + + Fix FreeBSD Compilation error + +commit b497623ecc75524c1782dbe4a8648d3fd2c63f1f +Author: René Cannaò +Date: Mon Aug 7 18:01:27 2017 +0200 + + Reintroduced Ubuntu12 + + Reintroduced packaging for Ubuntu12. + Maybe temporarily. + +commit 58a1b2d612e57c5c199d3111027e901488cfe2ca +Author: René Cannaò +Date: Mon Aug 7 17:39:04 2017 +0200 + + Moved match_regexes in MySQL_Thread #1127 + +commit eda8ab478e63df33fe1fc78d701275716d862258 +Author: René Cannaò +Date: Fri Aug 4 01:54:38 2017 +0200 + + Fix memory leaks in auxiliary thread #896 + + Related also in #935 , #1030 , #1099 + +commit 477d95cc006f392d431aed9306648110ae5b95e1 +Author: René Cannaò +Date: Thu Aug 3 01:44:19 2017 +0200 + + Updating version to 1.4.2 + +commit 6bdf154d206927db49cdceef552b77b9c741b97b (tag: 1.4.2) +Author: René Cannaò +Date: Thu Aug 3 00:43:40 2017 +0200 + + Adding more sleep in Makefile + + For some odd reason, Docker needs some long wait + +commit ab4e6eeecf6acf2241938b20de14144048ad7406 (tag: v1.4.1) +Author: René Cannaò +Date: Tue Aug 1 11:47:01 2017 +0200 + + Adding missing include + +commit 3115d3fc828a341fa0d03f8f0b756847f61e3666 +Author: René Cannaò +Date: Tue Aug 1 11:45:43 2017 +0200 + + Added support for Debian9 #1114 + +commit abd17f56914f724035fcc3cf10451ac59f606899 +Author: René Cannaò +Date: Mon Jul 31 14:21:26 2017 +0200 + + Updae variable name in proxysql.cnf #1088 + +commit ad847a05796e3c305ab066fc3580585bb8809bc0 +Author: René Cannaò +Date: Mon Jul 31 14:20:31 2017 +0200 + + Do not warns for empty cluster credentials + +commit 4ff31142b664daf01736f54926fce2eb0482c310 +Author: René Cannaò +Date: Mon Jul 31 13:32:27 2017 +0200 + + Thread stack size metrics + +commit fd803720347e8a916ea393c520bf327c7f2a415b +Author: René Cannaò +Date: Mon Jul 31 02:30:16 2017 +0200 + + Unitialized variable + +commit 1c1faf210f4814d0f27e2d719fb46b8ddf31c18b +Author: René Cannaò +Date: Sun Jul 30 20:11:04 2017 +0200 + + Some clean up + +commit f583982ace1f98bdcd516acc533ec27c42eef895 +Author: René Cannaò +Date: Sun Jul 30 19:58:50 2017 +0200 + + Drafting support for ProxySQL Cluster + +commit 641b8ac1eb7b763e59b2d0e817edd13d6884bc94 +Author: René Cannaò +Date: Tue Jul 25 14:59:30 2017 +0200 + + Adding tables for cluster + +commit 1ada33a0481aa5e6f8953d4dee65c65d9c47ee0e +Author: René Cannaò +Date: Fri Jul 21 02:55:30 2017 +0200 + + Features #1103 and #1104 + + Bind on 0.0.0.0 by default #1103 and don't allow remote login from standard users + + Do not listen on unix socket domain by default #1104 #1104 + +commit dc3664ac33c3b095892c30da5085a98af745e5e5 +Author: René Cannaò +Date: Thu Jul 20 19:08:44 2017 +0200 + + Adding command PULL VERSION MYSQL SERVERS + + Experimental feature + +commit 02432b2b2734473654e5fe8055d6b623a42be4f2 +Author: René Cannaò +Date: Mon Jul 17 14:55:04 2017 +0200 + + Possible fix for issue #1062 + + Forward to backend SET commands with prepared statements + +commit 1ba8c6440096b7b94c07d99fc6a0de3baad55e4e +Author: René Cannaò +Date: Wed Jul 19 20:58:36 2017 +0200 + + Update gitignore + +commit 8ed85453b751a26c0f71ee8739e8bda6f2ad2d34 +Author: René Cannaò +Date: Fri Jul 14 02:09:51 2017 +0200 + + Reset insert_id on connection sent to pool #1093 + + Automatically reset mysql->insert_id when a connection is sent to connection pool. + If is not reset to 0 , when a backend connections is assigned to a client, this one can potentially read the last inserted id from the previous client. + +commit 5389f445d72baeb82707dc2844b6210fc87eb084 +Author: René Cannaò +Date: Fri Jul 14 01:07:17 2017 +0200 + + Bug fixes related to LAST_INSERT_ID() + + * 64 bits LAST_INSERT_ID() #1090 + * return LAST_INSERT_ID() as type LONGLONG #1092 + * set charset as `binary` #1092 + +commit 3e4f97e0f539b03e79490970d4bb8b8c6d7ff0bd +Author: René Cannaò +Date: Thu Jul 13 20:45:13 2017 +0200 + + Parsing bug in proxysql.cnf introduce in #1073 + +commit d559459f982c803de606e638f8ff897f4928fbc7 +Author: René Cannaò +Date: Thu Jul 13 20:33:29 2017 +0200 + + Bug fix for #1085 + + Immediatelly kill all client connections using an OFFLINE node + +commit 4149a5eff16aeb88bceb2dbecbf2e2ae7f78729f +Author: René Cannaò +Date: Mon Jul 3 14:59:46 2017 +0200 + + HGCU_thread_run() using password as username #1079 + + HGCU_thread_run() was incorrectly using monitor's password as username + +commit a8846cc54338e18ef81024eb23c0d1ddf19ec15d +Author: René Cannaò +Date: Wed Jun 28 23:12:24 2017 +0200 + + Incorrect number of columns in Query_Processor::get_current_query_rules() + + Crashing bug affecting only 1.4 + +commit 07b3f2556a965ee7a6ca6f9711c27ecf8ea1b970 +Author: René Cannaò +Date: Tue Jun 27 21:19:16 2017 +0200 + + Renamed CPP to CXX in Makefiles #1052 + +commit b3785d367245cb97ed3599b91893552d99b16950 +Author: René Cannaò +Date: Tue Jun 27 21:03:34 2017 +0200 + + Support for SELECT LAST_INSERT_ID() LIMIT 1 #1048 + +commit 708f14a6e670fa48cef89b0ca037493e572387f8 +Author: René Cannaò +Date: Tue Jun 27 02:09:33 2017 +0200 + + More accurate memory metrics + +commit b1b9ad6598f9857d97ea4950be2ea4d5ef5a4a60 +Author: René Cannaò +Date: Tue Jun 27 01:36:10 2017 +0200 + + Update jemalloc metrics + +commit 1414d4430fdcad2cda6a3789b37a24c145d9b415 +Author: René Cannaò +Date: Tue Jun 27 01:16:20 2017 +0200 + + Introduced new table stats_memory_metrics + + Here an example: + ``` + Admin> SELECT * FROM stats_memory_metrics ORDER BY variable_name; + +----------------------+----------------+ + | Variable_Name | Variable_Value | + +----------------------+----------------+ + | Auth_memory | 836 | + | SQLite3_memory_bytes | 1636648 | + | jemalloc_active | 3469312 | + | jemalloc_allocated | 3055248 | + | jemalloc_mapped | 14680064 | + | jemalloc_metadata | 1480576 | + | jemalloc_resident | 4542464 | + | jemalloc_retained | 0 | + | query_digest_memory | 459 | + +----------------------+----------------+ + 9 rows in set (0.00 sec) + ``` + +commit fe5783ebb49e432dc3f8d0ad8a0ea18ea95e598d +Author: René Cannaò +Date: Mon Jun 26 22:29:26 2017 +0200 + + Better memory metrics + +commit f3a27b2c1b036ced79e520e0690f66b1ab6831f5 +Author: René Cannaò +Date: Mon Jun 26 21:52:42 2017 +0200 + + Do not consider a server failed in case of Access denied #1073 + + If a server returns "Access denied" during monitor ping, + the server is up and running. + + If a server returns "Access denied" during monitor connect, + an error message is logged in error log. + + Added a comment in proxysql.cnf to point that the variables need to be set + +commit 9653e19b535c28f443595d96c1e7b0a187d03ade +Author: René Cannaò +Date: Mon Jun 26 12:14:12 2017 +0200 + + Fix datatypes in stats_mysql_processlist #1005 + +commit e3015b8a39356174e4bf6fcf9a22a8d7ad9d1ad1 +Author: René Cannaò +Date: Mon Jun 26 12:11:19 2017 +0200 + + Fix datatypes in stats_mysql_connection_pool #1004 + +commit 7ad078aebfe9d173fbe6fec1c245341a49e15030 +Author: René Cannaò +Date: Mon Jun 26 12:03:40 2017 +0200 + + Final fix for #1061 + +commit 391c5455eac2627f607daf4191eceede213a1a08 +Author: René Cannaò +Date: Sun Jun 25 14:28:31 2017 +0200 + + Reset connection metadata after CHANGE_USER #1069 + +commit b78b687f4661b95a5984126456f53f583ef92159 +Author: René Cannaò +Date: Sun Jun 25 12:11:16 2017 +0200 + + Bug fix for #1061 + + Adding error handling in HGCU_thread_run() for + `change_user_start()` and `change_user_cont()` + +commit 27e28a53adc9de8dea2e33f315e45745f8341aa5 +Author: René Cannaò +Date: Sun Jun 25 00:09:30 2017 +0200 + + Servers did not recover from RO=1 to RO=0 #1039 + + Status of the server was not changed if: + * was OFFLINE_HARD + * was incorrectly present in myhgm.mysql_servers + + Added also a mutex to serialize the read_only actions + +commit ccf9b3233290d0b62bb16430316b15962c5c20a4 +Author: René Cannaò +Date: Sat Jun 24 20:11:24 2017 +0200 + + Remove trailing semicolon in SET NAMES #1065 + +commit 1a4b156337622732f9d6b75d464dcc9e3a5cd4dd +Author: René Cannaò +Date: Fri Jun 23 19:11:05 2017 +0200 + + Reduce parallelism during build + +commit 5624afd41c280c0748f05552523724c537d3276e +Author: René Cannaò +Date: Thu Jun 22 18:00:19 2017 +0200 + + Support SELECT VERSION() in Admin + +commit 13fc13b356f15cd71ab6644605b323c754cea735 +Author: René Cannaò +Date: Wed Jun 21 01:12:37 2017 +0200 + + Incorrect number of arguments while processing query rules from config file + +commit 0bf6d48e32c58fd6b835a9256cb0f1f7d4517499 +Author: René Cannaò +Date: Tue Jun 20 01:02:33 2017 +0200 + + Remove support for Ubuntu 12 : too old! + +commit 71ecc15c8673ee6ce267479cc412384d45d4f0a5 +Author: René Cannaò +Date: Tue Jun 20 01:01:03 2017 +0200 + + Make possible to compile on gcc 4.7 + +commit 8585f050ced45597339795b25da7321573c53695 +Author: René Cannaò +Date: Mon Jun 19 22:04:51 2017 +0200 + + Fix bug 1046 + + Do not reset prepared statements while connections are being destroyed + +commit 455026bffdbb56670e277d70ff1338b80bd54ef7 +Author: René Cannaò +Date: Mon Jun 19 01:58:56 2017 +0200 + + Improving data flow control for #1034 + +commit f6efca6d9d42fd669d9adc2970df287d237749bf +Author: René Cannaò +Date: Sun Jun 18 13:18:13 2017 +0200 + + Do no wait on restart unless required + + Angel process waits some time before restarting the child process if crashed. + The wait time is only required if the child process is restarting too often. + This patch drastically improve re-start time. + +commit 0a0057032f77b32d1e64b0fbc2a972956f7f2a66 +Author: René Cannaò +Date: Sun Jun 18 01:38:31 2017 +0200 + + Improving Admin start time #1055 + +commit 4188d2009cc9141b2ecb6b28fc362ab2b779fe99 +Author: René Cannaò +Date: Sat Jun 17 18:18:18 2017 +0200 + + mysql_query_rules.OK_msg #1045 + + Extending mysql_query_rules with a new field: OK_msg + + If OK_msg is not NULL, an OK packet is sent to the client with an optional + message as specified in OK_msg itself. + If OK_msg is an not NULL empty string, an OK packet is sent to the client + without any message. + If both error_msg and OK_msg are present, error_msg is returned. + + This commit includes also few minor bugs, mostly related to typo that would + prevent online upgrade of mysql_query_rules from early release of 1.4.0 . + +commit fc5a56eec359eee2dbfff8cf089624361765a9f0 +Author: René Cannaò +Date: Sat Jun 17 02:02:47 2017 +0200 + + Fix bug #1054, MySQL error 1203 + + Do not shun for error 1203: + User %s already has more than 'max_user_connections' active connections + +commit bfd20147c7bbfd6d66a3b469e3f95d11c113eb8a +Author: René Cannaò +Date: Fri Jun 16 23:41:58 2017 +0200 + + When daemonized, parent closes proxysql.log #1049 + +commit 2193152cb1cbb5fa2a675a954d52dba9922d1134 +Author: René Cannaò +Date: Fri Jun 16 22:00:02 2017 +0200 + + Fix bug #1043 + + This was affecting mysql_users table. + Trying to upgrade twice was causing data loss + +commit 606680be86535cea9345b6c2f18b126b6b6b142a (tag: 1.4.1) +Author: René Cannaò +Date: Tue Jun 13 11:41:07 2017 +0200 + + Preparing 1.4.1 + +commit 321cd5be67acea6965bbad3d25106204f71a1595 +Author: René Cannaò +Date: Sun Jun 11 00:57:02 2017 +0200 + + Better control of backend throttle #1034 + +commit f614b59de526d801b61047d96eeb97e5b3a9a6aa +Author: René Cannaò +Date: Sat Jun 10 16:52:05 2017 -0500 + + Improving throttling #1034 + +commit c437c08f813717e8fbfa2be7b386c33d9f6eee01 +Author: René Cannaò +Date: Sat Jun 10 21:55:42 2017 +0200 + + Implementation of global per-query throttle #1034 + +commit 83053b39f33e6f18738564555a7467091288bc67 +Author: René Cannaò +Date: Fri Jun 9 14:39:49 2017 +0200 + + Removing spinlock completely #977 + +commit 76a17a8e00a58b8736cc1e509b8537bfa096c842 +Author: René Cannaò +Date: Fri Jun 9 14:37:17 2017 +0200 + + Remove spinlock from Debug #977 + +commit d63b4c886b8d5f12d5ef6176edd5ba2486854702 +Author: René Cannaò +Date: Fri Jun 9 14:27:41 2017 +0200 + + Remove spinlock from MySQL Thread #977 + +commit fc58e516f3f9e5b29b6049dff05832a3e805481a +Author: René Cannaò +Date: Fri Jun 9 01:39:34 2017 +0200 + + Remove spinlock from StatCounters (unused) #977 + +commit 64eb4cda354a6be55135e149ecfbfdc9e9f70d6a +Author: René Cannaò +Date: Fri Jun 9 01:31:16 2017 +0200 + + Remove spinlock from MySQL Auth #977 + +commit 5e05348b229b5efe44be30d3aaa94c6e409d8400 +Author: René Cannaò +Date: Fri Jun 9 01:17:09 2017 +0200 + + Remove spinlock from MySQL Logger #977 + +commit 826495da0725f350f4b7d5da2d08a4edf549188d +Author: René Cannaò +Date: Fri Jun 9 01:10:45 2017 +0200 + + Remove spinlock from Admin #977 + +commit 281e9cd619e1f22fa1aef2c23861418fad67e31c +Author: René Cannaò +Date: Thu Jun 8 23:44:37 2017 +0200 + + Remove spinlock from Query Processor #977 + +commit a0bdae67d1854aafa4a5ecfc95259c4edadc32bf +Author: René Cannaò +Date: Thu Jun 8 22:29:37 2017 +0200 + + Remove spinlock from Query Cache #977 + +commit aa8f0c5c437f83fa5445e47db5756f7ca373605f +Author: René Cannaò +Date: Thu Jun 8 21:34:06 2017 +0200 + + Remove spinlock from class SQLite3DB #977 + +commit 38e5206e0dafec14828fc6aeebf6ce8c32c5c72e +Merge: 11af2c7c 080bb3d4 +Author: René Cannaò +Date: Thu Jun 8 16:53:40 2017 +0200 + + Merge branch 'v1.4.1-ps' into v1.4.1-dev + +commit 11af2c7c2421545316d874f755fe78dbef40f172 +Author: René Cannaò +Date: Fri Jun 2 19:25:50 2017 +0200 + + Bug fix for #978 + +commit 370d16f34e366712a88f91d3ae27e744c7640b70 +Author: René Cannaò +Date: Wed Jun 7 01:08:37 2017 +0200 + + Bug fix #1007 + + Suppressing annoying errors about debug version + +commit 11dc161e531ca6a303782e38ca8e0eb41c54556a +Author: René Cannaò +Date: Wed Jun 7 00:20:38 2017 +0200 + + Change default session_idle_show_processlist #1041 + + The default of mysql-session_idle_show_processlist is changed from false to true + +commit 0668cbdd6e229da197690c16e27781472382f48a +Author: René Cannaò +Date: Wed Jun 7 00:06:40 2017 +0200 + + Fix for bug #1038 + + If the last packet is an ERR packet, it is impossible to know if there is a transaction or not. + When in doubt, assume there is a transaction. + Although the assumption is not always correct, it is better to make a safer decision. + +commit 080bb3d4711116472952f5ec387d616ba28d333b +Author: René Cannaò +Date: Tue Jun 6 21:45:11 2017 +0200 + + Big change to imporve how prepared statements work + +commit de0b939e1cfff03d3a4e921226794600df382dca +Author: René Cannaò +Date: Fri Jun 2 21:09:26 2017 +0200 + + clang-format on MySQL_PreparedStatement.cpp + +commit 514fa656d63ed966743f52962235902fe804059c +Author: René Cannaò +Date: Fri Jun 2 13:32:06 2017 +0200 + + Fix bug #1012 + +commit 413db8c8416c707af106c60f2af35f179c5f8004 +Merge: 2b6bf14b 312a04c7 +Author: René Cannaò +Date: Tue May 30 16:58:30 2017 +0200 + + Merge branch 'v1.4.1-sqlite' into v1.4.1-dev + +commit 2b6bf14b449e4d527bb1725c659f5f8ad2dee3c6 +Merge: b220ae8c 757f5579 +Author: René Cannaò +Date: Tue May 30 16:58:25 2017 +0200 + + Merge branch 'v1.4.1-pause' into v1.4.1-dev + +commit 757f55791d5c2b07519e9c6886bd5e10c133b4c3 +Author: René Cannaò +Date: Tue May 30 16:57:30 2017 +0200 + + Re-implementation of PROXYSQL PAUSE and RESUME + +commit b220ae8c0957f00f7e768f4406650b13168bcdcd +Author: René Cannaò +Date: Tue May 30 00:24:26 2017 +0200 + + Bugfix in StringToHex + +commit 61396cbcdb58578576871a43e0e3b208dcee1962 +Author: René Cannaò +Date: Mon May 29 22:17:32 2017 +0200 + + Speed up read from runtime_mysql_users + +commit 17f9953a1836e7b30c61528ddda2fd0552e9dffe +Author: René Cannaò +Date: Mon May 29 21:07:15 2017 +0200 + + Added mutex for LOAD MYSQL USERS TO RUNTIME + +commit 312a04c73dafc6f5c23bb308c1a70b5f3728899e +Author: René Cannaò +Date: Mon May 29 20:30:55 2017 +0200 + + Upgraded SQLite3 to 3.19.2 + +commit f550cf1340047b65147be83df75251f640897291 +Author: René Cannaò +Date: Mon May 29 17:46:55 2017 +0200 + + Speeding up user management + + LOAD MYSQL USERS TO RUNTIME is not faster + Introduced LOAD MYSQL USER username TO RUNTIME + +commit 3c6a323adafd39873a8158c2a2516e4ec8a0ab80 +Author: René Cannaò +Date: Sun May 28 16:40:12 2017 +0200 + + Admin to support SELECT DATABASE() AS name #1022 + +commit 91fbfc1adcd1dac5462d8686d57a2df299582b71 +Author: René Cannaò +Date: Sun May 28 16:24:40 2017 +0200 + + ignore semicolumn from SET commands #1020 + +commit e079bc0f2267d91b3713d43aca62624af1e717c1 +Author: René Cannaò +Date: Sun May 21 11:04:18 2017 +0000 + + Make nonblocking both ends of pipe used for IPC + +commit f44ea018ded0af2dff5db407b9a7dec6df66c319 +Merge: 9e5bd38f e2f0cc4a +Author: René Cannaò +Date: Sun May 21 11:06:19 2017 +0000 + + Merge tag 'v1.4.0' + +commit 9e5bd38f452d330f8ce03890fe8e8e61cc8d102f +Merge: f87b67af 8ceff8b5 +Author: René Cannaò +Date: Sun May 21 12:41:50 2017 +0200 + + Merge pull request #1023 from freshbooks/issue-1016-master + + Make sure we're not hitting uninitialized memory that happens to match prefix + +commit 8ceff8b56cc640399d35dcec73fa58bdc6425440 +Author: Christopher Troup +Date: Fri May 19 09:28:21 2017 -0400 + + Make sure we're not hitting uninitialized memory that happens to match prefix + +commit e2f0cc4a71a77fb6482dffa8f4f61aa4727ac1ef (tag: v1.4.0, tag: 1.4.0, origin/v1.4.0) +Merge: a72906f0 4a6385a3 +Author: René Cannaò +Date: Sun Apr 23 05:15:16 2017 +0000 + + Merge branch 'v1.4.0-999' into v1.4.0 + +commit a72906f0699959757f9f2d810d57313d72c61cf3 +Merge: 9ed099d6 fb322c20 +Author: René Cannaò +Date: Sun Apr 23 02:19:17 2017 +0000 + + Merge branch 'v1.4.0-mirrordebug' into v1.4.0 + +commit 9ed099d641f067b5b631d39d0bbf452a26258ef7 +Author: René Cannaò +Date: Sat Apr 22 04:50:34 2017 +0000 + + Incorrect processing of sqlstate #1001 + + For prepared statements, change autocommit, change schema, and others + +commit 4a6385a38df9e0603b5cb0d3c8a17e0e206a4889 +Author: René Cannaò +Date: Fri Apr 21 03:04:05 2017 +0000 + + Delayed multiplexing #999 + + Added new variable mysql-connection_delay_multiplex_ms to delay multiplexing when possible + +commit 410b426da0db8b1353efd7dba621d7e3695cb259 +Author: René Cannaò +Date: Wed Apr 19 19:48:00 2017 +0000 + + Write version also in foreground #997 + +commit ff55a255d9ce9c01825f31a6c2b90b3aca46bc96 +Author: René Cannaò +Date: Wed Apr 19 18:00:22 2017 +0000 + + Ensure that version number is written in log #977 + +commit 362c051d539e730dd63b39600eed135313b3032b +Author: René Cannaò +Date: Wed Apr 19 17:26:51 2017 +0000 + + Adding likely/unlikely in header + +commit e1549729dd135d600276b252544b5adef14577b5 +Author: René Cannaò +Date: Wed Apr 19 16:31:55 2017 +0000 + + Add support for -- comment #955 + +commit 3665eb86b0bef1ec0291587a61c2fe26acc678f1 +Author: René Cannaò +Date: Mon Apr 17 14:40:30 2017 +0000 + + Fix retry on STMT_EXECUTE #998 + +commit 18b2a3cecde6fe46ad9e0eb91587a4a70b2cc83a +Author: René Cannaò +Date: Mon Apr 17 14:37:34 2017 +0000 + + proxysql_galera_check.sh Usage text #968 + +commit 7823072dad68af8ea575612f971acd444490fbe2 +Author: René Cannaò +Date: Mon Apr 17 10:11:43 2017 +0000 + + Unbalanced traffic with high weights #975 + + If total mysql_servers.weight per hostgroup was higher than 64K, traffic was unbalanced + + Conflicts: + include/gen_utils.h + lib/MySQL_HostGroups_Manager.cpp + +commit ef0591632b4a2c025a1ec515b24d41b217f53324 +Author: René Cannaò +Date: Mon Apr 17 08:42:43 2017 +0000 + + Moved code related to #997 + +commit 2414eb5e384a43b7e095eb698db45080b9ce9205 +Author: René Cannaò +Date: Mon Apr 17 08:30:24 2017 +0000 + + Convert variables error in warning #992 + +commit fd987fea90384764299ebd55ea80e0fd68f57625 +Author: René Cannaò +Date: Mon Apr 17 08:12:06 2017 +0000 + + Automatically detect kernel and set REUSEPORT #997 + + Conflicts: + lib/ProxySQL_GloVars.cpp + +commit 922a51f902b4b2a20d6b94ead206d17212776ffc +Author: René Cannaò +Date: Mon Apr 17 07:18:09 2017 +0000 + + Second possible fix for bug #896 + +commit 817cda3f12167117ca44df43943837ef6d2e0612 +Author: René Cannaò +Date: Fri Apr 14 01:24:27 2017 +0000 + + New table stats_mysql_connection_pool_reset #753 + +commit 7ad748d847e29aabe65ed509beefcafd37d16f92 +Author: René Cannaò +Date: Fri Apr 14 01:06:11 2017 +0000 + + Fix infinite loop on broken connection #990 + +commit fb322c20db62fba515d17e93dc062e898aa5fa14 +Author: René Cannaò +Date: Thu Apr 13 23:23:04 2017 +0000 + + Initialize mirror queue + +commit 02036575a9c87c12fbd2bdce8f7accdd404968da +Author: René Cannaò +Date: Thu Apr 13 00:44:04 2017 +0000 + + Fix accounting bug in mirror_sessions_current + +commit 5a0078809dbfc1bac03958d101fe9253c2c7e855 +Author: René Cannaò +Date: Thu Apr 13 00:18:33 2017 +0000 + + Destroy mirror sessions not safe to share + +commit 05f55d347a3d57cb3310a570a30870d7df5c4c1a +Author: René Cannaò +Date: Tue Apr 11 11:23:14 2017 +0000 + + Crash on connection timeout and fast forward #979 + + Conflicts: + lib/MySQL_Session.cpp + +commit 13cade1f771ac0c32de57bdc3de9ce3928caf78b +Author: René Cannaò +Date: Tue Apr 11 10:08:10 2017 +0000 + + Improving mirroring performance + + The commit introduces sessions caching, drastically reducing memory overhead in case of very high QPS + +commit 5a1870098a0b92292c0367820f4fc34094b4a887 +Author: René Cannaò +Date: Mon Apr 10 22:32:05 2017 +0000 + + Mirroring improvements test2 + +commit b7ca1e1fde3df964a3b3ecce887cfde9021216c4 +Author: René Cannaò +Date: Mon Apr 10 20:39:02 2017 +0000 + + Mirroring improvements test1 + +commit 1069f82cbd1a04a6b88b1e207dfe1ea5c194318d +Author: René Cannaò +Date: Sat Apr 8 01:04:49 2017 +0000 + + Crash on processlist on mirror + +commit 906abfa70a029e2cb85015d6d38411cce138ab9d +Author: René Cannaò +Date: Fri Apr 7 22:34:47 2017 +0000 + + Incorrect order of fields in runtime_mysql_query_rules + +commit 0def85ee4a6485fc41146d94f47eda1d0780e612 +Author: René Cannaò +Date: Fri Apr 7 22:02:10 2017 +0000 + + Fix crash on mirror of commit + +commit c09190b193870c6e4c6214f0560169374ee043f9 +Author: René Cannaò +Date: Fri Apr 7 20:56:32 2017 +0000 + + Revert "Use OpenSSL's rand as PRNG" + + This reverts commit 0d71992098889af2b33a060f9026f4e773de17cf. + Until it is found why it causes connections failures + + Conflicts: + lib/MySQL_Protocol.cpp + +commit 384c91b7ed6ac3025137a103eed467e7b1bf7b1c +Merge: fcfa5682 2403b177 +Author: René Cannaò +Date: Sun Mar 26 20:44:06 2017 +0000 + + Merge branch 'v1.4.0-GR' into v1.4.0 + + Conflicts: + src/main.cpp + +commit fcfa5682bc1b627d96007393deb735555e05aa2f +Author: René Cannaò +Date: Sat Mar 25 22:20:06 2017 +0000 + + Fix bug #970 + + Crash on mysql-query_digests=false, mysql-commands_stats=true, and short query + +commit 50e010bc54cbcac90dabb9f556488d9cde66a08f +Author: René Cannaò +Date: Sat Mar 18 21:53:23 2017 +0000 + + Fix edge case during promotion #959 + + If a slave was shunned because replication was broken, when it becomes a master it was staying shunned + +commit 2403b177ef2488394c3af125c46a8a33e3c6380e +Author: René Cannaò +Date: Sat Mar 18 10:02:28 2017 +0000 + + More support for Group Replication + + Enforced max_writers + Enforced writer_is_also_reader + Increased the number of entries in mysql_server_group_replication_log to 100 per node + Lowered the minimum value for mysql-monitor_groupreplication_healthcheck_interval to 50ms + Lowered the minimum value for mysql-monitor_groupreplication_healthcheck_timeout to 50ms + +commit 3dfb383f5bcfea6680cfef746c9a0eb3d1ed88c0 +Author: René Cannaò +Date: Fri Mar 17 01:03:01 2017 +0000 + + Incorrect processing on date/times and PS #958 + + All date and time fields used in prepared statements were incorrectly parsed + +commit 2119357c7e9d4eac0a4d9d570b4a3d02895a607d +Author: René Cannaò +Date: Mon Mar 13 16:14:14 2017 +0000 + + Added mysql_query_rules.multiplex=2 + + mysql_query_rules.multiplex=2 has a special meaning: do not disable multiplex for variables in THIS QUERY ONLY + + Also fixed the upgrade of mysql_query_rules from 1.3 + +commit f87b67afe359420f18b484706e4fde124779f370 +Merge: 1622d0bd 5245c376 +Author: René Cannaò +Date: Fri Mar 10 11:48:37 2017 +0100 + + Merge pull request #952 from matthiaz/patch-1 + + Fixing dead links to binary files + +commit 5245c376b1e0d9e1f71568f629ed779da84022f0 +Author: Matthias Van Woensel +Date: Fri Mar 10 11:46:30 2017 +0100 + + Fixing dead links to binary files + + Fixing dead links + +commit 713240019195af0e071ae03a92414fc0eb58fa28 +Author: René Cannaò +Date: Fri Mar 10 01:39:17 2017 +0000 + + Fix bug #950 + + There is a double free when handling COM_CHANGE_USER in MariaDB Async Client Library 2.3.1 + +commit a05d56326399a9d7b500789fac10ac13f6e47c2c +Author: René Cannaò +Date: Fri Mar 10 01:34:34 2017 +0000 + + Reset autocommit on CHANGE_USER #927 + +commit a97cb4fb354cc38bb17fae85dbc4153fd149ae6f +Author: René Cannaò +Date: Fri Mar 10 01:24:36 2017 +0000 + + Reset all statuses on CHANGE_USER #927 + + It resets: + * backends + * prepared statements handlers + * others + +commit 752e3fd61e4e17083dc35ea00dd03bd3648754d8 +Author: René Cannaò +Date: Fri Mar 10 00:48:29 2017 +0000 + + Further improvement on forwarding #927 + + Introduced a timeout in HGCU_thread_run() + Fixed a logical bug in MySQL_Protocol::process_pkt_COM_CHANGE_USER() that was causing to not authenticate user + + The absence of the timeout and the logicl bug was causing a lot of connections to be dropped and not really reused. + But as now the connections are reused, they may present further bugs + +commit c3f84ff1186f014cf4c4723903cf02aa56546cb8 +Author: René Cannaò +Date: Thu Mar 9 23:05:24 2017 +0000 + + Added variable mysql-monitor_wait_timeout #951 + +commit 1259fb84e01025060acd4a2f89f91a2a07f5d6de +Author: René Cannaò +Date: Thu Mar 9 20:31:17 2017 +0000 + + HGCU_thread_run corrupts connections #927 + +commit d89e2a8430d95489dae051a1bb91235330334527 +Author: René Cannaò +Date: Thu Mar 9 11:26:09 2017 +0000 + + Added status variable ProxySQL_Uptime #947 + +commit 9f4e5b10a041abfc3c683c6cd1d7d10e63e3a2d8 +Author: René Cannaò +Date: Wed Mar 8 23:09:54 2017 +0000 + + Allow keywords in mysql_users #911 + +commit f183ea1651d57475ed68dae48ecde06de5c3e965 +Author: René Cannaò +Date: Wed Mar 8 22:52:46 2017 +0000 + + Introduced command PROXYSQL FLUSH CONFIGDB #923 + + New command `PROXYSQL FLUSH CONFIGDB` allows to close and reopen configdb (`proxysql.db` on disk). + + Note: + It is important that the (new) configdb is a valid one. + A misconfigured configdb will cause undefined behaviors. + +commit 011b0f8749530b58a1118c982faf4f97439a89ea +Author: René Cannaò +Date: Wed Mar 8 22:19:06 2017 +0000 + + Remove trailing space and semicolons in Admin #925 + +commit 6bd229d323d487b28ef169c7342c08fab23dc2c3 +Author: René Cannaò +Date: Wed Mar 8 21:53:58 2017 +0000 + + Fix bug #733 + +commit 6469ff269b9d11295e4d0a06d89be6ab24e40d43 +Author: René Cannaò +Date: Wed Mar 8 20:54:15 2017 +0000 + + num_connections_used incorrectly reset + +commit f0f85a44fe9259148a28414f19944a129b7171d0 +Author: René Cannaò +Date: Wed Mar 8 20:53:00 2017 +0000 + + Introduced table stats.stats_mysql_users + + Example: + ``` + mysql> select * from stats_mysql_users; + +----------+----------------------+--------------------------+ + | username | frontend_connections | frontend_max_connections | + +----------+----------------------+--------------------------+ + | root | 0 | 10000 | + | user1 | 0 | 10000 | + | user2 | 1 | 10000 | + +----------+----------------------+--------------------------+ + 3 rows in set (0.00 sec) + ``` + +commit b449a3ffb460ac83f03902bd04d39332b0b8d60d +Merge: edad08d8 1622d0bd +Author: René Cannaò +Date: Wed Mar 8 18:27:04 2017 +0000 + + Merge branch 'master' into v1.4.0 + +commit edad08d8532178ee3a2e7596b5962aea009ba750 +Author: René Cannaò +Date: Wed Mar 8 18:24:59 2017 +0000 + + Updating gitignore + +commit 1622d0bdad90fe58c36e1101cf216125067541fd +Merge: 14dca50a 2514ee51 +Author: René Cannaò +Date: Mon Mar 6 23:53:53 2017 +0100 + + Merge pull request #945 from minichate/issue-940-repair-admin-master + + Ensure admin users can always connect + +commit 2514ee51c625f3701192aa8b32f086def5ae39b6 +Author: Christopher Troup +Date: Mon Mar 6 17:52:37 2017 -0500 + + Ensure admin users can always connect + + Refs #940 + +commit 14dca50ad6e553c2d49f76585727e1aee8e38ef2 +Merge: 570d3bce 0f75916a +Author: René Cannaò +Date: Mon Mar 6 23:21:44 2017 +0100 + + Merge pull request #942 from minichate/issue-940 + + Ensure that users num_connections_used doesn't get incremented if connection rejected + +commit 0f75916a2e5d62c10daedc13dd3e1ebded4cad9d +Author: Christopher Troup +Date: Mon Mar 6 17:03:29 2017 -0500 + + Ensure that users num_connections_used doesn't get incremented if connection rejected + + If the users connection is rejected we shouldn't be incrementing + `num_connections_used` on the account_details object. This leads to + `free_users` dropping below zero and _all_ subsequent requests getting + rejected for that user. + + Refs #940 + +commit 48f3a6432484da496e736d89dea9821b22df7882 +Merge: 45cfb14c d40374bc +Author: René Cannaò +Date: Mon Feb 27 10:02:47 2017 +0000 + + Merge branch 'v1.4.0' of https://github.com/sysown/proxysql into v1.4.0 + +commit 45cfb14c3912afb1eb6cdb1be6f2e5990a9fd82c +Author: René Cannaò +Date: Mon Feb 27 10:02:03 2017 +0000 + + Disable multiplexing for SQL_CALC_FOUND_ROWS #732 + + Port to 1.4.0 + +commit c7cffc9ea7d443a3ecf08a1004c85294099fe279 +Author: René Cannaò +Date: Sun Feb 26 22:41:23 2017 +0000 + + More support for group replication + +commit d40374bcaad37f2c49cf267f7e2e5f5b3261d79c +Merge: a096164d 5689b9d8 +Author: René Cannaò +Date: Fri Feb 24 15:09:45 2017 +0000 + + Merge branch 'v1.4.0' of https://github.com/sysown/proxysql into v1.4.0 + +commit a096164dd270776fd96baa133e2db6f3793a9d51 +Author: René Cannaò +Date: Fri Feb 24 15:09:07 2017 +0000 + + Various memory optimization + +commit 63e86039e6d951ee164e13f7367be864c4fbd6b3 +Author: René Cannaò +Date: Fri Feb 24 15:03:08 2017 +0000 + + Added writer_hostgroup for GR + +commit 5689b9d8e8aa0bb7e791d82a7c51ae56a4aa52d8 +Author: René Cannaò +Date: Fri Feb 24 09:50:17 2017 +0000 + + Disable daemonize in Darwin #930 + +commit 6130cf61a1c5fbd908e88514590ad1f9101a2475 +Author: René Cannaò +Date: Fri Feb 24 09:37:12 2017 +0000 + + 2nd commit to support Darwin #930 + +commit c89beb3113c76d5834071d6ebe293ecc938bfd6a +Author: René Cannaò +Date: Fri Feb 24 09:06:20 2017 +0000 + + First commit to support Darwin #930 + +commit d5f4a8b76200c4b26257e7ce566ea5cabb31bc4c +Author: René Cannaò +Date: Wed Feb 22 18:48:58 2017 +0000 + + fixed not initialized struct addrinfo + +commit af2fb94e13c8021449e29d7a1a53d714ae659282 +Merge: d6715d65 97f89b89 +Author: René Cannaò +Date: Fri Feb 17 18:09:44 2017 +0000 + + Merge branch 'v1.4.0-904' into v1.4.0 + +commit d6715d656801e9c2da341eebee85ee451d1fad95 +Author: René Cannaò +Date: Fri Feb 17 15:23:44 2017 +0000 + + Bug on connect_retries_on_failure and PS #919 + + Variable mysql-connect_retries_on_failure was hardcoded to 0 for COM_STMT_EXECUTE + +commit 0ab8fd2fff93f92a7b8552113a45cd8ee08c07ac +Author: René Cannaò +Date: Fri Feb 17 14:31:43 2017 +0000 + + Handle PROCESSING_STMT_EXECUTE for #906 + +commit 97f89b89c6f567f2b0e2025dae4d427527457f97 +Author: René Cannaò +Date: Fri Feb 17 12:03:31 2017 +0000 + + Disable epoll for FreeBSD #898 + +commit abd83ff1a316297d5e85e011ff9d9c24c6901fa2 +Author: René Cannaò +Date: Fri Feb 17 11:52:29 2017 +0000 + + Compile 1.4.0 on on FreeBSD #898 + +commit 91a379ce3f43002454a4891d9a23effcf3ada163 +Author: René Cannaò +Date: Fri Feb 17 10:52:32 2017 +0000 + + Fix bug #918 + +commit c3a435e2efff8635564c7c807e2f2f02b3c59542 +Author: René Cannaò +Date: Fri Feb 17 10:40:50 2017 +0000 + + Make idle threads optional #904 + +commit b53d5ba84c18854180d0d1d8e0e0c5e8e7aa9b46 +Author: René Cannaò +Date: Thu Feb 16 13:02:49 2017 +0000 + + Bind error EADDRINUSE was not handled, #895 + +commit a6c3e5683ec2886b99b4e5cbb51af6451bcbef01 +Author: René Cannaò +Date: Thu Feb 16 11:51:50 2017 +0000 + + Enforce --admin-socket at startup #894 + +commit 191942562841ca76ab85fb7a354f478bad3b4234 +Author: René Cannaò +Date: Thu Feb 16 11:20:21 2017 +0000 + + Remove trailing semicolon in USE , #915 + +commit 9c2cc16344e56a96c859dd6af6f2ed2f11104037 +Author: René Cannaò +Date: Mon Feb 13 18:48:43 2017 +0000 + + Incorrect processing of init_connect and PS #906 + +commit 2f65c2e48b7151aae2df723a5107da907aea6065 +Author: René Cannaò +Date: Sun Feb 12 10:36:03 2017 +0000 + + Evaluate enforce_autocommit_on_reads on PS #899 + + Variable mysql-enforce_autocommit_on_reads wasn't evaluate for prepared statements. + +commit 65c9735aa18af0bdc96cc3790f648fb0146bffae +Merge: 215473ea 570d3bce +Author: René Cannaò +Date: Sun Feb 12 07:58:47 2017 +0000 + + Merge branch 'master' into v1.4.0 + + Conflicts: + docker/images/proxysql/centos67-build/proxysql.spec + docker/images/proxysql/centos7-build/proxysql.spec + docker/images/proxysql/fedora24-build/proxysql.spec + +commit 215473ea827aa24a29baa2a2d0d7a5015473752c +Author: René Cannaò +Date: Sun Feb 12 07:43:51 2017 +0000 + + Fix bug #897 : crash with PS multiple users + + COM_CHANGE_USER could try to reset PS already invalidated from the PS manager. + +commit 27d2c8a93f83beea2e79bf6ec7204a31c6f6b7e6 +Author: René Cannaò +Date: Tue Feb 7 21:44:27 2017 +0000 + + Possible fix for bug #896 + +commit b6f1892a63080b0f4796c1a0e8112e96c20628cd +Author: René Cannaò +Date: Mon Feb 6 17:14:11 2017 +0000 + + Removed compiling warnings + + Conflicts: + lib/MySQL_HostGroups_Manager.cpp + +commit b0dfe97ec67f112faa42b0baecd3298d8ec7a586 +Author: René Cannaò +Date: Fri Jan 20 20:58:37 2017 +0000 + + Removed incorrect notes in 1.3.2 release note + + Conflicts: + doc/release_notes/ProxySQL_v1.3.2.md + +commit c22787f8813cd843a9cd68d07cc1a1a966ca6b57 +Author: René Cannaò +Date: Fri Jan 20 20:57:41 2017 +0000 + + Added release note for 1.3.3 + +commit 570d3bce7549be64ee5867077f6120868de2496d +Merge: c1dfa0eb 83ca1944 +Author: René Cannaò +Date: Sat Feb 11 21:00:08 2017 +0100 + + Merge pull request #910 from minichate/issue-756-post-uninstall-hook + + Post Uninstall hooks for fedora based OS's + +commit 83ca1944f067cff8f12a269b8f29369a0a820faa +Author: Christopher Troup +Date: Sat Feb 11 13:20:28 2017 -0500 + + Post Uninstall hooks for fedora based OS's + + Previously the `postun` hook would try and remove ProxySQL from + chkconfig, but that would fail because the package was already + uninstalled. + + Instead, we can do this in the `preun` hook, and ensure that ProxySQL + is properly shutdown before doing cleanup tasks. + +commit c1dfa0eb77b24d2edcf9bef58e4251ab1ca1b5b6 +Merge: 14f083ee 59ccce30 +Author: René Cannaò +Date: Sat Feb 11 12:07:43 2017 +0100 + + Merge pull request #909 from minichate/define-version-outside-specfile + + Define version outside the `spec` file for RPM builds + +commit 14f083ee72977b62ecd7b48bf8872e60b6efc299 +Merge: 7ce83faa 79405768 +Author: René Cannaò +Date: Sat Feb 11 12:03:57 2017 +0100 + + Merge pull request #908 from minichate/chkconfig + + Add chkconfig support + +commit 59ccce30cecdba20b4c6b049bbfcc4332c77bbe2 +Author: Christopher Troup +Date: Fri Feb 10 20:17:15 2017 -0500 + + Define version outside the `spec` file for RPM builds + + Instead of hardcoding the version number in the RPM spec file, we can + pass the version in as part of the `rpmbuild` process, using the same + version as is defined in the Makefile. + +commit 794057684db14a6da26c895e6340abd3555c7068 +Author: Christopher Troup +Date: Fri Feb 10 19:57:48 2017 -0500 + + Add chkconfig support + + Installing the RPM via `rpm -i proxysql-.rpm` generates an + error on systems that have chkconfig -- it requires special syntax at + the top of the init.d script. + +commit 7ce83faa6cc98c2ffd4f5213d0bbc3ad1c980c74 +Merge: 5ab03e02 c68bca99 +Author: René Cannaò +Date: Fri Feb 10 07:40:21 2017 +0100 + + Merge pull request #902 from minichate/centos5 + + Add build/support for CentOS 5 + +commit c68bca997ea5d6e5721fad79ccbb0ce7a30b99c2 +Author: Christopher Troup +Date: Wed Feb 8 17:51:44 2017 -0500 + + Add build/support for CentOS 5 + + CentOS 5 doesn't have support for epoll_create1(), so I've defined a + macro to fall back on epoll_create() in that case. + + Note that the `1` argument to epoll_create() is actually ignored, and is + only there to conform to the requirement that it be larger than 0. + +commit 59cf941a1fe55d72e56d76ffd321b6f9637578a0 +Author: René Cannaò +Date: Fri Jan 20 00:56:12 2017 +0000 + + Small commit to reset autocommit in 1.4 + +commit 28e609ab89852310009d5394414c982865c16d00 +Author: René Cannaò +Date: Fri Jan 20 00:52:21 2017 +0000 + + Workaround for mysql bug 66884 #873 + + Conflicts: + include/mysql_connection.h + +commit 4cb49992c17174dba93590a876aa01cba4b61daf +Author: René Cannaò +Date: Fri Dec 30 11:21:08 2016 +0000 + + Return an error for COM_PROCESS_KILL #858 + + Conflicts: + lib/MySQL_Session.cpp + +commit 288c6a1ff4df2430d1e549735087f614fd1e8dea +Author: René Cannaò +Date: Fri Dec 30 11:29:28 2016 +0000 + + Remove assert() for unknown commands #859 + +commit ad4c65cf16a12299a6f3a478d16f5014a67b00bf +Author: René Cannaò +Date: Thu Jan 19 23:06:38 2017 +0000 + + transaction_persistent could disable routing after commit #889 + + If transaction_persistent is enabled and some query would disable multiplexing, + for example "SELECT @@hostname", query routing was still disabled even after + the transaction has committed + +commit da9bbfdd498760551ac71fe663c3d23c8253879c +Author: René Cannaò +Date: Thu Jan 19 21:50:35 2017 +0000 + + Workaround for bug CONC-225 #883 + + If the socket is non-blocking, before calling run_plugin_auth() it is set to + blocking and reverted immediately after + +commit 4d4b14ea2097cd9a4442b28a5838bc59f2272c62 +Author: René Cannaò +Date: Thu Jan 19 21:10:24 2017 +0000 + + Renamed Latency_ms to Latency_us #882 + + Updated also the documentation + +commit e369076bfba0c3790a9a93bdf8e986dabadbdd33 +Merge: e15d7c1b fda54706 +Author: René Cannaò +Date: Mon Jan 16 05:22:34 2017 -0800 + + Merge pull request #880 from Dan83/master + + Replace the spinlock on ProxySQL_Admin::wrlock with a pthread mutex or wrlock + +commit e15d7c1bd3cadedc2b58229fe4e0668a043e6022 +Author: Domenico Lupinetti +Date: Fri Jan 13 17:32:46 2017 +0100 + + Updated documentation + + Column time_start does not exists anymore. + + Changed to: ```time_start_us``` + +commit e830cdb72cab2c81dd877d982f6a2becf4b6a4f5 +Author: Lee Clemens +Date: Thu Jan 5 12:32:28 2017 -0500 + + Update return codes for LSB compliance + + start when already running and stop when already stopped should return successful return codes (0) + Conflicts: + etc/init.d/proxysql + +commit 74a1ee3d3f74d2c068985da8fbab58b40adcfd26 +Author: Bogdan Radulescu +Date: Wed Jan 4 12:41:55 2017 +0200 + + Improvements to the systemd support. We now run as the MySQL user and fix permissions before running. + +commit e5723d2d950f843656524c3040e50ac2b2b99422 +Author: Oloruntobi Ogunbiyi +Date: Tue Jan 3 12:11:09 2017 -0500 + + Update minor issues with Admin interface and Query cache docs + +commit 4489a80f15dc3e7fe1b4e1747faee9e72d58997c +Author: Zhang Huangbin +Date: Sun Nov 27 23:56:51 2016 +0800 + + Don't exit with non-zero code if proxysql was stopped + + If proxysql is stopped, function `stop()` should return exit code `0` instead of a non-zero code. This also fixes `restart` action cannot start (a already stopped) proxysql service. + +commit 5ab03e02c2896c12fed2cce7237aac2758ab478f +Merge: b8a90ba8 6b3291b5 +Author: René Cannaò +Date: Mon Jan 16 05:09:59 2017 -0800 + + Merge pull request #864 from bogdanr/master + + Improvements to the systemd support. + +commit b8a90ba83b265d623bf69ae6b69bc9ab93fd0d45 +Merge: e6caf938 fa09d1f8 +Author: René Cannaò +Date: Mon Jan 16 05:09:39 2017 -0800 + + Merge pull request #863 from tobioboye/update-minor-doc-issues + + Update minor issues with Admin interface and Query cache docs + +commit e6caf938c75717cc7fcb82ba450f83fa45971621 +Merge: abd68e8d 54f89708 +Author: René Cannaò +Date: Mon Jan 16 05:08:01 2017 -0800 + + Merge pull request #865 from leeclemens/patch-1 + + Update return codes for LSB compliance + +commit 54f89708b029d8563592520d4576346af4779db0 +Merge: 3446a172 abd68e8d +Author: René Cannaò +Date: Mon Jan 16 05:07:51 2017 -0800 + + Merge branch 'master' into patch-1 + +commit abd68e8d087e807b32db86e0ee4f407b27269ea7 +Merge: d88dab2b 6882107f +Author: René Cannaò +Date: Mon Jan 16 05:06:21 2017 -0800 + + Merge pull request #808 from iredmail/patch-1 + + Don't exit with non-zero code if proxysql was stopped + +commit d88dab2ba4fa3852d0843bad876d5cd28e7e5988 +Merge: 3d34b7fe 45619476 +Author: René Cannaò +Date: Mon Jan 16 05:03:37 2017 -0800 + + Merge pull request #881 from Ostico/patch-1 + + Updated documentation + +commit 669e6d3a20e9e7659edccf8e0ed1c5a6dcb2baa6 +Author: René Cannaò +Date: Sun Jan 15 23:24:29 2017 +0000 + + Minor fixes for GR + +commit 45619476a01ba621331a62aa6966e3e619fdbd47 +Author: Domenico Lupinetti +Date: Fri Jan 13 17:32:46 2017 +0100 + + Updated documentation + + Column time_start does not exists anymore. + + Changed to: ```time_start_us``` + +commit fda54706886c3372a95d3720bed5a5c5aaa79a22 +Author: Daniele +Date: Thu Jan 12 18:56:02 2017 +0100 + + Replace the spinlock on ProxySQL_Admin::wrlock with a pthread mutex or wrlock + +commit 3446a172d4019f28ea61605bb3f55f6996650c83 +Author: Lee Clemens +Date: Thu Jan 5 12:32:28 2017 -0500 + + Update return codes for LSB compliance + + start when already running and stop when already stopped should return successful return codes (0) + +commit 6b3291b53e237460eef62a6ee6033d2e8a4dea46 +Author: Bogdan Radulescu +Date: Wed Jan 4 12:41:55 2017 +0200 + + Improvements to the systemd support. We now run as the MySQL user and fix permissions before running. + +commit fa09d1f86413d234253e320254335ce79004c673 +Author: Oloruntobi Ogunbiyi +Date: Tue Jan 3 12:11:09 2017 -0500 + + Update minor issues with Admin interface and Query cache docs + +commit 249420e3133df534fb9a7011a464179169c9ce5e +Author: René Cannaò +Date: Tue Jan 3 18:15:25 2017 +0000 + + Minor fixes + +commit f46afefd77247e21041840c583bf408696c3e42e +Author: René Cannaò +Date: Fri Dec 30 10:48:34 2016 +0000 + + Made MyGR_monitor_node::idx_last_entry private + +commit 5817905df2b249b016b51a0673b1d6c22583db1a +Merge: 8768acf5 c2f35fa2 +Author: René Cannaò +Date: Fri Dec 30 00:19:55 2016 +0000 + + Merge branch 'v1.4.0' into v1.4.0-GR + + Conflicts: + lib/MySQL_HostGroups_Manager.cpp + lib/MySQL_Monitor.cpp + lib/ProxySQL_Admin.cpp + +commit c2f35fa2305bf8059dd6d68b086676a7f562875e +Author: René Cannaò +Date: Thu Dec 29 23:21:47 2016 +0000 + + Redefining disk_upgrade_mysql_users() + +commit 790cc78acde40a099ed1fb8318dd728b541ac96c +Author: René Cannaò +Date: Thu Dec 29 23:17:47 2016 +0000 + + Return next_query_flagIN in qpo + + This is a minor improvement on pull request #825 + +commit f35e853ecb43554d04128aaab79960333fa44588 +Merge: ce61341b 5ac7c3cc +Author: René Cannaò +Date: Thu Dec 29 13:20:29 2016 -0800 + + Merge pull request #825 from klinometr/1.4.0-sticky-flag + + Added sticky flag realization + +commit ce61341b98e20cfa6a8a9e1b38392f05f7a91695 +Author: René Cannaò +Date: Thu Dec 29 18:47:47 2016 +0000 + + Handle backquote in USE command #857 + + Ported from 1.3.2 + + Conflicts: + lib/MySQL_Session.cpp + +commit ee5158a46e23823c76f15b83eaafe72829a878cb +Author: René Cannaò +Date: Fri Dec 23 20:07:23 2016 +0000 + + Improvements for sqlite3 #856 + +commit 2cecacd3bfa2305653e9e08524e4855c5db357d2 +Author: René Cannaò +Date: Fri Dec 23 10:24:53 2016 +0000 + + Changed range for monitor_slave_lag_when_null #855 + +commit 45a5acd947f04dfc2353ad2a98618904a4ebc3b7 +Author: René Cannaò +Date: Thu Dec 22 20:20:08 2016 +0000 + + New variables to reduce memory footprint #766 #729 + + The 2 new variables are: + * mysql-query_digests_max_digest_length : defines the maximum length of digest_text as reported in stats_mysql_query_digest + * mysql-query_digests_max_query_length : defines the maximum query length processed when computing query's digest and digext_text + +commit cdd72728031c7ac596a4782c6a9958c446388490 +Merge: 32b412f8 a6c53d0d +Author: René Cannaò +Date: Wed Dec 21 15:51:42 2016 -0800 + + Merge pull request #849 from sysown/revert-843-refactor_headers + + Revert "Refactor header includes." + +commit a6c53d0d1240fc339ce5e3d0f590b6fd0f067d1a +Author: René Cannaò +Date: Wed Dec 21 15:51:24 2016 -0800 + + Revert "Refactor header includes." + +commit 32b412f87f5d8c7abe375954184b2c1737a80315 +Merge: b1185926 3665ba07 +Author: René Cannaò +Date: Wed Dec 21 15:50:10 2016 -0800 + + Merge pull request #843 from satori/refactor_headers + + Refactor header includes. + +commit 3665ba075526fd626617281230054a74235d6bf2 +Merge: 30dbcc21 b1185926 +Author: René Cannaò +Date: Wed Dec 21 15:44:12 2016 -0800 + + Merge branch 'v1.4.0' into refactor_headers + +commit b11859262a6ce1177c3d6d44f8df47305453ce9c +Merge: d20e130e 517bae05 +Author: René Cannaò +Date: Tue Dec 20 23:15:13 2016 +0000 + + Merge branch 'v1.4.0' of https://github.com/sysown/proxysql into v1.4.0 + +commit d20e130e010ced8cdc608c9ec7284b693a3def14 +Author: René Cannaò +Date: Tue Dec 13 12:46:29 2016 +0000 + + Fix bug #837 + +commit 8768acf5a51cc626167e886ff6b8a7a2db7e2a20 +Author: René Cannaò +Date: Tue Dec 20 17:10:08 2016 +0000 + + Third commit for GR support + +commit 5ac7c3cc33441d7e9533c6f404874f3871782602 +Merge: 7f53a196 517bae05 +Author: Maxim binopt +Date: Sun Dec 18 10:49:18 2016 +0200 + + Merge branch 'v1.4.0' into 1.4.0-sticky-flag + + # Conflicts: + # include/query_processor.h + # lib/Query_Processor.cpp + +commit 517bae054ffb80e79b38f2337a43237b6d3f8d23 +Merge: 5aea6327 3cac8996 +Author: René Cannaò +Date: Sat Dec 17 15:12:00 2016 -0800 + + Merge pull request #839 from uber-common/mysql_monitor_connection_pool_refactor + + MySQL_Monitor_Connection_Pool refactored + +commit 30dbcc21a88a741dc56f9b913a0622c87b05ceac +Author: Maxim Bublis +Date: Wed Dec 14 23:53:38 2016 +0000 + + Refactor header includes. + + * reduce build time by 25%; + * remove circular dependency on `cpp.h` and other headers. + * fixes issue with `my_global.h` from mariadbclient which + redefines `__attribute__`, that leads to broken STL and GCC + intrinsics if `` wasn't included prior including this header; + * fixes another issue with redefined `__attribute__` which leads to + `_conn_exchange_t` not being aligned to cache line size; + * removes `pthread_setstacksize` calls as `my_global.h` redefines `pthread_setstacksize` + to be `pthread_dummy(0)` which led to stack size being never adjusted; + * add missing include guards to some headers; + * remove unused proxysql_hash.h header. + +commit 3cac899602accdfa9e72729971a54ea424e43866 +Author: Evgeniy Firsov +Date: Tue Dec 13 00:15:59 2016 -0800 + + MySQL_Monitor_Connection_Pool refactored + + Signed-off-by: Evgeniy Firsov + +commit 5aea63277da6c74608f578336fae5d41bb18b04d +Merge: 12467860 043a321e +Author: René Cannaò +Date: Wed Dec 14 07:59:03 2016 -0800 + + Merge pull request #842 from satori/legacy_cleanup + + Cleanup legacy codebase. + +commit 043a321e55d5869aa28de3fa9b4fce4ced138b10 +Author: Maxim Bublis +Date: Wed Dec 14 15:39:12 2016 +0000 + + Cleanup legacy codebase. + +commit 7ea78394f0ffc01be946c3835d5b6968fa2e2f0b +Author: René Cannaò +Date: Tue Dec 13 19:01:03 2016 +0000 + + Second commit for GR support + +commit 3d34b7fe47dfa611f8aa469420dc802f84042102 +Merge: afea6885 647cc8ae +Author: René Cannaò +Date: Tue Dec 13 10:35:22 2016 -0800 + + Merge pull request #800 from grypyrg/proxysql_galera_checker_more_intelligent + + semi-rewrite of proxysql_galera_checker.sh + +commit 3c2ced2a7dc9030546d1a2a099c53c24141781fc +Author: René Cannaò +Date: Tue Dec 13 11:50:09 2016 +0000 + + Drafting GR support + +commit 124678603df5ee37692ade3d773add276b9b8eb4 +Merge: 6458f909 53d24f4e +Author: René Cannaò +Date: Mon Dec 12 22:39:12 2016 +0000 + + Merge branch 'v1.4.0-829' into v1.4.0 + +commit 6458f909f84a71bb63b517e94cc23d715c131520 +Merge: a8c7feb1 dad86799 +Author: René Cannaò +Date: Mon Dec 12 11:46:32 2016 +0000 + + Merge branch 'v1.4.0' of https://github.com/sysown/proxysql into v1.4.0 + +commit a8c7feb1efe4f756f7af4c317b03362a1ff8e764 +Author: René Cannaò +Date: Mon Dec 12 11:25:52 2016 +0000 + + Fix reported timeout on check read_only #836 + +commit dad867990406de52d2a8f7732b42cdfc758198f7 +Merge: bde8ed63 0d719920 +Author: René Cannaò +Date: Mon Dec 12 02:59:04 2016 -0800 + + Merge pull request #830 from satori/openssl_rand + + Use OpenSSL's rand as PRNG + +commit bde8ed63f53fdad8ddca8e5a7cae936e4239ae56 +Author: René Cannaò +Date: Mon Dec 12 09:35:14 2016 +0000 + + Fix bugs in #835 + + Disable multiplexing for: + * SET FOREIGN_KEY_CHECKS + * SET UNIQUE_CHECKS + +commit 42a55f750c362299c9f0ed7834cdedc5f9778f47 +Author: René Cannaò +Date: Fri Dec 9 03:00:57 2016 +0000 + + Patch for jemalloc #823 + +commit 53d24f4e53711544ea144778a6a74429482c70e2 +Author: René Cannaò +Date: Fri Dec 9 02:02:48 2016 +0000 + + Speed up LOAD/SAVE mysql_servers #829 + + A further optimization in `MySQL_HostGroups_Manager::generate_mysql_servers_table()` makes `LOAD MYSQL SERVERS TO RUNTIME` around 35 times faster than original implementation. + `SAVE MYSQL SERVERS TO MEMORY` is now over 10 times faster than the original implementation. + +commit cf7e64d82e6a3151cce824fed4f10c92b21d1360 +Author: René Cannaò +Date: Fri Dec 9 01:01:06 2016 +0000 + + Speed up SAVE MYSQL SERVERS TO MEMORY #829 + + This is achieved using multirows INSERTs and sqlite prepare + +commit ba7e37091bdc9d77b32d7e3b32b134464de68e35 +Author: René Cannaò +Date: Thu Dec 8 23:31:25 2016 +0000 + + Speed up LOAD MYSQL SERVERS TO RUNTIME #829 + + This commit is able to speed up LOAD MYSQL SERVERS TO RUNTIME up to 10x for very large mysql_servers table with tens of thousands of servers. + Main improvements: + * removed 1 unnecessary call to `generate_mysql_servers_table()` + * replaced 1 call to `generate_mysql_servers_table()` with UPDATE statements when necessary + * implemented new function `servers_add()` that replaces `server_add()` to perform bulk operation + * replaced calls to `sqlite3_exec()` with proper parameters bindings + * use of multirows INSERT statements (32 rows at the time) + + Miror improvements: + * added new variable mysql-hostgroup_manager_verbose , 1 by default for backward compatibility and debugging + * in not debug mode, access to HGM db has no shared cache + * in not debug mode, tables in HGM have checks disabled + + Further note: + * Once issue #797 is completed, `mysql_servers` in MyHGM can be simplified further + +commit 0d71992098889af2b33a060f9026f4e773de17cf +Author: Maxim Bublis +Date: Thu Dec 8 16:40:07 2016 +0000 + + Use OpenSSL's rand as PRNG + +commit 21d5854e883ea5134404255b606398a4f5b7ba08 +Author: René Cannaò +Date: Thu Dec 8 00:32:23 2016 +0000 + + Removed a lot of valgrind warnings + +commit 196fd0a474e4f97a78dfc39850ff57a887eda5ac +Author: René Cannaò +Date: Wed Dec 7 17:43:28 2016 +0000 + + Memory leak on error during STMT_EXECUTE #796 + +commit 7f53a196ed86941edb588239404c95ccfe75ed01 +Merge: 408c279e d4d17584 +Author: Maxim binopt +Date: Wed Dec 7 15:35:30 2016 +0200 + + Merge branch '1.4.0-sticky-flag-cr' into 1.4.0-sticky-flag + +commit d4d17584f347d8d4a02943c15c2e4ce83c30f743 +Author: Maxim binopt +Date: Wed Dec 7 15:16:27 2016 +0200 + + Change sticky_flag realization to next_query_flagIN realization. + +commit 408c279ef2135573b2f7b782c7934cc4005c72ec +Author: Maxim binopt +Date: Wed Dec 7 11:05:20 2016 +0200 + + Added sticky flag realization + +commit ed48f886afa70d3e785321590c96082ef6cf285d +Author: René Cannaò +Date: Wed Dec 7 02:46:41 2016 +0000 + + Increased mysql-monitor_connect_timeout #819 + + Increased mysql-monitor_connect_timeout default from 200ms to 600ms + +commit e5b6eb50fb6f8366cc6bded340965ce362db656a +Author: René Cannaò +Date: Wed Dec 7 02:43:51 2016 +0000 + + Enable memory profiling at runtime #822 + + Added two new Admin command: + * PROXYSQL MEMPROFILE START + * PROXYSQL MEMPROFILE STOP + +commit 86718882e06ef8d4999716059d9b8c7041e5f4dc +Author: René Cannaò +Date: Tue Dec 6 23:57:59 2016 +0000 + + Added 6 new status variables , #818 and #821 + + Added status variables: + * Com_backend_change_user + * Com_backend_init_db + * Com_backend_set_names + * Com_frontend_init_db + * Com_frontend_set_names + * Com_frontend_use_db + +commit 902e9d6dde882d2feefc09c89dded9ffb9a08591 +Author: René Cannaò +Date: Tue Dec 6 23:16:19 2016 +0000 + + Added the tracking of some variables + + Added the tracking of these variables: + * sql_mode #509 + * sql_log_bin #815 + * time_zone #816 + +commit 56ac9afd07bb0451afdb849be2f6deb0bb04d341 +Author: René Cannaò +Date: Sat Dec 3 12:04:46 2016 +0000 + + Handle charset = 0 , #810 + +commit fa7db113e9ca5e2cab180b23454c57a44814760c +Merge: 15275085 3d7c96f5 +Author: René Cannaò +Date: Sat Dec 3 11:51:50 2016 +0000 + + Merge branch 'v1.4.0-813' into v1.4.0 + + Conflicts: + lib/MySQL_Session.cpp + +commit 152750852261fe89f3ae7aaa3712175901b829ec +Author: René Cannaò +Date: Sat Dec 3 11:43:13 2016 +0000 + + Make case insensitive USE dbname #718 + +commit 3d7c96f517dda2f0f091c274248b5a66226192b4 +Author: René Cannaò +Date: Fri Dec 2 18:38:19 2016 +0000 + + Added variable mysql-forward_autocommit #813 + +commit fa4b41bdb0bb54bbab53aec581c403e8d4c1788e +Merge: f78a9be7 95a6ed5f +Author: René Cannaò +Date: Thu Dec 1 11:48:47 2016 +0000 + + Merge branch 'v1.4.0-802' into v1.4.0 + +commit f78a9be79787a7ab10c01c10f3cf597ad723f817 +Merge: 8f0ad283 0855e898 +Author: René Cannaò +Date: Thu Dec 1 11:48:40 2016 +0000 + + Merge branch 'v1.4.0-718' into v1.4.0 + +commit 8f0ad2830750135437ee67ce5cf8210755715dc1 +Merge: 28d9cbd8 e5a6fdd7 +Author: René Cannaò +Date: Thu Dec 1 11:48:29 2016 +0000 + + Merge branch 'v1.4.0-715' into v1.4.0 + +commit 28d9cbd8933ac06b1d88ebffd705667d2882dc4f +Author: René Cannaò +Date: Wed Nov 30 23:07:33 2016 +0000 + + Allows to compile eventslog_reader_sample.cpp in recent CentOS + +commit 0855e898fc4eb8b755fa5ed7aaa2c34269ed991d +Author: René Cannaò +Date: Wed Nov 30 20:25:11 2016 +0000 + + Support USE dbname as COM_INIT_DB #718 + +commit e5a6fdd73a53d4dcbe3bf0a98c331ea2f2a1ef3e +Author: René Cannaò +Date: Tue Nov 29 18:49:27 2016 +0000 + + Fix for bug #715 + +commit 1d67a73c882093068c4c81297f98ad3140ec3bfd +Author: René Cannaò +Date: Tue Nov 29 08:36:15 2016 +0000 + + Replace std::list with PtrArray #715 + +commit 49d3a6315a5d460fee891c9f15e524b6d2793215 +Author: René Cannaò +Date: Tue Nov 29 15:16:40 2016 +0000 + + Generate a warning for missing rule_id #799 + +commit 95a6ed5f262fb3b7523906bb27d12204f5c21550 +Author: René Cannaò +Date: Tue Nov 29 13:57:07 2016 +0000 + + Speed up the cleanup of MySQL_Authentication #802 + + This drastically reduces the time to gracefully shutdown proxysql in case of hundreds of thousands of mysql users + +commit 06d7649ffca90f243d98e9c7b308b4befed60662 +Author: René Cannaò +Date: Tue Nov 29 13:40:20 2016 +0000 + + Reduce allocations in SQLite3_row #809 + + This optimization, combined with the optimization already applied in #802, improves the execution time of LOAD MYSQL USERS TO RUNTIME by 12x + +commit 1ca56c9b3ee112d89f5f300a8a1dbad74a6cc182 +Author: René Cannaò +Date: Tue Nov 29 12:10:59 2016 +0000 + + Speeds up LOAD MYSQL USERS TO RUNTIME #802 + + MySQL_Authentication::add() used to delete a user, and then create it. + This patch applied the change in place if possible. + + With 100k users, not it is around 7 times faster. + +commit 9ff6dfc6722785f397d13d19ba029a62003c1627 +Author: René Cannaò +Date: Tue Nov 29 08:44:39 2016 +0000 + + Renaming 1.3.1-dev to 1.4.0 + + This branch has different features not present in 1.3.0 . + Leaving 1.3.x for new releases of current 1.3.0 + +commit 6882107fe34b1cbba22f9f14c8ab45884ab93cf4 +Author: Zhang Huangbin +Date: Sun Nov 27 23:56:51 2016 +0800 + + Don't exit with non-zero code if proxysql was stopped + + If proxysql is stopped, function `stop()` should return exit code `0` instead of a non-zero code. This also fixes `restart` action cannot start (a already stopped) proxysql service. + +commit afea6885b8fbd9260c235ee56c8cdb7f0ac10458 +Merge: 42aa9f1d d382c6ea +Author: René Cannaò +Date: Sun Nov 27 15:26:43 2016 +0000 + + Merge branch 'v1.3.0' into v1.3.1-20161127 + + Conflicts: + lib/mysql_connection.cpp + +commit d382c6eabdae2b95a1af2246ca6e446bd09cff6b (tag: 1.3.0h) +Author: René Cannaò +Date: Sun Nov 27 14:56:56 2016 +0000 + + Version v1.3.0h + +commit b25239c72a8102eaad413d4778c987a5d3149249 +Author: René Cannaò +Date: Sun Nov 27 14:48:16 2016 +0000 + + Improvements related to STMT cache + + These improvements avoid a race condition in which a prepared statement is removed from the cache before it is marked as used by the client. + This race condition was noticed when running benchmark creating 7000 _unique_ prepared statements per second. + +commit 289dd2e14767dc9f8c352d110b54b55d41f79f2f +Author: René Cannaò +Date: Sat Nov 26 18:38:19 2016 +0000 + + Setting non-blocking the pipe used for IPC between threads + +commit 6b4052e5f9cedd172f9793fe6dabd33a87e71aea +Author: René Cannaò +Date: Thu Nov 24 22:07:49 2016 +0000 + + Possible fix for race condition of #774 + +commit 909d2d57a39469bba94f287330c0c093906bb98c +Author: René Cannaò +Date: Thu Nov 24 19:36:48 2016 +0000 + + Fix memory leak #796 + +commit 597130e367ceaf2ba3033812eea9f981ac86b69a +Author: René Cannaò +Date: Thu Nov 24 18:34:29 2016 +0000 + + Integer overflow for mysql-monitor_history #804 + +commit 0cfb3511903e700ebad64b2a3a7bdf71ff1c35a1 +Author: René Cannaò +Date: Thu Nov 24 18:10:54 2016 +0000 + + monitor_read_only_timeout was ignored #805 + +commit 95ffe7303ff9590e4d2d836ec70fec275fc9c73a +Author: René Cannaò +Date: Thu Nov 24 18:01:13 2016 +0000 + + Increased mysql-monitor_ping_timeout #803 + + Increased mysql-monitor_ping_timeout from 100 to 1000 milliseconds. + Also increased monitor_read_only_timeout from 100 to 800 milliseconds as read_only timeout is even more important than ping timeout. + +commit 603239922de638f3b945dc58c1faf2d2db12e4e8 +Author: René Cannaò +Date: Thu Nov 24 17:55:30 2016 +0000 + + Fixed wrong message during timeout + +commit 647cc8aea0113e6f5daa74bf99d856ae0c7887d4 +Author: Kenny Gryp +Date: Wed Nov 16 12:25:37 2016 +0100 + + semi-rewrite of proxysql_galera_checker.sh + +commit 8750a34378747dc03dc8c9e403946449c1c792bd (tag: v1.3.0g) +Author: René Cannaò +Date: Mon Nov 14 15:23:44 2016 +0000 + + Crashing bug in connect timeout + +commit 42aa9f1dd61bca2da40b1743b1c45b5f5283d95a +Merge: d360a20e 2b06c595 +Author: René Cannaò +Date: Mon Nov 14 05:12:18 2016 +0000 + + Merge branch 'master' of https://github.com/sysown/proxysql + +commit d360a20e047913be32a0f76e6a60083c1c618d79 +Merge: fb683533 de4f71bf +Author: René Cannaò +Date: Mon Nov 14 05:11:01 2016 +0000 + + Merge branch 'v1.3.1-dev' + +commit 244a0521881f166a3542bf42e37685d3ce21cecf (tag: 1.3.0g) +Author: René Cannaò +Date: Mon Nov 14 04:43:32 2016 +0000 + + Preparation for v1.3.0g + +commit 56ec512493c1d5d5bbeab4c944f3867583c8c8cd +Author: René Cannaò +Date: Mon Nov 14 04:35:14 2016 +0000 + + Typo from wrong commit + +commit ffa266ed060d0a73c3291c58730568ed0727d0c0 +Author: René Cannaò +Date: Mon Nov 14 03:23:36 2016 +0000 + + Added release note for v1.3.0g + +commit 7de3c9e073a2d0e9df1f9c5043eb7a4692656602 +Author: René Cannaò +Date: Sun Nov 13 07:55:30 2016 +0000 + + mysql_servers.comment not loaded at runtime #787 + + See also #782 + +commit af9cb53c5ddab6c3159669c283bbdc632e3e632f +Author: René Cannaò +Date: Sun Nov 13 07:35:51 2016 +0000 + + Several memory sanitizer + + Conflicts: + lib/MySQL_Thread.cpp + src/main.cpp + +commit c65866c96fb243608df0006d1c6f0ac58aa96481 +Author: René Cannaò +Date: Sun Nov 13 00:12:00 2016 +0000 + + Access denied reports source #795 + +commit 274fa25a62d6fbb0851ddb931cd8913e16fab466 +Author: René Cannaò +Date: Sat Oct 29 16:23:21 2016 +0000 + + Fix some race condition during PROXYSQL RESTART + +commit 1a805cfcf251350778343da0fab0c6d5e076d92e +Author: René Cannaò +Date: Thu Nov 10 01:14:56 2016 +0000 + + Removed unused variables from Monitor + +commit a689a5ce054cfce7fb5060703945c0559bdcae7f +Author: René Cannaò +Date: Wed Nov 9 23:36:52 2016 +0000 + + Fix bug #774 + +commit ec558d58c0f18c42b2687161062af20ee95a2e7d +Author: René Cannaò +Date: Wed Nov 9 19:12:41 2016 +0000 + + SHOW TABLES FROM xxx is now sorted #788 + +commit b0f31c97841ba2f449c91bde4fa9402cf99ea7a6 +Author: René Cannaò +Date: Mon Oct 31 07:57:11 2016 +0000 + + Allow rules on proxy_port without proxy_addr #712 + +commit de4f71bffae9b56232f87063f011025b4e6a7e64 +Merge: 221e4731 7680b8f7 +Author: René Cannaò +Date: Sun Nov 13 23:33:20 2016 +0000 + + Merge branch 'v1.3.0' into v1.3.1-dev + + Conflicts: + deps/Makefile + include/thread.h + lib/MySQL_Monitor.cpp + lib/thread.cpp + src/main.cpp + +commit 7680b8f752cb74c48fb9df148b648019a43ddc0e +Author: René Cannaò +Date: Sun Nov 13 23:00:11 2016 +0000 + + Avoid double delete in read_only check + +commit c68bde68ee5281b6ab7db398e13e25d12b7e98a1 +Author: René Cannaò +Date: Sun Nov 13 21:54:22 2016 +0000 + + Minor optimizatin sqlite3db + +commit e5531843ef75b7cd09ebccb46914935207c0e1ad +Author: René Cannaò +Date: Sun Nov 13 20:53:21 2016 +0000 + + Fixed 2 memory leaks + + This should be the root cause of #766 and #796 + + This patch will be applied to v1.2.x , v1.3.0 and v1.3.1 + +commit 9c1640ca60a17a74fb8beadaefbb5e4a83dc44d6 +Author: René Cannaò +Date: Sun Nov 13 11:44:44 2016 +0000 + + Upgrade to jemalloc 4.3.1 + +commit 1a5a6e83e8d0c1254f2d3061661b2030341629ea +Author: René Cannaò +Date: Sat Nov 12 17:40:24 2016 +0000 + + Enable SQLITE_ENABLE_MEMORY_MANAGEMENT + +commit f05f5f7415f1e66d9701de287c4917021c392adf +Author: René Cannaò +Date: Sun Nov 13 09:41:51 2016 +0000 + + Added --enable-prof for jemalloc + +commit 0f307a4ecf322fb0122caa12cd4ee078898eb77d +Author: René Cannaò +Date: Wed Nov 9 19:13:41 2016 +0000 + + Disabled jemalloc in 2 more Monitor threads + +commit 0622ad77ada8c3ed8b809278fb200ddfd6ed76ec +Author: René Cannaò +Date: Wed Nov 9 18:28:10 2016 +0000 + + Various tuning to reduce memory footprint + + Monitor threads are started: + * without arena cache + * with 64KB stack + + malloc_conf changed from: + xmalloc:true,lg_tcache_max:16,purge:decay + to: + xmalloc:true,lg_chunk:18,lg_tcache_max:12,purge:ratio + + Conflicts: + lib/MySQL_Monitor.cpp + +commit 221e47315fea8bfd456d4c028dcad307fb7a0f0b +Author: René Cannaò +Date: Sun Nov 13 07:55:30 2016 +0000 + + mysql_servers.comment not loaded at runtime #787 + + See also #782 + +commit dbc74c0b536974ecdd13e821cb6a15006649e4fc +Author: René Cannaò +Date: Sun Nov 13 07:35:51 2016 +0000 + + Several memory sanitizer + +commit d0d764533d48f8bb883e6dc7d22c469d4cc5928d +Author: René Cannaò +Date: Sun Nov 13 06:35:55 2016 +0000 + + Specify when a mysql_users.max_connections is reached #794 + + It also fixes: + * bug in deps/Makefile related to cleanall + * crashing bug in HGCU_thread_run() + +commit 85f4ba68354a08698677596cf8c93ccbc1c8e208 +Author: René Cannaò +Date: Sun Nov 13 00:12:00 2016 +0000 + + Access denied reports source #795 + +commit b89de59f06261eac038c89ed3be5c083ceadfaa8 +Author: René Cannaò +Date: Fri Nov 11 07:09:16 2016 +0000 + + Changed transaction_persistent=1 by default #793 + + Supports upgrade from previous versions + +commit f0ed2bc744d73790e03090e41ec6e8c86fa445c5 +Author: René Cannaò +Date: Thu Nov 10 01:14:56 2016 +0000 + + Removed unused variables from Monitor + +commit 7d5ade0da17ac48b31f5e359d246247ab0638e4b +Author: René Cannaò +Date: Wed Nov 9 23:36:52 2016 +0000 + + Fix bug #774 + +commit 0ff132762003b5451af6bfc3eb162b68126387d2 +Merge: 84bb9a5e 226f71d4 +Author: René Cannaò +Date: Wed Nov 9 19:29:22 2016 +0000 + + Merge branch 'v1.3.1-connthr' into v1.3.1-dev + +commit 226f71d4c3c6c49e9f34e07632f6762b4aee096d +Author: René Cannaò +Date: Wed Nov 9 19:28:41 2016 +0000 + + Connections are sent to purge thread if queue<100 + +commit 84bb9a5e863f47facdc64e1c8708ca8521b9d576 +Author: René Cannaò +Date: Wed Nov 9 19:12:41 2016 +0000 + + SHOW TABLES FROM xxx is now sorted #788 + +commit 6ec19d111f57403b6fc8e97b1777eddf1aaf83b7 +Author: René Cannaò +Date: Wed Nov 9 19:05:47 2016 +0000 + + Reduced memory footprint + + Thread::start() accepts 2 argument: + * stack size + * whatever use or not jemalloc + + MySQL_Monitor is now using pthread + +commit 6a4a75d0db4caecfac1ee9255eac843e538e8ad4 +Merge: fb683533 2b06c595 +Author: Kenny Gryp +Date: Wed Nov 9 14:22:21 2016 +0000 + + Merge pull request #2 from sysown/master + + merge with sysown/proxysql + +commit 2b06c59538d039188a164a1d1795d7cd3a9aab80 +Merge: fb683533 5adad255 +Author: René Cannaò +Date: Wed Nov 9 14:12:54 2016 +0100 + + Merge pull request #791 from grypyrg/galera_prefer_nodes_with_higher_weight + + galera_checker: prefer nodes with higher weight when number_writers>1 + +commit 5adad255610d2a4b77d5e6286681437f2145c201 +Author: Kenny Gryp +Date: Wed Nov 9 13:05:06 2016 +0000 + + prefer nodes with higher weight when number_writers>1 + + When limiting the number of writers, prefer nodes with highest weight + +commit 159176627debaa59218e2552ac733f56849d7823 +Author: René Cannaò +Date: Wed Nov 9 08:16:01 2016 +0000 + + Thread to reset connections + +commit c0f4394a7d7d14c9ec1543b87f35c87bf9069fff +Merge: 0b78ade0 62480058 +Author: René Cannaò +Date: Mon Nov 7 12:53:13 2016 +0000 + + Merge branch 'v1.3.0' into v1.3.1-dev + +commit fb683533cb98e19c359711873be9c8b6b92c7a96 +Merge: 34cb3b36 62480058 +Author: René Cannaò +Date: Mon Nov 7 12:52:50 2016 +0000 + + Merge branch 'v1.3.0' + +commit 62480058b4ea5ecb217fb314acc8706cd492f3be +Author: René Cannaò +Date: Mon Nov 7 11:07:36 2016 +0000 + + Clarification on connect timeout #776 + +commit 3ed1b7ad4daaa7610ea2fa75ced19b5189a3639e +Author: René Cannaò +Date: Mon Nov 7 11:00:40 2016 +0000 + + Handle error 1226 on connect #786 + +commit 3cb6101dd40d678998b871cd90bc7378d5ff9b77 +Author: René Cannaò +Date: Mon Nov 7 09:22:30 2016 +0000 + + Validate mysql on mysql_stmt_free_result #779 + + Calling mysql_stmt_free_result() on a statement without a valid pointer to mysql was leading to a crash + +commit ff8366a54b9d5c2e3357cd3783dad531d017994b +Author: Donatas Abraitis +Date: Fri Nov 4 12:52:20 2016 +0200 + + Add custom union for handling both sockaddr_in/sockaddr_in6 structures + +commit 34cb3b36758bc8e544127e3c1fd6282011f094b2 +Merge: 4dcd50dd ca8e420c +Author: René Cannaò +Date: Mon Nov 7 10:10:12 2016 +0100 + + Merge pull request #781 from ton31337/Fix/handle_ipv6_null + + Add custom union for handling both sockaddr_in/sockaddr_in6 structures + +commit ca8e420ce5ce5e6013c2a8ec1ea09f605846ea66 +Author: Donatas Abraitis +Date: Fri Nov 4 12:52:20 2016 +0200 + + Add custom union for handling both sockaddr_in/sockaddr_in6 structures + +commit 0b78ade0539e59d317d4fc60854564cf65a7e504 +Author: René Cannaò +Date: Mon Oct 31 07:57:11 2016 +0000 + + Allow rules on proxy_port without proxy_addr #712 + +commit 193baf70bb1beb8d1f7a475cfd4879af7142d7f2 +Author: René Cannaò +Date: Sat Oct 29 17:23:09 2016 +0000 + + Updating doc + +commit 81ee404b799b6df482fd5b154d877c5aafa9d94a +Author: René Cannaò +Date: Sat Oct 29 17:06:34 2016 +0000 + + Making PCRE the default regex engine #716 + +commit 7f039840d1f34a58ed35a9fd5e206778aba91ba4 +Author: René Cannaò +Date: Sat Oct 29 16:52:41 2016 +0000 + + Add doc on new columns in mysql_query_rules + + also fixed some typo + +commit 2bf816cd71f8456dc556db8fbbec9f4652141ce6 +Author: René Cannaò +Date: Sat Oct 29 16:23:21 2016 +0000 + + Fix some race condition during PROXYSQL RESTART + +commit 7f8f0fc0df0872508a6e228ff86940452add527b +Author: René Cannaò +Date: Sat Oct 29 16:12:19 2016 +0000 + + Implementation of mysql_query_rules.multiplex #594 + +commit 5647b83aace12b19d008e596f0c1f146ee974dba +Author: René Cannaò +Date: Sat Oct 29 15:00:30 2016 +0000 + + mariadb client doesn't compile in debug + +commit 867d7f444619f5540d9c5d2901c7d4dd3a8c5319 +Author: René Cannaò +Date: Sat Oct 29 14:34:06 2016 +0000 + + Minor fix in Makefile + +commit 575b9d08b661adbd4cdf15663c197a49941c2c18 +Author: René Cannaò +Date: Sat Oct 29 14:30:44 2016 +0000 + + Removed old mariadb-connector-c-2.1.0 + +commit a90c3097f1acc041f44b9c171a6543f64c62322b +Author: René Cannaò +Date: Sat Oct 29 14:28:53 2016 +0000 + + Further debug information for debug version + + These libraries are compiled with more debug: + - mariadb client library + - jemalloc + - sqlite3 + +commit 4dcd50dd39c54beead8e220d3ffd51de2fb25a8b +Merge: a177439e 0e8a99c3 +Author: René Cannaò +Date: Sat Oct 29 13:42:44 2016 +0000 + + Merge branch 'v1.3.0' + +commit 0e8a99c303d5639f69c69fbc6fec746ba956f280 (tag: 1.3.0f) +Author: René Cannaò +Date: Sat Oct 29 13:29:31 2016 +0000 + + Preparation for 1.3.0f + +commit cd1f2def4df4ab834233e46459c7b1435c9a2d72 +Author: René Cannaò +Date: Sat Oct 29 11:09:52 2016 +0000 + + Introducing custom error codes , see #761 + +commit 8074e738edf1a9de282c4c304281ac39761a90bd +Author: René Cannaò +Date: Sat Oct 29 00:25:57 2016 +0000 + + Added support for STMT_SEND_LONG_DATA #764 + +commit 98607ff7066449f7a83c86492a0fd29768d25399 +Author: René Cannaò +Date: Fri Oct 28 16:36:25 2016 +0000 + + Bugfix for #765 + +commit 62a60b7d906d1e69c926d4818eeb590ded8edaee +Author: René Cannaò +Date: Fri Oct 28 00:34:37 2016 +0000 + + Update .gitignore + +commit a177439e154551ed8738f817e609858868873ce6 +Author: René Cannaò +Date: Fri Oct 28 00:55:34 2016 +0000 + + Allow MariaDB ConnectorJ to connect to Admin #743 + + Fake reply for: + * SHOW VARIABLES WHERE Variable_name in ('max_allowed_packet','system_time_zone','time_zone','sql_mode') + +commit f764ce742ea3f3ade34168b4d5df2d1a8e59c84d +Merge: 9fc5438a 95a2d106 +Author: René Cannaò +Date: Fri Oct 28 00:43:32 2016 +0000 + + Merge branch 'pcre2' into v1.3.1-dev + +commit 95a2d1062cbc3eb61e19958995da1455d069e868 +Author: René Cannaò +Date: Fri Oct 28 00:41:42 2016 +0000 + + Update of Makefile + +commit 3da1a4a4686481e35642d5e80870d674a31d0881 +Author: René Cannaò +Date: Fri Oct 28 00:34:37 2016 +0000 + + Update .gitignore + +commit b49966a8509f2c85e2507534ed6f1843a654ac81 +Author: René Cannaò +Date: Fri Oct 28 00:32:58 2016 +0000 + + Adding FROM_UNIXTIME() to SQLite3 #758 + +commit 451a3dee31125120343dbfa37e2773034e5055b1 +Author: René Cannaò +Date: Thu Oct 27 22:50:50 2016 +0000 + + Upgrade SQLite3 from 3.9.2 to 3.15.0 + +commit cb0ff0665ffc342375897d103703aaf0de6b8aa0 +Author: René Cannaò +Date: Thu Oct 27 22:30:40 2016 +0000 + + Upgrading RE2 + + Former RE2 was over 2 years old. Time to upgrade! + +commit 94685e70857de63bfdee776a51cca201fc197063 +Author: René Cannaò +Date: Thu Oct 27 22:17:55 2016 +0000 + + Adding defaults for re_modifiers + + For backward compatibility, CASELESS is now the default. + For best practice, GLOBAL is default too. + +commit c27a8099e1d2bb2b8412fa6df51a885038081ce0 +Author: René Cannaò +Date: Thu Oct 27 21:43:36 2016 +0000 + + Added runtime support for new RE modifiers + + Added support for runtime_mysql_query_rules and SAVE MYSQL QUERY RULES FROM RUNTIME + +commit 453d52201ba4628b93f749df1278a374f4b5fbed +Author: René Cannaò +Date: Tue Oct 25 22:10:15 2016 +0000 + + 2 bugs in re_modifiers argument2 bugs in re_modifiers argument + +commit 9fc5438adcb184d2214a428662002cc822613260 (tag: 1.3.0e) +Author: René Cannaò +Date: Tue Oct 25 01:31:21 2016 +0000 + + Preparation for 1.3.0e + +commit eab9266f7a6627569d96c19990f9eee31239d265 +Author: René Cannaò +Date: Tue Oct 25 01:29:49 2016 +0000 + + session_idle_ms was processed in us + +commit 331603aa91768e0d04f88e3d5accc8cfa0fd97f5 +Author: René Cannaò +Date: Mon Oct 24 21:16:18 2016 +0000 + + Various bug fixes releated to RE + +commit d677a397c42dea40a3fb6d173b4872f9ee099a4b (tag: 1.3.0d) +Author: René Cannaò +Date: Mon Oct 24 20:21:20 2016 +0000 + + Typo + +commit 26d61832e325b9e90f8a7b5183c328737bd7785d +Author: René Cannaò +Date: Mon Oct 24 20:14:56 2016 +0000 + + Preparation for 1.3.0d + +commit 7d5c870f26a95213c510d24b65c6ce7965959dfb +Author: René Cannaò +Date: Mon Oct 24 19:58:14 2016 +0000 + + Fixed bug in stall connections + + If clients are on slow network, the new polling algorithm in 1.3.0 can cause connections to stall. + + Also removed some annoying compiler warnings + +commit 311db6a68156157f793635a56f1fcf1bd0c78b93 +Author: René Cannaò +Date: Mon Oct 24 19:49:00 2016 +0000 + + Improving support for RE + + Added re_modifiers in mysql_query_rules + +commit dbfc0f53952dbd5feb1d9840e3be03076583b7bf +Merge: fdf22675 8b64f76e +Author: René Cannaò +Date: Sun Oct 23 19:14:08 2016 +0000 + + Merge branch 'v1.3.0' into pcre2 + +commit 8b64f76e6a0e7eb8fab9dcaf0812ce75096dfef9 +Author: René Cannaò +Date: Sun Oct 23 15:14:42 2016 +0000 + + Adding sleep in Makefile + + Docker seems to fail randomly. Adding some sleep. + +commit a5548bd5f606456bbd20144c51388b7144fb734a (tag: 1.3.0c) +Author: René Cannaò +Date: Sun Oct 23 14:15:49 2016 +0000 + + v1.3.0c + +commit aaec9f2d7a693a81fa0b07dba6dfbdfb1ee6a2d9 +Merge: b8cf07e8 d12b7cf5 +Author: René Cannaò +Date: Sun Oct 23 14:12:11 2016 +0000 + + Merge branch 'v1.3.1-dev' into v1.3.0 + +commit d12b7cf55c6843d4dbad4fd859187424cd8fac4a +Author: René Cannaò +Date: Sun Oct 23 14:08:50 2016 +0000 + + Return error in resultset , #750 + + Depending from the query, an error "Query execution was interrupted" can be returned either as: + * a standalone ERR Packet (previously handled) + * an ERR Packet at the end of a result set : this commit handle this case + +commit faa3752e4cff45bff826bafa08604259d75a1360 +Author: René Cannaò +Date: Sun Oct 23 12:40:32 2016 +0000 + + Queries were not logged #723 + + mysql_query_rules.log was ignored + +commit dfb18a02d24ce02e06f3f5528e6c6f3113869898 +Author: René Cannaò +Date: Sun Oct 23 10:57:42 2016 +0000 + + Show double quote in PROCESSLIST #746 + +commit faefe166f01990e4a2337e983413868677f0d9a3 +Author: René Cannaò +Date: Sun Oct 23 10:35:49 2016 +0000 + + Fix issue #745 + +commit d6c05ee660b44f5bd2bafcf6f96bb081d15af202 +Author: René Cannaò +Date: Sun Oct 23 10:16:30 2016 +0000 + + Fix bug #752 : reset PS on COM_CHANGE_USER + +commit b8cf07e8326b9522103cc9782593c10bf72202aa (tag: v1.3.0b) +Author: René Cannaò +Date: Sat Oct 22 16:30:56 2016 +0000 + + Preparation for v1.3.0b + +commit 242384a7fb4a3c02eb412cfd87ac8aea0f91559b +Author: René Cannaò +Date: Sat Oct 22 13:53:41 2016 +0000 + + Check timeout only if poll() timeouts + + Main MySQL threads will only heck for timeout in data streams if poll() has timed out + +commit 823015370641e50b76e3c5af2ea39579b891d4b8 +Author: René Cannaò +Date: Sat Oct 22 13:29:44 2016 +0000 + + Increasing again maintenance loop interval + + After applying 91dff86468b8b2362bb5e878416cf9416d0776c2 , 67f782bed81b54e8c95339f7e2aacd71aec63a76 becomes not relevant + +commit 91dff86468b8b2362bb5e878416cf9416d0776c2 +Author: René Cannaò +Date: Sat Oct 22 13:11:18 2016 +0000 + + Check on timeouts don't depend on maintenance loop + + This is related to #751 + +commit bf6c93cb166078eeea2fdb1ed9a5d6cc5c23b46a +Author: René Cannaò +Date: Sat Oct 22 12:14:35 2016 +0000 + + Killed queries now return 1907 #750 + +commit 67f782bed81b54e8c95339f7e2aacd71aec63a76 +Author: René Cannaò +Date: Fri Oct 21 23:52:13 2016 +0000 + + Reducing maintenance loop to 30ms + +commit 6a4517f910eb4ae61c563933dcaf6c7db5c2b172 +Author: René Cannaò +Date: Fri Oct 21 23:17:02 2016 +0000 + + Kill threads uses wrong credentials + + This is a regression bug introduced by hashed passwords + +commit a355bfedd1471043e5068ec2db7f6efa876ab614 +Author: René Cannaò +Date: Fri Oct 21 22:35:46 2016 +0000 + + Minor fix on getaddrinfo() in listen_on_port() + +commit f28bd5a96d5d279039bfe0f982b83154c959f203 +Author: René Cannaò +Date: Fri Oct 21 22:24:07 2016 +0000 + + Minor changes to debug #740 + +commit cb9e9b691732d9e60a4618145c10163bc7f7d242 +Author: René Cannaò +Date: Fri Oct 21 11:36:21 2016 +0000 + + Added some sleep in Makefile + + Relevant when preparing packages + +commit 1cf78c16e1a4e00e37964de3d7c26002b8d23e41 (tag: v1.3.0a) +Author: René Cannaò +Date: Fri Oct 21 09:58:15 2016 +0000 + + Fixed computation of idle time #744 + +commit c608771d1472ebb61c6542cd7ceef03ca72e1573 +Author: René Cannaò +Date: Wed Oct 19 12:20:45 2016 -0700 + + Update ProxySQL_v1.3.0.md + +commit 3d197aa9f3f5583038c6bafbeff49c871b8698fa +Author: René Cannaò +Date: Wed Oct 19 15:09:56 2016 +0000 + + Minor change to compile on Ubuntu12 + +commit 256e7512e6921e868a510522f52bfb75e6597a25 (tag: v1.3.0) +Author: René Cannaò +Date: Wed Oct 19 12:20:27 2016 +0000 + + Adding tag + +commit d00dd2d3a75b1f0f59875415fc7924a4e34fc8e3 +Author: René Cannaò +Date: Wed Oct 19 11:51:31 2016 +0000 + + Added release note for v1.3.0 + +commit 005fcfc60868a5a5fbff2b6f909d5ead8f00c013 +Author: René Cannaò +Date: Wed Oct 19 09:08:56 2016 +0000 + + Adding commit version + +commit a0cfdccc15aba55d117d648378a5d3553cc5930b +Author: René Cannaò +Date: Wed Oct 19 08:23:02 2016 +0000 + + Updated .gitignore + +commit ad3bf042ec1f717d5160acb05fe897caa2b25a7a +Author: René Cannaò +Date: Wed Oct 19 08:22:01 2016 +0000 + + Preparation for 1.3.0 + +commit fdf22675b6e9e27759881b96b25e8ff71438a49a +Author: René Cannaò +Date: Wed Oct 19 08:04:15 2016 +0000 + + Adding support for PCRE + + Added pcre-8.39 + Introduced new variable mysql-query_processor_regex: + - 1 : PCRE + - 2 : RE2 (default) + +commit d1b40f7368fa44110e632bf8721c4296b092b796 +Author: René Cannaò +Date: Tue Oct 18 16:33:28 2016 +0000 + + Added new variable mysql-query_digests_lowercase + +commit 07ae7786c6efd4acc02c9282bf41a01063dfba88 +Author: René Cannaò +Date: Tue Oct 18 15:13:47 2016 +0000 + + Added assert() instead of error handling for STMT_EXECUTE + +commit 1287a6edcf0581242a7981b90392a09ccc42de70 +Author: René Cannaò +Date: Mon Oct 17 21:15:47 2016 +0000 + + Removed stmt_info from stmt_execute_metadata_t + + Was unused + +commit d04d003e1b7a3d5028b61f886365878c8dd6d05b +Merge: bd19b416 fd55f85d +Author: René Cannaò +Date: Mon Oct 17 14:53:02 2016 +0000 + + Merge branch 'master' of https://github.com/sysown/proxysql + +commit bd19b41622cd5dea7c23abd7176059c6239de19f +Author: René Cannaò +Date: Mon Oct 17 14:52:20 2016 +0000 + + Possible fix for bug #740 + +commit fd55f85d87b86dba2784c73ed0f437e5693fac92 +Merge: 24676874 6a631b7c +Author: René Cannaò +Date: Mon Oct 17 14:16:10 2016 +0200 + + Merge pull request #727 from bzed/patch-1 + + Fix typo in README.md + +commit 24676874cc30f9022ea75308badfbbf6359bb318 +Merge: 799c7d41 d4b34880 +Author: René Cannaò +Date: Mon Oct 17 09:30:51 2016 +0200 + + Merge pull request #726 from ton31337/feature/ipv6 + + Add IPv6 support + +commit d4b3488046a4147e908052f62c57af6772b3fbb3 +Author: Donatas Abraitis +Date: Mon Oct 10 23:07:01 2016 +0300 + + Add IPv6 support + +commit 799c7d411ae9d082ba1eee46d52535faf8f88a7c +Merge: 97658ec1 0e062058 +Author: René Cannaò +Date: Mon Oct 17 08:20:17 2016 +0200 + + Merge pull request #737 from ton31337/feature/do_not_shunn_on_few_error_codes + + Do not shunt the server if max_user_connections is reached for user + +commit 97658ec16a6f8b71dee3c5332d8da39b8f1ef5c1 +Merge: 4a407413 1a589b98 +Author: René Cannaò +Date: Mon Oct 17 08:19:29 2016 +0200 + + Merge pull request #734 from unknownVS13/Typo-fixes-in-the-wiki + + Fixed a couple of distracting typos from the "Multi-layer configuration system" page in the docs + +commit 4a4074131bf93ea7df496843aa072be64a903ba0 +Merge: 1ffe1066 679d3468 +Author: René Cannaò +Date: Mon Oct 17 08:18:26 2016 +0200 + + Merge pull request #739 from sysown/v1.3.0 + + V1.3.0 + +commit 679d34680cce443a877c381d88c10d43d23e5a90 +Merge: 48ca4f33 092d88c1 +Author: René Cannaò +Date: Mon Oct 17 00:52:10 2016 +0200 + + Merge pull request #738 from sysown/v1.3.0-exp2 + + V1.3.0 exp2 into v1.3.0 + +commit 092d88c11923f4551b1b558c3d5584339c61b321 +Author: René Cannaò +Date: Sun Oct 16 11:24:39 2016 +0000 + + Further improvement on idle processing + +commit 4478f0a24e5df5edf7a12d9953db832045599943 +Author: René Cannaò +Date: Sun Oct 16 11:16:43 2016 +0000 + + Handling of idle_time + +commit 05d9655ef9bfaaa659cd4328e395d5625b2a7c70 +Author: René Cannaò +Date: Sun Oct 16 11:08:42 2016 +0000 + + Improving performance on MySQL_Session::IdleTime() + + This affects the epoll_threads. Will be way faster to determine if the connection is idle + +commit f3d9763b7bb1d8c2ae1079d1493ba1eb2d57b6ee +Author: René Cannaò +Date: Sun Oct 16 10:22:46 2016 +0000 + + Another accounting issue + +commit d70c6f48a56693fd9a44e3d6b99ca165238fc2b2 +Author: René Cannaò +Date: Sun Oct 16 10:19:05 2016 +0000 + + Fixed wrong accounting + +commit f4574be9cf0a5eda22ec0419fa13bd5b6668c4fe +Author: René Cannaò +Date: Sun Oct 16 10:02:41 2016 +0000 + + Improved memory statistics for epoll threads + +commit 8322e4a62a8c9038a2a92743d1d0a7ae173e2a83 +Author: René Cannaò +Date: Sun Oct 16 06:26:41 2016 +0000 + + Added variable session_idle_show_processlist + + Idle sessions (as defined by session_idle_ms) are not showed in processlist by default. + If session_idle_show_processlist==true, they will show + +commit 1027c3135910c6f0021be6d57157bdfd0322914c +Author: René Cannaò +Date: Sun Oct 16 04:43:29 2016 +0000 + + Limit the number of Monitor threads to 16 + +commit 0e062058e6159ca8db6716e8362361be0b1573b2 +Author: Donatas Abraitis +Date: Sat Oct 15 21:01:03 2016 +0300 + + Do not shunt the server if max_user_connections is reached for user + +commit 249511c15c3596a3d25420bc48a1042c0dadbf6f +Author: René Cannaò +Date: Sat Oct 15 14:38:56 2016 +0000 + + Use of mutex on epoll implementation + +commit 0e7df477ec27cfcd782763c995efc394320b2e2d +Author: René Cannaò +Date: Sat Oct 15 11:17:42 2016 +0000 + + Fixing number of threads + +commit accba511ef0d5070ec2ef39893db4647329fc71a +Author: René Cannaò +Date: Fri Oct 14 21:31:23 2016 +0000 + + Use different function for idle threads + +commit e2b155a7a4bba299c2f056774ca42c3aedccd809 +Author: René Cannaò +Date: Fri Oct 14 20:46:10 2016 +0000 + + First attempt for an hybrid poll/epoll implementation + +commit 854120c4358b08d0f37576ec7afaaee745099dde +Author: René Cannaò +Date: Fri Oct 14 16:02:17 2016 +0000 + + variable session_idle_ms is computed + +commit f9177ac0296ef17137032ec3c8f30807ced630fe +Author: René Cannaò +Date: Fri Oct 14 15:56:50 2016 +0000 + + Added variable mysql-session_idle_ms + +commit 5f6403f31ac73ef7b688dea5a0cacb6471298b4f +Author: René Cannaò +Date: Fri Oct 14 15:40:36 2016 +0000 + + Maintenance thread now checks for wait_timeout + +commit f24753ca03b00f94c7a7c9727747a3d1234935db +Author: René Cannaò +Date: Fri Oct 14 15:04:12 2016 +0000 + + Removed unnecessary check + +commit d0b5c2732b457162360dc41a5ffbca3877151e28 +Author: René Cannaò +Date: Fri Oct 14 07:10:02 2016 +0000 + + Performance improvement, less maintenance loops + +commit 9a8906c7100988b9856766f79140a26aee01a9ad +Author: René Cannaò +Date: Fri Oct 14 07:05:43 2016 +0000 + + Zeroing events + +commit 3b53677d7c276234b119cd4a745b2d62cbf45ed2 +Author: René Cannaò +Date: Fri Oct 14 00:50:54 2016 +0000 + + epoll optimization + +commit df83e2eb65a6727777302c66d07bd692c633a1f1 +Author: René Cannaò +Date: Fri Oct 14 00:37:51 2016 +0000 + + Use sessmap for epoll() + +commit 9113ebb7581d8bab81e70a79133c0d23a81240ca +Author: René Cannaò +Date: Fri Oct 14 00:23:48 2016 +0000 + + Adding session map for epoll() + +commit b986288d3885abdfb7da9dac8d338cc6d8d60fa0 +Author: René Cannaò +Date: Thu Oct 13 00:54:43 2016 +0000 + + Return Session to normal worker for any events + +commit 1a589b9800684d734c06e4d42ccdfdc90f7b91f1 +Author: unknownVS13 +Date: Wed Oct 12 13:25:51 2016 -0800 + + Fixed a couple of distracting typos from the "Multi-layer configuration system" page in the docs + +commit 94f4724eca6091a449fe9da7b768ecae19bf7c6f +Author: René Cannaò +Date: Wed Oct 12 14:19:43 2016 +0000 + + epoll() to handle only EPOLLIN + +commit ec896b69013081861beea457689799da15132fc1 +Author: René Cannaò +Date: Wed Oct 12 13:26:01 2016 +0000 + + More bug fix for epoll + +commit b27b9e1e32fab40507607fb58217e482d89870d3 +Author: René Cannaò +Date: Wed Oct 12 12:57:30 2016 +0000 + + Wrong thread_id in Admin + +commit a804304c517b9bb55eb92b7326fdfe9dbb1abe8c +Author: René Cannaò +Date: Wed Oct 12 11:55:22 2016 +0000 + + Another bug for epoll + +commit ad5e17514cfb0cafed039562cdf20af7b929ce29 +Author: René Cannaò +Date: Wed Oct 12 11:35:21 2016 +0000 + + Bug epoll() + +commit add16083b742b9e95f3818d8c685e7979bc6e8ae +Author: René Cannaò +Date: Wed Oct 12 11:22:59 2016 +0000 + + Another bug fix in epoll() + +commit 89860ef2775847886848f1a3b5d5c7cd1dbc19b1 +Author: René Cannaò +Date: Wed Oct 12 10:59:55 2016 +0000 + + More bug fixes for epoll() + +commit 865a6d2122285b0f2727e342f551b5a153629d9e +Author: René Cannaò +Date: Wed Oct 12 03:07:06 2016 +0000 + + Another bug in epoll() + +commit 548d1c92dd54ffb4e7bd66a58161dc0ff1408de1 +Author: René Cannaò +Date: Wed Oct 12 03:02:35 2016 +0000 + + Multiple descriptors in epoll() + +commit 0388d603310cc48da1e86bafa03ffbb30f8f373f +Author: René Cannaò +Date: Wed Oct 12 02:50:43 2016 +0000 + + Possible fix for epoll() + +commit cf2904755706e7fcae4295ef22a30c6e48f032d1 +Author: René Cannaò +Date: Wed Oct 12 02:38:27 2016 +0000 + + Trying epoll() + +commit 15361a2682d5220be29bdfe67dfe4f746f7f9e6e +Author: René Cannaò +Date: Tue Oct 11 23:38:50 2016 +0000 + + Make sure to enable maintenance thread if there are many threads + +commit 671a03c771212c20a29b7e3b03915a62d9064640 +Author: René Cannaò +Date: Tue Oct 11 23:22:29 2016 +0000 + + Maintenance thread to notifies only 1 thread + +commit d12a99b5063e5f23c4e0fc4df2c77b2183f2db8e +Author: René Cannaò +Date: Tue Oct 11 22:14:33 2016 +0000 + + Main loop optimizations + + Optimizations in MySQL_Thread::run() and MySQL_Thread::process_all_sessions() + +commit 01acdcdd2e3c73541136a9708debdf612ab2f34b +Author: René Cannaò +Date: Tue Oct 11 14:27:07 2016 +0000 + + Bug in maintenance thread + +commit 4e9de0a5ebbcb0a3c48c1fa95b45f6b898f7c91a +Author: René Cannaò +Date: Tue Oct 11 10:53:08 2016 +0000 + + Reduce the number of notifications to worker 0 + +commit 7271ba1d18e00c240285f1d115ea882790f33bed +Author: René Cannaò +Date: Tue Oct 11 02:28:36 2016 +0000 + + Optimization on MySQL_Thread + + Incorrectly, Sessions were always set to be processed + +commit c33d2a2ff174ecc75a4072d2823808d90038b21b +Author: René Cannaò +Date: Tue Oct 11 02:21:14 2016 +0000 + + Sessions were incorrectly always processed + +commit 6e1db21a2976699c143391c63dfac7546708b2ca +Author: René Cannaò +Date: Tue Oct 11 02:03:16 2016 +0000 + + Minor optimization in maintenance thread + +commit 9d130e4b60a87babeff7ebe5eb049647b2936da0 +Author: René Cannaò +Date: Tue Oct 11 01:23:42 2016 +0000 + + Loop optimization for maintanance thread + +commit bfbc3da8117c45a4fb32e2028c20fc70215704d9 +Author: René Cannaò +Date: Tue Oct 11 01:02:33 2016 +0000 + + Experimental support for maintenance thread + + This mysql thread will be used only to hold long idle connections + +commit 231e969203d5ba9cb4ff42752d88293d9d07625a +Author: René Cannaò +Date: Mon Oct 10 16:23:14 2016 +0000 + + Random sleep only if reuseport is not set + +commit 4d4f9b0da6f5e02ae5ec92807b19a5bed35bf644 +Author: René Cannaò +Date: Mon Oct 10 15:54:58 2016 +0000 + + Bug fixes for REUSEPORT + +commit b93cc4b6bcf2e665bc43e18aaed6b94b8aaa902d +Author: René Cannaò +Date: Mon Oct 10 15:27:39 2016 +0000 + + Further testing implementation of SO_REUSEPORT + +commit 6a631b7c2c39f7242be0785d895f0cb758aee600 +Author: Bernd Zeimetz +Date: Mon Oct 10 14:57:32 2016 +0200 + + Fix typo in README.md + +commit adbdb5b2e389cc8c3aef5e801dbc6b5636f3e522 +Author: René Cannaò +Date: Sun Oct 9 19:29:19 2016 +0000 + + Trying SO_RESUSEPORT + +commit 48ca4f33163bb6bcbab3c97ac9da343a924bdd5a +Author: René Cannaò +Date: Sat Oct 8 22:13:27 2016 +0000 + + Remove unix socket domain file on shutdown + + Bug fix #714 + +commit 55495bfff30454cc15aeebfe79e323b072025542 +Author: René Cannaò +Date: Sat Oct 8 21:25:54 2016 +0000 + + Disabling patch from #700 as not relevant in 1.3.0 + +commit c7408e5cfbe4163d813e1029f2efae326095ede5 +Author: René Cannaò +Date: Sat Oct 8 21:17:58 2016 +0000 + + Preparing compiling environment for v1.3.0 + +commit b05318acc73f2fbe6380ad23aac7a939a59f238c +Author: René Cannaò +Date: Sat Oct 8 21:12:37 2016 +0000 + + Bug fix #719 + + runtime_mysql_query_rules.digest is now reported as NULL instead of 0x0000000000000000 + +commit 9b892ccd1d2fd409914a636619efaa4040dab7e9 +Author: René Cannaò +Date: Sat Oct 8 14:34:28 2016 +0000 + + Fix bug #717 related to digest + + mysql_query_rules.digest was not checked, and therefore unable to filter + +commit 3606ac00a8f6b6c77cc8aa251456ec1b716c56a0 +Merge: cbfc9bfc 1ffe1066 +Author: René Cannaò +Date: Thu Sep 29 23:25:43 2016 +0000 + + Merge branch 'master' into 1.3.0-alpha + + Conflicts: + include/proxysql.h + +commit 1ffe10662563b887c4592ccfccc7106f49073a8d +Author: René Cannaò +Date: Thu Sep 29 22:56:32 2016 +0000 + + Compile ubuntu16 debug + +commit 4a13de76a7f02841a8eb93aeb1683948383257b9 +Author: René Cannaò +Date: Thu Sep 29 15:48:25 2016 -0700 + + Update and rename README.rst to README.md + +commit fefff93c11ae62780014b7e19533e05a7f145678 +Merge: 5f070ff3 fe71b9a6 +Author: René Cannaò +Date: Fri Sep 30 00:47:04 2016 +0200 + + Merge pull request #710 from sysown/v1.2.4 + + Merge V1.2.4 into master + +commit fe71b9a6089b1ac7100120c0c05cda64f59dc31e (tag: v1.2.4) +Author: René Cannaò +Date: Thu Sep 29 22:32:18 2016 +0000 + + Release note for 1.2.4 + +commit 818b70481c8f5d5716bc5c31bc586f6f9a3ebb92 +Author: René Cannaò +Date: Thu Sep 29 22:11:45 2016 +0000 + + Changed to version 1.2.4 + +commit 9157ce7e90aa70a45d2d1629a6a72d4844cecd3b +Author: René Cannaò +Date: Thu Sep 29 22:10:44 2016 +0000 + + Updating landing page + +commit 2fead771351ab754fef37fe93e55930a546202d8 +Author: René Cannaò +Date: Thu Sep 29 22:04:56 2016 +0000 + + Updating landing page + +commit a7b8bcde99b44b4014504122f64b05572622b287 +Author: René Cannaò +Date: Wed Sep 28 23:36:25 2016 +0000 + + Print a warning if unable to open configfile #705 + +commit 2b7d080fd26095fd2bda748167dfc9c866f47acc +Author: René Cannaò +Date: Wed Sep 28 23:08:49 2016 +0000 + + Workaround for bug #708 + + An almost empty `global_variables` is added on stats schema. This will allow to run queries against it, even if empty. + +commit cbfc9bfcfd14d774e28bc5fbbd5ec34489406eda +Merge: 4151d50b 7becdf42 +Author: René Cannaò +Date: Wed Sep 28 20:34:02 2016 +0000 + + Merge branch 'v1.2.4' into 1.3.0-alpha + + Conflicts: + include/proxysql.h + lib/MySQL_Session.cpp + +commit 4151d50b5d3794cc3ae9faa3f161ef46ef99f701 +Author: René Cannaò +Date: Wed Sep 28 16:51:24 2016 +0000 + + Updating version + +commit 01395f93f20bb2e56952272bb3e60e20c8df7e5b +Merge: 9419d346 8ce083fb +Author: René Cannaò +Date: Wed Sep 28 16:50:43 2016 +0000 + + Merge branch 'v1.2.3-644' into 1.3.0-alpha + +commit 7becdf42dde1a888d7b1bc31e0478fdf0a2f8ca0 +Author: René Cannaò +Date: Wed Sep 28 16:48:37 2016 +0000 + + Updating docs + +commit 9950cbac4b4da35723f54b2a47840ecc20b0dffc +Merge: 9af38423 5f070ff3 +Author: René Cannaò +Date: Mon Sep 26 15:30:30 2016 +0000 + + Merge branch 'master' into v1.2.4-mergemaster + + Conflicts: + include/proxysql.h + +commit 9af38423245ff275fea2ec6d4123d07c475f4858 +Author: René Cannaò +Date: Sun Sep 25 23:49:24 2016 +0000 + + Added ProxySQL collector for diamond + +commit f733d1fb5caf55ff813dedc1700f26c0b9ca18bc +Author: René Cannaò +Date: Sun Sep 25 23:47:31 2016 +0000 + + DELETE of entries in monitor tables was incorrect + + Time was incorrectly computed + +commit 0c11ad94c22e74c306497501171de0028bf21531 +Author: René Cannaò +Date: Sun Sep 25 21:41:16 2016 +0000 + + Do not print "set autocommit" in error log for Admin + +commit 4ceb96d5e4d785c9d7a4415069d9b516808dca07 +Author: René Cannaò +Date: Sun Sep 25 16:01:43 2016 +0000 + + Update doc related to #702 + +commit 505d4acce3e660a8919df600d85ce8bc27f3fbcb +Author: René Cannaò +Date: Sun Sep 25 15:34:17 2016 +0000 + + More metrics related to connectin pool #703 + + Metrics introduced: + * ConnPool_get_conn_failure : connection pool cannot provide any connection + * ConnPool_get_conn_immediate : connection is provided from per-thread cache + * ConnPool_get_conn_success : the session is able to get a connection, either from per-thread cache or connection pool + +commit ea086d8572c3c9a145bdf91e562b84f8b87f573c (tag: v1.2.4.0923) +Author: René Cannaò +Date: Fri Sep 23 20:44:12 2016 +0000 + + Preparation for v1.2.4 + +commit 0c577f8d8145a9d2d4015f77042668ba8d960bdc +Author: René Cannaò +Date: Fri Sep 23 20:37:04 2016 +0000 + + Apply patch from CONC-190 #700 + +commit 168f573f3f464883fa80756c2907058a36bf4d9c +Author: René Cannaò +Date: Fri Sep 23 20:20:43 2016 +0000 + + Fixes compression bug reported in #297 + +commit 8e9bbde6edef837d5d834cac69a5cfc3b8315993 +Author: René Cannaò +Date: Tue Sep 20 15:59:51 2016 +0000 + + Crash when computing memory usage for mirrored sessions #699 + +commit 2150d53c0c5a1c9eca036cd95d35666fd789ff30 +Author: René Cannaò +Date: Tue Sep 20 15:41:44 2016 +0000 + + Merge branch 'master' into v1.2.4 + +commit 5f070ff3e7276dbabddcb6c29843e5474604e655 +Merge: daf2dd16 7fe5c7f0 +Author: René Cannaò +Date: Tue Sep 20 11:06:54 2016 +0000 + + Merge branch 'v1.2.3' + + Conflicts: + lib/MySQL_Session.cpp + +commit daf2dd161f79b2c3ddd798272f3a06481753a59e +Author: René Cannaò +Date: Tue Sep 20 11:06:18 2016 +0000 + + Release note for 1.2.3 + +commit 7fe5c7f06b702870752dbcf6a83a135f6713bea1 (tag: v1.2.3) +Author: René Cannaò +Date: Tue Sep 20 09:35:19 2016 +0000 + + Fixed incorrect timeout in mirrored session + +commit 54c92327caeab20d6d80b77fa81b7a9c832f556b +Author: René Cannaò +Date: Mon Sep 19 23:21:53 2016 +0000 + + Merge branch 'v1.2.3' + +commit ae915010758a5508a1dfffc8ae24c9c41a8c36e2 +Author: René Cannaò +Date: Mon Sep 19 23:19:35 2016 +0000 + + Removed fprintf + +commit cbe6c892dcf6a1264540a28c6134c1f99afb6b83 +Author: René Cannaò +Date: Mon Sep 19 23:17:44 2016 +0000 + + Setting version 1.2.3 + +commit 1969fd1805c41a2b0c1982c8775f526481807884 +Author: René Cannaò +Date: Mon Sep 19 22:44:00 2016 +0000 + + Better error handling for mirror traffic + +commit 09b7a3505e366eb5681d10011a9e8b1b42e1982b +Merge: 2bcc1451 1eb419a7 +Author: René Cannaò +Date: Mon Sep 19 00:00:09 2016 +0000 + + Merge branch 'master' of https://github.com/sysown/proxysql + +commit 9419d3462ea7eb96d3a092fcdc837d891205b978 +Author: René Cannaò +Date: Sun Sep 18 23:57:56 2016 +0000 + + Two bug fixes related to mirroring: + + - default_hostgroup was not set: this causes multiplexing to always be disabled + - fd in client_myds for mirror session was not initialized: this causes random crashes + +commit 4df53c69f41396343e19a1fe2452d109cccd7ea1 +Author: René Cannaò +Date: Sun Sep 18 23:50:28 2016 +0000 + + Two bug fixes related to mirroring: + + - default_hostgroup was not set: this causes multiplexing to always be disabled + - fd in client_myds for mirror session was not initialized: this causes random crashes + +commit 2bcc1451b6a77a67cfbb32a2204368d8afa79c5c +Author: René Cannaò +Date: Sun Sep 18 23:50:28 2016 +0000 + + Two bug fixes related to mirroring: + + - default_hostgroup was not set: this causes multiplexing to always be disabled + - fd in client_myds for mirror session was not initialized: this causes random crashes + +commit bf894f4ca55a2fbbdfe433412c3d722f24a2c074 +Author: René Cannaò +Date: Sat Sep 17 15:16:23 2016 +0000 + + Moved some MYSQL_COM_QUERY_command in right file + +commit 11e262ce0e16730fdc4af4e8bd483d5d09eb28aa +Merge: af07b5e2 30fada8e +Author: René Cannaò +Date: Sat Sep 17 14:40:46 2016 +0000 + + Merge branch 'v1.3.0-ST_BE_count' into 1.3.0-alpha + +commit af07b5e249320ebb6c513d463bfa98fc06984aaa +Merge: b917da91 92f34963 +Author: René Cannaò +Date: Sat Sep 17 14:38:59 2016 +0000 + + Merge branch 'v1.2.4' into 1.3.0-alpha + +commit 30fada8e5eb6f1d0c2a7c322320818a626127f9d +Author: René Cannaò +Date: Sat Sep 17 14:11:02 2016 +0000 + + Fixed bug in time accounting for PS + +commit 9a91a40c53a886cf536e8e208e0fa28757641c9d +Author: René Cannaò +Date: Sat Sep 17 14:10:23 2016 +0000 + + Print stmt info only in DEBUG mode + +commit aacd47e4d71c27e508f2b8c71fbb3ab0e2cc1325 +Author: René Cannaò +Date: Sat Sep 17 13:54:43 2016 +0000 + + Minor changes to client9.cpp for more testing + +commit 505196fd6be27e8839a12acc5fe8d73341de568b +Author: René Cannaò +Date: Sat Sep 17 13:52:45 2016 +0000 + + Implemented recycling of stmt_id + + Once stmt_id aren't used anymore, they can be reused + +commit 5330000348835e0b2c28ced7cc961a53f868d070 +Author: René Cannaò +Date: Sat Sep 17 12:55:43 2016 +0000 + + Added variables to control prepared statements + + - mysql-max_stmts_per_connection + - mysql-max_stmts_cache + +commit 4a12260df322e5761c7a4fa313a1a2cea8b03137 +Author: René Cannaò +Date: Sat Sep 17 12:15:08 2016 +0000 + + Purge MySQL_STMTs_meta entries when not used + + MySQL_STMTs_meta() is aware to which session it belongs + entries are removed from MySQL_STMTs_meta() when unused + find_prepared_statement_by_hash() increases the client ref count + Hardcoded a maximum number of statements + +commit a4ece505e566829f58893b6fd6adb4b1a7b12a3a +Author: René Cannaò +Date: Sat Sep 17 08:13:21 2016 +0000 + + Fixed a memory leak + +commit c987da5b03262a03b647775970c741eb5ae1a16d +Author: René Cannaò +Date: Sat Sep 17 08:05:03 2016 +0000 + + Various changes + + - "Prepare" wasn't listed in SHOW PROCESSLIST + - during ~MySQL_Connection(), all + +commit 016b596a0f2ced022cfa0bc6fe377c6d2c53a027 +Author: René Cannaò +Date: Fri Sep 16 21:41:03 2016 +0000 + + MySQL_STMTs_local is aware of being client or not + + The called of MySQL_STMTs_local functions doesn't must specify if it is a client or a backend. + Added also a function in MySQL_Connection to make the connection aware it is a client. + +commit b917da91a931a693096d582d0e17338b28c2432a +Author: René Cannaò +Date: Fri Sep 16 15:28:10 2016 +0000 + + Added incomplete support for STMT_RESET + + Also added some client for testing + +commit 40187c6bf27caef3f4e897ee1c155cec0465ab8d +Author: René Cannaò +Date: Wed Sep 14 23:14:11 2016 +0000 + + Uninitialized start_time during STMT_EXECUTE + +commit 92f349638350e43f066720cb373c5a023ae0dfcd +Author: René Cannaò +Date: Wed Sep 14 17:43:32 2016 +0000 + + Return empty result for SHOW WARNINGS #696 + + The current version of ProxySQL filters SHOW WARNINGS returning + an empty resultset. + This implementation is logically incorrect, and in future version a better + implementation will be developed + +commit 3380f6df482b4ec00179f15831189285d92021d7 +Author: René Cannaò +Date: Tue Sep 13 22:41:07 2016 +0000 + + Adding parsing for several SQL commands + + ALTER VIEW + CALL + CHANGE MASTER + CREATE DATABASE + CREATE INDEX + CREATE SCHEMA + CREATE TABLE + CREATE TEMPORARY + CREATE TRIGGER + CREATE USER + CREATE VIEW + DESCRIBE + DROP TABLE + DROP TRIGGER + DROP USER + DROP VIEW + FLUSH + GRANT + KILL + LOCK TABLE + LOAD + OPTIMIZE + RENAME TABLE + RESET MASTER + RESET SLAVE + REVOKE + SAVEPOINT + TRUNCATE TABLE + UNLOCK + +commit 816a443276869a96a75038c29e290aa23b4be6c6 +Author: René Cannaò +Date: Mon Sep 12 12:45:04 2016 +0000 + + Preparation to build on Fedora24 #686 + +commit c8d92b05d37f863ff894bcbb07dcd0155d2c61c3 +Author: René Cannaò +Date: Mon Sep 12 09:15:20 2016 +0000 + + Preparation to compile on Ubuntu16 + +commit 41dc7aeeb13c89347991406277716cf6260c88cf +Merge: e1d636b7 e29f7097 +Author: René Cannaò +Date: Mon Sep 12 08:24:14 2016 +0000 + + Merge branch 'v1.2.3-690' into v1.2.3 + +commit e1d636b7174186dad25f4a62db84f3ae54e04f72 +Merge: ffce0fb0 99abb48c +Author: René Cannaò +Date: Mon Sep 12 08:22:15 2016 +0000 + + Merge branch 'v1.2.3-691' into v1.2.3 + +commit ffce0fb0c0e7c02b6befe7f4dfd0aac64aedc674 +Author: René Cannaò +Date: Mon Sep 12 01:20:21 2016 -0700 + + Update passwords.md + +commit 1cbedc8057c7d3f8a9559a55eafedc7ef3bdde7e +Author: René Cannaò +Date: Mon Sep 12 00:50:58 2016 +0000 + + Documentation on passwords + +commit 128ff3dedaa8472c88fd95d8a453d2ebbe76c4fd +Author: René Cannaò +Date: Sun Sep 11 22:54:53 2016 +0000 + + Introduce new variable admin-hash_passwords #676 + + New variable admin-hash_passwords , default true + + When set, passwords in mysql_users are automatically hashed in runtime + when running LOAD MYSQL USERS TO RUNTIME. + + For backward compatibility, passwords in mysql_users in memory and disk aren't + automatically hashed. Although, they can be easily hashed running + SAVE MYSQL USERS TO MEMORY (and eventually SAVE MYSQL USERS TO DISK) + immediately after running LOAD MYSQL USERS TO RUNTIME + +commit 8ce083fb20090c9c1d389ea0db7c42a155c6e608 +Author: René Cannaò +Date: Sun Sep 11 00:35:58 2016 +0000 + + Testing pthread mutex for MHM #644 + + If MHM_PTHREAD_MUTEX is defined MySQL_HostGroups_Manager.h , + MySQL_HostGroups_Manager() is compiled using pthread mutex instead od spin loop. + + As a lot of computation is protected by mutex, maybe it is better not to use spin loop. + +commit 74c4bf321083378393bcd2bae5d372be79533a59 +Author: René Cannaò +Date: Sat Sep 10 13:38:44 2016 +0000 + + Added STRESSTEST_POOL + + Enabling STRESSTEST_POOL ProxySQL will do a lot of loops in the connection pool + This is for internal testing ONLY!!!! + DO NOT ENABLE IT + +commit 861b12fe5269758f08a96ca3726970b33547d4de +Author: René Cannaò +Date: Sat Sep 10 12:50:05 2016 +0000 + + Minor performance improvements + + PtrArray is now header only + Moved some function of MySrvConnList() into header + +commit baf13c63bf383a97b95585c9941cb05dc4a89417 +Author: René Cannaò +Date: Sat Sep 10 01:07:31 2016 +0000 + + Commit to revert. Here for testing only + +commit be063707e9fc811eeb0186e802f40bc0f147da7e +Author: René Cannaò +Date: Sat Sep 10 00:34:43 2016 +0000 + + MySrvConnList::conns is now private + + This commit is a preparation to convert conns from an array to a map + +commit 7d3814e5b980e4b49bbdf757ddaca13f9c6f6691 +Author: René Cannaò +Date: Sat Sep 10 00:02:14 2016 +0000 + + Scalability improvements #644 + + Some minor yet important tweak to spinloop + Replaced rand() with fastrand() + +commit 99abb48c2120c4a27512e409d682f9d2ec77bc64 +Author: René Cannaò +Date: Fri Sep 9 08:28:48 2016 +0000 + + Implementation of runtime_mysql_users #691 + +commit e29f70976ab620ba17c36447e6ddadbdbc46cf8f +Author: René Cannaò +Date: Tue Sep 6 23:25:30 2016 +0000 + + Implemented aggressive query cache purging #690 + + Aggressive purging is triggered when 90% of the memory limit is reached + + Fixed also a bug in the computation of memory used + +commit 21fdb12e0b624f4af4d1d96fa292f5f285fc53ef +Author: René Cannaò +Date: Tue Sep 6 00:13:35 2016 +0000 + + Support for PREPARE (text protocol) #684 + + Added queries EXECUTE and DEALLOCATE PREPARE in Query Processor + PREPARE automatically disables multiplexing + +commit 1eb419a7e8c82ca3da42efba67b6d006379e5052 +Merge: 29f8012d 5a0f6c57 +Author: René Cannaò +Date: Mon Sep 5 23:52:22 2016 +0200 + + Merge pull request #685 from dveeden/systemd_support + + Systemd support + +commit 5a0f6c5752e2f7fade0a8684a971a8c299669242 +Author: Daniël van Eeden +Date: Mon Sep 5 22:54:33 2016 +0200 + + Systemd support + + Related Issue: https://github.com/sysown/proxysql/issues/425 + +commit 5b5d924dc1f97bd86f57f0e2e9eb70db2cc9db31 +Merge: 1b4afb77 29f8012d +Author: René Cannaò +Date: Mon Sep 5 13:48:57 2016 +0000 + + Merge branch 'v1.2.3' into 1.3.0-alpha-merge123 + + Conflicts: + lib/MySQL_Session.cpp + lib/ProxySQL_Admin.cpp + src/Makefile + +commit 29f8012d6c75ad0cdbdca047f7ca64c68461721e +Author: René Cannaò +Date: Fri Sep 2 23:15:24 2016 +0000 + + No proper cleanup if CHANGE_USER fails #682 + +commit 2395d08681c33e0ebeaefa89059fff675de5d14b (tag: v1.2.2) +Author: René Cannaò +Date: Fri Sep 2 19:46:03 2016 +0000 + + Fix bug #681 + +commit 23ffedcc46fe94a51714f66c4a2ece7f2ae5b82f +Author: René Cannaò +Date: Fri Sep 2 14:16:35 2016 +0000 + + Missing script from rpms + +commit d554818c4aecc6739424533ebeb2eb514695bf30 +Author: René Cannaò +Date: Thu Sep 1 17:41:31 2016 -0700 + + Updating Doc + +commit 86c2a86b4dde88d328c8b703afb35fb2dfc9dce7 +Author: René Cannaò +Date: Thu Sep 1 16:43:54 2016 +0000 + + Added contributors in release note + +commit a761b8b2927859f745759841550ac0076d54fca3 +Author: René Cannaò +Date: Thu Sep 1 16:29:56 2016 +0000 + + Fixing link in relases note + +commit 3f1ca9da7888d29f1914f389b667d71aa39e5f59 +Author: René Cannaò +Date: Thu Sep 1 16:24:54 2016 +0000 + + Fixing link in release note + +commit 46407197fabc9fd266e649b3043660539593b4aa +Author: René Cannaò +Date: Thu Sep 1 15:39:10 2016 +0000 + + Added Release note for v1.2.2 + +commit 7446bf7189739f8447ca56c55de0a9cf5bfe6efd +Merge: f2773439 b58bea60 +Author: René Cannaò +Date: Thu Sep 1 13:53:40 2016 +0000 + + Merge branch 'v1.2.2-669' into v1.2.2 + +commit f27734390ebc6ca6b6e6dea113f93f5f32e50c32 +Merge: 7f652375 d214e2f6 +Author: René Cannaò +Date: Thu Sep 1 13:52:42 2016 +0000 + + Merge branch 'v1.2.2-RO-loop' into v1.2.2 + +commit 7f652375b5677a041099ac2d82cab1d47d7e53ac +Merge: 5cc20b03 fb12719b +Author: René Cannaò +Date: Thu Sep 1 13:52:19 2016 +0000 + + Merge branch 'v1.2.2-644' into v1.2.2 + +commit 5cc20b034a9e4e14a8681756aa33fbafea6ba9cf +Merge: 87354fa2 b3db36c5 +Author: René Cannaò +Date: Wed Aug 31 15:44:38 2016 +0000 + + Merge branch 'v1.2.2' of https://github.com/sysown/proxysql into v1.2.2 + +commit 87354fa2744050d99a0dacdde241018f08786dc9 +Author: René Cannaò +Date: Wed Aug 31 15:43:32 2016 +0000 + + Scheduler table now has autoincrement PK + +commit b3db36c55447132bee2bb0ddbb2bd13cfcd5101c +Merge: 84107ede 2b104d0d +Author: René Cannaò +Date: Wed Aug 31 15:43:48 2016 +0200 + + Merge pull request #675 from krzysztof-ksiazek/v1.2.2-makefix + + Add support for chkconfig in RHEL and CentOS + +commit 2b104d0d7f09fcf17d3f62a2b8e7fd1014b390ce +Author: Krzysztof Ksiazek +Date: Wed Aug 31 15:22:22 2016 +0200 + + Add support for chkconfig in RHEL and CentOS + +commit 84107ede5c922eb4190885f5734092559deadebf +Merge: 80807f22 6f9c9b3a +Author: René Cannaò +Date: Wed Aug 31 10:01:17 2016 +0000 + + Merge branch 'v1.2.2-671' into v1.2.2 + +commit 6f9c9b3ab6a268133daeb65e6224d7574ccb2639 +Merge: 0045bd9f 71d4598e +Author: René Cannaò +Date: Wed Aug 31 11:57:47 2016 +0200 + + Merge pull request #674 from dveeden/v1.2.2-671 + + Add missing vector include + +commit 71d4598ebd89586d6c29c3a1f3f908287421b707 +Author: Daniël van Eeden +Date: Wed Aug 31 11:42:32 2016 +0200 + + Add missing vector include + + Related issue: https://github.com/sysown/proxysql/issues/671 + +commit b58bea6022f91e1656a8b402e80bfafbb0b14890 +Author: René Cannaò +Date: Wed Aug 31 00:15:00 2016 +0000 + + Added variable monitor_slave_lag_when_null #669 + + When a server reports `Seconds_Behind_Master=NULL`, it replication lag is assumed to be mysql-monitor_slave_lag_when_null + +commit 80807f228eb828879a9a3de8fc62f0fec7aaa78d +Author: René Cannaò +Date: Tue Aug 30 23:52:52 2016 +0000 + + Added examples in proxysql.cnf + + Commented examples related to: + * scheduler + * mysql_replication_hostgroups + +commit a7f93e4834cfbb191bae2fced31ffae4c34d0c98 +Author: René Cannaò +Date: Tue Aug 30 23:49:33 2016 +0000 + + Increased connect_retries_on_failure to 10 #666 + +commit a8a7677c3d0cb78bda90af248ca48976664d73c6 +Author: René Cannaò +Date: Tue Aug 30 23:48:58 2016 +0000 + + Improved defaults in proxysql.cnf + +commit 8c34c6f070c65e7ad321894139cc4f5d700ee04f +Author: René Cannaò +Date: Tue Aug 30 23:41:43 2016 +0000 + + Preparation for v1.2.2 + + Adding Galera scripts to all distros supported + Upgraded version number + +commit 0368023ba6e35e1e4f53e76a18aee1b4312550e2 +Author: René Cannaò +Date: Tue Aug 30 23:14:11 2016 +0000 + + Adding Galera scriptis to Ubuntu12 packages + +commit 80dbd5e89753a568c98bf5d8ed165327d0507165 +Author: René Cannaò +Date: Tue Aug 30 23:06:19 2016 +0000 + + Updated PROXYSQL_VERSION to 1.2.2 + +commit 8f4a6253ee830be41446bf2c02bc040a55508db6 +Author: René Cannaò +Date: Tue Aug 30 23:05:46 2016 +0000 + + Changed version in Makefile + +commit c11d4b33598d99ad588ec0a2b37447e92292cb9b +Author: René Cannaò +Date: Tue Aug 30 23:04:26 2016 +0000 + + Changing permission to proxysql_galera_writer.pl + +commit a49b4ad2a99a7fe9ea17c50d166252bddff15157 +Merge: 467fe565 44fb6c6d +Author: René Cannaò +Date: Tue Aug 30 22:46:47 2016 +0000 + + Merge branch 'master' into v1.2.2 + +commit 44fb6c6d464a5c602ece308a8e62ac8dcaa97719 +Merge: ee21a6f2 abff6a82 +Author: René Cannaò +Date: Tue Aug 30 23:57:44 2016 +0200 + + Merge pull request #672 from dveeden/connattrs + + Add connection attributes for proxysql→mysql connections + +commit 0045bd9f7b2ea353e0f09a2ea943b88872fbde57 +Author: René Cannaò +Date: Tue Aug 30 21:49:38 2016 +0000 + + Attempt to fix compiling bug #671 + +commit abff6a82db42cd126d2b64af56e9acfcd644b771 +Author: Daniël van Eeden +Date: Tue Aug 30 21:39:04 2016 +0200 + + Add connection attributes for proxysql→mysql connections + +commit d214e2f60bb1d5e4d949454c7a5cb3bbf6acd3f9 +Author: René Cannaò +Date: Mon Aug 29 20:30:10 2016 +0000 + + Fix bug #667 + +commit 467fe565619a26d7d51a3709c3e9304e353f2351 +Merge: d24806cf fac4b10f +Author: René Cannaò +Date: Mon Aug 29 14:51:50 2016 +0000 + + Merge branch 'v1.2.2' of https://github.com/sysown/proxysql into v1.2.2 + +commit d24806cf598aad04cdac33f5195046f1b94facf3 +Author: René Cannaò +Date: Mon Aug 29 14:49:51 2016 +0000 + + Scheduler didn't load at start time #665 + +commit fb12719ba7446699a325101a628afb88f96f079d +Author: René Cannaò +Date: Sat Aug 27 01:05:53 2016 +0000 + + Quick return from MySQL_Logger::flush_log() #644 + +commit 12e1223125787f64610a7b8230c0ea554186d2c4 +Author: René Cannaò +Date: Sat Aug 27 00:13:55 2016 +0000 + + Local connection cache #644 + + This is an attempt to improve scalability adding a local connection cache per thread + +commit fac4b10f7c73413bc31b5f85ec4c57a4b1c8ff5e +Author: René Cannaò +Date: Fri Aug 26 13:49:47 2016 -0700 + + Documentation on Query Cache + +commit 9d99fa76ac0c5d276e25f55c7f53b1eefd56123e +Author: René Cannaò +Date: Fri Aug 26 11:29:29 2016 +0000 + + Updated documentation on mysql_query_rules + +commit d9ba2c98facea717374fd8125fd79e0902aa5052 +Author: René Cannaò +Date: Fri Aug 26 10:54:11 2016 +0000 + + Better dependencies in Makefile + +commit f42c8c022b3408de34fff9f56672784503007eb2 +Author: René Cannaò +Date: Fri Aug 26 10:52:46 2016 +0000 + + Better format of the output of SHOW CREATE TABLE + +commit 79d82929a50a2cdeba66251f62e72dc0b48045ca +Author: René Cannaò +Date: Fri Aug 26 10:01:56 2016 +0000 + + Changed severity of messages when node is shunned + + When a server is shunned because of errors, it is now logged as error + When a server is shunned because of replication lag, it is now logged as warning + +commit 7dec343d82eaffedbddeea66af7412bc8e9fdc46 +Author: René Cannaò +Date: Thu Aug 25 14:11:21 2016 +0000 + + Implemented LOAD SCHEDULER FROM CONFIG , #658 + + Command "LOAD SCHEDULER FROM CONFIG" is now implemented. + Config file can also be read with --initial, --reload, and when a db file is not present yet. + + An example was added in src/proxysql.cfg + +commit ee21a6f2820946f08cabce976a08da13cbef8d48 +Merge: 27ff418b afd98fe4 +Author: René Cannaò +Date: Thu Aug 25 14:17:00 2016 +0200 + + Merge pull request #662 from krzysztof-ksiazek/master + + Add support for handling case where only available nodes are in Donor/Desync state + +commit afd98fe4a7912fcad0a89f16b3110f37cabe33a8 +Author: Krzysztof Ksiazek +Date: Thu Aug 25 14:04:09 2016 +0200 + + Add support for handling case where only available nodes are in Donor/Desync state. It's preferred to use Desync/Donor node as reader and writer than to have all nodes in OFFLINE_SOFT + +commit dfba2422b71c77e920713c06c193c770698634f4 +Author: René Cannaò +Date: Thu Aug 25 09:53:37 2016 +0000 + + Implementation of scheduler.active #649 + +commit 8778fc5f0c6494698216351a36db87fac5e4a115 +Merge: 65b24ca0 27ff418b +Author: René Cannaò +Date: Thu Aug 25 08:09:02 2016 +0000 + + Merge branch 'master' into v1.2.2 + +commit 27ff418b47b5decc764217e9c65bbd5342746dd8 +Merge: 3b7c9679 b0150bc5 +Author: René Cannaò +Date: Thu Aug 25 02:22:12 2016 +0200 + + Merge pull request #661 from aydancoskun/patch-2 + + fixed typo and added some semantic clarity + +commit b0150bc5b425f0217b5695913a748f426e5db5c3 +Author: Aydan Coskun +Date: Thu Aug 25 02:02:35 2016 +0200 + + fixed typo and added some semantic clarity + +commit 3b7c96799ce4519d3f8c944255c34a1d46b48f74 +Merge: 4640b89a 62b99081 +Author: René Cannaò +Date: Thu Aug 25 01:57:10 2016 +0200 + + Merge pull request #660 from aydancoskun/patch-1 + + Fixed typo + +commit 62b9908147b691b2dcce0bfd8e31bf9bbab50ba0 +Author: Aydan Coskun +Date: Thu Aug 25 01:52:11 2016 +0200 + + Fixed typo + +commit 65b24ca0aac86a4b70e0de880e606a3fb51ca11f +Author: René Cannaò +Date: Wed Aug 24 23:48:36 2016 +0000 + + Allow to compile without jemalloc #654 + + It is now possible to compile without jemalloc. The syntax is: + + NOJEMALLOC=1 make + +commit e731d64f061f44ff2d61ff21cc3821907eea2820 +Author: René Cannaò +Date: Wed Aug 24 17:09:16 2016 +0000 + + Adding _us extensions in Monitor tables #650 + +commit c435086b97e2aaeeccdc17053286da2c95e6f365 +Author: René Cannaò +Date: Wed Aug 24 16:36:34 2016 +0000 + + Monitor tables report time in us unixepoch #659 + +commit e6621ef5b3f4ec8880f5d886d6fc40c391f331c2 +Author: René Cannaò +Date: Wed Aug 24 13:54:13 2016 +0000 + + Fix bug in read_only_action due to comment #643 + +commit 55b2425e707881c1dc6e238bc45b57cfe7a761f1 +Author: René Cannaò +Date: Wed Aug 24 10:59:56 2016 +0000 + + Enable backtrace only on glibc #654 + + musl doesn't support backtrace + +commit 3abf17dd75a36a13dca6ae88b167ac65ecd91622 +Author: René Cannaò +Date: Wed Aug 24 10:57:05 2016 +0000 + + Do not compile examples for libdaemon #654 + +commit 71d1d8fc66f918f22611a78e2e2233449f15ad83 +Author: René Cannaò +Date: Wed Aug 24 10:40:15 2016 +0000 + + Bug fix related to #656 + +commit 8f124636433238252a43f1766f02ffb21b09d7b7 +Author: René Cannaò +Date: Wed Aug 24 10:38:33 2016 +0000 + + Bug fix in SELECT_DB_USER in Admin + +commit 1dce27d2ec17af2d08fce3fa56e19e078897109e +Merge: b9d0a986 4640b89a +Author: René Cannaò +Date: Wed Aug 24 10:36:40 2016 +0000 + + Merge branch 'master' into v1.2.2 + +commit 1b4afb7743dd64a7183d16470d74c0b2c50edaac +Author: René Cannaò +Date: Wed Aug 24 10:30:36 2016 +0000 + + Futher development for prepared statements + + MySQL_STMT_Manager now stores 2 reference counters per statement: one for client and one for server + Statement client side are removed with STMT_CLOSE command is processed + Bytes sends and received are accounted globally and per server + +commit 4640b89a62a09530c6180d636ceaa108a022e8ca +Merge: 3931c98e 4a3c8913 +Author: René Cannaò +Date: Wed Aug 24 12:21:16 2016 +0200 + + Merge pull request #657 from fmbiete/documentation + + Default server_version is 5.5.30 + +commit 3931c98e95f08c9a500f7b4cbcf10f6f36e75184 +Merge: 587f4175 b5b0d036 +Author: René Cannaò +Date: Tue Aug 23 13:26:18 2016 +0200 + + Merge pull request #652 from VoroOnestic/master + + Assign hostgroup_id to Monitor_State_Data, fixes laggy backends not being shunned. + +commit b5b0d036624a50c60e28bc4882c4cee4570e1d8f +Author: Voro +Date: Tue Aug 23 13:00:08 2016 +0200 + + Assign hostgroup_id to Monitor_State_Data, fixes laggy backends not being shunned. + +commit 4a3c8913421d59de350d4252e12ea424855681b9 +Author: Francisco Miguel Biete +Date: Tue Aug 23 08:59:14 2016 +0100 + + Default server_version is 5.5.30 + +commit 587f41759eb7de594bd0ff6862ef17c9df7f91f2 +Merge: 95948d7e 226bfa24 +Author: René Cannaò +Date: Tue Aug 23 09:47:27 2016 +0200 + + Merge pull request #651 from fmbiete/master + + Add writer, reader hostgroup functionality to proxysql_galera_checker.sh + +commit 226bfa24d665e5d2edd71ef85231a33cdf0ab520 +Author: Francisco Miguel Biete +Date: Tue Aug 23 08:43:53 2016 +0100 + + Fix: usage function must be defined before actual use + +commit d0e9489a101c70a5f84dc2d0d5951b57c1cfb60a +Author: Francisco Miguel Biete +Date: Mon Aug 22 15:15:54 2016 +0100 + + Special situation: don't disable read in writers when there are not + readers online + +commit be576c81de3457675893c3e76f65f529c7e9c1e5 +Author: Francisco Miguel Biete +Date: Mon Aug 22 14:48:00 2016 +0100 + + Add writer, reader hostgroup functionality to proxysql_galera_checker.sh + +commit d9afe2b012591a1b1dc324764f29e6f23056ec4a +Author: René Cannaò +Date: Sun Aug 21 06:06:11 2016 +0000 + + Prepared Statements and query digest + +commit e0c7ca209a942bfd5ca58f9f94f32fb2b50ae8a2 +Author: René Cannaò +Date: Fri Aug 19 23:35:04 2016 +0000 + + Implemented PROCESSLIST with Prepared Statements + +commit b9d0a9861bf62622846f03427831f39c84211de3 +Author: René Cannaò +Date: Thu Aug 18 16:53:06 2016 +0000 + + Revert of last commit + +commit a53b8c2631929c63aca8545923c12dcecb011499 +Author: René Cannaò +Date: Thu Aug 18 16:46:54 2016 +0000 + + Loop only if flagOUT != 0 + +commit d9b93b393797a30aaf4752e798773c48a5c8a231 +Author: René Cannaò +Date: Thu Aug 18 15:16:50 2016 +0000 + + Added new var mysql-query_processor_iterations + + When query rules are processed, even if flagOUT is set rules are processed + in numerical order. + This new variable allows to jump back (reset rule_id to 0) N amount of times. + Using this variable is possible to implement loops. + Futhermore, a loop is possible with only one rule setting flagIN=flagOUT . + The default is 0. The maximum value is 1000000 . + +commit 068456c11e8979b301dc017e6c2c1537e6631103 +Author: René Cannaò +Date: Thu Aug 18 14:33:19 2016 +0000 + + Added REPLACE in __query_parser_command_type + +commit 5125067643e3267487c13b0b933ca9f9a60698db +Merge: 41b2adc8 7af38425 +Author: René Cannaò +Date: Thu Aug 18 08:38:54 2016 +0000 + + Merge branch 'v1.2.2' into 1.3.0-port122 + + Conflicts: + lib/Makefile + lib/ProxySQL_Admin.cpp + lib/Query_Cache.cpp + +commit 7af38425085fc5b7ab80e3bc9c9641f8367f81a1 +Author: René Cannaò +Date: Wed Aug 17 23:24:31 2016 +0000 + + Disable miltiplexing for FTWRL #613 + +commit 72cec85604f077f1b7d734d2dc7e793c90378340 +Merge: 7df5fd4e 66626c13 +Author: René Cannaò +Date: Wed Aug 17 22:36:38 2016 +0000 + + Merge branch 'v1.2.2-issue648' into v1.2.2 + +commit 7df5fd4ec4b5a3daf39e015dd8b9b1f21e129968 +Author: René Cannaò +Date: Wed Aug 17 22:34:39 2016 +0000 + + Load config file if configdb is missing #617 + + The check if the configdb was not existing wasn't present anymore. + This probably happened when introducing the new LOAD FROM CONFIG commands. + Now the functionality is back. + +commit 66626c13adce02a2f345d3517216ba681c12f809 +Author: René Cannaò +Date: Wed Aug 17 22:12:35 2016 +0000 + + mysql_replication_hostgroups in configfile , #648 + + Now Admin supports the configuration of mysql_replication_hostgroups from configfile. + That means that also LOAD MYSQL SERVERS FROM CONFIG is responsible for configuring mysql_replication_hostgroups. + This commit also allows comments in config file for `mysql_servers` and `mysql_replication_hostgroups` , related to #643 + +commit 6439cedef86077707c016c98232f2bd9ebe4b281 +Author: René Cannaò +Date: Wed Aug 17 11:05:06 2016 +0000 + + Changed version to 1.2.2-RC + + To avoid confusion + +commit b151da09716edff4c98cc33a398fd0bc573942d5 +Author: René Cannaò +Date: Wed Aug 17 06:59:24 2016 +0000 + + Further metrics for Query Cache #140 + + * Query_Cache_Entries : number of entries currently in the cache (including inactive) + * Query_Cache_Purged : number of entries removed from the cache + +commit 6563ae3d224628d1f4d9ec4de6e7fe0108df1c0e +Author: René Cannaò +Date: Wed Aug 17 01:05:24 2016 +0000 + + Export Query Cache metrics , #140 + + New available metrics: + * Query_Cache_Memory_bytes : memory allocated in QC + * Query_Cache_bytes_IN : amount of data inserted into QC + * Query_Cache_bytes_OUT : amount of data retrieved from QC + * Query_Cache_count_GET : total GET from QC + * Query_Cache_count_GET_OK : successful GET from QC + * Query_Cache_count_SET : total SET into QC + + Important note on `Query_Cache_Memory_bytes` : + Query Cache thread purge doesn't initialize any purging if memory allocated in QC is below 3% of maximum memory. + +commit b5fb363d1cc64d97cee99bae314f0a261eabbcce +Merge: f50e95f1 41acb178 +Author: René Cannaò +Date: Wed Aug 17 00:17:09 2016 +0000 + + Merge branch 'v1.2.2-issue140' into v1.2.2 + +commit f50e95f1f1d9ab417dc78993374012b35fe35ac3 +Author: René Cannaò +Date: Wed Aug 17 00:16:26 2016 +0000 + + Exporting QC metrics via SQL3_getStats , #140 + + Still a draft + +commit 41b2adc85f73c6cc9f4753a0347e7e610b27fd8f +Author: René Cannaò +Date: Tue Aug 16 22:17:56 2016 +0000 + + Adding comment field per issue #643 + + Added: + * scheduler.comment VARCHAR NOT NULL DEFAULT '' + Like the other tables, scheduler supports online upgrade from previous version (without such field) at startup. + +commit 5325edf1b30f5f4f5f725b75b54422d22aefddd0 +Author: René Cannaò +Date: Tue Aug 16 21:41:37 2016 +0000 + + Copy comment in read_only_action + + Issue #643 + +commit 07a0e6bab62da6441d67f0d8232ff238e91f20b4 +Author: René Cannaò +Date: Tue Aug 16 21:18:35 2016 +0000 + + Adding comment field per issue #643 + + Added: + * mysql_query_rules.comment VARCHAR + * mysql_replication_hostgroups.comment VARCHAR + * mysql_servers.comment VARCHAR NOT NULL DEFAULT '' + All these tables support online upgrade from previous version (without such fields) at startup. + + Introduced also a parser for escaping strings with single quotes: double quotes are allowed without extra escaping + +commit 34b157867b6297de77c2d785bc820af45dae3eac +Author: René Cannaò +Date: Tue Aug 16 23:38:30 2016 +0000 + + mysql_thread___query_cache_size_MB refreshed in QC + + Issue #171 + +commit 25ae5b40b2e6d6297bad7acf6f03319886f749cc +Author: René Cannaò +Date: Tue Aug 16 23:19:19 2016 +0000 + + Drafting configuration of QC + + Related to issue #171 + Added variable mysql-query_cache_size_MB + + Also removed compiling of simple_kv.cpp + + Conflicts: + lib/Makefile + +commit 41acb178eeab30353cfa6f198f811a1778a16aea +Author: René Cannaò +Date: Tue Aug 16 23:38:30 2016 +0000 + + mysql_thread___query_cache_size_MB refreshed in QC + + Issue #171 + +commit d276262ebe811b7beca5966091665b41c0462f5f +Author: René Cannaò +Date: Tue Aug 16 23:19:19 2016 +0000 + + Drafting configuration of QC + + Related to issue #171 + Added variable mysql-query_cache_size_MB + + Also removed compiling of simple_kv.cpp + +commit c710f549872fde0028ccaf7edff06773751e3365 +Author: René Cannaò +Date: Fri Aug 12 15:31:29 2016 +0000 + + Compiling optimization + + * converted MySQL_Authentication to use unsorted_map instead of btree_map + * Query_Cache now uses pointers to KV_BtreeArray + * removed some unnecesary headers + +commit fe39671edf0554aea6fc11643cb230964183f8b8 +Author: René Cannaò +Date: Tue Aug 16 22:17:56 2016 +0000 + + Adding comment field per issue #643 + + Added: + * scheduler.comment VARCHAR NOT NULL DEFAULT '' + Like the other tables, scheduler supports online upgrade from previous version (without such field) at startup. + +commit 54c13e1dc18f462beeb906e2422fe694e70487db +Author: René Cannaò +Date: Tue Aug 16 21:41:37 2016 +0000 + + Copy comment in read_only_action + + Issue #643 + +commit a9395cd087f4a424a9b9c7677060398bcd743428 +Author: René Cannaò +Date: Tue Aug 16 21:18:35 2016 +0000 + + Adding comment field per issue #643 + + Added: + * mysql_query_rules.comment VARCHAR + * mysql_replication_hostgroups.comment VARCHAR + * mysql_servers.comment VARCHAR NOT NULL DEFAULT '' + All these tables support online upgrade from previous version (without such fields) at startup. + + Introduced also a parser for escaping strings with single quotes: double quotes are allowed without extra escaping + +commit 2d541fb275fe4512bed664b74a729b32d49a69a2 +Author: Rene Cannao +Date: Mon Aug 15 21:48:34 2016 +0000 + + Fixing two memory leaks + + These are 2 memory leaks related to prepared statements + * Resultset (MySQL_ResultSet() not deallocated + * mysql_stmt_free_result() is now correctly called + +commit 5f0b68d004a924ba0bc3848ef6d5d0810fef72cf +Author: René Cannaò +Date: Mon Aug 15 10:22:36 2016 +0000 + + Upgrading MariaDB Connector C to 2.3.1 + + ProxySQL used a patched version of MariaDB Connector C 2.1.0 (aka libmariadbclient). + That version was patched to fix several bugs. + Although, version 2.1.0 seems to be quite broken in handling Prepared Statements, so now MariaDB Connector C was upgraded to version 2.3.1 . + Since this is a key compoenent in ProxySQL, several tests need to be performed because of this major change. + +commit 304944a1944df56573d0fe7b8f05f133ef28139a +Author: René Cannaò +Date: Sat Aug 13 16:51:02 2016 +0000 + + Continuing work to support prepared statements + + Still buggy + +commit ff3411f56212e50fe7dbd69a355a9b92097176aa +Author: René Cannaò +Date: Fri Aug 12 22:04:05 2016 +0000 + + Continuing work on PS + + * fixed multiplexing + * fixed memory leak + +commit dd00c3f8d0ddeb3d595dbeb47f13879e44ed2c5e +Author: René Cannaò +Date: Fri Aug 12 15:31:29 2016 +0000 + + Compiling optimization + + * converted MySQL_Authentication to use unsorted_map instead of btree_map + * Query_Cache now uses pointers to KV_BtreeArray + * removed some unnecesary headers + +commit 60c35d8f675272eb213ba26edad3caa02d6afb60 +Author: René Cannaò +Date: Fri Aug 12 14:43:41 2016 +0000 + + Continuing work on PS + + Introduced classes: + * stmt_execute_metadata_t + * MySQL_STMTs_meta + +commit a68e5721eb7f349ff1958f25a5c0484c947462d0 +Author: René Cannaò +Date: Fri Aug 12 08:49:14 2016 +0000 + + Unstable changes to support prepared statements + + So far, single thread sysbench is working. + Multi-threaded and resume from broken connections is still not working. + It means it still needs a lot of changes. + +commit fd7fa08cf5c01350d60bac7152f4fc3894393ac7 +Author: René Cannaò +Date: Wed Aug 10 23:56:13 2016 +0000 + + More support for Prepared Statements + + sysbench starts running + +commit d51bed17180a71f8f5538165c570d0bbecca7ee9 +Author: René Cannaò +Date: Wed Aug 10 00:14:42 2016 +0000 + + Reduce frequent alloc of Query_Processor_Output + + A new Query_Processor_Output (qpo) is allocated for every query. + Allocation is now done once per session, thus speeding up execution time + under memory profiler + +commit e0190479377022103a7ffd817917beea5e9f65c9 +Author: René Cannaò +Date: Tue Aug 9 23:31:35 2016 +0000 + + Removed few redundant lines of code + +commit caea6ce302762fc358f0b1d067542285ad6921ee +Author: René Cannaò +Date: Tue Aug 9 22:58:25 2016 +0000 + + Simplifying MySQL_Session::Handler() , 4 + + Added function: + * handler_again___status_CHANGING_AUTOCOMMIT(int *) + +commit 15ba30fd836e9764da3f7a739921a167e036db07 +Author: René Cannaò +Date: Tue Aug 9 22:34:56 2016 +0000 + + Simplifying MySQL_Session::Handler() , 3 + + Added function: + * handler_again___status_CHANGING_USER_SERVER(int *) + + Fixed indentation in handler_again___status_CONNECTING_SERVER + +commit 8f3c0e1b2fa81293e0ef4794383939d0fa684164 +Author: René Cannaò +Date: Mon Aug 8 17:36:11 2016 +0000 + + Simplifying MySQL_Session::Handler() , 2 + + Added functions: + * handler_again___verify_backend_charset(); + * handler_again___verify_init_connect(); + * handler_again___verify_backend_autocommit(); + * handler_again___verify_backend_user_schema(); + * handler_again___status_SETTING_INIT_CONNECT(int *); + * handler_again___status_CHANGING_SCHEMA(int *); + * handler_again___status_CONNECTING_SERVER(int *); + +commit da8d6d8cf3dbcc6f2fcee70ea8fc10e88d1a3435 +Author: René Cannaò +Date: Sun Aug 7 15:35:39 2016 +0000 + + Simplifying MySQL_Session::Handler() , 1 + + Added functions: + * void handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_QUERY___create_mirror_session() + * int handler_again___status_PINGING_SERVER(); + * void handler_again___new_thread_to_kill_connection(); + +commit 03354f708e608be4b478f66ad1421dd9b4a478f1 +Author: René Cannaò +Date: Sun Aug 7 13:24:39 2016 +0000 + + Merging PrepStmtExec into 1.3.0-alpha + +commit febd61bc9e005fb7ec68f6f352d27141870fb4c7 +Merge: 95948d7e 604fa378 +Author: René Cannaò +Date: Sun Aug 7 13:23:47 2016 +0000 + + Merge branch 'PrepStmtExec' into 1.3.0-alpha + + Conflicts: + include/MySQL_Protocol.h + include/mysql_connection.h + lib/Makefile + lib/MySQL_Session.cpp + +commit 604fa378d2e487f1ad11c29c298c086c16be3ca6 +Author: René Cannaò +Date: Sun Aug 7 09:56:48 2016 +0000 + + A lot of experimental code for prepared statements + +commit c0dde1a166fbb8c66df48aeace53fa7e9d3015a8 +Author: René Cannaò +Date: Sat Aug 6 14:41:11 2016 +0000 + + Added client7 as another example + +commit dc4bc5e3db5729e1e95e6a80bbdbe1507a2fe197 +Author: René Cannaò +Date: Sat Aug 6 12:40:43 2016 +0000 + + Adding some documentation/comment + +commit 26a1b06f416f867efc75823227d2999cc261ca20 +Author: René Cannaò +Date: Sat Aug 6 08:18:31 2016 +0000 + + Fixing the compile for client5 + +commit 95948d7eb0ecf96eeebf81fbb4097a7352deb9e4 +Author: René Cannaò +Date: Fri Aug 5 14:12:56 2016 +0000 + + Fix for bug #641 + + A server is copied from reader hostgroup to writer hostgroup only if absent or OFFLINE_HARD in writer hostgroup + +commit d553b04fa649bc7ba7e00868f90970814b0927c2 +Author: René Cannaò +Date: Wed Aug 3 14:41:56 2016 +0000 + + Log when read_only check is timing out #640 + +commit 0a019099a525b1dc663136e703b2b6024394361e (tag: v1.2.1) +Merge: 483ce17b c101d0dd +Author: René Cannaò +Date: Wed Aug 3 01:18:18 2016 +0200 + + Merge pull request #639 from mnarusze/master + + Deps should be built before src and lib + +commit 483ce17bfa16038f283164283bad1bd870df2b07 +Merge: 7486343d 2bf4c550 +Author: René Cannaò +Date: Wed Aug 3 01:14:56 2016 +0200 + + Merge pull request #585 from 3manuek/patch-1 + + Update configuration_howto.md + +commit 7486343df537e288f421a7d2e2d34e6f770c0dfb +Merge: e94df826 1495cd48 +Author: René Cannaò +Date: Tue Aug 2 23:10:30 2016 +0000 + + Merge branch 'master' of https://github.com/sysown/proxysql + +commit e94df8264aeb65052c110c3963d86349413bfae4 +Author: René Cannaò +Date: Tue Aug 2 15:25:51 2016 +0000 + + Revert last commit, and added comment + +commit dc804eccea247244a55fdab6499b09faba097128 +Author: René Cannaò +Date: Tue Aug 2 14:38:02 2016 +0000 + + Fix bug in read_only_action() + +commit b8d3bd884c8c0ca70d63d0b8058075222851c916 +Author: René Cannaò +Date: Tue Aug 2 12:45:38 2016 +0000 + + Added more memory metrics #634 + + * mysql_backend_buffers_bytes + * mysql_frontend_buffers_bytes + * mysql_session_internal_bytes + * ConnPool_memory_bytes + +commit 1495cd481709cf1b3388e562b98fe99c9d38a3a7 +Merge: 6bee5df0 28d31170 +Author: René Cannaò +Date: Tue Aug 2 14:23:00 2016 +0200 + + Merge pull request #637 from hrvojem/issue636 + + Fixed issue #636 by reversing the order_by to get the correct + +commit 28d3117002553ab40f1bb618ef83c9d5fbc4aae7 +Author: hrvojem +Date: Tue Aug 2 14:17:13 2016 +0200 + + Fixed issue #636 by reversing the order_by to get the correct + credentials: + + mysql> SELECT variable_name FROM global_variables WHERE variable_name IN + ('mysql-monitor_username','mysql-monitor_password') ORDER BY + variable_name DESC; + +------------------------+ + | variable_name | + +------------------------+ + | mysql-monitor_username | + | mysql-monitor_password | + +------------------------+ + 2 rows in set (0.01 sec) + +commit b0a9dc3141e3dd436c8c836728536302c916f1d2 +Author: René Cannaò +Date: Tue Aug 2 08:45:54 2016 +0000 + + Specify that SQLite3_memory is in bytes + +commit 6bee5df0e711a66facfb487956d898576b7c4016 +Merge: f14cbfdc e44e1f69 +Author: René Cannaò +Date: Tue Aug 2 08:41:50 2016 +0000 + + Merge branch 'master' of https://github.com/sysown/proxysql + +commit f14cbfdc160b3eef112c990988fe9147948749df +Author: René Cannaò +Date: Tue Aug 2 01:27:47 2016 +0000 + + Minor fix + +commit 1eaa68c6728c178d15c8e6308dee6a375b6eb18e +Author: René Cannaò +Date: Tue Aug 2 01:22:43 2016 +0000 + + Minor memory optimization + +commit 43f77f516f9f9620aa582b82311d35ef18422620 +Author: René Cannaò +Date: Tue Aug 2 00:18:22 2016 +0000 + + Internal timers metrics #635 + + Added status variables: + * Backend_query_time_nsec + * Query_Processor_time_nsec + +commit 0a00ab0f996e0148bbf205cafa6a184c09e0782d +Author: René Cannaò +Date: Mon Aug 1 23:27:38 2016 +0000 + + Start collect memory metrics #634 + + * SQLite3 memory + * number of MySQL Thread workers + * number of MySQL Monitor workers + +commit 7ef7bb8df31026fc7883a60fb2c5911701af4171 +Author: René Cannaò +Date: Mon Aug 1 22:21:56 2016 +0000 + + Cleanup + +commit 46cd7ca9d92f83dec4f8edf2a4df9ed65ef470d1 +Merge: 28918865 ce861936 +Author: René Cannaò +Date: Mon Aug 1 21:47:18 2016 +0000 + + Merge branch 'issue632' into v1.2.1 + +commit 2891886563e2ac7632d4aca946df7bad764cb6b5 +Author: René Cannaò +Date: Mon Aug 1 21:41:11 2016 +0000 + + Bugfix on (dis/en)abling Monitor #633 + +commit c9430d9de7c0b32c0b6d120e12f7664b9e336062 +Author: René Cannaò +Date: Mon Aug 1 21:16:23 2016 +0000 + + Document mysql-monitor_enabled + +commit 1f3094b9302c3e5ee74c84f0f6fd971fa2462043 +Author: René Cannaò +Date: Mon Aug 1 20:53:08 2016 +0000 + + Disable and enable Monitor at runtime #633 + + Added new variable: mysql-monitor_enabled + +commit ce861936770cdbfd6f37329121039b107308d6d8 +Author: René Cannaò +Date: Mon Aug 1 19:43:44 2016 +0000 + + Changing version from 5.1.30 to 5.5.30 + +commit e44e1f699c93e920d7bf647acd86e51a030622ad +Merge: f381ff7c 9a221538 +Author: René Cannaò +Date: Fri Jul 29 18:07:17 2016 +0200 + + Merge pull request #631 from hrvojem/doc_typo_fix + + Fixed the wrong table name in docs + +commit 9a22153832fe286d87828e17357377ba8d4772be +Author: hrvojem +Date: Fri Jul 29 17:01:36 2016 +0200 + + Fixed the wrong table name in docs + +commit cd9f51149b9fa91c277198d7551c5df1d6272f15 +Author: René Cannaò +Date: Wed Jul 27 23:23:02 2016 +0000 + + Fixed 2 crashing bugs in Monitor + + Recente reimplementation of Monitor introduced 2 bugs: + * trying to monitor a not existing hosts was erronously handled + * if "SHOW SLAVE STATUS" retuns no row, a MySQL was sent twice to the connection pool + +commit 0b1b909ed1673b61fc43b1e7ec19aec5dac4af69 +Merge: f381ff7c f4242378 +Author: René Cannaò +Date: Tue Jul 26 05:35:10 2016 +0000 + + Merge branch 'v1.3' into v1.2.1 + + The bug fixes need to go here too + +commit f4242378d4388f3635700a9d3b6577190e3c9e68 +Author: René Cannaò +Date: Tue Jul 26 05:26:09 2016 +0000 + + Fixed memory leak in allocation of MySQL_Thread + +commit a4d75272922665587508672e3b438602453c4286 +Author: René Cannaò +Date: Sun Jul 24 15:44:30 2016 +0000 + + usleep in Monitor is even more dynamic + +commit 0b5af1e43019363f73c322c91408024a398022a5 +Author: René Cannaò +Date: Sun Jul 24 15:25:21 2016 +0000 + + usleep is now dynamic + +commit 7b7ae6f6aba6d19814a2d2ab57ba25d5bd9283be +Author: René Cannaò +Date: Sun Jul 24 15:08:08 2016 +0000 + + usleep between adding jobs in the queue + +commit ae916cc41df7283b6b02090177ee54ac1ca40c6e +Author: René Cannaò +Date: Sun Jul 24 15:02:01 2016 +0000 + + Revert "Perf improvement on Monitor" + + This reverts commit 6737295c3cfaa003287ceb5a4b91e16a4dc9fecb. + +commit 6e3e5cd9adc45f9a0aa2c0e8d70662d3c063f0db +Author: René Cannaò +Date: Sun Jul 24 15:01:53 2016 +0000 + + Revert "Perf improvement on Monitor read_only_check" + + This reverts commit 3bfe6d0c4db7c76bb1f8e990c255fc006d0a2f86. + +commit 3bfe6d0c4db7c76bb1f8e990c255fc006d0a2f86 +Author: René Cannaò +Date: Sun Jul 24 14:44:36 2016 +0000 + + Perf improvement on Monitor read_only_check + + if possible, try to call mysql_query_start() as early as possible + +commit 6737295c3cfaa003287ceb5a4b91e16a4dc9fecb +Author: René Cannaò +Date: Sun Jul 24 14:19:25 2016 +0000 + + Perf improvement on Monitor + + if possible, try to call mysql_ping_start() as early as possible + +commit 8288541dbf3d5c56e8f86ff2c5b2961bdfd52fed +Author: René Cannaò +Date: Sun Jul 24 11:07:29 2016 +0000 + + Updated documentation on #630 + +commit f381ff7cf6172076e8a7439117522676f85ea3e2 +Author: René Cannaò +Date: Sun Jul 24 11:07:29 2016 +0000 + + Updated documentation on #630 + +commit 422ea192bf974fb3ba43294a914daf7662c40841 +Author: René Cannaò +Date: Sun Jul 24 10:21:34 2016 +0000 + + Connections erroneously put twice in conn pool + +commit 91a92493704dbe9968be08a9ad53465d5597ba64 +Author: René Cannaò +Date: Sun Jul 24 10:21:34 2016 +0000 + + Connections erroneously put twice in conn pool + +commit f58ba57bcb6300bc652ad9633bdacb7674e16727 +Author: René Cannaò +Date: Sun Jul 24 10:10:32 2016 +0000 + + Implementation of issue #630 + +commit 2d345d42204d7397adc4f0a452d8d95ef3269e3e +Author: René Cannaò +Date: Sun Jul 24 10:10:32 2016 +0000 + + Implementation of issue #630 + +commit 9d11bc4ba7d5b752ab8da4ff45f82da084a0145a +Author: René Cannaò +Date: Sun Jul 24 09:30:58 2016 +0000 + + Updating documentation on Monitor connection pool + +commit 81a2fae66eb835bad62985b782507985c8352b8e +Author: René Cannaò +Date: Sun Jul 24 09:30:58 2016 +0000 + + Updating documentation on Monitor connection pool + +commit 46f3f49c666672897d26c0aaaa7a0567c841f625 +Author: René Cannaò +Date: Sun Jul 24 09:23:29 2016 +0000 + + Update documentation on Monitor + +commit 4b14f4e3f3bc7f2863cc3b476666b6f54494adb9 +Author: René Cannaò +Date: Sun Jul 24 09:21:45 2016 +0000 + + Changing version back from 1.3 to 1.2.1 + +commit fa0fced4ea605b1fac14855fb1a0d7df84f73e27 +Author: René Cannaò +Date: Sun Jul 24 09:12:08 2016 +0000 + + Code clean up in Monitor Module + +commit b5ccff6cda0558fc03e44c956f6be584e5c2df30 +Author: René Cannaò +Date: Sun Jul 24 08:57:54 2016 +0000 + + MySQL_Monitor queries numeric status + + MySQL_Monitor was incorrectly querying server status using strings, while MySQL_Hostgroup_Manager stores them in numeric form only + +commit 10fb495e804e79b59f0dc07b8944a08635571703 +Author: René Cannaò +Date: Sun Jul 24 08:37:12 2016 +0000 + + Further debugging of conn pool + +commit 0e0cb772aaa8cc008f4b073f0b25d8ccc6c6faa3 +Author: René Cannaò +Date: Sun Jul 24 08:06:28 2016 +0000 + + Debugging in Mon Connection Pool + +commit 81473eefc91821b9012104ab3a6574acc1b2d594 +Author: René Cannaò +Date: Sun Jul 24 07:31:19 2016 +0000 + + Debugging conn pool purge + +commit 42bb19426e8f953b8da6973ab51b83d7e4291603 +Author: René Cannaò +Date: Sun Jul 24 03:28:05 2016 +0000 + + MySQL_Monitor calls purge_idle_connections() + +commit 5d210efbcafc062f5929451d5b81c1ce7cd45832 +Author: René Cannaò +Date: Sun Jul 24 03:13:06 2016 +0000 + + Smart purger of connections from Monitor + +commit af70721b081ad7b0e9f0247f36c03c407f017262 +Author: René Cannaò +Date: Sat Jul 23 19:00:47 2016 -0700 + + Update monitor.md + +commit 63623f7d3e8742b13581caf5d55e94c7bb6b9341 +Author: René Cannaò +Date: Sun Jul 24 01:18:45 2016 +0000 + + connect timeout raised to 1 sec if less + +commit 98f48e24430ab61a89d68a63980e68a8489a021d +Author: René Cannaò +Date: Sun Jul 24 00:54:55 2016 +0000 + + Deprecated unused variables #593 + + Deprecated: + * mysql-monitor_query_variables + * mysql-monitor_query_status + * mysql-monitor_timer_cached + +commit 513838479d10c8a6f5ec32940daaff04868b8821 +Author: René Cannaò +Date: Sun Jul 24 00:43:37 2016 +0000 + + Added monitor.md + +commit bfb3f67ae5cb392c1232254f9045758547ebf296 +Author: René Cannaò +Date: Sun Jul 24 00:20:20 2016 +0000 + + Try to force the shudown of Monitor + +commit 9b6573aa33e83411648a199536b81031ded3ca7a +Author: René Cannaò +Date: Sun Jul 24 00:07:36 2016 +0000 + + Still trying to fix the restart of Monitor + +commit a073761e31842ea2ed1f972f1820adee9cff8cd5 +Author: René Cannaò +Date: Sat Jul 23 23:41:06 2016 +0000 + + Improved restart + +commit 7b99a8496a0b0582fcc302c4270e89e8ce785d32 +Author: René Cannaò +Date: Sat Jul 23 23:20:24 2016 +0000 + + Monitor is now able to start helper threads + + If Monitor is lagging in the number of checks it will automatically start new threads + +commit bef2ac785b2a1c159d81352f43589887592f38ac +Author: René Cannaò +Date: Sat Jul 23 21:47:04 2016 +0000 + + Fix timeout + +commit 704a978f281c80b54725e0c9f54d66ca7963db72 +Author: René Cannaò +Date: Sat Jul 23 20:59:02 2016 +0000 + + Trying to fix a timeout issue + +commit 7caed18e28ce7320ec8243807fe8b64e7a3555f5 +Author: René Cannaò +Date: Sat Jul 23 17:07:46 2016 +0000 + + Update docker files for compiling as v1.3 + +commit 9bca6e98013935ae1b1781aadadc67eecb1c039f +Author: René Cannaò +Date: Sat Jul 23 16:50:57 2016 +0000 + + Forgot to close a comment + +commit d329bca2b781dbc3269d9f1521a24bafcc5030c2 +Author: René Cannaò +Date: Sat Jul 23 16:46:15 2016 +0000 + + Update version number + +commit cc36a09cff1ad89a27bfeb77b5eed204466841d5 +Author: René Cannaò +Date: Sat Jul 23 16:36:28 2016 +0000 + + Removed libevent #628 + +commit ef2bf0684df3fbe1ac83f52265be8a882a53ef3a +Author: René Cannaò +Date: Sat Jul 23 16:26:11 2016 +0000 + + Removed warning on unsigned + +commit 3b8c6e5bf46dfe582843c5d7044c1d2cbe28725a +Author: René Cannaò +Date: Sat Jul 23 16:23:00 2016 +0000 + + New default number of Monitor threads + + Monitor threads = MySQL Threads * 2 + +commit 2835daf8d951a881e8e51b8214eefb0fa46df8c6 +Author: René Cannaò +Date: Sat Jul 23 16:03:07 2016 +0000 + + Inizialize variable to make valgrind happy + +commit a3c90e1fc6dc6972c258a8d5671658dc347b995d +Author: René Cannaò +Date: Sat Jul 23 15:46:57 2016 +0000 + + Further improvement on Monitor + + Fixed a memory leak + Fixed a double mysql_close() + +commit 223406ca7a13e635665c5496bcfa5de0552c72a0 +Author: René Cannaò +Date: Sat Jul 23 15:25:05 2016 +0000 + + A lot of code cleanup + +commit 86ac7de441431d70c07be9baf669367fa5e362a2 +Author: René Cannaò +Date: Sat Jul 23 15:18:58 2016 +0000 + + Commenting code to remove from Monitor + +commit d5c002cc06a22b2fbe2db9b444b7c2868ade9c2a +Author: René Cannaò +Date: Sat Jul 23 14:54:11 2016 +0000 + + Some clean up in MySQL_Monitor + +commit b4cb023f5925716bb5d3c494349f69949509d126 +Author: René Cannaò +Date: Sat Jul 23 14:36:34 2016 +0000 + + New implementation of replication lag check #628 + + This included thread pool already + +commit d59ee332ac0256029d7e96c3f1da7670cca572ab +Author: René Cannaò +Date: Sat Jul 23 13:14:58 2016 +0000 + + Implementation of thread pool on Monitor + + For connect, ping and read_only + +commit f3899950e5623f49600f3b71e0b4fd1bbb0912c6 +Author: René Cannaò +Date: Sat Jul 23 12:31:53 2016 +0000 + + Adding thread pool for Monitor Ping + +commit af69092d845f4836df4e119457af7004353dfab5 +Author: René Cannaò +Date: Sat Jul 23 11:22:39 2016 +0000 + + New implementation of read_only check #628 + +commit b1292f8ba40bad9ccc9ce180f7058be78652389f +Author: René Cannaò +Date: Fri Jul 22 23:11:52 2016 +0000 + + Reimplementing MySQL Monitor #628 + + Implementation of connect and ping + +commit ab2a39fb1f889d4ef7d381fd7dc7e52b22b1ff80 +Author: René Cannaò +Date: Fri Jul 22 17:56:34 2016 +0000 + + Issue #626 + +commit 657d49860771acdb477bc01f0af3ad9e0e1c5800 +Author: René Cannaò +Date: Fri Jul 22 16:16:08 2016 +0000 + + Changing some default in proxysql.cnf + +commit a0c994ea433b301e21b965cbb8ce835570ffffef +Author: René Cannaò +Date: Fri Jul 22 14:02:49 2016 +0000 + + Server was incorrectly set to SHUNNED + + Server was incorrectly set to SHUNNED without checking previous status + See #627 + +commit 7dfc9d339b12d4ae064ec2c37ec4aa75a08a4b4e +Merge: c6b06b3b 4b4e1234 +Author: René Cannaò +Date: Fri Jul 22 12:44:20 2016 +0000 + + Merge branch 'galera_writer' + +commit c6b06b3b4b34814aba856513706e022d0ff3ecc3 +Author: René Cannaò +Date: Fri Jul 22 12:42:57 2016 +0000 + + Version 1.2.1 + +commit 8c342ddf188837e3b71c083f3edee3a73194d547 +Author: René Cannaò +Date: Fri Jul 22 12:38:18 2016 +0000 + + Incorrect status in shun_and_killall() + + MySQL_HostGroups_Manager::shun_and_killall() incorrectly set status=SHUNNED for server in OFFLINE_SOFT + +commit b07d6967f39690ca05f554c71e8207f53d58c8f1 +Merge: e5e26b27 8ffb930f +Author: Rene Cannao +Date: Fri Jul 22 02:40:28 2016 -0700 + + Merge branch 'v1.2.0' + +commit 8ffb930f3922a4ec75bc1c6d81915426112c6e4d +Merge: 1126001d e5e26b27 +Author: Rene Cannao +Date: Fri Jul 22 02:40:08 2016 -0700 + + Merge branch 'master' into v1.2.0 + +commit 1126001dd837f007eed8b358c2767b0570007a0b (origin/v1.2.0) +Author: René Cannaò +Date: Wed Jul 20 20:57:09 2016 +0000 + + Return SHUNNED if status=4 + + If status=4 , MySQL_HostGroups_Manager::dump_table_mysql_servers() should return SHUNNED + Previous nothing was returned for status=4 (MYSQL_SERVER_STATUS_SHUNNED_REPLICATION_LAG) , caausing the crashing bug #619 + dump_table_mysql_servers() + +commit 4b4e1234a188c517964f38b40be8332952099545 +Author: René Cannaò +Date: Tue Jul 19 13:39:51 2016 +0000 + + Added tool proxysql_galera_writer.pl + +commit db00c9a9047a6969bbe1f97a63247bf10cb8c35e +Author: René Cannaò +Date: Mon Jul 18 15:47:07 2016 +0000 + + Bug fix #609 + + INIT_DB wasn't working properly if the new schemaname was a prefix of the old schemaname + +commit 86c75085c0a19670cb7c0b8659fa037e01f8f727 (tag: v1.2.0k) +Author: René Cannaò +Date: Sat Jul 16 22:21:16 2016 +0000 + + Upgrade to version v1.2.0k + +commit c2494faadb3a5d9ee3495d3a4cb3ba63445f5450 +Author: René Cannaò +Date: Sat Jul 16 21:22:11 2016 +0000 + + Updating doc on Scheduler + +commit c88b1ae6572d7bc8e4b585921bd65ff27609ee62 +Author: René Cannaò +Date: Sat Jul 16 21:16:16 2016 +0000 + + Print debugging timers only if compiled with DEBUG + +commit dadd0c09d3f23e39d53f534aac6d32a45b314899 +Author: René Cannaò +Date: Sat Jul 16 20:05:03 2016 +0000 + + Changed jemalloc conf to "purge:decay" + + Was incorrectly set to "purge:decay_time" + +commit 32163bf892d33a5ee032adc8bb2a69bb7b331e30 +Author: René Cannaò +Date: Sat Jul 16 20:00:56 2016 +0000 + + Scheduler now starts a thread for waitpid() + + Issue #578 + +commit a3c2b72459e0cb148969091e244f8b0981d6c2ae +Author: René Cannaò +Date: Sat Jul 16 19:06:20 2016 +0000 + + Added waitpid for Scheduler #578 + +commit 3cd072b9abc12573385bb5ad801e7b15f7c00ec4 +Author: René Cannaò +Date: Sat Jul 16 18:32:12 2016 +0000 + + Added tool proxysql_galera_checker.sh + +commit edfb117470efea3720a9567eb451e238372db379 +Author: René Cannaò +Date: Sat Jul 16 15:47:11 2016 +0000 + + More doc on Scheduler + +commit 1be3abd579143151d95d1474e707f65996c3e356 +Author: René Cannaò +Date: Sat Jul 16 15:41:12 2016 +0000 + + Added documentation for scheduler + + Issue #578 + +commit 093ad5b3bcd13698448167ca5025ee6fbd551dd4 +Author: René Cannaò +Date: Sat Jul 16 13:22:17 2016 +0000 + + Fix for issue #555 + + multiplexing disabled if client connects with --safe-udates + +commit 3e996dab2955394a861beb8e489318a65b6611f4 +Author: René Cannaò +Date: Sat Jul 16 02:25:35 2016 +0000 + + Re-enabled jemalloc + +commit d5d7a9a16af7638f5b550b74155a42b8236f0310 +Merge: f1723ac2 68ece279 +Author: René Cannaò +Date: Sat Jul 16 02:23:27 2016 +0000 + + Merge branch 'issue527' into v1.2.0 + +commit 68ece279bfcc6f006e5f03cbadb8c8268c9a297d +Author: René Cannaò +Date: Sat Jul 16 02:20:43 2016 +0000 + + Limit the amount of data received by a backend + + Issue #527 + Limit the amount of data received by a backend during a single poll() iteration. + The default is increased to mysql_thread___threshold_resultset_size*8, and it is arbitary. + +commit f1464525ec837a5cdbc4dfb5fe991239db451d64 +Author: René Cannaò +Date: Sat Jul 16 01:15:37 2016 +0000 + + Compile jemalloc with --enable-munmap + + See issue #612 + +commit 17933f68489e4081aab0983f682a1a68385c4236 +Author: René Cannaò +Date: Sat Jul 16 00:58:27 2016 +0000 + + Makefile cleanup + +commit f4c7df34cf01a76baac43aeccb25723c96d69fb8 +Author: René Cannaò +Date: Sat Jul 16 00:54:49 2016 +0000 + + Limit the amount of data received by a backend + + Issue #527 + Limit the amount of data received by a backend during a single poll() iteration. + Right now the default is mysql_thread___threshold_resultset_size*2, and it is arbitary. + + Unrelated to #527, MySQL_Connection::async_ping() was modified to return a different value in case of timeout + +commit f1723ac29f23c3537f6d9bcd400c69f722ef2aae +Author: René Cannaò +Date: Fri Jul 15 16:47:50 2016 +0000 + + Fix for issue #608 + + It improves performance + It reduces memory allocator overhead + +commit 17b7e1f609a912f27058fc1354fdcf0f9b3adb1d +Author: René Cannaò +Date: Fri Jul 15 11:44:03 2016 +0000 + + Improve performance due to issue #606 + + jemalloc configured with purge:decay_time + Temporary disabled jemalloc to test a heap profiler (heaptrack) + MySQL_ResultSet::buffer_to_PSarrayOut() calls realloc() if the buffer preallocated is too big + MySQL_Session::writeout() sends as much data as possible to the client + +commit 1e0bcc572c0be7c5952031e740383bbbf6b9e39e +Author: René Cannaò +Date: Thu Jul 14 12:06:35 2016 +0000 + + Fix bug #605 + + userinfo were not copied from client data stream to server data stream + +commit 0c8232e06df0551382b795cca6d7c6c9044f4c15 +Author: René Cannaò +Date: Thu Jul 14 11:10:04 2016 +0000 + + Testing code for CHANGE USER + +commit 5c9c8b92249d07bde3fcb216ca00d6bd1a225de7 +Author: René Cannaò +Date: Thu Jul 14 00:15:38 2016 +0000 + + Monitor user can always login in admin with stats credentials + + This minor patch ensures that Monitor user can access the Admin module with stas credentials + +commit d9efa6dad06734e512067d1430907e8cbb955944 +Author: René Cannaò +Date: Wed Jul 13 23:41:14 2016 +0000 + + Allows Monitor user to be used in mysql_users + + Fixes issue #603. + mysql-monitor_username is not stored anymore in GloMyAuth + +commit 13c9fe0ebb910cdc4f5eab51b4d9ee2ea5348d50 +Author: René Cannaò +Date: Wed Jul 13 20:47:14 2016 +0000 + + Support extra syntax in Admin module + + - SELECT @@max_allowed_packet + - SELECT @@variable + - SHOW VARIABLES LIKE + - SHOW VARIABLES WHERE + +commit 1561ffff8720da88a7d99a1fa496c3040d68498f +Author: René Cannaò +Date: Wed Jul 13 16:55:44 2016 +0000 + + Testing rewrite + +commit cb889d1dd8cbb87bc56d7780d405d42b874825dd +Author: René Cannaò +Date: Wed Jul 13 16:07:35 2016 +0000 + + Adding some testing code for regex + +commit bb8b3cc0d0c11a5b9f5a2a28a452d077f91a8334 +Merge: c1ea2dce 7379b337 +Author: René Cannaò +Date: Mon Jul 11 21:22:53 2016 +0000 + + Merge branch 'doc0701' into v1.2.0 + +commit c1ea2dce19dbf8a30a06ee5568b143df106236a5 +Merge: f1596de7 3de224d0 +Author: René Cannaò +Date: Mon Jul 11 21:22:31 2016 +0000 + + Merge branch 'issue601' into v1.2.0 + +commit f1596de7f77f4c53f4a3fa8baa5606bf27e2e648 +Merge: 57eeacdf 34d06814 +Author: René Cannaò +Date: Mon Jul 11 21:22:27 2016 +0000 + + Merge branch 'issue600' into v1.2.0 + +commit 3de224d0dfd6b22000cbf5f9b3c0e1f22ffa60b8 +Author: René Cannaò +Date: Mon Jul 11 21:18:02 2016 +0000 + + Fix for bug #601 , SET SESSION character_set_server + +commit 34d06814ce3bde2d2864f836d6d0fac81b75e421 +Author: René Cannaò +Date: Mon Jul 11 19:59:41 2016 +0000 + + Fix for bug #600 + +commit 57eeacdfe23edd910d5fe0c344a10d0150df4391 +Author: René Cannaò +Date: Mon Jul 11 19:40:41 2016 +0000 + + Fixed a crashing bug when setting a not existing variable + +commit 55f06de6c46de9af6433661b57beff9384a63067 +Author: René Cannaò +Date: Mon Jul 11 19:38:43 2016 +0000 + + Prevent password from showing in error log (#599) + + Also fixed a crashing bug on number of variables + +commit 7379b337e9f3f6806daf7e55869766b1a12057a4 +Author: René Cannaò +Date: Mon Jul 11 19:22:28 2016 +0000 + + Doc of some global variables + +commit 454713513bd5cb4843b3fd3d473f27bec8b5dd28 (tag: v1.2.0j) +Author: René Cannaò +Date: Sun Jun 26 23:21:58 2016 +0000 + + Upgrade to v1.2.0j + +commit 1d00a016111b6a8ddfba835bb49c34272b58c82c +Author: René Cannaò +Date: Sun Jun 26 23:15:34 2016 +0000 + + Removing VALGRIND macros + +commit 17c62a89bb09ca3fe93e4ec829f92670b0612000 +Author: René Cannaò +Date: Sun Jun 26 13:45:47 2016 +0000 + + Moving MySQL_Monitor definition in header file + + Also trying to investigate why Valgrind is reporting errors + +commit 338b82636341180b3922bf53027541f3a3d7b336 +Author: René Cannaò +Date: Sun Jun 26 12:20:42 2016 +0000 + + Bug fixes + + reworked (again!) async mysql connection close + reworking on the above revealed a memory leak that is now fixed + +commit 4e6850fc29a947c17432a80f3e4266b72c7b8bd0 +Merge: eb73be0e e25f157e +Author: René Cannaò +Date: Sat Jun 25 13:33:57 2016 +0000 + + Merge branch 'NoMonitor' into jemalloc421 + +commit eb73be0ecf923e478f51b544187831d112b01ca0 +Author: René Cannaò +Date: Sat Jun 25 13:33:09 2016 +0000 + + Upgrade to jemalloc 4.2.1 + +commit e25f157ee73272f3466b45aaa39774590300c074 +Author: René Cannaò +Date: Sat Jun 25 13:24:50 2016 +0000 + + Added option -M to disable monitoring module + +commit f99e1cb401befde36210f64cadcdc20343f9eafa +Author: René Cannaò +Date: Sat Jun 25 13:06:51 2016 +0000 + + Added testing for encrypted password + +commit b24d9e8d2b9111dd1872a4a821e0121dc0d4fadc +Author: René Cannaò +Date: Fri Jun 24 23:44:22 2016 +0000 + + Bugfixes on encrypted password + +commit 60b3dcaadf10da947f85762a773337e6ad6a541c +Author: René Cannaò +Date: Fri Jun 24 19:31:06 2016 +0000 + + More on sha1_passs on MySQL_Authentication() + + MySQL_Authentication() is now able to keep track of sha1_pass between LOAD MYSQL USERS TO RUNTIME wothout the need of a new user uathentication + +commit 625c969a5d850e828c4380d1dbc7cbd301f410f2 +Author: René Cannaò +Date: Wed Jun 22 18:33:31 2016 +0000 + + Use hash password in mysql_users + + This feature is not completed yet. + libmariadb/password.c is patched to use either password or sha1(password) + Class MySQL_Connection_userinfo() is expanded to also support sha1_pass + Inroduced MySQL_Authentication::set_SHA1() to store this information at runtime only + Added several auxiliary functions + +commit 13725109654f8ac358012e1c367cd8be46a29d27 +Merge: e559cfef 4f6cd7d6 +Author: René Cannaò +Date: Sun Jun 19 22:27:56 2016 +0000 + + Merge branch 'issue591' into v1.2.0 + +commit e559cfefe56eeda0caea3737e9df12bbee3135f9 +Merge: c1618504 bfa6d769 +Author: René Cannaò +Date: Sun Jun 19 22:27:47 2016 +0000 + + Merge branch 'issue588' into v1.2.0 + + Conflicts: + lib/ProxySQL_Admin.cpp + +commit 4f6cd7d6486af158a08bdb1b21026320058857db +Author: René Cannaò +Date: Sun Jun 19 22:24:31 2016 +0000 + + Be more explicit on Access Denied error + + Issue #591 + Closes #591 + +commit bfa6d769b5425b0c4d4d9f7374fb79bcb365f371 +Author: René Cannaò +Date: Sun Jun 19 22:09:22 2016 +0000 + + Minor small bug: free() incorrect pointer + +commit a7f7397d3609f96add4f2167266b407c7b9864b6 +Author: René Cannaò +Date: Sun Jun 19 22:07:18 2016 +0000 + + SET NAMES now allows quotes + + Closes #588 + + Also added new function trim_spaces_and_quotes_in_place() + +commit c16185042cb29ad2866a374a2b279b280ad4cd39 +Merge: 8b046418 e74df97d +Author: René Cannaò +Date: Sun Jun 19 21:40:36 2016 +0000 + + Merge branch 'issue526' into v1.2.0 + + Conflicts: + include/proxysql_structs.h + +commit 8b04641823f46e6f3d138b0a3d80400d6c16ca7d +Author: René Cannaò +Date: Sun Jun 19 13:45:50 2016 +0000 + + When connections are initialized, queries in mysql-init_connect are executed + + This allows to set custom variables like 'wait_timeout' or 'sort_buffer_size', or others. + + Issue #590. + Closes #590 + +commit e74df97d295e722b0eee98c7aab48eae35bb9f7e +Author: René Cannaò +Date: Fri Jun 17 14:41:20 2016 +0000 + + Implementation of variable max_allowed_packet + + This variable limits the amount of data that the client can send to the backend. + Note that ProxySQL won't really limit the amount of data that the client can send to the proxy, but the amount of data that the prox can send to the backend. + + This commits also fixes issue #526 + + Closes #526 + +commit 17a946dfcfc9a3993ce7be93bf55680e3f3bddf1 (tag: v1.2.0i) +Author: René Cannaò +Date: Tue Jun 14 23:35:05 2016 +0000 + + Version 1.2.0i + +commit 767263c9dd7b993308e8bb63d4bb5a2712ac9ced +Author: René Cannaò +Date: Tue Jun 14 23:33:16 2016 +0000 + + Fixed MySQL_Monitor_State_Data destructor + +commit 1fbafadccd94b9fc8c6ecc8813b5ad8e165dfc1f +Author: René Cannaò +Date: Tue Jun 14 22:06:23 2016 +0000 + + More reliable shutdown() and close() on mysql connections + + Related to #586 + +commit 5539da7341fa397818d2b29aacc273641adadbe0 +Merge: 4e76620d 749e2845 +Author: René Cannaò +Date: Mon Jun 13 01:03:54 2016 +0000 + + Merge branch 'crashthread' into v1.2.0 + +commit 4e76620d8e853f59aaa036e0e65873b8c2388058 +Author: René Cannaò +Date: Sun Jun 12 19:30:41 2016 +0000 + + Added check_variables.pl script + +commit bc6068998a6bbc5eeb6e78acad021d6fc323f753 +Author: René Cannaò +Date: Sun Jun 12 18:29:10 2016 +0000 + + Duplicated admin variable + +commit 4111fac4c1e24ee069396c60839219012d5a93e8 +Author: René Cannaò +Date: Sun Jun 12 17:57:26 2016 +0000 + + Added ssl variables in MySQL_Threads_Handler::get_variable() + +commit f0416937cf83f03f3550515f08d62d6c8801070d +Author: René Cannaò +Date: Sun Jun 12 17:30:35 2016 +0000 + + Added table runtime_global_variables + +commit 3bb455813e6f3f7e0932ca09a32bc2f1537c532b +Author: René Cannaò +Date: Sun Jun 12 16:42:32 2016 +0000 + + Better handling of pings for idle connections + +commit 749e2845141f22c2a23fb8698707d2753a1bc712 +Author: René Cannaò +Date: Sun Jun 12 15:51:13 2016 +0000 + + More verbose output in proxysql_error() and proxysql_warning() + +commit 7e0ee31e0d2952ce37a81a88c1452f8c33907165 +Author: René Cannaò +Date: Sun Jun 12 15:45:35 2016 +0000 + + Added more verbose output for bug #586 + +commit d5597842fb7953e124b845a35e1aca6dbe14da06 +Author: René Cannaò +Date: Sun Jun 12 15:24:28 2016 +0000 + + Added more verbose output for bug #586 + +commit e99ddf107aec14630018bfac48fa65585730121a +Author: René Cannaò +Date: Sun Jun 12 15:13:02 2016 +0000 + + Fis for bug #586 + + mypolls.add() was called with wrong file description. This could cause corruption + +commit 2bf4c55034b4ac2c6c88ae02e14ff386118977fb +Author: Emanuel Calvo <3manuek@esdebian.org> +Date: Sun Jun 12 03:55:17 2016 -0300 + + Update configuration_howto.md + + Some small fixes to sysbench commands and a couple of cosmetic changes. + +commit c101d0dd1c66f0d3580d60cfba7a72faf8ba469e +Author: Maciej Naruszewicz +Date: Fri Jun 10 12:36:42 2016 +0200 + + Deps should be built before src and lib + + Building with more than one thread tries to build all targets + at once and results in failed compilation. + + Signed-off-by: Maciej Naruszewicz + +commit fcdb773aeee28705107cfba4c02eda21a7617673 (tag: v1.2.0h) +Author: René Cannaò +Date: Wed Jun 8 23:03:51 2016 +0000 + + Upgraded version number to 1.2.0h + +commit 3992121dee3d33a5d2ad05ecf885e62225d68d15 +Author: René Cannaò +Date: Wed Jun 8 23:01:21 2016 +0000 + + Minor bugfixes related to mirroring + +commit 0f0baa2ac7310d64df40a3a0871801f66329f845 +Author: René Cannaò +Date: Wed Jun 8 18:15:38 2016 +0000 + + Implemented monitor_connect_timeout + + This fix bug reported on #584 + +commit 027e829ffc0c9c46ee1e1446e2016d2c158133b2 +Author: René Cannaò +Date: Tue Jun 7 23:28:55 2016 +0000 + + Fixed count on Server_Connections_connected #581 + + MyHGM->status.server_connections_connected was incorrectly decreased also for failed connections + +commit 65e1ae262657182b948b89656f2478476495116f +Author: René Cannaò +Date: Tue Jun 7 23:17:05 2016 +0000 + + Implemented counter of active transactions #581 + +commit 1e817dc2b1456951d71e9adadaf5a63f26bc7003 +Author: René Cannaò +Date: Tue Jun 7 22:32:09 2016 +0000 + + Removed a compiler warning on unused variable + +commit 6bacf8147e2bf92d4d51a582ba3a306bfc3fc15b +Merge: df698870 7e673519 +Author: René Cannaò +Date: Tue Jun 7 22:17:50 2016 +0000 + + Merge branch 'sslrequest' into v1.2.0 + +commit 7e673519f468d0b3b3761000f19136fe3591e09a +Author: René Cannaò +Date: Tue Jun 7 21:57:17 2016 +0000 + + Possible solution for #583 + +commit 18f273210da8e7dc69eb86abb60777f060fb0c82 +Author: René Cannaò +Date: Tue Jun 7 00:51:06 2016 +0000 + + Drafting STMT_EXECUTE + +commit 22dc1a017d2410dda4d533b3f405ccb1321314a2 +Author: René Cannaò +Date: Sun Jun 5 00:14:29 2016 +0000 + + Code to support STMT_PREPARE + + Variable mysql-stmt_multiplexing is introduced too, but not active + +commit 0ed51d61db1bc21920e9c6a805ef5118b6d5c0da +Author: René Cannaò +Date: Sat Jun 4 13:44:04 2016 +0000 + + Drafting MySQL_Protocol::generate_STMT_PREPARE_RESPONSE() + +commit 3908d8202056ca029e73e5422c8211bfa453c9a9 +Author: René Cannaò +Date: Sat Jun 4 12:12:20 2016 +0000 + + More code in client6 + +commit d312d6f47933ad256027ed221b61a53109423268 +Author: René Cannaò +Date: Sat Jun 4 11:57:45 2016 +0000 + + Added a new dump client for internal testing only + +commit ddd0ad90327be9c7915d1ae4c3c349a628ec977f +Author: René Cannaò +Date: Sat Jun 4 10:31:51 2016 +0000 + + Preparing the handling of _MYSQL_COM_STMT_PREPARE + +commit 91e0bb2b8220114829b59dc0f54947b7f6e9e971 +Author: René Cannaò +Date: Sat Jun 4 10:10:27 2016 +0000 + + Preparing more test case for prepared stataments + +commit df698870eaa47fb92c22f39f3cba2478fd7c07af +Author: René Cannaò +Date: Wed Jun 1 09:28:33 2016 +0000 + + Call of fnctl() with FD_CLOEXEC on frontend + + When a frontend connection is created. This to prevent excessive FDs when forking + +commit eae4a426a7648dde78330bf153e43ab78d56c5fe +Author: René Cannaò +Date: Wed Jun 1 09:09:53 2016 +0000 + + Call of fnctl() with FD_CLOEXEC + + When a backend connection is created. This to prevent excessive FDs when forking + +commit 16c7279b171a979dd1f0935fed0b68781f6134f0 +Author: René Cannaò +Date: Wed Jun 1 08:26:49 2016 +0000 + + Print error in case of execve() failure + + Improvement on #578 + +commit 79d70b3136b57639a395544b38181cf9977b8acb +Author: René Cannaò +Date: Tue May 31 07:05:51 2016 +0000 + + For on Scheduler , issue #578 + + Scheduler is almost completed. + proxysql forks and call external scripts + +commit bda2cf43507ada04516ecb776370b49cc8ceeaf4 +Author: René Cannaò +Date: Fri May 27 21:38:20 2016 +0000 + + Drafting Scheduler + + Scheduler is being implemented as part of the Admin module. + Added table scheduler + Added table runtime_scheduler + Implemented commands: + - [LAD|SAVE] SCHEDULER [FROM|TO] [DISK|MEMORY|RUNTIME] + +commit 817a92b260c5ea91374a185857dc92c20bade25e +Author: René Cannaò +Date: Wed May 25 09:42:17 2016 +0000 + + Setting socket non blocking after SSL is established + +commit 4bbb78a630147afc7df05e0c113a85055e6b81e1 +Author: René Cannaò +Date: Tue May 24 21:53:16 2016 +0000 + + Solving compiling issue on Ubuntu12 + +commit 0712132834195bd32f8159d0574984d654f8a9e4 (tag: v1.2.0g) +Author: René Cannaò +Date: Mon May 23 10:17:43 2016 +0000 + + Upgraded to version v1.2.0g + +commit 2212f51350a641adb48dd5728c06d873ddaf9e80 +Merge: d885d4a7 ac5e8abb +Author: René Cannaò +Date: Mon May 23 10:15:42 2016 +0000 + + Merge branch 'issue571' into v1.2.0 + +commit ac5e8abb14325e386acd3eca458fe7ab6f1d2399 +Author: René Cannaò +Date: Sun May 22 23:11:03 2016 +0000 + + Monitor: mysql_ssl_set() is use_ssl=1 + +commit 77d2a9c1adc9ba84db91b885eb2121c37cbe6d4c +Author: René Cannaò +Date: Sun May 22 16:56:37 2016 +0000 + + Removed a compiler warning + +commit 414c5cf52a454ce481bf51d46407f361c64d3acc +Author: René Cannaò +Date: Sun May 22 16:54:00 2016 +0000 + + Drafting support for SSL connections in Monitor + +commit d885d4a7376ef73b57dd03261a473fe01668a375 +Author: René Cannaò +Date: Sun May 22 14:33:23 2016 +0000 + + Implementation of max retries + + Added global variables mysql-query_retries_on_failure (default 1) + Added new field mysql_query_rules.retries (default NULL) + +commit 884724c110175fb1372ee36875e8eb291b15acec +Author: René Cannaò +Date: Sat May 21 11:13:07 2016 +0000 + + Drastically reduce restart time + + Issue #576 + + Added some inline timers + Reduced main loop sleep from 1 sec to 0.5 sec + Admin module is signaled to quit ASAP + MySQL Threads are signaled to quit ASAP + +commit 9318d1a8156b987cb2ca889d0eda77bfa8882e44 +Author: René Cannaò +Date: Fri May 20 21:06:10 2016 +0000 + + More matching criteria + + Issue #537 + mysql_query_rules now matches also on : + - client_addr + - proxy_addr + - proxy_port + - digest + +commit f02fabeec94a4426b6ff5b52b337274ed6e1fafe +Author: René Cannaò +Date: Fri May 20 17:30:15 2016 +0000 + + Match on client_addr + +commit 65f6dbc22dc5b940ef876455df8db6ad5f98c627 +Author: René Cannaò +Date: Fri May 20 17:16:13 2016 +0000 + + Extended mysql_query_rules with new fields + + Fields present but not supported yet + - client_addr + - proxy_addr + - proxy_port + - digest + - log + +commit 8e81495beed7454f95e8eed8930c18552eb4bb12 +Author: René Cannaò +Date: Sun May 15 21:06:04 2016 +0000 + + Improved logging + + Added logging information for: + - client + - server + - hostgroup_id + - digest + - duration + +commit fc36d5487f703a56e2b61434484ab9feb7d2c6ee +Author: René Cannaò +Date: Sat May 14 23:24:01 2016 +0000 + + Prefixing query logging with an identifier + +commit 31ac6625f66c022524276cc579b3db0c4df0ebfe +Author: René Cannaò +Date: Sat May 14 23:12:20 2016 +0000 + + Logging improvements, related to #561 + + - added new function realtime_time() to get real time + - added support for multiple events, default PROXYSQL_QUERY + - MySQL_Event::write() will perfom a different action depending from log_event_type + - rewrote part of eventslog_reader_sample.cpp: + - it had few bugs + - MySQL_Event::read() will perform a different action depending from log_event_type + - time are printed in real time and not monotonic time + - all info about a query are printed in one line + +commit 1b5dcaf46ac563d564dd98b0a7f1e7f0372e3360 +Author: René Cannaò +Date: Sat May 14 15:44:48 2016 +0000 + + Improvement on eventslog_reader + +commit 1e91513c25c6ace23ffb97c4c67d97db2f857c45 +Author: René Cannaò +Date: Sat May 14 15:33:14 2016 +0000 + + Fix bug #567 + +commit 7349c13db713af4e269451aeb97e30d7624b5f39 (tag: v1.2.0f) +Author: René Cannaò +Date: Wed May 11 08:13:56 2016 +0000 + + Changed version to 1.2.0f + +commit c11303b11702ff7aa9eb6ad0a28c5847c039f29f +Author: René Cannaò +Date: Tue May 10 23:59:04 2016 +0000 + + Servers were incorrectly brought back online + + Fix issue #566 + Regression introducted in #531 + +commit d3767101d0dde7514de82b5059c9ecccd2386040 +Author: René Cannaò +Date: Tue May 10 22:52:20 2016 +0000 + + Added support for ssl cipher + + Issue #565 + +commit 5169ad449f6f91b3303fac32faaec80d30cd0b6e +Author: René Cannaò +Date: Tue May 10 22:33:58 2016 +0000 + + Testing on Prepared Statements + + Adding some code for the evaluation of prepared statements + +commit 4fb78b90ba6e7b39900d699f33794a52583a00c6 +Author: René Cannaò +Date: Tue May 10 12:37:47 2016 +0000 + + Drafting support for Prepared Statements + +commit 4ff56896cd5ecc2d1a8f9a9df1b1e67dde5f1649 +Author: René Cannaò +Date: Thu May 5 21:19:39 2016 +0000 + + Fixed typo + +commit 024514eab1770aca450a04261e532a7a2b57ec40 +Author: René Cannaò +Date: Thu May 5 21:18:40 2016 +0000 + + Compiled debug without -j 4 + +commit 5067114a2f108e0bd70bb957a79a7c4c7f04f90b (tag: v1.2.0e) +Author: René Cannaò +Date: Thu May 5 13:54:21 2016 +0000 + + Fixed typo + +commit b19b21bb562118590f92ea6613e2aa65267842b2 +Author: René Cannaò +Date: Thu May 5 13:48:45 2016 +0000 + + Fixed minor typo + +commit 510dde94a6d917b0128c3e7fc12cae8b3b3d83cc +Merge: 0f70d24b f27bb873 +Author: René Cannaò +Date: Thu May 5 11:32:37 2016 +0000 + + Merge branch 'max_latency_ms' into v1.2.0 + +commit 0f70d24b1342495e93f6982943ddaa839bc7234d +Merge: da9b669b 73cc0280 +Author: René Cannaò +Date: Thu May 5 11:30:04 2016 +0000 + + Merge branch 'ssl' into v1.2.0 + +commit da9b669bed53555b93d0fcc1f1c2ad05cfe188ee +Merge: fe12d26f ffd39707 +Author: René Cannaò +Date: Thu May 5 11:29:45 2016 +0000 + + Merge branch 'MoreResultsExists' into v1.2.0 + + Conflicts: + include/mysql_connection.h + lib/mysql_connection.cpp + +commit fe12d26fe4cf69cce7c535dd5cceb4375fe9fc2a +Author: René Cannaò +Date: Thu May 5 01:15:39 2016 +0000 + + Implementation of mysql-connection_max_age_ms + + If a connection has a lifetime greated than mysql-connection_max_age_ms , it is dropped + + See #563 + +commit 22a4ad34541c91e220bff3bc10a34de8d7e779ca +Author: René Cannaò +Date: Thu May 5 00:31:40 2016 +0000 + + Reducing the size of MySQL_Connection + +commit 4d1d30e4ccd919e8a80d1cad79323a91e9610f61 +Author: René Cannaò +Date: Thu May 5 00:30:16 2016 +0000 + + Reducing the size of MySQL_Connection + + Freed some bytes reordering structs + +commit 3eb1d6ca3da89128f884338669eb79caa323cc13 +Author: René Cannaò +Date: Wed May 4 23:41:33 2016 +0000 + + SET commands in Admin always return OK + + This is a workaround for issues #556 and #562 + +commit ffd39707dbbcfc1f2118c5ac597279372a4465bd +Author: René Cannaò +Date: Wed May 4 22:40:11 2016 +0000 + + Support for SERVER_MORE_RESULTS_EXISTS #547 + +commit f27bb873f098c532d1dd6101308eabf09f6eb73d +Author: René Cannaò +Date: Sat Apr 30 21:17:53 2016 +0000 + + MySQL_Monitor call to set_server_current_latency_us + + Fixed a wrong implementation in previous commit + + This commit also updates stats_mysql_connection_pool + +commit 6b03c8ccb4973c2edddd0ef8ac894ba5058cde28 +Author: René Cannaò +Date: Fri Apr 29 05:43:51 2016 +0000 + + MySQL_Monitor call to set_server_current_latency_us + +commit 517c35f25fff61f37a7135951844f36692123883 +Author: René Cannaò +Date: Thu Apr 28 23:39:01 2016 +0000 + + Renamed function + + Renamed MySQL_HostGroups_Manager::set_server_current_latency_ms() to MySQL_HostGroups_Manager::set_server_current_latency_us() + +commit 81e823991799ec95c45905eae10f58b542be951c +Author: René Cannaò +Date: Thu Apr 28 23:36:34 2016 +0000 + + Connection pool considers current_latency_us + + When evaluating if a host can be used, current_latency_us is taken into consideration + +commit 0fef6b544cc9205d7fe8172cfd5d256544ee01cd +Author: René Cannaò +Date: Thu Apr 28 23:16:33 2016 +0000 + + Added global variables mysql-default_max_latency_ms + +commit 73cc0280ea242095d1b85de515add96c2042bd9b +Author: René Cannaò +Date: Thu Apr 28 06:52:50 2016 +0000 + + Updated version to v1.2.0e + +commit 15f12bbfbecddb89bf94383b682d29ef416ed76a +Author: René Cannaò +Date: Thu Apr 28 06:50:35 2016 +0000 + + Added SSL documentation + +commit d847e9699e3d03159ca46f674d1629d99cdcc2f6 +Author: René Cannaò +Date: Thu Apr 28 06:23:56 2016 +0000 + + Added variables for SSL connections to backends #552 + + Variables added: + * mysql-ssl_p2s_ca + * mysql-ssl_p2s_cert + * mysql-ssl_p2s_key + +commit 41ee4e5b85f62112128f2261e66b4303f25e893b +Author: René Cannaò +Date: Thu Apr 28 05:34:01 2016 +0000 + + Fixed typo in previous commit related to SSL and latency + + Also testing SSL connection with hardcoded certificates + +commit 9019c6b3d5102b877088edf636658e688eda7de8 +Author: René Cannaò +Date: Thu Apr 28 04:59:05 2016 +0000 + + Added columns use_ssl and max_latency_ms to mysql_servers + + These two new columns will be used to: + - enable SSL on a per server basis + - define maximum latency for a server to be consider usable: this will be a key element for multi DC support + +commit 690c1e619fb521f1081781979f66bbf3ed3e85c9 +Author: René Cannaò +Date: Thu Apr 28 01:31:28 2016 +0000 + + Micro-optimization in MySQL_Connection_userinfo struct + +commit 3899356d1ae1e9c93718e91a5f8ebcebc20a76bf (tag: v1.2.0d) +Author: René Cannaò +Date: Thu Apr 28 01:00:46 2016 +0000 + + Fix incorrect evaluation of ASYNC_PING_TIMEOUT for #542 + +commit bc7e4c61173273be3f73d49f4dd7f2537c10d386 +Merge: 47435af4 84606e24 +Author: René Cannaò +Date: Thu Apr 28 00:54:19 2016 +0000 + + Merge branch 'issue549' into v1.2.0 + +commit 84606e241075a26912b98272749f467494a05f1f +Author: René Cannaò +Date: Thu Apr 28 00:50:57 2016 +0000 + + Implement retries in execute() in case of SQLite3 is busy + + Fix issue #549 + +commit 47435af4f7fb5635ac2d60983c9f6c6cbaa9f354 +Merge: 9f1e2521 d2138e8f +Author: René Cannaò +Date: Wed Apr 27 23:02:17 2016 +0000 + + Merge branch 'issue535' into v1.2.0 + + Conflicts: + deps/Makefile + +commit d2138e8fc94323ea8056dae7b5f30832a616145a +Author: René Cannaò +Date: Mon Apr 25 18:30:53 2016 +0000 + + Fix status bug in MySQL_Session::handler_SetAutocommit() + +commit 37f85e510125391a7a6afde31d0eb6e287acbb00 +Author: René Cannaò +Date: Mon Apr 25 18:29:52 2016 +0000 + + Add trivial support for comments in SET AUTOCOMMIT + +commit 820dd6357e2f39939f2315af203f03cc264fe8f2 +Author: René Cannaò +Date: Mon Apr 25 05:54:40 2016 +0000 + + Fixed major bug introduced in #545 + + The math was balancing connections was incorrect + +commit 3d6ea7b7057ea89fd88dc2a4e9671e9b68bdfb89 +Author: René Cannaò +Date: Mon Apr 25 05:49:19 2016 +0000 + + server_status wasn't in SERVER_STATUS_AUTOCOMMIT + + server_status was erroneously set to SERVER_STATUS_IN_TRANS instead of SERVER_STATUS_AUTOCOMMIT + +commit e5e26b27a2589bbdfbb95217a90106281e4ae4f9 +Merge: 86ca8040 c2ef5a55 +Author: René Cannaò +Date: Mon Apr 25 05:17:50 2016 +0200 + + Merge pull request #548 from dtest/master + + apt-get cleanup for smaller docker image + +commit c2ef5a55d236cc6e163304c0d3c91ada329bbf1a +Author: Derek Downey +Date: Sun Apr 24 23:03:55 2016 -0400 + + apt-get cleanup for smaller docker image + +commit 7fd7fdcc6b8935f72ac9f4d16fb8bd18faf18351 +Author: René Cannaò +Date: Mon Apr 25 01:32:50 2016 +0000 + + Added support for Ubuntu15 package + +commit 576578af633a2f9bc2cbeeddce162f5542d5a7c1 +Author: René Cannaò +Date: Mon Apr 25 00:39:32 2016 +0000 + + Added support for debug binaries in CentOS 6.7 and 7 + +commit 481eb4ec75f8a8fd1a5b30f2d462791b44053c0b +Author: René Cannaò +Date: Mon Apr 25 00:07:10 2016 +0000 + + Compile binaries for CentOS 7 + +commit 182b208a28470cccdf12148108bdeea088293b02 +Author: René Cannaò +Date: Sun Apr 24 23:39:14 2016 +0000 + + Minor bugfix to support CentOS 6.7 + +commit 9f1e2521f95bc74b201705e1db215f79bf1f14e1 +Author: René Cannaò +Date: Sat Apr 23 22:38:55 2016 +0000 + + Fixed naming for jemalloc 4.1 + +commit a6cac3a5d8b364c96e2c1134e5a6c940bf456a71 +Author: René Cannaò +Date: Sun Apr 24 23:18:58 2016 +0000 + + Attempt to support CentOS 6.7 from Makefile + +commit 00caba00fcea96edb6c25258d66366bb6d7030ad +Author: René Cannaò +Date: Sun Apr 24 06:56:31 2016 +0000 + + Minor bug fixes on #544 and #545 + +commit db33ee961e4535ea26f87afaba277e79dbf77230 +Author: René Cannaò +Date: Sun Apr 24 06:31:37 2016 +0000 + + Balance connections usage based on weight and used connections #545 + + First implementation + +commit 7a08d810a920069613fc730283c89b0a29ae79c6 +Author: René Cannaò +Date: Sun Apr 24 05:26:30 2016 +0000 + + Implementation of mysql-monitor_ping_max_failures #544 + + If a server misses mysql-monitor_ping_max_failures heartbeats (pings) it is temporary disabled + +commit 75e3f672facdf7acfd546209934af6f0d8fa167f +Author: René Cannaò +Date: Sun Apr 24 04:52:44 2016 +0000 + + Bug fixes for #543 + +commit fc9ab855da4342a01457d1ff734c7dd44f343424 +Author: René Cannaò +Date: Sun Apr 24 02:28:53 2016 +0000 + + First draft for bugs #543 + + When a server isn't responding to ping, it is flagged as shunned and all the connections need to be dropped. + All the connections must be dropped before the server is brought back online + +commit 2e154cf42f580f1e7a62b8a86548661ef3eeb213 +Author: René Cannaò +Date: Sat Apr 23 22:40:16 2016 +0000 + + Changes CFLAGS for jemalloc + +commit e6d1f5228c498fe8b4c58d9e733b4aa4b580c3e0 +Author: René Cannaò +Date: Sat Apr 23 22:38:55 2016 +0000 + + Fixed naming for jemalloc 4.1 + +commit 9093d2acbab5890aa202084ac13966799b846c07 +Author: René Cannaò +Date: Sat Apr 23 20:39:39 2016 +0000 + + Fix (yet to test) for bugs #541 and #542 + + Implementation of timeouts: + - mysql-monitor_ping_timeout + - mysql-monitor_replication_lag_timeout + +commit 99bb540e1d33e3590b15bd768cb77fe1a55b5269 +Author: René Cannaò +Date: Sat Apr 23 19:20:01 2016 +0000 + + First attempt to have ping timeout (issue #535) + + Added state ASYNC_PING_TIMEOUT that happens when sess->thread->curtime >= wait_until + +commit bf0a214e4fd6e05a56efb015cb269a346db1372b +Author: René Cannaò +Date: Sat Apr 23 18:55:59 2016 +0000 + + Added function close_mysql() + + close_mysql() is a replacement for mysql_close() + It tries to avoid blocking while sending the QUIT command + +commit 4b3d69606e3be62f3c09d13929496d72359b5061 +Merge: 0f9a61c9 ecb00852 +Author: René Cannaò +Date: Fri Apr 22 07:47:14 2016 +0000 + + Merge branch 'query_test' into v1.2.0 + +commit 0f9a61c98e0a329a4832e2bda3a3d3689680640b +Author: René Cannaò +Date: Fri Apr 22 07:44:43 2016 +0000 + + Fix bug #536 + +commit ecb008520f1120f916cc9d2d87fa1c77871cbb7d +Author: René Cannaò +Date: Sat Apr 16 04:51:59 2016 +0000 + + Removed unnecessary files + +commit f3b1c7914687bcbc631adef13ed683938e1d8053 +Author: René Cannaò +Date: Tue Apr 12 03:23:55 2016 +0000 + + Upgraded to version v1.2.0d + +commit 751ba624a3d70f1f8327f170c05c07d17a6fa087 +Author: René Cannaò +Date: Tue Apr 12 03:17:31 2016 +0000 + + Auto tuning shun_recovery_time_sec + + See issues #530 and #531 + + Closes #530 + Closes #531 + +commit 05bec56359a74e5fefccbcfd25b5969a0f888f83 +Merge: c8270484 e4a10664 +Author: René Cannaò +Date: Tue Apr 12 01:28:09 2016 +0000 + + Merge branch 'onupgrade' into v1.2.0 + +commit c82704846660301157cb3a1cc9e68fe2f89731c0 +Author: René Cannaò +Date: Tue Apr 12 01:16:13 2016 +0000 + + Removed obsolete code from Query_Processor.cpp + +commit 4194efb33ce18a109860db50834e32dfe777d030 +Author: René Cannaò +Date: Tue Apr 12 01:11:21 2016 +0000 + + Added commands in Query_Processor::__query_parser_command_type() + + Added support for: + - START TRANSACTION + - SET + - SHOW + - SHOW TABLE STATUS + +commit e4a1066484c217f6f784139af7786921bb4f6175 +Author: René Cannaò +Date: Mon Apr 11 22:54:36 2016 +0000 + + Upgrade from mysql_query_rules + + mysql_query_rules table is changing from version to version. + In order to provide online upgrade, a new function was added: + - ProxySQL_Admin::disk_upgrade_mysql_query_rules() + +commit c623fc171c9d568d85db590ad8927f57fe5129b8 +Author: René Cannaò +Date: Mon Apr 11 20:49:53 2016 +0000 + + Removed cachegrind output files + +commit 67cb0627c4f9574a0b39194cc7dcd5cb7b9c88cf +Author: René Cannaò +Date: Mon Apr 11 20:48:45 2016 +0000 + + Minor optimizations in Query_Processor + +commit f7140179a9644770e2fcc3bfbb3784efa83ca2fd +Author: René Cannaò +Date: Mon Apr 11 17:50:07 2016 +0000 + + Minor optimization in Query_Processor::update_query_processor_stats() + +commit 968be53f4246d4a43ef99df6aa37319c9961014b +Author: René Cannaò +Date: Mon Apr 11 15:52:39 2016 +0000 + + Upgrade jemalloc from 3.6.0 to 4.1.0 + +commit 52d07c3d94ca55393b8f2b09d2067bdc0dc8b20a +Author: René Cannaò +Date: Sat Apr 9 08:57:39 2016 +0000 + + Removed libinjection + +commit f9bda6440f05b7c7dff50adcb61ad57940a761cf +Author: René Cannaò +Date: Sat Apr 9 08:16:28 2016 +0000 + + Optimization in MySQL_Session::handler_CommitRollback() + +commit 639cb0d1e5cd1cdde57ea1d02182761447b42684 +Author: René Cannaò +Date: Sat Apr 9 08:01:31 2016 +0000 + + Optimizations + + - attempt to remove libinjection + - wrote a custom strcasecmp + +commit 1ec7daf8bd97c51abef71439369f0f28980c2a07 +Author: René Cannaò +Date: Fri Apr 8 22:55:19 2016 +0000 + + Reducing the size of MySQL_Thread + +commit b6a6b43daacec7ac5a20d57ba21e4bde6d2d5fa3 +Author: René Cannaò +Date: Fri Apr 8 22:51:04 2016 +0000 + + Reducing the size of MySQL_Session + +commit fab056c03337500c513e291b54d790c7f9131d84 +Author: René Cannaò +Date: Fri Apr 8 22:36:43 2016 +0000 + + Reducing the size of MySQL_Data_Stream + +commit c1a18aa2ebb39409ef5d16159bd906d8e094e2da +Author: René Cannaò +Date: Fri Apr 8 22:28:09 2016 +0000 + + Cleaned unused code + + Some legacy code is not currently used: + - removed reference to MySQL_Data_Stream::move_from_OUT_to_OUTpending() + - removed reference to MySQL_Data_Stream::PSarrayOUTpending + +commit 6978b5948586fac03329c0f5ca02e317942bc11e +Author: René Cannaò +Date: Fri Apr 8 22:20:56 2016 +0000 + + Reducing the size of MySQL_Data_Stream + +commit aa04b6da77250f25690442c6b1a674d681567a0e +Author: René Cannaò +Date: Wed Apr 6 00:12:38 2016 +0000 + + Update doc on fast_forward + +commit 53bc17092c57a1ed716e9f4d506aac9e2ac34c5a (tag: v1.2.0c) +Author: René Cannaò +Date: Tue Apr 5 08:00:18 2016 +0000 + + New implementation of fast forward , #528 + +commit 2987d0b5a5a6a804c2b1d55d451a6329ceafcc28 +Author: René Cannaò +Date: Mon Apr 4 23:34:40 2016 +0000 + + Removed garbage file + +commit ad82034a118d1bc800e29c37cffad0bc93941f56 (tag: v1.2.0b) +Author: René Cannaò +Date: Mon Apr 4 22:43:33 2016 +0000 + + Re-added support for debug + + to be tested + +commit 8ac11cd4c2af97a889d211774486d654f4fd8477 +Author: René Cannaò +Date: Mon Apr 4 22:12:03 2016 +0000 + + Readded support for Ubuntu12 + + This compiles with gcc 4.6 , experimental + +commit 86ca8040a4962f125a15e98f33824711047bbe5d +Author: René Cannaò +Date: Mon Apr 4 05:16:28 2016 +0000 + + Fixed incorrect order of fields in mysql_servers + + Related to previous commit + +commit 3f580230e5803d0f4f38f8a766f72c414bb92eb4 +Author: René Cannaò +Date: Mon Apr 4 04:58:04 2016 +0000 + + Fixed an edge case with servers staying shunned + +commit 6b5829f9f058f00c8f7cf8074e3a4dc7e9e6e052 +Author: René Cannaò +Date: Mon Apr 4 04:00:00 2016 +0000 + + Fixed a race condition in LOAD/SAVE MYSQL SERVERS + +commit 249484ca14354a7afbb3999fda95bb602661baa8 +Merge: 5af2e77c cad1c2a0 +Author: René Cannaò +Date: Mon Apr 4 05:34:40 2016 +0000 + + Merge branch 'v1.2.0' of https://github.com/sysown/proxysql into v1.2.0 + +commit 5af2e77c873d606122337827af2fb1095ed71a33 +Author: René Cannaò +Date: Mon Apr 4 05:16:28 2016 +0000 + + Fixed incorrect order of fields in mysql_servers + + Related to previous commit + +commit 1ff69b66da3857e7aaf798b4da630b0f1080e113 +Author: René Cannaò +Date: Mon Apr 4 04:58:04 2016 +0000 + + Fixed an edge case with servers staying shunned + +commit 66280b1bd333ec3045ea0f9148301891f5470cd4 +Author: René Cannaò +Date: Mon Apr 4 04:00:00 2016 +0000 + + Fixed a race condition in LOAD/SAVE MYSQL SERVERS + +commit cad1c2a031fb4f2871615c05c52d80db91271b8f +Merge: 36f23bcb 5b322651 +Author: René Cannaò +Date: Thu Mar 17 02:45:58 2016 +0100 + + Merge pull request #525 from freediver9000/patch-1 + + Update mirroring.md + +commit 36f23bcb1585eafacbf2009e75c09387557c9eea +Merge: ef68ac30 0892b35b +Author: René Cannaò +Date: Thu Mar 17 02:33:26 2016 +0100 + + Merge pull request #522 from sysown/revert-520-makefile_cleanall_mongoose + + Revert "Clean mongoose too with make cleanall" + +commit 0892b35bd3417c1426bc406d9d2d1b2e299c2781 +Author: René Cannaò +Date: Wed Mar 16 18:33:11 2016 -0700 + + Revert "Clean mongoose too with make cleanall" + +commit ef68ac30d91559f180ef6e6e0c8af93495369854 +Merge: 184cea97 31385d5d +Author: René Cannaò +Date: Thu Mar 17 02:31:44 2016 +0100 + + Merge pull request #520 from sysown/makefile_cleanall_mongoose + + Clean mongoose too with make cleanall + +commit 31385d5d06a3a555ddce3401bfe3b8d9ec5e1fad +Author: iprunache +Date: Wed Mar 16 17:30:23 2016 +0200 + + Clean mongoose too with make cleanall + +commit 5b322651edd600beec9372b2f5e32abbd1d8e606 +Author: freediver9000 +Date: Mon Mar 14 18:10:25 2016 -0700 + + Update mirroring.md + + I have some more changes but need to save this for now. + +commit 184cea97c542ea66b0339f63ba928ea3b519df31 (tag: v1.2.0a) +Author: René Cannaò +Date: Mon Mar 14 19:51:17 2016 +0000 + + Updating mirroring documentation + +commit 5f8a5d90471af644fb2448f694fabad0246358b7 +Author: René Cannaò +Date: Mon Mar 14 19:31:40 2016 +0000 + + Added documentation on mirroring + +commit 35927f14e9be6d879d43ddf50cd86cb196fb4c00 +Author: René Cannaò +Date: Mon Mar 14 19:30:47 2016 +0000 + + Return error_msg after rewriting the query + +commit e882029f52fb4c791f4d96fc73bc1a9755115efa +Merge: 0e01e5e3 96ad3019 +Author: René Cannaò +Date: Mon Mar 14 15:10:08 2016 +0000 + + Merge branch 'master' into v1.2.0 + + Solved conflicts (all realted to version number) in: + Makefile + docker/images/proxysql/centos7-build/proxysql.spec + docker/images/proxysql/debian-7.8-build/proxysql.ctl + docker/images/proxysql/debian-8.2-build/proxysql.ctl + docker/images/proxysql/ubuntu-14.04-build/proxysql.ctl + include/proxysql.h + +commit 0e01e5e3222e84ac6080d82ccf702b745e38580a +Author: René Cannaò +Date: Mon Mar 14 12:06:23 2016 +0000 + + Mirroring bug fixes + + Handling of error_msg + Fixed crashed on SHOW PROCESSLIST + +commit 4cc6b3ca82432bb2a2fc5a60c420cf863557b374 +Author: René Cannaò +Date: Mon Mar 14 09:44:23 2016 +0000 + + Preparation for 1.2.0 + +commit bc8c5e175a82564dadeae0f2d4444c5c2d41e8a3 +Author: René Cannaò +Date: Mon Mar 14 09:37:18 2016 +0000 + + Added column mirror_flagOUT in mysql_query_rules + + Mirroring starts when either mirror_hostgroup or mirror_flagOUT is set + +commit 96ad3019d7ab7175e3bfdc8781c2e8d8cdfa8b44 (tag: v1.1.2, origin/v1.1.2) +Author: René Cannaò +Date: Sat Mar 12 02:33:16 2016 +0000 + + Upgrade to 1.1.2 for docker + +commit 2b0510b973aaa5816c08d0cd6c29d9d9f6052ec0 +Author: René Cannaò +Date: Sat Mar 12 02:19:34 2016 +0000 + + Upgrade to v1.1.2 + + Upgrade to v1.1.2 + Also fixed a minor bug in ProxySQL_Admin::get_variables_list() + +commit 34046a7549f4d3b5713b530bcbd9d9faa1fef640 +Author: René Cannaò +Date: Sat Mar 12 02:00:34 2016 +0000 + + Added mini howto on configuration + +commit 09c0baa2e5a058a618364bd194a4390af36e3b69 +Merge: 431782d9 fd2caedc +Author: René Cannaò +Date: Fri Mar 11 16:45:45 2016 +0100 + + Merge pull request #517 from sysown/beta7 + + Add SET commands + +commit fd2caedc7388a7bfa107d8d7cd7f8b1ce7ba850c +Merge: baabb552 fbaca931 +Author: René Cannaò +Date: Fri Mar 11 15:38:43 2016 +0000 + + Merge branch 'v1.1.1' of https://github.com/sysown/proxysql into beta7 + +commit fbaca9314884c8a647345c80478b15f1b12b0552 +Merge: a782f77f 88ec03d7 +Author: René Cannaò +Date: Fri Mar 11 16:34:45 2016 +0100 + + Merge pull request #511 from sysown/498_implement_set_command + + #498 implement set command + +commit 431782d91853cc448c72d2be46d9d35709d1cd0d +Merge: d7b1d513 baabb552 +Author: René Cannaò +Date: Fri Mar 11 16:33:28 2016 +0100 + + Merge pull request #516 from sysown/beta7 + + Merging v1.1.1-beta7 + +commit 2e276f06f4fb8e14586c9bd7bc29be3ad7c6e5cd +Author: René Cannaò +Date: Thu Mar 10 22:23:24 2016 +0000 + + Second commit to implement mirroring + + Expanded table `mysql_query_rules` to add `mirror_hostgroup` + Expanded struct `_Query_Processor_rule_t` and class `Query_Processor_Output` to support `mirror_hostgroup` + Added new variable `mirror_hostgroup` in `MySQL_Session` + + The following logic ensure that a mirror_hostgroup set when processing the query in the original session is preserved when reprocessing the query in the mirror session: + * when a new mirror session is *created* `mirror_hostgroup` is set according to the result of Query_Processor + * when a mirror session is *executed* , `mirror_hostgroup` is copied into `default_hostgroup` + + Current limitations: + * queries larger than 15MB aren't mirrorred + * upgrade from 1.1 is still not possible it will wipe table mysql_query_rules + +commit c101fad268165435859905a7d2c0223f0385e514 +Author: René Cannaò +Date: Thu Mar 10 01:27:52 2016 +0000 + + First draft on mirroring feature + + Add new variable MySQL_Session::mirror (false by default) + Add new struct MySQL_Session::mirrorPkt (false by default) + + These functions return immediately if this is a mirror session: + * MySQL_Protocol::generate_pkt_EOF() + * MySQL_Protocol::generate_pkt_ERR() + * MySQL_Protocol::generate_pkt_OK() + * MySQL_Protocol::generate_pkt_column_count() + * MySQL_Protocol::generate_pkt_field() + * MySQL_Protocol::generate_pkt_row3() + + MySQL_ResultSet::MySQL_ResultSet() exits almost immediately if this is a mirror session + + Most of the code of these functions is not executed if this is a mirror session: + * MySQL_ResultSet::add_eof() + * MySQL_ResultSet::get_resultset() + + In MySQL_Session::writeout() : + * `client_myds->write_to_net_poll()` is called only if this is not a mirror session + + In MySQL_Session::handler(): + * if query is a `SELECT` (hardcoded for now) : + ** create a new session and mark it as `mirror=true` + ** duplicate the query and send it to the new session + * if `mirror==true` : + ** pretend to read a new query from c`lient_myds` + ** proceed normally (with the only exception that no data can be sent to a client) + + In MySQL_Thread::process_all_sessions() : + * if `mirror==true` and `status==WAITING_CLIENT_DATA` it means the session is "completed" so it get destroyed + + Limitations: + * it currently doesn't support large packets + * doesn't support different charset + * doesn't support transactions + +commit 88ec03d77cd1f8aa39cff19af4581ed5f7b1a688 +Author: Ionut Prunache +Date: Mon Mar 7 11:28:52 2016 +0200 + + Add doc on how to change a global variable + +commit a782f77f55744c80bb2c2ac9e43616b02c370c6a +Author: Ionut Prunache +Date: Mon Mar 7 11:22:21 2016 +0200 + + Fix link to global variables doc + +commit 608175ad108908061cad3b3f144bd0692fa98d08 +Author: iprunache +Date: Mon Mar 7 11:08:21 2016 +0200 + + 498 Rewrite SET command with equivalent UPDATE + +commit 09d48a1355e90ae243456435e7fd47917029b836 +Author: iprunache +Date: Fri Mar 4 18:39:08 2016 +0200 + + #498 Validate variables from SET command + +commit 1646731319f02aacf027423cb6395ef7d1a230b8 +Author: iprunache +Date: Fri Mar 4 15:55:19 2016 +0200 + + #498 Extract variable and value from SET command + +commit f69f3fba104a2209a4c5fce8adfb7d7739463efe +Author: iprunache +Date: Fri Mar 4 13:18:15 2016 +0200 + + #498 Add SET command parsing method stub + +commit baabb5527345f15b7a26585245ce640f7d2d0f3c +Author: René Cannaò +Date: Fri Mar 4 00:22:09 2016 +0000 + + Fixed bug on Query Cache + + hash was generated on an empty string: all queries were matching + +commit 9cf9cbd200b7d4d97e845da6c152f9703e9c8a0a +Merge: c623a6b4 50b3e319 +Author: Ionut Prunache +Date: Thu Mar 3 19:01:13 2016 +0200 + + Merge pull request #506 from sysown/revert-481-T87_consul_distributed_config + + Revert "T87 Consul integration" + +commit 50b3e3191bb7be06b325af66b6bb17eb04d55b26 +Author: Ionut Prunache +Date: Thu Mar 3 19:01:00 2016 +0200 + + Revert "T87 Consul integration" + +commit c623a6b4d98329b942ecee0d20680d37cbdeb6bd +Merge: 6cf3ed08 4dc0fa72 +Author: Ionut Prunache +Date: Thu Mar 3 18:53:59 2016 +0200 + + Merge pull request #505 from sysown/revert-499-T92_add_consul_script_path_variable + + Revert "T92 add consul script path variable" + +commit 4dc0fa720fde00f2d3bce2e02aa59609bea68ac6 +Author: Ionut Prunache +Date: Thu Mar 3 18:53:34 2016 +0200 + + Revert "T92 add consul script path variable" + +commit 6cf3ed085783cbc24d59383478484bd508293630 +Merge: e5da7b58 639486a2 +Author: Ionut Prunache +Date: Thu Mar 3 18:50:48 2016 +0200 + + Merge pull request #504 from sysown/revert-501-T91_consul_read_from_runtime_tables + + Revert "T91 read runtime tables directly from Consul script" + +commit 639486a23f931f295c59f60ce70b48c38a43b64f +Author: Ionut Prunache +Date: Thu Mar 3 18:48:48 2016 +0200 + + Revert "T91 read runtime tables directly from Consul script" + +commit e5da7b58f9eb02861387caf9ab1a7a1003b7dafe +Merge: de9a6993 ce312423 +Author: Ionut Prunache +Date: Thu Mar 3 11:18:44 2016 +0200 + + Merge pull request #501 from sysown/T91_consul_read_from_runtime_tables + + T91 read runtime tables directly from Consul script + +commit ce3124234c122bb223c92fb5a1ba7d17f8c3132c +Author: iprunache +Date: Thu Mar 3 11:16:51 2016 +0200 + + T91 Updated comments to reflect code changes + +commit de9a69930d67ecb9dabaa28d057a9604f7dae297 +Merge: c47767c7 2345a0fc +Author: Ionut Prunache +Date: Thu Mar 3 11:08:27 2016 +0200 + + Merge pull request #499 from sysown/T92_add_consul_script_path_variable + + T92 add admin variable for consul integration script path + +commit 2345a0fc3db621b4afdac674db5097673e600952 +Author: Ionut Prunache +Date: Thu Mar 3 11:07:12 2016 +0200 + + T92 Added default value mention to global var doc + + Added default value for admin-proxysql_consul_script_path. + +commit 8f8926431e1ec40ac89ec96636c18a1c60ebcbcb +Author: iprunache +Date: Thu Mar 3 11:02:44 2016 +0200 + + T92 Added doc entry for admin-proxysql_consul_script_path variable + +commit c8fcc229520fadb37918f1f5f7477033ca775162 +Author: iprunache +Date: Thu Mar 3 10:48:45 2016 +0200 + + T92 Renamed proxysql-consul script path variable + +commit 8bf1f5ab60f401fd96e9b7f16030b71fd5a535fd +Author: iprunache +Date: Wed Mar 2 17:54:29 2016 +0200 + + T91 Updated consul script to read directly from runtime tables + +commit 6a6f32c77e60592c42d38c2acc078fa567b44e76 +Author: iprunache +Date: Wed Mar 2 17:28:05 2016 +0200 + + T92 Added admin variable to configure path to proxysql-consul script + +commit 65ce2a154a64885c7cb9d1809ea82f715d69e2b7 +Author: iprunache +Date: Wed Mar 2 17:17:24 2016 +0200 + + #T92 Trimmed trailing whitespace + + Some IDE’s and editors do this on save. + +commit d41d09044fa4eae970c692ffc6c7131f289437c8 +Author: iprunache +Date: Wed Mar 2 17:11:56 2016 +0200 + + Added docopt as a python requirement + +commit 5ffa940fe86d359a0452fc519a1afb38b0b73dd1 +Author: iprunache +Date: Wed Mar 2 17:11:28 2016 +0200 + + Added CLion project files to .gitignore + +commit c47767c74e5c7a9d44a357ff4d067258043fe62b +Merge: 9d8155b8 1cfc2e25 +Author: Ionut Prunache +Date: Wed Mar 2 12:10:11 2016 +0200 + + Merge pull request #481 from sysown/T87_consul_distributed_config + + T87 Consul integration + +commit 1cfc2e25a37a8c917a570d13b66ba5935d0e9794 +Author: Ionut Prunache +Date: Wed Mar 2 12:06:26 2016 +0200 + + T87 Document format of data stored in consul + +commit 21056a0bc29371ec9b4addbbd54a711b0546a7a9 +Author: iprunache +Date: Wed Mar 2 11:36:28 2016 +0200 + + T87 Check requests status code when pushing to Consul + +commit d20929454205db861286739acfe75efd011f346b +Author: iprunache +Date: Wed Mar 2 11:24:03 2016 +0200 + + T87 Improved method names + +commit 980dfe3f7411a52cfd191225adb5c1fc20c1e3db +Author: iprunache +Date: Wed Mar 2 11:14:59 2016 +0200 + + T87 Added CTags files to .gitignore + +commit 4964da26f65f0a91bfb1ff16d031805556bb1245 +Author: iprunache +Date: Wed Mar 2 11:13:13 2016 +0200 + + T87 Using docopt to parse proxysql-consul arguments + +commit 9d8155b89e49984e1fba4884a5de641edf59a796 +Author: René Cannaò +Date: Mon Feb 29 01:29:17 2016 +0000 + + Formatting + + Added free() for CHECKSUM table + +commit 18b81d24518df43022297800fc6a2b01021d7236 +Merge: c6b7f6db 435bcef7 +Author: René Cannaò +Date: Mon Feb 29 01:21:37 2016 +0000 + + Merge branch 'EthanBlackburn-checksum' into beta7 + +commit 435bcef707389bfab20aaccc0bf52863baf2da28 +Merge: a3dafd83 d3f3dbae +Author: René Cannaò +Date: Mon Feb 29 01:18:04 2016 +0000 + + Merge branch 'checksum' of https://github.com/EthanBlackburn/proxysql into EthanBlackburn-checksum + + Conflicts: + lib/ProxySQL_Admin.cpp + +commit c6b7f6db5261e05a3b0de2325c0463cda6228502 +Merge: bd664414 a3dafd83 +Author: René Cannaò +Date: Mon Feb 29 00:49:58 2016 +0000 + + Merge branch 'servers_version' into beta7 + +commit a3dafd830edac37188330484c654521b20c0bd2c +Author: René Cannaò +Date: Mon Feb 29 00:44:41 2016 +0000 + + Added status variable Servers_table_version + + This status variable is incremented every time mysql_servers table is reloaded + +commit bd664414a0f402ad52d7667c0df548b02d32fa30 +Merge: 4dbbe1d6 6c928f7e +Author: René Cannaò +Date: Sun Feb 28 23:55:58 2016 +0000 + + Merge branch 'authbug' into beta7 + +commit 6c928f7ee52427bad235c2f30fc34a880edc1806 +Author: René Cannaò +Date: Sun Feb 28 23:55:02 2016 +0000 + + Fix bug #492 + +commit 4dbbe1d68b3db2ba4f5024146cd6eb99cc78de75 +Author: René Cannaò +Date: Sun Feb 28 20:25:39 2016 +0000 + + Improving the performance of read_only check + + Related to Admin Module + Issue #491 + Closes #491 + +commit a5bfcaebb31eeff17483edd845ea65008eca8506 +Merge: 6b6dab45 7124a809 +Author: René Cannaò +Date: Sat Feb 27 22:07:09 2016 +0000 + + Merge branch 'MyMon' into beta7 + +commit 7124a809e5aa299e7f45acb5599e00f1a49d39b1 +Author: René Cannaò +Date: Sat Feb 27 22:03:48 2016 +0000 + + delete MySQL_Thread on delete MySQL_Monitor + + To make valgrind happy + +commit 6b6dab456b364f8def413f551a48e8b01b2730ea +Author: René Cannaò +Date: Sat Feb 27 21:57:09 2016 +0000 + + Code clean up for #450 + +commit 31092099fbc49615c337aacdf120d58cf279d1b6 +Author: René Cannaò +Date: Sat Feb 27 21:54:46 2016 +0000 + + Deprecate mysql_sessions_connections_handler + + Issue #540 + MySQL_Thread:mysql_sessions_connections_handler is not used anymore + +commit cdeb02c571d49d26cf2e3d79305dff5a3618384e +Author: René Cannaò +Date: Sat Feb 27 21:33:18 2016 +0000 + + Empty commit + +commit aa73d523124965a508463e353da5b1e9deb48772 +Author: René Cannaò +Date: Sat Feb 27 21:13:13 2016 +0000 + + LOAD MYSQL GLOBAL VARIABLES drop all Monitor conns + + Issue #490 + LOAD MYSQL GLOBAL VARIABLES TO RUNTIME drops all MySQL Monitor connections so that they can be re-established + +commit 4c53273427c021e9afa2f86dd4c8e2784b699b67 +Author: René Cannaò +Date: Sat Feb 27 21:04:20 2016 +0000 + + LOAD MYSQL GLOBAL VARIABLES resets MySQL Monitor timers + + And immediately triggers new checks + Issue #490 + +commit 3a1912cf4999638942a66724628cc96387b548cd +Author: René Cannaò +Date: Sat Feb 27 20:44:27 2016 +0000 + + drop all connections from MySQL_Monitor_Connection_Pool() when shutting down + + Issues #490 and #473 + +commit 01a5a715f7616ef8a84e7cf419e6352977faea85 +Author: René Cannaò +Date: Sat Feb 27 20:36:15 2016 +0000 + + purge removed hosts from MySQL_Monitor_Connection_Pool() + + Related to #490 and #473 + +commit b8109f1572d225a1c6a06e1b118434ec474c6792 +Author: René Cannaò +Date: Sat Feb 27 17:41:58 2016 +0000 + + Added mutex in MySQL_Monitor_Connection_Pool() + + Issue #490 + - Access to MySQL_Monitor_Connection_Pool was not thread-safe + +commit 53b3c744252deaa9f5842a68761105121ede3069 +Author: René Cannaò +Date: Sat Feb 27 17:29:02 2016 +0000 + + Added table runtime_mysql_query_rules (#489) + +commit eb012cb782e47efc29bbd3228ee7dcd653dad68f +Author: René Cannaò +Date: Sat Feb 27 15:54:42 2016 +0000 + + Removed a not relevant verbose line + +commit 376b03758581788b500acd7934e72d8d881903c4 +Author: René Cannaò +Date: Sat Feb 27 15:48:49 2016 +0000 + + Added support for runtime mysql servers tables + + Issue #488 + + - runtime_mysql_replication_hostgroups + - runtime_mysql_servers + +commit f2f5a46c1e778f2bd4bad8bee33d40d55c0f47b2 +Author: René Cannaò +Date: Sat Feb 27 15:26:00 2016 +0000 + + Changed to version 1.1.1.beta7 + +commit 6438ba2ff7fb3afb2ad99f0b3200f509dfb8eae2 +Author: René Cannaò +Date: Sat Feb 27 15:14:24 2016 +0000 + + Removed references to generate_pkt_row2 + + Related to issue #486 + +commit 379eee0ca4a23ae95ec647174ec2873d3b8d5d5d +Merge: 01cf99f1 76a217c8 +Author: René Cannaò +Date: Sat Feb 27 15:07:14 2016 +0000 + + Merge branch 'issue487' into beta7 + +commit 01cf99f16db2ee1977664aaae09f9583a3ac7f69 +Merge: 9283d226 501acd8b +Author: René Cannaò +Date: Sat Feb 27 15:07:03 2016 +0000 + + Merge branch 'T88' into beta7 + +commit 9283d2263493e24f723d60697a1cd8e4f89e332e (tag: v1.1.1-beta.6) +Author: René Cannaò +Date: Sat Feb 27 15:04:10 2016 +0000 + + Changed version number to 1.1.1.beta6 + +commit 76a217c839316c7a4c359ebf2805673f8f607f07 +Author: René Cannaò +Date: Sat Feb 27 15:00:06 2016 +0000 + + Removed custom memory allocator + + Issue #487 + +commit 501acd8b0c5e1faf1ccb709d6370f5317c0f5f5f +Author: René Cannaò +Date: Sat Feb 27 13:35:33 2016 +0000 + + Add a small pause in listener_add() + +commit b5988b578996dd9f3962aba9cadff5221291b0c8 +Author: René Cannaò +Date: Sat Feb 27 13:22:41 2016 +0000 + + Added a buffer for MySQL_ResultSet (#486) + +commit 88db7d8542d86f21dd49524051cd78c8a0aa82e9 +Author: René Cannaò +Date: Sat Feb 27 11:37:55 2016 +0000 + + Implementation of enforce_autocommit_on_reads + + See issue #485 + +commit 9353560829a725bfc4dd126cecba1a0ff4f42c19 +Author: René Cannaò +Date: Fri Feb 26 12:36:16 2016 +0000 + + Added variable enforce_autocommit_on_reads + + Just the variable for now + +commit 8695662512031a18e8165b734b92a1a65600ec83 +Author: iprunache +Date: Thu Feb 25 17:44:25 2016 +0200 + + T87 Avoid applying configs issued by self + + Implemented mechanism that prevents a poxysql instance to apply the configs + that it just pushed to the cluster. This is needed because the local Consul + instance watches for all updates, including those comming from localhost. + A file is used to store a unique uuid per proxysql-consul instance and the uuid + is passed along with the config to identify the source. + +commit b1f8045ecb03a00c8da0fa0eb1e47ab41841e688 +Author: iprunache +Date: Thu Feb 25 17:07:13 2016 +0200 + + T87 Added proxysql-consul script to make install step + +commit e369c20463fc536b7c1c781ae8a27f3117d0c527 +Author: iprunache +Date: Thu Feb 25 14:11:35 2016 +0200 + + T87 Implemented command for saving mysql query rules config to cluster + + All save commands now make sure that the configs are first copied from + runtime to memory before theyre read and that they are copied from + memory to runtime after they are written + +commit d3a7e346d55669f95f9c973fb5686345eb4abe62 +Author: iprunache +Date: Thu Feb 25 12:05:59 2016 +0200 + + T87 Used admin interface to update config received from consul + + To update a config table, first all entries in the table are deleted + then all rows received from Consul are inserted. + +commit d3f3dbaed80bd782cca653b902634f0ba870365f +Author: ethanblackburn +Date: Wed Feb 24 08:52:27 2016 -0800 + + more whitespace + +commit bf9b8f7510ef014922a5f057c962d6b2bd393861 +Author: ethanblackburn +Date: Wed Feb 24 08:51:48 2016 -0800 + + whitespaces + +commit 5885e5f5c2c72d4998f44e9ae9f4e48553db454f +Author: ethanblackburn +Date: Wed Feb 24 08:49:49 2016 -0800 + + Add checksum mysql replication hostgroups command + +commit 2ab4833498048b8a0d705718fea8aaf728b4a5a6 +Author: ethanblackburn +Date: Wed Feb 24 08:12:40 2016 -0800 + + Add checksum function to SQLite3_result + +commit 81df0ded66a1891f86ee3e77b32b705275f8a287 +Author: iprunache +Date: Wed Feb 24 16:21:12 2016 +0200 + + T87 Fetch proxysql configs using admin interface given table name + + Use the admin iface to read config to minimize code changes to proxy. + The config will be passed as a JSON of rows to Consul. + +commit 97e3fa41f10e6e47a3a9f28bcd1b2011f3867290 +Author: iprunache +Date: Wed Feb 24 15:05:37 2016 +0200 + + T87 Made script to read input provided by Consul on watch trigger + + The script reads all input and the CONSUL_INDEX env var. It uses the latter + to determine which of the values passed by consul was last modified and + actually triggered the watch. + +commit 17495fccf043befedce25c4ee5fa8bb0c56c66ee +Author: iprunache +Date: Wed Feb 24 13:17:09 2016 +0200 + + T87 prefixed proxysql Consul keys so they have their own namespace + +commit fa406f656a22ecba0321fe63341490bee362be51 +Author: iprunache +Date: Wed Feb 24 13:16:11 2016 +0200 + + T87 added sample proxysql-consul config file + +commit 61085071f0708ed8c78da07db42871205dd9b02a +Author: iprunache +Date: Wed Feb 24 13:05:28 2016 +0200 + + T87 implemented simple middleman + + takes an action as the firt argument. put action requires two more + arguments: config value and config type. writes the config value to + consul on a key corresponding to the config type. + +commit cda85bdf7f610f704d63c9c7c24e081e22da720b +Author: iprunache +Date: Wed Feb 24 11:30:33 2016 +0200 + + T87 added code to run external middlemna script and pass it config and config type as params + +commit 60a51b3d73765ab63b49a9cdaed03cf25467e5b8 +Author: iprunache +Date: Fri Feb 19 18:07:25 2016 +0200 + + T87 added mock command + +commit f40affc361e9c7129b2340ebd7d6d91821915e40 +Author: René Cannaò +Date: Fri Feb 19 10:30:53 2016 +0000 + + Removed variable mysql-bug_mdev_8338 + + It seems that bug https://mariadb.atlassian.net/browse/MDEV-8338 is so severe that bypassing it from ProxySQL is not that easy. + If affected by https://mariadb.atlassian.net/browse/MDEV-8338 , a user should disable mysql-multiplexing + +commit f21fd3f9fcbf5502c8a7e528932eeda750c8f4ae +Author: iprunache +Date: Fri Feb 19 11:45:32 2016 +0200 + + T87 added command name ideas + + Acting as initial branch commit + +commit dca5dd7e8fd719276ae36a62e70d13756cb6756f +Author: René Cannaò +Date: Wed Feb 17 22:19:32 2016 +0000 + + Do not shun for error in replication lag + + error in retrieving replication lag does not shun a slave. + See #479 + +commit 4b93a743e83fb6e80547c7c1b139fe638d608fbd +Author: René Cannaò +Date: Tue Feb 16 10:02:44 2016 +0000 + + Fixed an incorrect parsing of comments + +commit 79ab0221fc64d55bf07c67acc0b343b5c18545bd +Author: René Cannaò +Date: Tue Feb 16 09:24:48 2016 +0000 + + mysql_servers supports status=4 + + This is MYSQL_SERVER_STATUS_SHUNNED_REPLICATION_LAG + Should fix issue #475 + +commit d91ed1d46799c3f196f2af2d90ba4a8ced4fa75b +Author: ethanblackburn +Date: Mon Feb 15 20:02:18 2016 -0800 + + add line + +commit 01420e5e26647c9e3713647f232069fa4cef2195 +Author: ethanblackburn +Date: Mon Feb 15 20:00:44 2016 -0800 + + Remove old code + +commit 26235f9c5636cb85a88caf9365e58c624559b532 +Author: ethanblackburn +Date: Mon Feb 15 19:54:36 2016 -0800 + + Add CHECKSUM command + +commit 08b18bd223cfbbad69cf94ecddf66019063b5b1d +Author: René Cannaò +Date: Mon Feb 15 11:39:19 2016 +0000 + + Added support for SHOW SCHEMAS in Admin + +commit ff0e14608a98fc52c777952e7ff70213afecbc3a +Author: René Cannaò +Date: Mon Feb 15 10:13:31 2016 +0000 + + Fix error on Server shutdown in progress + + Fix bug #476 + +commit f70574ba671d577df3b956b800fb4eabc8208f27 (tag: v1.1.1-beta.5) +Author: René Cannaò +Date: Fri Feb 12 01:23:34 2016 +0000 + + Version 1.1.1.beta5 + +commit 488f44b2900adfebd40c7ac496ec3bb2fa1e4f5b +Author: René Cannaò +Date: Fri Feb 12 00:27:51 2016 +0000 + + Keep multiplexing enabled for some variables + + These 2 commands do not disable multiplexing: + - SELECT @@tx_isolation + - SELECT @@version + +commit 995fe515c9f54781d710f06377990fd558c6333e +Author: René Cannaò +Date: Fri Feb 12 00:16:53 2016 +0000 + + Added support for SELECT @@version in Admin Module + +commit 8c92912b9f075a68bb0af8506c42f67ebdd4e3e7 +Author: René Cannaò +Date: Sun Feb 7 11:46:59 2016 +0000 + + Increasing lg_tcache_max back to 16 + + This to reduce the probability that stack used by mariadb client library in async mode is not shared among treads + +commit e004b54a184a1697f1d3dad5f812ada132bcef39 +Author: René Cannaò +Date: Sun Feb 7 11:46:06 2016 +0000 + + Fix bug in mariadb async for mysql_close() + +commit 4dea6614dc95f5015e954d675f0317b74f0078e4 +Author: René Cannaò +Date: Sun Feb 7 11:09:11 2016 +0000 + + Always initialize GloVars.global.start_time + +commit 639c3d9d21c14589dca476917600efd3692043c0 +Author: René Cannaò +Date: Sun Feb 7 10:31:52 2016 +0000 + + Generate core dump + +commit 15195d11869a61503d2a73ca90ce86af56a2e6d2 +Author: René Cannaò +Date: Fri Feb 5 16:03:30 2016 +0000 + + Prevent connection leak in case of failure + + Some failure (like connection timeout) could can cause connection leak + +commit e112e8cc63635144af6887db290635c816a20284 +Author: René Cannaò +Date: Fri Feb 5 15:07:08 2016 +0000 + + Removed unnecessary file + +commit 912a03c591265f8be5a596fc15ddd882004a57c1 +Author: René Cannaò +Date: Fri Feb 5 15:05:58 2016 +0000 + + jemalloc lg_tcache_max:15 + + Changed lg_tcache_max:17 to lg_tcache_max:15 to reduce jemalloc memory footprint on system with low memory + +commit 2ea4149b0bcc583b0b79b1a1429981f1065da72d +Author: René Cannaò +Date: Wed Feb 3 22:15:33 2016 +0000 + + Fixed accounting of Server_Connections_connected + +commit 19bbce4a58eacc91daa1ceb55a640b64e5bfd2fb +Merge: caec52d2 8a447e93 +Author: René Cannaò +Date: Wed Feb 3 12:52:18 2016 +0100 + + Merge pull request #472 from vermeire-mathias/issue425 + + fix for the init script, see issue 425 + +commit d7b1d513ca521c19f947c87eca19e754e331d42a +Merge: 5446ffaf 8a447e93 +Author: René Cannaò +Date: Wed Feb 3 12:50:54 2016 +0100 + + Merge pull request #471 from vermeire-mathias/issue425 + + fix for the init script, see issue 425 + +commit 8a447e93bf28b5225dc917b559820cbc0ac352fb +Author: mathias +Date: Tue Feb 2 19:26:23 2016 +0100 + + fix for the init script, see issue 425 + +commit caec52d23bf3803849ea662c2b947795e2a09139 (tag: v1.1.1-beta.4) +Author: René Cannaò +Date: Mon Feb 1 13:44:05 2016 +0000 + + Increased QUERY_DIGEST_MAX_LENGTH + + from 7000 to 65000 + +commit efbdf3b617910d6b4351f6d4de7c710fe16b844f +Author: René Cannaò +Date: Mon Feb 1 13:38:32 2016 +0000 + + Try to free mysql buffers when possible + + Free mysql->net.buff when beyond 64KB + +commit 714e13a5985ba022ce8c4af190f0a6ea3ec4f404 +Author: René Cannaò +Date: Mon Feb 1 13:11:24 2016 +0000 + + Added note on mysql-monitor_username + + The user in mysql-monitor_username must not be a user in mysql_users + +commit 5d56b6677eab8d4f500cbb96e67388ae111d6de6 +Author: René Cannaò +Date: Mon Feb 1 12:55:00 2016 +0000 + + Allow empty password for mysql-monitor_password + +commit a625ce563384b52a462ff16cdae1c801b60fbba6 +Author: René Cannaò +Date: Mon Feb 1 12:16:03 2016 +0000 + + Added admin-version in global variables + +commit ba5dc84d2b4143b1274920370dd798217a60ef6f +Merge: d0cabf1a 36f17776 +Author: René Cannaò +Date: Fri Jan 29 23:56:44 2016 +0000 + + Merge branch 'v1.1.1' of https://github.com/sysown/proxysql into v1.1.1 + +commit d0cabf1a9ef6f607add1173e0dbb4be945e0ba45 +Author: René Cannaò +Date: Fri Jan 29 17:15:10 2016 +0000 + + Better handling of bug MDEV-8338 + + Related to bug https://mariadb.atlassian.net/browse/MDEV-8338 . + + Created new variable: mysql-bug_mdev_8338 + If this variable is set, multiplexing is disabled if a query has NOW() or CURDATE() + +commit 36f17776ac4f4f60ecd05a72ae2c30a6f7b07894 +Author: Andrei-Adnan Ismail +Date: Wed Jan 27 09:05:27 2016 +0200 + + Add missing quotes + +commit ebc0e3bcff8b229ba6a2d4bfa3a0fd337e8a51eb +Merge: 322c2911 8793a19e +Author: Andrei-Adnan Ismail +Date: Wed Jan 27 09:03:21 2016 +0200 + + Merge branch 'v1.1.1' of github.com:sysown/proxysql-0.2 into v1.1.1 + +commit 322c291174cb13aaa9dfd6b04e242f2fb648c9b6 +Author: Andrei-Adnan Ismail +Date: Wed Jan 27 09:00:02 2016 +0200 + + Add first version of FAQ + +commit 3530f0b85bd61e1d316d0b49a9b066879798f1e2 +Author: René Cannaò +Date: Tue Jan 26 00:41:00 2016 +0000 + + Bugfix on mysql-eventslog_filename + + Allows mysql-eventslog_filename to have zero length + +commit cfd0cf32e862a3c147744fe13c7314c8253f8211 +Author: René Cannaò +Date: Mon Jan 25 20:37:32 2016 +0000 + + QueryParserArgs is moved into Query_Info + + This is a further attempt to reduce calls to malloc() + QueryParserArgs is no longer a pointer, but a struct inside Query_info + +commit 4b1155e6c5a41f59c8308bebc07d621df4f7eb29 +Author: René Cannaò +Date: Mon Jan 25 16:46:33 2016 +0000 + + Reduce calls to malloc() + + myhash in Query_Processor::query_parser_update_counters() is now in the stack + +commit 995203b6b36139ac4eadc3e4cde4382a6b79f9ee +Author: René Cannaò +Date: Sun Jan 24 23:56:40 2016 +0000 + + Allocated buffer for first_comment only if needed + + Minor performance improvement to reduce the number of calls to malloc() + +commit a285b2ce94f450c0dc076d2f6955aed8b110dcce +Author: René Cannaò +Date: Sun Jan 24 23:39:58 2016 +0000 + + Moving query digest table to std::unordered_map + + This is an attempt to track a possible memory leak or fragmentation + +commit 89c7fad16efc56a6d0c2a952dce0889454a57357 +Author: René Cannaò +Date: Sun Jan 24 23:08:39 2016 +0000 + + Fixed bug in accounting Server_Connections + + Server_Connections_connected and Server_Connections_created were inverted + +commit abe1993439afb6bf6e1fe377726f336f35eedeac +Author: René Cannaò +Date: Tue Jan 19 00:56:34 2016 +0000 + + Fix bug on commands on comments : bug #458 + +commit 4afebeb089ee13e6729e7f004e938e131a64469f +Author: René Cannaò +Date: Mon Jan 18 21:23:37 2016 +0000 + + Upper limit of 7000 chars to query_digest + +commit 4b95f47e5e3131b9101adc26c99b61ebd13a3179 +Author: René Cannaò +Date: Mon Jan 18 20:44:03 2016 +0000 + + Fixed bug in count of connection + +commit 8793a19eb3509f3eff4b84d99ed77b0726ffb270 (tag: v1.1.1-beta.3) +Author: René Cannaò +Date: Sat Jan 16 01:34:55 2016 +0000 + + Removed further code per #469 + +commit 81c12c7d8deb33209ea6cf9ee44ee6cd6970e3b2 +Author: René Cannaò +Date: Sat Jan 16 01:13:22 2016 +0000 + + Added note about #469 + +commit 31300e75d473e3dc23a62cb0133d11433633d118 +Author: René Cannaò +Date: Sat Jan 16 00:11:16 2016 +0000 + + Set default autocommit=1 + +commit b5792ad2cb293fcf7f67c9d05d3cffb12ac28ebb +Author: René Cannaò +Date: Fri Jan 15 20:23:33 2016 +0000 + + Disabling the smart handling of transactions #469 + + Moved some code from MySQL_Session:handler_special_queries() into two new functions: + - MySQL_Session::handler_CommitRollback() + - MySQL_Session::handler_SetAutocommit() + + These two new functions are called nowhere: de facto they are disabled + +commit 119e07b815f9aeb0d763c7274a26422c30b0714a +Merge: 613ad890 abef1557 +Author: René Cannaò +Date: Thu Jan 14 15:36:57 2016 +0000 + + Merge branch 'disMultiPlex' into v1.1.1 + +commit 613ad890cdd4d0f0b127c10e4cb4de634decdf3f +Merge: 84274d97 394788a4 +Author: René Cannaò +Date: Thu Jan 14 15:36:41 2016 +0000 + + Merge branch 'adminRO' into v1.1.1 + +commit abef155790fa6b4b289007d4691557d9bf2419a4 +Author: René Cannaò +Date: Thu Jan 14 14:59:49 2016 +0000 + + Prevent "Unknown database" to shun backends + + Issue #464 + Attempt to connect to a not existing schema caused the backend to be shunned. + This patch fix this issue. + + Closes #464 + +commit c720ab1596f9b254d934c687ef7e7f84a1f8be20 +Author: René Cannaò +Date: Thu Jan 14 14:41:59 2016 +0000 + + Minor typo for #465 + +commit e7412f9e8547d48edca201b664c96e3b009fb6ee +Author: René Cannaò +Date: Thu Jan 14 14:15:56 2016 +0000 + + Fixes typo for #465 + +commit c0a243e8e1cb4ebd7db0f034578bddb8a4d7dac5 +Author: René Cannaò +Date: Thu Jan 14 14:11:45 2016 +0000 + + Move datadir to /var/lib/proxysql + + Move datadir from /var/run/proxysql to /var/lib/proxysql + + Closes #465 + +commit 6c2b5d856ad9c249dd73e8f667c950ea48509118 +Author: René Cannaò +Date: Thu Jan 14 13:53:06 2016 +0000 + + Removed Makefile.BSD + +commit 896a98bf46bf7a22aa104886b0acc36c126d705f +Author: René Cannaò +Date: Thu Jan 14 13:19:17 2016 +0000 + + Removed some compiler warnings + +commit 224c8d05e456191aa5a92352decda4a973a6d243 +Author: René Cannaò +Date: Thu Jan 14 12:20:33 2016 +0000 + + More verbose output in case of error during query + + Closes #462 + +commit 59caf463264ab15011d8e7e6f19540d6a82aac26 +Author: René Cannaò +Date: Thu Jan 14 12:11:44 2016 +0000 + + Added variable mysql-multiplexing + + Related to issue #468 , primarily to work around bug https://mariadb.atlassian.net/browse/MDEV-8338 + +commit 394788a44e78f9b70b6d54f8d9f36041c128fbef +Author: René Cannaò +Date: Tue Jan 12 22:33:01 2016 +0000 + + Minor fix for #461 + + Applying 84274d9710f3eaa8e415b8a0208db55469f7fcbe to this branch + +commit 84274d9710f3eaa8e415b8a0208db55469f7fcbe (tag: v1.1.1-beta.2) +Author: René Cannaò +Date: Sun Jan 10 04:11:58 2016 +0000 + + Minor fix on #461 + +commit ae2f50bd32c4badc1134922d0ef690e053d02f5d +Merge: f4f0b289 ec48ff7c +Author: René Cannaò +Date: Sun Jan 10 03:45:00 2016 +0000 + + Merge branch 'fix461' into adminRO + +commit ec48ff7c9c64f5c735ef48405f69e00b6660de07 +Author: René Cannaò +Date: Sun Jan 10 03:44:10 2016 +0000 + + Fix regression on #461 + + 461 causes a severe memory corruption + +commit f4f0b2892e00c637be9b058e2a575824749b29d1 +Author: René Cannaò +Date: Sun Jan 10 01:02:07 2016 +0000 + + Disable multiplexing for connections to Admin #466 + +commit a7353d0c4710db664dd61ad677391834de24b246 +Author: René Cannaò +Date: Sun Jan 10 00:00:33 2016 +0000 + + Support Admin module as a MySQL backend #466 + + The follow states are disabled in Admin module is the backend: + - CHANGING_USER_SERVER + - CHANGING_SCHEMA + - CHANGING_CHARSET + - CHANGING_AUTOCOMMIT + - mysql-monitor_username is always added as a possible user : this allows MySQL_Monitor to monitor the backends + - admin-admin_credentials and admin-stats_credentials are always added as possible users + - mysql-monitor_username , admin-admin_credentials and stats-admin_credentials do not shows in mysql_users table (by design) + - the above users have a max_connections limit of 1000 (hardcoded) + +commit 34ca846630b1fcee036512f8a8525e1f987167f7 +Author: René Cannaò +Date: Sat Jan 9 14:41:48 2016 +0000 + + ProxySQL Admin read_only mode #463 + + Features added: + * added new global variable admin-read_only: it is possible to enable read_only changing this variable and running LOAD ADMIN VARIABLES TO RUNTIME + * admin interface now replies to SHOW GLOBAL VARIABLES LIKE 'read_only' + * added new command PROXYSQL READONLY to enable read only mode + * added new command PROXYSQL READWRITE to disable read only mode : this is the only way to disable read only mode while global_variables is not readable + + Note that this doesn't prevent the execution of commands LOAD and SAVE : these commands need to be used with caution + +commit c01fd98b172a2e5d41145bace1e6e6896d7bea58 +Author: René Cannaò +Date: Sat Jan 9 11:39:56 2016 +0000 + + Extended Makefile to support debugging binaries + +commit 6b1a449260cbcd40c8f49c207e28af628082559f +Author: René Cannaò +Date: Sat Jan 9 00:40:44 2016 +0000 + + Fix for bug #461 + + MySQL_Connection::~MySQL_Connection() now only attempts to send the QUIT command + The connection is closed no matter if the server is present or not + +commit 5917fece65d038e9ca532f8caafd8e1b2bdbc77a (tag: v1.1.1-beta.1) +Author: René Cannaò +Date: Fri Jan 8 03:17:09 2016 +0000 + + Should fix bug #459 + + Closes #459 + +commit 518cae6f1f3c5796c843e621788550022a402613 +Author: René Cannaò +Date: Thu Jan 7 18:01:19 2016 +0000 + + Fix issue #380 + +commit 34971602bbaa7513098cf6e58dd6baad5c45ea00 (tag: v1.1.1-beta) +Author: René Cannaò +Date: Wed Jan 6 18:10:09 2016 +0000 + + Fixed length of set autocommit + +commit 36ce91453202b26543632cb3a009934073ed4a6c +Author: René Cannaò +Date: Wed Jan 6 17:16:28 2016 +0000 + + Typo in autocommit_cnt + +commit 068685d95829859a35076dcd8377666cc22de807 +Author: René Cannaò +Date: Wed Jan 6 16:39:02 2016 +0000 + + Fixed version for Ubuntu14 + +commit 66495b5ded0d32e36db577f88c6a48a682236f93 +Author: René Cannaò +Date: Wed Jan 6 16:19:49 2016 +0000 + + Minor commit to build version 1.1.1 + + also modified init to change ulimit + +commit b90f2c705c89d86e94c883f5038bf8f4c0e40fd8 +Author: René Cannaò +Date: Wed Jan 6 16:04:49 2016 +0000 + + Minor commit to build packages for v1.1.1 + +commit 303d005ca9832e5384fa26dcd3c9bca77a4bcea8 +Author: René Cannaò +Date: Wed Jan 6 16:02:40 2016 +0000 + + SQLite3 is no skipped as source files + +commit f0a86be8b90a866499aef30ecde7d4295bbca233 +Author: René Cannaò +Date: Wed Jan 6 15:59:36 2016 +0000 + + Minor commit to build version v1.1.1 + +commit 6d61301d1cb13880710a99bcb4c558de5598c587 +Merge: bbf5f133 dd3b7e5a +Author: René Cannaò +Date: Wed Jan 6 15:30:39 2016 +0000 + + Merge branch 'MaintPoll' into v1.1.1 + +commit dd3b7e5a822ef8ed864a051c17f6a216880fc1f5 +Author: René Cannaò +Date: Wed Jan 6 15:07:09 2016 +0000 + + Removed any reference to MySQL_Session::pause + + the variable wasn't in used from long time + +commit 97b3f3dca47a506b1360a9c8d1a48a9f47699eba +Author: René Cannaò +Date: Wed Jan 6 14:13:23 2016 +0000 + + Improving performance in MySQL_Thread main loop + + Sessions are checked for inactivity once every 0.2s . Hardcoded for now + +commit bbf5f133a1d74dd7eaf66ce2b01ab9eabb6f3afc +Merge: ba7993ee 49f0cf78 +Author: Andrei-Adnan Ismail +Date: Wed Jan 6 09:15:19 2016 +0200 + + Merge pull request #456 from aismail/454-scenarios-py-tool + + 454 scenarios py tool + +commit 49f0cf78b16a44f853990a3d683f5c0c1295c9d4 +Author: Andrei-Adnan Ismail +Date: Wed Jan 6 09:13:15 2016 +0200 + + #454 Add testing command to scenarios tool. + +commit f8a97b8de3346a4303078b6c29fb8fe8dcdbb238 +Merge: a5df0744 5446ffaf +Author: Andrei-Adnan Ismail +Date: Mon Jan 4 17:00:05 2016 +0200 + + Merge branch 'master' into 454-scenarios-py-tool + +commit a5df0744420dd428f79eee3972ba60543cd1a69d +Author: Andrei-Adnan Ismail +Date: Mon Jan 4 14:22:52 2016 +0200 + + #454 Add command to run nose tests + +commit e8b289aaa3db1924142a4cfa07f0102af87d542f +Author: Andrei-Adnan Ismail +Date: Mon Jan 4 13:42:35 2016 +0200 + + #454 Add start & stop scenario commands + +commit ba7993ee693c10bfb680e03bc57b195f808d1fd6 +Author: René Cannaò +Date: Mon Jan 4 02:07:28 2016 +0000 + + Removed any reference to protobuf + +commit 7830689dd97035629adf41ab789db3e73301fa54 +Author: René Cannaò +Date: Mon Jan 4 01:57:14 2016 +0000 + + New event logger + + Implemented new event logger that will replace protobuf + It uses the same encoding of mysql protocol + + Added also a reader in ./tools/ + +commit ab3b737df14341d351b9e86aecd9468163223e41 +Author: René Cannaò +Date: Sun Jan 3 14:15:10 2016 +0000 + + Extending global mysql status + + In order to understand the performance improvement related to how ProxySQL filters autocommit/commit/rollback, the follows variables were added in GLOBAL MYSQL STATUS + - Com_autocommit + - Com_autocommit_filtered + - Com_commit + - Com_commit_filtered + - Com_rollback + - Com_rollback_filtered + +commit f015cb71760e24affa9a8c4caa5fe497e0b5e2cb +Author: René Cannaò +Date: Sun Jan 3 13:04:48 2016 +0000 + + Added support for ROLLBACK in libinjection + +commit 439087dc4575493f0743762eed78261bb855e10d +Author: René Cannaò +Date: Sun Jan 3 12:47:19 2016 +0000 + + Improvements on COMMIT and ROLLBACK + + COMMITs and ROLLBACKs are now forwarded to backend only of a transaction is active + +commit b519c94719bf2e10f902342b43008328036300c3 +Author: René Cannaò +Date: Sun Jan 3 08:34:10 2016 +0000 + + Signal handler installed on daemon code + +commit 1188c7ebbfaef889532332552759a9ce75b1e2a7 +Merge: f98eecbf 6bcec542 +Author: René Cannaò +Date: Sun Jan 3 08:32:33 2016 +0000 + + Merge branch 'sqlite392' into v1.1.1 + +commit 6bcec542e750d47d2f8588c2c19eef2d82bca19e +Author: René Cannaò +Date: Sun Jan 3 08:31:53 2016 +0000 + + Added function install_signal_handler() + +commit 6b057435aed6c1b00878565f207f895b0fa48994 +Author: René Cannaò +Date: Sat Jan 2 22:14:58 2016 +0000 + + Upgrade to Sqlite 3.9.2 + + - upgrade from 3.8.4 to 3.9.2 + - moved back into deps directory + +commit f98eecbf4b3c50e82e26d962623e96f3285ca28a +Merge: ccef9a56 57b45120 +Author: René Cannaò +Date: Sat Jan 2 21:57:41 2016 +0000 + + Merge branch 'logger' into v1.1.1 + +commit 57b45120402f66640f75a4a2027448fd688699d1 +Author: René Cannaò +Date: Sat Jan 2 21:56:36 2016 +0000 + + try to generate a core dump signaling again the thread + +commit ccef9a56704fb2e254d802370ea0cd5dc21c1396 +Merge: 29edfb2e 832da9e5 +Author: René Cannaò +Date: Sat Jan 2 21:43:31 2016 +0000 + + Merge branch 'issue446' into v1.1.1 + +commit 29edfb2e3c780c42ed277f181c9aea094cc0fb6f +Merge: 5446ffaf 87dbb9be +Author: René Cannaò +Date: Sat Jan 2 21:43:18 2016 +0000 + + Merge branch 'QC2' into v1.1.1 + +commit 396332edf1a75e148a5f86676b1f7bc78e0ab7e1 +Author: René Cannaò +Date: Sat Jan 2 18:42:19 2016 +0000 + + Moving GloVars.start_time to the daemon code + + Instead of the parent code + +commit a63b7cf951776bf7d83c970110678685270f505b +Author: René Cannaò +Date: Sat Jan 2 18:27:34 2016 +0000 + + MySQL_Logger configuration + + - added global variable eventslog_filename + - added global variable eventslog_filesize + +commit 7a4a2092a58ed1d4dbdd1c7d271518beb84be447 +Author: René Cannaò +Date: Fri Jan 1 10:09:28 2016 +0000 + + MySQL_Logger implementation + + - Re-enabled MySQL_Logger + - handling special case in which mysql-commands_stats and mysql-query_digests are disabled + - specifies the length of the query + - Query_Info is always initialized + +commit 832da9e5b864546a7c828d3a4406a23f58c05546 +Author: René Cannaò +Date: Wed Dec 30 02:07:48 2015 +0000 + + Fixed table definition for issue #446 + + Fixed PK for stats_mysql_query_digest and stats_mysql_query_digest_reset + +commit e43c7899c485eb62431b68d587cde15dcfd631a3 +Author: René Cannaò +Date: Wed Dec 30 02:01:14 2015 +0000 + + Track hostgroup in stats_mysql_query_digest #446 + +commit 87dbb9be4c5938a54f8af94d924f7165317d0ec8 +Author: René Cannaò +Date: Wed Dec 30 00:36:01 2015 +0000 + + Fixed small typo + +commit 1744a78d4450eaea9706ebfaccd505a4ac11f2b8 +Author: Andrei-Adnan Ismail +Date: Mon Dec 28 08:42:10 2015 +0200 + + #454 First draft of scenarios tool. + +commit 3f8b12e6baeb09fdc7030cc6ac1f72b76efafacb +Author: René Cannaò +Date: Sun Dec 27 23:31:59 2015 +0000 + + Complete #452 + +commit 4c937fa1bf46839e5dbce38654c2de0c74d3dba5 +Author: René Cannaò +Date: Sun Dec 27 23:27:50 2015 +0000 + + Query Cache timeout in milliseconds + + Issue #452 + Closes #452 + +commit 5a54234364932081ac6e8c03adf117ef31ef8d3b +Author: René Cannaò +Date: Sun Dec 27 16:30:01 2015 +0000 + + Removed reference to query_SQL + +commit 5eff88f24f2bbc3a60a2f62ffe37b3839b7b46a6 +Author: René Cannaò +Date: Sun Dec 27 03:19:53 2015 +0000 + + Changes on QC + + Summary: + removed KV_Btree_Array.cpp + removed query_SQL from MySQL_Data_Stream + added some documentation for QC_entry_t + Query_Cache::get() and Query_Cache::set() now requires also the length of the key + Query_Cache::get() and Query_Cache::set() now process hk (the hash key) using the length of the key + + Query Cache enhancement on user/schema + + Query Cache now supports distinct entries based on user/schema . + This is achieved passing to Query_Cache::set() and Query_Cache::get() the hash that identifies user and schema + + Test Plan: None + + Reviewers: rene + + Differential Revision: http://phab.sysown.com/D3 + +commit 5446ffaf7ac81735f40ff66efd2c949d3836ed85 +Merge: 3098a940 57a070f4 +Author: René Cannaò +Date: Sun Dec 27 16:20:48 2015 +0100 + + Merge pull request #451 from sysown/issue445 + + CLIENT_FOUND_ROWS and CLIENT_COMPRESS + +commit 3098a940577f5858030412280dc92cdb8dbe012a +Merge: d22bf017 150e0347 +Author: René Cannaò +Date: Sun Dec 27 16:20:28 2015 +0100 + + Merge pull request #448 from renecannao/freebsd_2 + + Compiling improvements : Linux/FreeBSD , gcc/clang + +commit 60ddf5d8e4f72d2c0228ccadae16366fd86e730d +Author: René Cannaò +Date: Sun Dec 27 03:00:12 2015 +0000 + + Changes on QC + + removed KV_Btree_Array.cpp + removed query_SQL from MySQL_Data_Stream + added some documentation for QC_entry_t + Query_Cache::get() and Query_Cache::set() now requires also the length of the key + Query_Cache::get() and Query_Cache::set() now process hk (the hash key) using the length of the key + +commit d22bf017377e15a5096cb57c5a2bba498cbf5f57 (tag: v1.1.0) +Author: René Cannaò +Date: Wed Dec 23 02:52:20 2015 +0000 + + ctl files for Debian + +commit 5662c0ad05a675fd6569b5ab59063140b4c16474 +Author: René Cannaò +Date: Wed Dec 23 02:45:46 2015 +0000 + + Preparing release 1.1.0 + + Removed support for Ubuntu 12 + Added support for Debian 7 + Added support for Debian 8 + Upgraded to version 1.1.0 + +commit f85ca85b4e9ec727eae258eb3918858d362dcd1c (tag: v1.1.0-rc) +Author: René Cannaò +Date: Tue Dec 22 17:37:49 2015 +0000 + + Fix bug #449 + + Closes 449 + +commit 57a070f441b5b989368e46ce4c36bec7591b0367 +Author: René Cannaò +Date: Mon Dec 21 14:08:13 2015 +0000 + + Removed more deprecated code + + And removed few compiler warnings + +commit 95d2671a4e4eef95fe0193f46e1b28f1b9e982db +Author: René Cannaò +Date: Mon Dec 21 13:43:07 2015 +0000 + + Removed a lot of deprecated code + +commit 87845f7e2b975c3a1024801ac3552cc721187e02 +Author: René Cannaò +Date: Mon Dec 21 13:17:37 2015 +0000 + + Implement compression on backend (#363) + + For compatibility reason, compression flag on mysql_servers table is not changed: + values greater than 1 are accepted, but handled as 1 + + Closes #363 + +commit 15f6e22ee5ac3f5c66a23a12e741386a46a77f3e +Author: René Cannaò +Date: Mon Dec 21 11:18:41 2015 +0000 + + Add variable client_found_rows (#445) + + Close #445 + +commit 150e0347e6107ade2a4f5381a4650a4b01859c48 +Author: René Cannaò +Date: Mon Dec 21 01:08:29 2015 +0000 + + Updating some compiling examples + +commit 62eaf5f22d11976f5f31058c0d6f7a1fb1b231c2 +Author: René Cannaò +Date: Sun Dec 20 21:36:56 2015 +0000 + + Change inker flag based on OS : Linux or FreeBSD + +commit 4fa1e91e9598ffd4e63829b785102efa778b93a1 +Author: René Cannaò +Date: Sun Dec 20 16:22:14 2015 +0000 + + Allow compiling with clang + + Added C++ headers file in cpp.h + bug fix in xchg_32 : gcc ignores it, clang doesn't + Replaced -rdynamic with --export-dynamic + Removed the override of env variables CC , CXX , CFLAGS , CPPFLAGS and LIBS + Fixed definition in MySQL_Monitor.cpp : gcc ignores it, clang doesn't + + Added a compile example text file + +commit 50844fbde1bca8edee639a0b2bac1f20f88870a5 +Merge: 3bdbdadc a214b734 +Author: René Cannaò +Date: Sat Dec 19 02:09:15 2015 +0100 + + Merge pull request #447 from renecannao/master + + Drafting MySQL_Logger and minor bug fixes + +commit 3bdbdadc4441d8c147ecf6eca4e0f12b90c2e234 +Merge: 2163d17a bbdf5436 +Author: René Cannaò +Date: Sat Dec 19 02:06:56 2015 +0100 + + Merge pull request #439 from renecannao/freebsd + + Compile on FreeBSD + +commit a214b7340f65455d6243bb8bb96e1e67b9b350f2 +Author: René Cannaò +Date: Sat Dec 19 01:04:33 2015 +0000 + + Adding CLIENT_FOUND_ROWS as default flag ( #445 ) + +commit 8ee1793a71a8747ddd9ca810546b7c5fdd5e1c68 +Author: René Cannaò +Date: Wed Dec 16 01:52:04 2015 +0000 + + Incorrect message encoding in generate_pkt_OK() + +commit 043559eb0ef2794655d7e05923e77b77a9967912 +Author: René Cannaò +Date: Wed Dec 16 00:07:24 2015 +0000 + + Same previous commit + +commit f259b1fe99fd246a97578c4bd8ffa11b17f7130e +Author: René Cannaò +Date: Wed Dec 16 00:05:36 2015 +0000 + + last_insert_id musth be uint64_t + + In MySQL_Protocol::generate_pkt_OK + converting last_insert_id from unsigned int to utin64_t + +commit 9331532796ca346cadffed9eb70a928c66491f18 +Author: René Cannaò +Date: Tue Dec 15 23:44:19 2015 +0000 + + Minor bug in handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_INIT_DB + +commit 74af2d17667e7d0031f2b96beffc4cc47aa92d57 +Author: René Cannaò +Date: Tue Dec 1 20:34:32 2015 +0000 + + Removing comments + +commit eb1f1c7ee207568d504829288f567c5fba2ea672 +Author: René Cannaò +Date: Tue Dec 1 20:33:47 2015 +0000 + + Fix bug #442 + + Closes #442 + +commit 9863de3a93e72daa4b2cf4b76e189622a8dc2de7 +Author: René Cannaò +Date: Tue Dec 1 20:32:32 2015 +0000 + + Minor fix in Makefile + +commit 2163d17a4e2ff57c296b827988648ccebf0af2dd +Merge: 7c5a33dc 949db7be +Author: Andrei-Adnan Ismail +Date: Tue Dec 1 10:15:46 2015 +0200 + + Merge pull request #441 from aismail/master + + Small improvements of Python testing infrastructure + +commit 949db7be31e8040bd018c8208cf1b065f9daff6e +Author: Andrei-Adnan Ismail +Date: Tue Dec 1 10:08:36 2015 +0200 + + Add more verbose logging for tests + +commit 7434bdc8c9fd41d5eb8014bddda041ce0d40c3b1 +Author: Andrei-Adnan Ismail +Date: Tue Dec 1 10:08:19 2015 +0200 + + Add script for building images for the Python test suite + +commit ddbee060c5b1d1ace383114330d02778f63bb2dc +Merge: bbdf5436 d46e8a22 +Author: René Cannaò +Date: Mon Nov 23 23:46:34 2015 +0000 + + Merge branch 'various' + +commit bbdf54366c9d69aaa4784571ae4d55c3a58850c5 +Author: René Cannaò +Date: Mon Nov 16 10:41:56 2015 +0000 + + Further changed for FreeBSD #354 + + - possible bug in jemalloc when compiled with -O3 (default). Changed to -O2 + - static linking of libstdc++ + +commit 9396d52b77363d86094ac75672f39bf24392a18e +Author: René Cannaò +Date: Mon Nov 16 10:22:18 2015 +0000 + + Always compile jemalloc with cc + +commit 540d2bb577be0ca42445b4e7470bf00d80dd0760 +Author: René Cannaò +Date: Mon Nov 16 08:44:22 2015 +0000 + + Further fixes on Makefile + +commit 1f376f7a64b75654822e500a39ff9ea80837b702 +Author: René Cannaò +Date: Mon Nov 16 08:23:18 2015 +0000 + + More fixes on Makefile + +commit 6a7d08336a7379aaeab599bae5df1bbd216131fd +Author: René Cannaò +Date: Mon Nov 16 08:02:25 2015 +0000 + + Fix on Makefile + +commit d46e8a22539963952f0f95ff5c58aec5b7427752 +Author: René Cannaò +Date: Mon Nov 16 07:41:25 2015 +0000 + + Minor change in .gitignore + +commit 2a74cc3c46d7961a64a3312cd48a4b253bdbf0f8 +Author: René Cannaò +Date: Mon Nov 16 07:40:03 2015 +0000 + + Adding support for FreeBSD #354 + +commit 35d925ecf2f08423a025b645544090adc2569807 +Author: René Cannaò +Date: Wed Nov 11 03:09:39 2015 +0000 + + Query digest is performed on rewritten query + + In case Query_Processor rewrites a query, query digest is run against the new query + +commit f9e5153d49cd5e14c524d6e407b0258d19f0f2d3 +Author: René Cannaò +Date: Wed Nov 11 03:03:02 2015 +0000 + + Removing useless code + +commit 3449ab0f598db7bd537f1065983a0594927122d8 +Author: René Cannaò +Date: Wed Nov 11 03:01:26 2015 +0000 + + Track and handle autocommit (#438) + + - implement new state CHANGING_AUTOCOMMIT + - use mysql_autocommit_start() and mysql_autocommit_end() + +commit c3e6fda7a47ecb94e97d4e191cdbd0f10fec7924 +Author: René Cannaò +Date: Wed Nov 11 00:17:50 2015 +0000 + + Track and handle autocommit (#438) + + - MySQL_Session::handler_special_queries() processes set autocommit from clients + - to the client is always returned the autocommit value set in the session + - set autocommit is either just acknowledged to the client, or forwarded to the backend based on the status of transactions + - unless there are query rules to handle SET AUTOCOMMIT , the statement is forwarded to the first found active transaction: this assumes there is just one transactions. Although multiple transactions are possible, handling multiple transactions at the same time seems a dangerous adventure + +commit b420501d85b7e4a505e0c9864b0ca28797b8394e +Author: René Cannaò +Date: Tue Nov 10 18:27:54 2015 +0000 + + Temporary disable MySQL_Logger #434 + +commit 5ad97666f2ceed4205ba59f6006ca0b274a9a908 +Author: René Cannaò +Date: Tue Nov 10 18:16:00 2015 +0000 + + Improvement on MySQL_Logger + + added flush_log_unlocked() + hardcoded max size for testing + +commit 337c22aeabd26e5d7a2cee99e856f548903c5148 +Author: René Cannaò +Date: Tue Nov 10 07:09:47 2015 +0000 + + PROXYSQL FLUSH LOGS now flushes also mysql logs (#434) + +commit 535030d5460c6943854bbf80c321ed7946553628 +Author: René Cannaò +Date: Tue Nov 10 06:54:30 2015 +0000 + + MySQL_Logger starts logging using protobuf + +commit dca22d6c27a82557f31edbe06ae5894f3a44d860 +Author: René Cannaò +Date: Tue Nov 10 04:34:18 2015 +0000 + + Adding protobuf as dependency + +commit dbb9c111bbba0de52bf39c363e5d1b67751c253a +Author: René Cannaò +Date: Tue Nov 10 04:20:52 2015 +0000 + + Extending and testing MySQL_Logger() + +commit 125cfa2c3b23d0846d7bdcb547b05ead375e6640 +Author: René Cannaò +Date: Tue Nov 10 02:29:37 2015 +0000 + + First commit with MySQL_Logger + +commit a60912fac56ee0169062ec73a8c74b084ea2334d +Author: René Cannaò +Date: Mon Nov 9 23:16:28 2015 +0000 + + Fixed datatypes for #428 + +commit 6b05a69e1bed3c6f003d212267d130e181141a43 +Author: René Cannaò +Date: Mon Nov 9 23:11:50 2015 +0000 + + Improving query statistics/information + + Added MySQL_Session::RequestEnd() to wrap CurrentQuery.end() and other state changes : this to minimize bugs + MySQL_Session::RequestEnd() sets query end time instead of Query_Info::end() + MySQL_Session::RequestEnd() is called also in case of special queries handled by handler_special_queries() + +commit 7c5a33dc8e31c9f713b345a0848f0600a5c0071b +Merge: e4a16817 fd129684 +Author: René Cannaò +Date: Mon Nov 9 22:28:47 2015 +0000 + + Merge branch 'master' of https://github.com/sysown/proxysql + +commit e4a168171bed30b9630499a924d0a58208df6856 +Author: René Cannaò +Date: Mon Nov 9 22:04:31 2015 +0000 + + Removing commented code + +commit fd129684a328af98287858034994e82f6e25dd3e +Merge: 726a1988 1bdfdd44 +Author: Andrei-Adnan Ismail +Date: Mon Nov 9 11:29:36 2015 +0200 + + Merge pull request #429 from aismail/428-extra-server-metrics-on-global-stats + + 428 extra server metrics on global stats + +commit 1bdfdd448d8156a61598fdf5249657302142ecf8 +Author: Andrei-Adnan Ismail +Date: Mon Nov 9 11:27:53 2015 +0200 + + #428 Delete merge conflict markers + +commit b6f0b2710cfecdb928922e6257b99537ec16e8a5 +Merge: 12ba711d 726a1988 +Author: Andrei-Adnan Ismail +Date: Mon Nov 9 11:26:55 2015 +0200 + + Merge with master #428 + +commit 726a1988223069437f19b84df509c8812945adac +Author: René Cannaò +Date: Mon Nov 9 08:16:13 2015 +0000 + + Improving variables name (#420) + + Renamed ping_interval_server to ping_interval_server_msec + +commit a9dd642a4710c60fbb205d332ecdf593a38d40b4 +Author: René Cannaò +Date: Mon Nov 9 08:04:39 2015 +0000 + + Improving variables name (#420) + + Renamed mysql-shun_recovery_time to mysql-shun_recovery_time_sec + +commit 756aaa4a12d35aefa6daf3a882d28632eadad36c +Author: René Cannaò +Date: Mon Nov 9 07:21:58 2015 +0000 + + Reverting patch for RE2 related to mutexes + + It seems mutexes protect DFA + +commit 3ce2c25292f421a23e922d76e337500870189fd1 +Author: René Cannaò +Date: Mon Nov 9 07:06:54 2015 +0000 + + More verbose output in case of broken connections + +commit 52f0d3fbe1c01d8b140a70c09f4ffc58c371aa6b +Author: René Cannaò +Date: Mon Nov 9 02:29:10 2015 +0000 + + Fixing memory overcommitting , see #431 + + Also some code clean up + +commit 27ad3e6b6b0c0c22cd7315d1bf299d92f500c426 +Author: René Cannaò +Date: Sun Nov 8 05:08:53 2015 +0000 + + Improved handling of idle connections + + Idle connections are dropped more aggressively + +commit ff3d2ac2d3a352dab5a570356ed386dceae2dffc +Author: René Cannaò +Date: Sun Nov 8 01:35:12 2015 +0000 + + Minor bug fixes + + - Handling Query execution was interrupted + - query timeout was incorrectly set to connect timeout + +commit 12ba711d8d7f2d33ce5fd6d88a7a6bede3d5ae01 +Author: Andrei-Adnan Ismail +Date: Fri Nov 6 11:56:41 2015 +0200 + + #428 Fix incrementing/decrementing patterns of the server global metrics + +commit 42abc51d76262608c3f02edf047c15e6175a9bb2 +Merge: 4e1b589a 502f7c08 +Author: René Cannaò +Date: Fri Nov 6 09:47:24 2015 +0100 + + Merge pull request #427 from AMDmi3/fix-make-invocations + + Invoke sub-makes as ${MAKE} + +commit 4e1b589a04bfcd59db83c94c599b6d1a0202e9e4 +Author: René Cannaò +Date: Fri Nov 6 08:20:30 2015 +0000 + + Support select USER() #430 + +commit c4ff716e69efc547c88783a14042706150f3f696 +Author: Andrei-Adnan Ismail +Date: Fri Nov 6 10:02:20 2015 +0200 + + #428 Increment global server-related metrics + +commit f8950c75db3848c5a8ecdc96cc7d6cb8310fabc1 +Author: Andrei-Adnan Ismail +Date: Fri Nov 6 10:02:04 2015 +0200 + + #428 Display new server metrics in SELECT * FROM stats_mysql_global query + +commit ce8fd30fc289a1e9699b00c55f7a0004a6aa6bfb +Author: Andrei-Adnan Ismail +Date: Fri Nov 6 10:01:34 2015 +0200 + + #428 Add new variables in MyHGM->status to track server metrics + +commit 3ebad07217e680924be80890a1d1613e87b51318 +Merge: 1180e60a b511ce6b +Author: René Cannaò +Date: Fri Nov 6 08:25:26 2015 +0100 + + Merge pull request #426 from aismail/325-proxysql-installation-usage + + 325 proxysql installation & usage docs + +commit 502f7c088412c8be34e4b6ce553fdd6c4c0d974e +Author: Dmitry Marakasov +Date: Fri Nov 6 00:06:46 2015 +0300 + + Invoke sub-makes via ${MAKE} + + - This fixes the case where make is not named `make', e.g. `gmake' + - This handles jobs correctly + +commit b511ce6b9d7b028e2bcf2994dd1a3acc5219b27a +Author: Andrei-Adnan Ismail +Date: Wed Nov 4 18:07:21 2015 +0200 + + #325 Improve formatting of example rows + +commit bc690e39c7ef511545c425a60fa300f7df7d8a3f +Author: Andrei-Adnan Ismail +Date: Wed Nov 4 18:01:27 2015 +0200 + + #325 Initial draft for configuring ProxySQL + +commit 6e6afc161cf1736af7ccdc6365b726cc670a9df0 +Author: Andrei-Adnan Ismail +Date: Wed Nov 4 18:01:07 2015 +0200 + + #325 Initial draft for operating ProxySQL + +commit beb1048605a9a0c28a62612ee31ebba31c81718b +Author: Andrei-Adnan Ismail +Date: Wed Nov 4 17:59:17 2015 +0200 + + #325 Add documentation on how to install ProxySQL + + From pre-packaged versions and from source. + +commit 1180e60a8c85653a1b3c0c8bee006b1839e8cda3 +Merge: 9cb0f3ec f4bde778 +Author: Andrei-Adnan Ismail +Date: Wed Nov 4 12:59:07 2015 +0200 + + Merge pull request #401 from aismail/388-document-global-variables + + 388 document global variables + +commit 9cb0f3eca0bce146bcd5a74074bfcd688b801843 +Author: René Cannaò +Date: Tue Nov 3 06:31:28 2015 +0000 + + Improving packaging time for ubuntu14 #423 + +commit a8af17899868aef26cf399e2885f935fb25c6480 +Author: René Cannaò +Date: Tue Nov 3 02:26:20 2015 +0000 + + Improved packaging time for Ubuntu14 #423 + +commit 0e1db43273b23b39524f3c1b1ba7517405710138 +Author: René Cannaò +Date: Tue Nov 3 01:52:20 2015 +0000 + + More on bug #417 + +commit edb1754b5e61df55ee4529be63428636a1bab425 +Author: René Cannaò +Date: Tue Nov 3 01:51:17 2015 +0000 + + Drafing a new testing environment + +commit a884e2d0003d686a864fcee2b020bb71a1e961ff +Author: René Cannaò +Date: Sat Oct 31 08:24:23 2015 +0000 + + Build fixes + +commit 5ef8de3eff7b2bf73e68a8eebc72e403437ac4c9 +Merge: 2ab0ce82 0e303f73 +Author: René Cannaò +Date: Sat Oct 31 08:23:03 2015 +0100 + + Merge pull request #421 from sysown/1.0 + + 1.0 + +commit 0e303f7376f1e801ecedb4751b2176353f2837be (origin/1.0) +Merge: d40e9bbe fb2c46e3 +Author: René Cannaò +Date: Sat Oct 31 07:17:35 2015 +0000 + + Merge branch '1.0' of https://github.com/sysown/proxysql-0.2 into 1.0 + +commit d40e9bbe266498e9b60214b872481b029aea90eb +Merge: a00b927c 2ab0ce82 +Author: René Cannaò +Date: Sat Oct 31 07:14:03 2015 +0000 + + Merge branch 'renecannao-master' into 1.0 + +commit fb2c46e33beba4d2d7a5c125121c37a041d483de +Merge: cf88e857 9fbeddd2 +Author: Andrei-Adnan Ismail +Date: Fri Oct 30 16:29:32 2015 +0200 + + Merge pull request #419 from aismail/395-automated-testing-of-proxysql-awareness-of-simple-replication-topologies + + 395 automated testing of proxysql awareness of simple replication topologies + +commit 9fbeddd2a17a5e8b1722a234b5b24df2ec60bbe1 +Author: Andrei-Adnan Ismail +Date: Fri Oct 30 14:50:31 2015 +0200 + + #395 Simplify test by removing dependency on dnsdock + +commit eddd807dd068a564c3df0e0be83fe201954ad10a +Author: Andrei-Adnan Ismail +Date: Fri Oct 30 14:37:46 2015 +0200 + + #395 Add assertions for which hostgroup each host belongs to after slave promotion to master + +commit dfff579a68a204489294f5aba75852fac69cc14a +Author: Andrei-Adnan Ismail +Date: Fri Oct 30 13:14:50 2015 +0200 + + #395 Move main test routines to the top of the file + + .. for improved readability + +commit f27e375c54b0573c6bc5ed81e5b60264d7cae111 +Author: Andrei-Adnan Ismail +Date: Fri Oct 30 12:45:01 2015 +0200 + + #395 Add draft for test that promotes slave to master and checks whether ProxySQL detects the change + +commit 9f764358bf34ae27139e3b231b48921432b76eb6 +Author: Andrei-Adnan Ismail +Date: Fri Oct 30 12:44:07 2015 +0200 + + #395 Add API for docker inspect in base test class + +commit ef7224afc43348dc6fe3cb56cd08b183c91faa87 +Author: Andrei-Adnan Ismail +Date: Fri Oct 30 12:43:53 2015 +0200 + + #395 Allow master server to connect back to first slave when it gets promoted to master by using a DNS solution + + The other options were: + - using docker ambassador (didn't work, I tried a couple of options for + that) + - use multiple servers within the same container + +commit ba318444371b7a24dca637fca433bda3e406f060 +Author: Andrei-Adnan Ismail +Date: Thu Oct 29 12:13:07 2015 +0200 + + #395 First working test: an INSERT done via ProxySQL to the master should be visible in the slaves + +commit 3310863e43f5353ff70786d407c3447deb081b05 +Author: Andrei-Adnan Ismail +Date: Thu Oct 29 12:04:29 2015 +0200 + + #395 Accomodate MySQL instances that have no associated dump + +commit 9313eabcdb24ee76e3d5232a9131487745c8a1b0 +Author: Andrei-Adnan Ismail +Date: Thu Oct 29 10:49:52 2015 +0200 + + #395 Slaves are using empty MySQL server, master is using the vanilla one with a simple dump. + +commit a93bf66632302f0dd82d7f919437b7c725d93bb2 +Author: Andrei-Adnan Ismail +Date: Thu Oct 29 10:29:37 2015 +0200 + + #395 Add boilerplate code for starting the replication + +commit 87edffe7638576a9a11ab11497da90a046102409 +Author: Andrei-Adnan Ismail +Date: Thu Oct 29 10:29:16 2015 +0200 + + #395 Expose some APIs from docker_fleet more easily to ProxySQL tests + +commit 802888476b639fe0cae8d0e200153cf42bbc8cda +Author: Andrei-Adnan Ismail +Date: Thu Oct 29 10:28:49 2015 +0200 + + #395 Add API for running a query against a MySQL container only given its container ID. + +commit 4f464288a8cd1e5eb8a4d56b9c5612dda4ce691f +Author: Andrei-Adnan Ismail +Date: Thu Oct 29 10:28:15 2015 +0200 + + #395 Make _docker_inspect and _get_environment_variables_from_container APIs public + +commit 03272dd2d5c44d711d1c89fc19288574350c849d +Author: Andrei-Adnan Ismail +Date: Thu Oct 29 10:27:38 2015 +0200 + + #395 Don't foget to copy the contents of the folder containing the docker-compose.yml template + + Otherwise, the real resulting docker-compose.yml file will not have + access to the files it needs. + +commit 026f771bdd36da5c6f59084450d997e187356626 +Author: Andrei-Adnan Ismail +Date: Thu Oct 29 10:26:54 2015 +0200 + + #395 Added separate configuration file for each MySQL server involved in the replication scenario + + There was no simpler way to set the server_ids. Will investigate a + cleaner solution in the future. However, what I like about this one is + the flexibility that it allows. + +commit ce7ece3155c46e68e0c896468a548894ca3faabb +Author: Andrei-Adnan Ismail +Date: Mon Oct 26 11:10:13 2015 +0200 + + #395 Improve filtering of scenarios + +commit aa2be569e19e83529403c23b59bec5fa41b8addd +Author: Andrei-Adnan Ismail +Date: Mon Oct 26 11:09:38 2015 +0200 + + #395 Add scenario with 1 proxy and 4 backend servers + +commit 0f8f5d61d740affd5bb7f4dabd6ddfbafea0de78 +Author: Andrei-Adnan Ismail +Date: Mon Oct 26 11:09:17 2015 +0200 + + #395 Add docker container for MySQL that is replication-ready + +commit 2ab0ce82bf3458455e41426b4cc99d954dd64671 +Author: René Cannaò +Date: Sun Oct 25 23:52:51 2015 +0000 + + Fix bug #417 + + Closes #417 + Closes #418 + +commit 0449d8f38ee5e3e8b3fa07d67bfe1028770ed6e1 +Author: René Cannaò +Date: Sun Oct 25 23:05:08 2015 +0000 + + Fixing typos + +commit 43656f781e1bb7fa4f13c55d1a37cd3f8a9b0b48 +Author: René Cannaò +Date: Sun Oct 25 23:04:29 2015 +0000 + + Query filtering #418 + + Minor fixes + +commit cf88e857b3740164cd1c1eee9caead529eb59ad4 +Merge: a00b927c 79d1a5af +Author: Andrei-Adnan Ismail +Date: Wed Oct 21 14:05:58 2015 +0300 + + Merge pull request #413 from aismail/410-run-tests-on-multiple-os + + 410 run tests on multiple os + +commit 79d1a5afcf92b16fd53ed69d2ffc54267ef63a54 +Author: Andrei-Adnan Ismail +Date: Wed Oct 21 13:59:39 2015 +0300 + + #410 Fixing the way the ProxySQL container id is retrieved + + Now the APIs work only with container IDs instead with objects + containing the meta-data of the containers. + +commit b19e6be5e7e383d3d62d06a835c8c5af63e13139 +Author: Andrei-Adnan Ismail +Date: Wed Oct 21 13:59:11 2015 +0300 + + #410 Disabling config file parsing test + + Because it needs some extra capabilities in the testing infrastructure + (eg filtering out some scenarios, and running it only on those). + +commit cb86e08a6dfd9bfb1d829708a1350cde2c08e7ae +Author: Andrei-Adnan Ismail +Date: Wed Oct 21 13:58:39 2015 +0300 + + #410 Migrating tests to new multiple-OS format + +commit 8aa060ac11b46fba566cd4d8dfc5f9d0d4acab5e +Author: Andrei-Adnan Ismail +Date: Wed Oct 21 13:17:38 2015 +0300 + + #410 Stop using self.assert_raises. Not always available + + I don't know how nosetests messes up introspection, but I don't want to + debug it myself :) + +commit 37af5896264a6cecd8e0af4ede60767c10f01f5a +Author: Andrei-Adnan Ismail +Date: Wed Oct 21 12:44:38 2015 +0300 + + #410 Stop using docker-py and start using docker command line tools to get information on images/containers + + docker-py was too problematic at this point + +commit b7764b6e26f4a8d236c9c189d6579a5444e191be +Author: Andrei-Adnan Ismail +Date: Wed Oct 21 12:43:20 2015 +0300 + + #410 Upgrade docker-related requirements to the latest version + +commit 92257a10116ab8d28c1f80ba488ae37ee9f65360 +Author: Andrei-Adnan Ismail +Date: Wed Oct 21 12:43:06 2015 +0300 + + #410 Gave up on using nose-parameterized for now + + The syntax was simpler, but the technical solution was much more complex + +commit 307a9ba17fa9964ce35d31e1c7b7960f4ca0d395 +Author: Andrei-Adnan Ismail +Date: Wed Oct 21 12:42:39 2015 +0300 + + #410 We can finally add hostgroups as a meta-data instead of parsing it from the container name + +commit 4fe110d112d3fb948f9ac93d191fcbcd048c7704 +Author: Andrei-Adnan Ismail +Date: Tue Oct 20 16:46:45 2015 +0300 + + #410 Add hardcoded labels because of docker-compose overwriting the LABEL statements in the Dockerfile(s) + +commit ffeee00b68ee6c698c2f3b49260f76355e3f4cfd +Author: Andrei-Adnan Ismail +Date: Mon Oct 19 15:21:38 2015 +0300 + + #410 Running authentication tests against all the available scenarios + +commit 711270938cb0e04703bf9d9f87a1f601217ce421 +Author: Andrei-Adnan Ismail +Date: Mon Oct 19 15:20:55 2015 +0300 + + #410 Add function for running test assertions in a number of Docker scenarios + +commit 151065e03ec01ceca3c2db705e9dc7672d6c6166 +Author: Andrei-Adnan Ismail +Date: Mon Oct 19 15:19:53 2015 +0300 + + #410 Migrating from classmethods to instance methods + +commit 2dc6b70f67771f6ba9e8bfea54b0130256cef754 +Author: Andrei-Adnan Ismail +Date: Mon Oct 19 15:19:16 2015 +0300 + + #410 Running SQL queries against the docker containers is now routed through DockerFleet + +commit eb3e954f700b93587910db5db991a917718483d1 +Author: Andrei-Adnan Ismail +Date: Mon Oct 19 15:18:03 2015 +0300 + + #410 Remove forgotten line + +commit a2d16402bef4b87dd34b2e6a3502246c4a2734a6 +Author: Andrei-Adnan Ismail +Date: Mon Oct 19 15:17:52 2015 +0300 + + #410 Stop sending pings in tests for now + +commit 9ba100a829eb5ed5051186d80fe5e52beeebf6e2 +Author: Andrei-Adnan Ismail +Date: Mon Oct 19 15:17:24 2015 +0300 + + #410 Startup/shutdown logic for a scenario is now implemented in DockerFleet + +commit 27e8a0cb429a3d4754051180d17f77b5e15d21c1 +Author: Andrei-Adnan Ismail +Date: Mon Oct 19 15:16:36 2015 +0300 + + #410 Optimizing startup time by using docker commit on the ProxySQL running container + + This has the disadvantage of creating extra layers. These should be + squashed via docker squash. + +commit 9fa5d58d4b6606eb1eabd51738df63358e636057 +Author: Andrei-Adnan Ismail +Date: Mon Oct 19 15:15:12 2015 +0300 + + #410 Added proper startup/shutdown logic for a testing scenario + +commit 7fef35a64776498bdafc49f0ecf8919fd9e0607f +Author: Andrei-Adnan Ismail +Date: Mon Oct 19 15:13:06 2015 +0300 + + #410 Remove SCENARIO declaration from tests + + Now, a test will be run in multiple scenarios + +commit a00b927c06ec5cf8cca201720cbaa04f9d258069 +Author: René Cannaò +Date: Tue Oct 13 21:11:43 2015 +0000 + + Adding check on MultiplexDisabled() for error 1290 + + related to #395 + +commit 982db143b5d22d48c996dd74e20d31d6347a91db +Merge: 53270dd5 8dfde173 +Author: Andrei-Adnan Ismail +Date: Tue Oct 13 15:13:52 2015 +0300 + + Merge branch '1.0' into 410-run-tests-on-multiple-os + +commit 53270dd5c8eb224c4d39f99da7a3a5f4b3f79b92 +Author: Andrei-Adnan Ismail +Date: Tue Oct 13 15:12:31 2015 +0300 + + #410 First draft of class that manages the fleet of docker containers and their associated scenarios + +commit f67019b37cb2875a45a3ad7bdebe79bacc641fd5 +Author: Andrei-Adnan Ismail +Date: Tue Oct 13 15:12:04 2015 +0300 + + #410 Adding nose-parameterized + + We're using it in order to run the same test against all possible + temporary scenarios. This makes it possible to run a test against, say, + multiple operating systems. + +commit bf699fa688f5b3b22569e7e11bfafcf5a1299ff9 +Author: Andrei-Adnan Ismail +Date: Tue Oct 13 15:11:32 2015 +0300 + + #410 Add Jinja2 as a dependency + + We're using it to turn scenario templates into actual temporary + scenarios + +commit 57ca42090318406c2ba7601d7611a05e2b9f0e54 +Author: Andrei-Adnan Ismail +Date: Tue Oct 13 15:11:12 2015 +0300 + + #410 Migrate from building the images every time a scenario is executed to using pre-built images + + Also, notice that we're using a template for scenarios. This allows us + to test multiple images in the same scenario easily. + +commit 30d1a38c0c451d0562d0ba29d9d8c78380a3f18a +Author: Andrei-Adnan Ismail +Date: Tue Oct 13 15:10:27 2015 +0300 + + #410 Add label with metadata to centos7 container + +commit ab64b851f57663cedb19c985e1c642241c344af8 +Author: Andrei-Adnan Ismail +Date: Tue Oct 13 15:09:32 2015 +0300 + + #410 Add labels with metadata to docker instances + +commit 8dfde1735dea4dd64f2baf953ca4c6f999889b3a +Merge: 55e9c478 91d99aac +Author: René Cannaò +Date: Sat Oct 10 02:06:11 2015 +0200 + + Merge pull request #412 from renecannao/replication_hostgroups + + Replication hostgroups + +commit 55e9c478824711e508c7692cf3f10a06ae0383c1 +Merge: f5e4130d ea15fd46 +Author: René Cannaò +Date: Sat Oct 10 02:05:19 2015 +0200 + + Merge pull request #398 from renecannao/multiplexing + + Less aggressive multiplexing , #394 + +commit f5e4130d44e5b78db135184b1d46699b1dc36dbd +Merge: 1cdd5d89 472be5c8 +Author: René Cannaò +Date: Sat Oct 10 02:05:01 2015 +0200 + + Merge pull request #397 from renecannao/bug396 + + Fix bug #396 + +commit 91d99aacde5133c0882959091830e7f64737bd74 +Author: René Cannaò +Date: Fri Oct 9 23:56:18 2015 +0000 + + More graceful handle of error 1290 (read-only) #395 + + Now ProxySQL is able to detect error 1290 (The MySQL server is running with the --read-only option so it cannot execute this statement) and tries to re-execute the query. + This will make traffic switch more graceful + +commit e6dd56cf077bdbb0de87304294ab959e9792e48f +Author: René Cannaò +Date: Fri Oct 9 23:22:53 2015 +0000 + + Added global variable mysql-monitor_writer_is_also_reader , #395 + + When this variable is set, a promoted master is also marked as slave + +commit c3c7be32b298974b74dd681eedc3e11b100c91d7 +Author: René Cannaò +Date: Fri Oct 9 22:36:10 2015 +0000 + + Removed read_only_action(SQLite3_result *) #395 + +commit 13ce24f17b3a6f5ebd2960d7efaf043fc7a939e9 +Author: René Cannaò +Date: Fri Oct 9 22:19:28 2015 +0000 + + read_only_action() triggers a switch (#395) + + class MySQL_HostGroups_Manager() has now also access to admindb + added function MySQL_HostGroups_Manager::purge_mysql_servers_table() to remove entries from mysql_servers table from within MyHGM + purge_mysql_servers_table() and generate_mysql_servers_table() are called in multiple part of the code to get consistent view of mysql backends + added function MySQL_HostGroups_Manager::read_only_action(char*,int,int) responsible for triggering a traffic switch + +commit ed0fe6b63817902e19a33d60183dbcd1c82d8270 +Author: Andrei-Adnan Ismail +Date: Fri Oct 9 15:41:40 2015 +0300 + + #410 Remove obsolete comments from Dockerfiles + +commit dc20d875925637c640a62e12449bdbb51d45a0d4 +Author: Andrei-Adnan Ismail +Date: Fri Oct 9 13:30:43 2015 +0300 + + #410 Reorganizing dockerfiles and docker-compose files into new folder structure + +commit 676cefad63b01b90921d6939468ae029b1113e60 +Author: Andrei-Adnan Ismail +Date: Fri Oct 9 13:00:21 2015 +0300 + + #410 Rename "scenarios" folder to "docker" + +commit 1cdd5d8952f0aa0589e1e9bb1fcd9dbccb2fb5e3 +Merge: 948112f1 1f955813 +Author: Andrei-Adnan Ismail +Date: Thu Oct 8 15:30:13 2015 +0300 + + Merge pull request #408 from aismail/403-make-sure-automation-still-runs + + 403 make sure automation still runs + +commit 948112f1a34d6814bd6cb037d65a7d48b07a2228 +Merge: 2a145ec4 384cf065 +Author: Andrei-Adnan Ismail +Date: Thu Oct 8 15:28:09 2015 +0300 + + Merge pull request #409 from aismail/404-cleanup-unused-volumes + + #404 Add flag for removing orphaned volumes after stopping the contai… + +commit 384cf065144ce09c0fbcfc280b3a3b36c9607d41 +Author: Andrei-Adnan Ismail +Date: Thu Oct 8 15:27:21 2015 +0300 + + #404 Add flag for removing orphaned volumes after stopping the containers + +commit 1f955813b66df86c82859c18254f61d3442cc5d8 +Merge: 0fb8016a b5b20c5f +Author: Andrei-Adnan Ismail +Date: Wed Oct 7 16:19:29 2015 +0300 + + Merge pull request #10 from aismail/405-cleanup-temp-dir + + 405 cleanup temp dir + +commit b5b20c5f5f4b5c66920bf63acef3474d3f157c61 +Author: Andrei-Adnan Ismail +Date: Wed Oct 7 15:32:16 2015 +0300 + + #405 Making sure the dir exists before deleting it + +commit 272d2615058d63e8bfa593385cc7d9f0c85684cd +Author: Andrei-Adnan Ismail +Date: Wed Oct 7 15:31:55 2015 +0300 + + #405 Making sure that /tmp/proxysql-tests actually exists before trying to delete it + + .. and also logging the delete error better + +commit 0fb8016a88d38e0ced3a712054cc0efd420e798d +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:52:49 2015 +0300 + + #403 Update the listening interfaces for the 1 backend, locally run ProxySQL scenario + +commit aaf4156e638972324ee6a5a9b5f7e1bd7fd9c571 +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:52:18 2015 +0300 + + #403 Update the default schema to something that always exists + +commit 55e9c9520a880168d7d26af4288e6104d5f5f3c2 +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:52:02 2015 +0300 + + #403 Remove unused variable + +commit 7cfc9df0e9ce38783e2aef472fe95f546ea79942 +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:51:36 2015 +0300 + + #403 Explain why we needed sleep(5) after starting the containers + +commit a22659c1800cbbbd6adc2ac405c6abecc6e105ba +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:51:16 2015 +0300 + + #403 Disabling interactive mode for now + + It made debugging a lot harder, and we need to figure out a way to + selectively turn it on + +commit d2dd46285d6ba73d608589053e5767f893a040cb +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:49:41 2015 +0300 + + #403 "quit" seems to be needed in order to stop gdb from running + + ... and release the main test thread from waiting for it + +commit c027c3be2163727107db646a400beb5ab3dc1b13 +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:09:37 2015 +0300 + + #403 Add an extra sleep in order to make sure the daemons are actually ready to receive commands + + admin_test was failing and started passing just because of this little + sleep. My assumption is that trying to start & stop it completely is a + bit vulnerable. + +commit 1079223625e2d93e4a8fc44e70db001bbf105cfd +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:08:42 2015 +0300 + + #403 Accounting for variables that disappeared / changed values + +commit 8e7fa7d4bb419bebe2973f19b69de1dc7dfa1443 +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:06:37 2015 +0300 + + #403 Make sure that the compile + run script is executable + +commit 2cf9ac687667c1fdd5e823496de9c6e53bbcf220 +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:06:07 2015 +0300 + + #403 Updating sample config file - some variable values changed, others disappeared completely + +commit 94d6365624633dd188c5acb5a9d34fffc86f249f +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 17:05:17 2015 +0300 + + #403 Accounting for changed behaviour of PROXYSQL STOP + + Now it closes the connections faster. + +commit ead377cce8fdebb88b1f35cb74b076dad38e4d0e +Author: Andrei-Adnan Ismail +Date: Tue Oct 6 15:21:14 2015 +0300 + + #403 Added smarter waiting mechanism for the containers to initialize + +commit 81ed2fc55e46cff8cd7b6c7d93732ec2498cdef1 +Author: Andrei Ismail +Date: Mon Oct 5 09:33:30 2015 +0300 + + #403 Adapting startup script to the new priority of config files and angel process setup + +commit b096ce59766cc73f995b65bedb92b43329b8882c +Author: René Cannaò +Date: Fri Oct 2 19:13:03 2015 +0000 + + Adding global variables for replication hostgroups (#395) + +commit ee9b62c9dec9e7bccc8fabca099a14e4dff22db5 +Author: René Cannaò +Date: Fri Oct 2 18:36:52 2015 +0000 + + Further work on #395 + + - implemented table monitor.mysql_server_read_only_log + - implemented code to monitor and log read_only values + - implemented new thread MySQL_Monitor::monitor_read_only() + - skeleton for read_only_action() + +commit f4bde77816c8a78ac11d9d353213109ec72a9fb2 +Author: Andrei Ismail +Date: Thu Oct 1 12:08:35 2015 +0300 + + #388 Properly escaping the default values + +commit ea9adc519bbde666a6f8e8a5c23c71e22b5368a3 +Author: Andrei Ismail +Date: Thu Oct 1 12:00:15 2015 +0300 + + #388 Add initial explanation of all the global variables + +commit f129db3d1fa9a1e2bdeca6af60c75c77db2f103d +Author: René Cannaò +Date: Wed Sep 30 23:40:37 2015 +0000 + + Dump mysql_replication_hostgroups in error log (#395) + + This is done in MySQL_HostGroups_Manager::generate_mysql_servers_table() + +commit a08c7ef57c1874cd870be02fc8aaa9733ba61794 +Author: René Cannaò +Date: Wed Sep 30 23:08:24 2015 +0000 + + Report in error log imcompatible replication entries #395 + +commit d3535549baa0e17c52476ce52421654f22117da1 +Author: René Cannaò +Date: Wed Sep 30 22:54:48 2015 +0000 + + Format issue when unlinking socket + +commit e2a457777f2e5d51f524e5709fed624d1e4131b4 +Author: René Cannaò +Date: Wed Sep 30 22:54:01 2015 +0000 + + Extended SAVE MYSQL SERVERS FROM RUNTIME (#395) + + ProxySQL_Admin::save_mysql_servers_runtime_to_database() now also calls MySQL_HostGroups_Manager::dump_table_mysql_replication_hostgroups() + +commit 472be5c8d8ff4c1cf748e32320ed5e3618352c93 +Author: René Cannaò +Date: Wed Sep 30 21:53:24 2015 +0000 + + Fix bug #396 + + Closes #396 + +commit 94fc45f9a70350b15f2d583ce1363682e978efd4 +Author: René Cannaò +Date: Tue Sep 29 21:02:27 2015 +0000 + + MYHGM_MYSQL_REPLICATION_HOSTGROUPS (#396) + +commit 379424d099a68a93ad27ae97890bb9aca7d456b5 +Author: René Cannaò +Date: Tue Sep 29 20:56:26 2015 +0000 + + More on mysql_replication_hostgroups (#395) + +commit 3953498acb2fb5116b214d84d8070324926ef02c +Author: René Cannaò +Date: Mon Sep 28 22:57:54 2015 +0000 + + Added table mysql_replication_hostgroups (#395) + +commit ea15fd468192b76dd9915aa2d59911543ef8d96c +Author: René Cannaò +Date: Mon Sep 28 21:54:50 2015 +0000 + + Less aggressive multiplexing , #394 + +commit 2a145ec4c26268efc406e6b0d3d5024e5c042802 +Merge: a89d2965 dccc5b7f +Author: René Cannaò +Date: Sun Sep 27 18:06:59 2015 +0200 + + Merge pull request #393 from renecannao/mysqldump + + Support for mysqldump + +commit a89d29659229d8f8f48c4d1c3dfe3e8523c3921a +Merge: e024bbed e551213b +Author: René Cannaò +Date: Sun Sep 27 18:06:21 2015 +0200 + + Merge pull request #391 from renecannao/master + + mysql_query_rules enhancement and modifier in comments + +commit dccc5b7f431555e798738086206680e40d0236b0 +Author: René Cannaò +Date: Sun Sep 27 16:02:37 2015 +0000 + + Added support for mysqldump + + Added 2 new functions to answer some of queries from mysqldump: + ProxySQL_Admin::generate_show_fields_from() + ProxySQL_Admin::generate_show_table_status() + + ProxySQL_Admin() replies with an OK or an artificial resultset to most of the queries from mysqldump + +commit e551213bf7c245728cd50d4331a46190f6107f23 +Author: René Cannaò +Date: Sun Sep 27 09:46:03 2015 +0000 + + Clean up in Query_Processor + +commit bfbde61ea0ecf1a75c12c4c83c3bd50c0ba26f58 +Author: René Cannaò +Date: Sun Sep 27 09:41:28 2015 +0000 + + Clean up in c_tokenizer + +commit 303f6a26f0daec6f47d4b40bf1ff0b73990bc713 +Author: René Cannaò +Date: Sun Sep 27 09:38:50 2015 +0000 + + Removed prefix and trailing spaces in query digest + +commit cae71e0eb3d0dc4aea1562442412235b1a2a875c +Author: René Cannaò +Date: Sun Sep 27 09:19:39 2015 +0000 + + Implemented new column in myql_query_rules : match_digest (#390) + +commit 9073f5a967d6f256501f02118009018a505432df +Author: René Cannaò +Date: Sat Sep 26 23:57:20 2015 +0000 + + Added cache_ttl for #166 + +commit 636030fe73dc8133b6bc9e61426eb6cca78491ba +Author: René Cannaò +Date: Sat Sep 26 23:52:32 2015 +0000 + + Added query_delay for #166 + +commit 6164f9c84f702b8639949e4b96ebc8b803c0bb9d +Author: René Cannaò +Date: Sat Sep 26 23:37:31 2015 +0000 + + Fixing a wrong computation of query_timeout + +commit d6995958909d60cbcab87fe83ab27fd8d280ecfa +Author: René Cannaò +Date: Sat Sep 26 23:30:42 2015 +0000 + + First implementation to extract modifiers from comment (#166) + +commit a2a4367248d2f1f4b718f21e3550727a6b792175 +Author: René Cannaò +Date: Sat Sep 26 21:36:34 2015 +0000 + + Query_Processor::process_mysql_query() always returns a Query_Processor_Output object + + As query rules become more powerful, it makes more sense to always return a Query_Processor_Output + +commit 5febd378e16343f2e1b223744b447ed5ab103ff1 +Author: René Cannaò +Date: Sat Sep 26 15:37:38 2015 +0000 + + Fix bug #389 + + Closes #389 + +commit c98a88f29bd009df11a737392a66ad3257ab5308 +Author: René Cannaò +Date: Sat Sep 26 15:34:46 2015 +0000 + + Preparation to extract modifiers from comment (#166) + +commit 9254cd6ee078eeceae57e537eb6927b1cf6b667b +Author: Andrei Ismail +Date: Fri Sep 25 12:35:05 2015 +0300 + + #388 Document get_multiple_idle_connections + +commit e024bbed834881342b5a0c8c4c9bd93ce5d8c82b +Merge: 21bbd8ee 921ccd58 +Author: Rene Cannao +Date: Tue Sep 22 12:31:26 2015 +0200 + + Merge pull request #387 from renecannao/last_insert_id + + Last insert id + +commit 921ccd58133cddd362423acf8725c55577ee60cb +Author: René Cannaò +Date: Wed Sep 16 11:47:21 2015 +0000 + + Bugfix on mysql_query_rules + + better handling of NULL fields + +commit dea1d6f1b39a63967cd283c9852a4dbaff37e77e +Author: René Cannaò +Date: Tue Sep 15 21:21:43 2015 +0000 + + StatusFlag correctly set with SERVER_STATUS_IN_TRANS + + Issue #386 + +commit 42539a2379c7e7707d1d3faf82e96519ab7e66f2 +Author: René Cannaò +Date: Tue Sep 15 20:20:14 2015 +0000 + + Fix issues #177 related to LAST_INSERT_ID() + + Assumes that LAST_INSERT_ID() is always used in simple query like 'SELECT LAST_INSERT_ID()' + +commit 21bbd8ee4ff7228a5a0925eee2563fd1db233397 +Merge: 1fa2389e 367e0d3c +Author: Rene Cannao +Date: Mon Sep 14 13:45:44 2015 +0200 + + Merge pull request #385 from renecannao/master + + Minor bugfix + +commit 367e0d3cbbb08b9faf177928f63e8c2d63e7bd09 +Author: René Cannaò +Date: Mon Sep 14 08:22:00 2015 +0000 + + Improved replication lag monitoring + +commit 3f472d41aa3d3f754c8ae1cde12da982b1ec2c3a +Author: René Cannaò +Date: Sat Sep 12 22:38:19 2015 +0000 + + Fix on num_connections_used not initialized + +commit 9f30b12e93a98cce2e75fef549466ce82d7f63e6 +Author: René Cannaò +Date: Sat Sep 12 21:54:31 2015 +0000 + + Updating documentation and simplifying config file + +commit a0e717f07339ab164dfcae332c876d4975ebc995 +Author: René Cannaò +Date: Fri Sep 11 10:57:56 2015 +0000 + + Fixed binary path for ubuntu packages + +commit baf4e3985daaf7f9f9df9df8e489a9de3bc6f5a8 +Author: René Cannaò +Date: Fri Sep 11 08:56:31 2015 +0000 + + Documentation + +commit 1fa2389ed908d2bc069543c13c577f3186d2012c +Merge: ad4f7e34 b4d1d036 +Author: Rene Cannao +Date: Fri Sep 11 05:06:38 2015 +0200 + + Merge pull request #383 from renecannao/master + + Improved packaging and minor bug fixes + +commit b4d1d036abf1a5a62f06998b88d59142ab3bb330 +Author: René Cannaò +Date: Fri Sep 11 03:02:21 2015 +0000 + + Packaging for Centos7 #375 + + Changed version + Fixed bogus time + Added config file, init script, datadir + Added post install and post uninstall script + +commit 3a7483e9e6cbaad066e4473fbbc6cc12fe1b7861 +Author: René Cannaò +Date: Fri Sep 11 02:03:37 2015 +0000 + + Implemented packaging for Ubuntu12 #375 + +commit dcf02f2787877bcb03cb0fdb9bb26380c4c01627 +Author: René Cannaò +Date: Fri Sep 11 00:42:20 2015 +0000 + + Improving packaging #375 + + Improving compiling time + + For ubuntu: + - fixed version number + - fixed architecture + - added init script + +commit 5dfc4d31293c20f0a123cd47c8eea476d647bfb5 +Author: René Cannaò +Date: Thu Sep 10 23:27:41 2015 +0000 + + Improved init script + + Closes #382 + +commit 7e9a4d36bb81b986d4d4176d12370a07a9ef108b +Author: René Cannaò +Date: Thu Sep 10 22:20:58 2015 +0000 + + Fix #381 + + Closes #381 + +commit 342e8872358a7545f28acd95cc7c608a65711ccf +Author: René Cannaò +Date: Thu Sep 10 20:44:51 2015 +0000 + + Fixing space issue in mysql_query_rules + +commit 34e83e342c293afe61e88c556fdfa718ce75658b +Author: René Cannaò +Date: Thu Sep 10 20:43:53 2015 +0000 + + More verbose when shunning servers + +commit c1951d0b432cf88863075b13cab2574adf059b5f +Author: René Cannaò +Date: Thu Sep 10 00:10:18 2015 +0000 + + Modified gitignore + +commit d95184399532943b23c39e9eca2be7e1949e9ba9 +Author: René Cannaò +Date: Thu Sep 10 00:06:56 2015 +0000 + + Improved packaging + +commit ad4f7e34463a03e00c0455dcf143ba3f5650f260 +Merge: e3a08c91 ed470834 +Author: Rene Cannao +Date: Thu Sep 10 01:06:01 2015 +0200 + + Merge pull request #378 from renecannao/master + + Many improvements, RC + +commit ed470834630a3b5ae3ee6824b95c06b718d34808 +Merge: b596350c e3a08c91 +Author: René Cannaò +Date: Wed Sep 9 23:03:35 2015 +0000 + + Merge remote-tracking branch 'upstream/master' + +commit e3a08c91778d329e50e1c2ffa1b5851c5ed0b04e +Merge: 975b0f36 4d6397d9 +Author: Rene Cannao +Date: Thu Sep 10 00:24:53 2015 +0200 + + Merge pull request #377 from sysown/packaging + + Packaging on CentOS and Debian + +commit 975b0f36ca01f61bcc35d14dcea6b0eef310c74d +Merge: 03a19cbe 76945480 +Author: Rene Cannao +Date: Wed Sep 9 21:42:09 2015 +0200 + + Merge pull request #350 from aismail/349-design-goals-doc + + #349 Design goals document + +commit b596350c06e156b3d56e19dd911f333c52451dd5 +Author: René Cannaò +Date: Wed Sep 9 19:29:20 2015 +0000 + + Modified version: 0.2.0902 , 20150902 , Kleon + + Closes #379 + +commit f5d5d527b2235906309ff8411dd11527a408b811 +Author: René Cannaò +Date: Wed Sep 9 19:02:30 2015 +0000 + + Increased net_buffer_size to 32K + + Yet still hardcoded + We must follow up on issue #262 + +commit bc3385f2c6f1755143d7ac41c14ee2092cb323fb +Author: René Cannaò +Date: Wed Sep 9 18:46:16 2015 +0000 + + Minor bug fix + +commit 4d6397d923d33086b0738d28e1ccbb54e705d386 +Author: Andrei Ismail +Date: Wed Sep 9 11:13:27 2015 +0300 + + #375 Temporarily remove reference to changelog + +commit 87127ca813ee7bdc5b191a0d3e814be3deebaae0 +Author: René Cannaò +Date: Tue Sep 8 22:37:41 2015 +0000 + + Fix bug #376 + + Closes #376 + +commit 556ff9f733823bbec201d83ac40dac2c787c9d81 +Author: René Cannaò +Date: Tue Sep 8 22:34:51 2015 +0000 + + Bug fixes and performance improvement + + Bug fixes: + Fixed a bug introduced by 414588e + Removed a setting in MySQL_Data_Stream::return_MySQL_Connection_To_Pool() + + Performance improvement for large resultset: + Reverted and improved changes in 4a5bb59 + +commit d87d121cc05b97594f4afbda2102cd628fa446c9 +Author: Andrei Ismail +Date: Wed Sep 9 00:52:03 2015 +0300 + + #375 Replace CentOS packaging changelog with something actually related to ProxySQL + +commit bc9039185bb27e00f9bfb5ee04d36625caf9c634 +Author: Andrei Ismail +Date: Wed Sep 9 00:50:11 2015 +0300 + + #375 Clean-up equivs control template for ProxySQL + +commit 3489809fcbe81adbe3615fedaf07076a1d7ef796 +Author: Andrei Ismail +Date: Wed Sep 9 00:44:31 2015 +0300 + + #375 Bypass the Docker cache entirely in order to make sure that we always build the latest source tree + +commit 7c99505694c516b7874978a65a5c8600b809cd30 +Author: Andrei Ismail +Date: Wed Sep 9 00:43:48 2015 +0300 + + #375 Document packaging process + +commit e004d575aedfef60efbff420910a853912d92b35 +Author: Andrei Ismail +Date: Wed Sep 9 00:32:23 2015 +0300 + + #375 Clean-up config file in order to have sane defaults for packaging. + +commit e1c56cbbfebde046beb6754df1387302a4f5ed76 +Author: Andrei Ismail +Date: Wed Sep 9 00:29:46 2015 +0300 + + #375 Modifying default port to be 6033 instead of 6034 + + It used to be previously 6034 in order to test that the config file + actually works OK. Going further, we will rely on tests for that. + +commit fba2d86f332c7ccae5769a340f79647639af5815 +Author: Andrei Ismail +Date: Wed Sep 9 00:28:26 2015 +0300 + + #375 Deleting duplicate config file. + +commit 41e5e5ca7ef7d24ea6d3a94d6cb95abee590eea2 +Author: Andrei Ismail +Date: Tue Sep 8 23:52:18 2015 +0300 + + #375 Add first version of automatically generated binaries + + These binaries are generated using docker containers running the + respective operating systems. + +commit c1de956ab24730ba37e81086335409da7a6adc26 +Author: Andrei Ismail +Date: Tue Sep 8 23:51:43 2015 +0300 + + #375 Add makefile rule for packaging on ubuntu-14.04 and centos7 + +commit 63a16c8107cfaccc552108346591fceb54ef8af8 +Author: Andrei Ismail +Date: Tue Sep 8 23:51:19 2015 +0300 + + #375 Added debian packaging docker container + +commit 181f51012e282c96e9d208489cb67b44a540942b +Author: Andrei Ismail +Date: Tue Sep 8 23:49:30 2015 +0300 + + #375 Adding dockerfile for centos7 building + +commit 634b7cbfb959ca1bb645a32a041bfe18b2d396cf +Author: René Cannaò +Date: Tue Sep 8 13:50:46 2015 +0000 + + Bug fix connecting client + +commit 44e2f9e52d5152c53800fccfc91bfcec5fa4f844 +Author: René Cannaò +Date: Tue Sep 8 08:55:09 2015 +0000 + + Increasing stack size in Admin + +commit 03a19cbe5979190ed6593f505fdce76ded96012d +Merge: 1689e8dd 69f02266 +Author: Rene Cannao +Date: Mon Sep 7 23:41:18 2015 +0200 + + Merge pull request #365 from aismail/359-describe-admin-tables + + 359 describe admin tables + +commit 1689e8ddcd511694f242565ba500d4ad71c0dfa1 +Merge: eed3fc42 24113b9b +Author: Rene Cannao +Date: Mon Sep 7 23:37:34 2015 +0200 + + Merge pull request #357 from aismail/351-describe-config-system + + 351 describe config system + +commit ff948cc52dbc4de674ec011419d80462ca348dcf +Author: René Cannaò +Date: Sun Sep 6 00:29:14 2015 +0000 + + Added default config file , init script + Also implemented make install and make uninstall + +commit 69f02266f8a2e0d17faaa89e25ebf799fed500c5 +Author: Andrei Ismail +Date: Tue Sep 1 13:41:14 2015 +0300 + + #359 Describe the stats.stats_mysql_global table + +commit c3a077ecb34a46867316d661c653535142a3bfbc +Author: Andrei Ismail +Date: Tue Sep 1 13:40:55 2015 +0300 + + #359 Describe the stats.stats_mysql_query_digest and stats.stats_mysql_query_digest_reset tables + +commit 4aa4ebc15e30d806a5a49613e3f1dd0e3d08014d +Author: Andrei Ismail +Date: Tue Sep 1 13:40:14 2015 +0300 + + #359 Describe the stats.stats_mysql_connection_pool table + +commit ef37a37d1ed1e61d2934c2f2fca081c484081140 +Author: Andrei Ismail +Date: Tue Sep 1 13:37:33 2015 +0300 + + #359 Describe the stats.stats_mysql_process_list table + +commit fca215fdf07b56af611827371d250e92ca7ca417 +Author: Andrei Ismail +Date: Tue Sep 1 13:36:57 2015 +0300 + + #359 Describe the stats.stats_mysql_command_counters table + +commit b2d0c3d5284d27730017c75a7285d1c7bb6e5e59 +Author: Andrei Ismail +Date: Tue Sep 1 13:36:37 2015 +0300 + + #359 Describe the stats.stats_mysql_query_rules table + +commit 802bb11bf33108be8e5b83f3e9dd681ffe45987a +Author: Andrei Ismail +Date: Tue Sep 1 13:36:14 2015 +0300 + + #359 Describe the stats database + +commit d219172042ebb4060f9b442b641db912ee02f51a +Author: Andrei Ismail +Date: Tue Sep 1 13:19:07 2015 +0300 + + #359 Document "disk" database + +commit c335c69d570f0229f093307f848fb74895f91e51 +Author: Andrei Ismail +Date: Tue Sep 1 13:18:39 2015 +0300 + + #359 Document credentials for connecting to the admin database. + +commit ec1df01a3837dd850c8703239e2bb081d27c8dd5 +Author: René Cannaò +Date: Mon Aug 31 22:00:28 2015 +0000 + + More improvement on mysql_use_result() , #342 + Deprecated old MySQL_Session::MySQL_Result_to_MySQL_wire() + Handled query cache in new MySQL_Result_to_MySQL_wire() + +commit 2e50417232b08cc920988335e0e1afb1b927d471 +Author: René Cannaò +Date: Mon Aug 31 21:13:18 2015 +0000 + + Defined variable threshold_resultset_size , #342 + If a resultset size goes beyond threshold_resultset_size , the resultset starts being sent to the client + +commit 6f821ce34194dc6c3b0e09bbd7194a71c5529f9b +Author: René Cannaò +Date: Mon Aug 31 19:20:08 2015 +0000 + + If max timeout is reached, it is printed in ms + +commit 6fc9bb3dadbc3301b1dc72a5902800142ff0ae34 +Author: René Cannaò +Date: Mon Aug 31 19:15:22 2015 +0000 + + Status variables per #366 + - Queries_backends_bytes_recv + - Queries_backends_bytes_sent + + Closes #366 + +commit 4bf5fda57201cf025e274f04ba332f12e5694d26 +Author: René Cannaò +Date: Mon Aug 31 18:49:48 2015 +0000 + + Implemented variable threshold_query_length , #366 + +commit 53cd99ecb1c25739a481d4da4537cbbb641c4bf1 +Author: René Cannaò +Date: Mon Aug 31 17:49:55 2015 +0000 + + Connection retry improvement for #342 + Connection retry during a query is only possible if transfer_started is not started + +commit 9e1b71258f033fa9ea223e41a16b21102b08b90d +Author: René Cannaò +Date: Mon Aug 31 17:38:25 2015 +0000 + + Fixed minor bug + +commit 8d6ec028f9c97600225ae8a6771dd762c03344c4 +Author: René Cannaò +Date: Mon Aug 31 17:37:35 2015 +0000 + + Removed variable mysql-connect_timeout_server_error + +commit 906c08d1ecc88384154c53b8c2b89de396bf08dd +Author: René Cannaò +Date: Mon Aug 31 17:32:05 2015 +0000 + + More verbose error message when timeout is reached + +commit f7b87116e0927814e2fd48c5439167a428bd3cd0 +Author: René Cannaò +Date: Mon Aug 31 16:26:20 2015 +0000 + + Extended stats_mysql_connection_pool per #342 + Added columns Bytes_data_sent and Bytes_data_recv + These columns counts only data, not metadata + +commit 56046271d98c2412f7603323440290f828bd4944 +Author: René Cannaò +Date: Mon Aug 31 15:46:14 2015 +0000 + + Further improvements on MySQL_ResultSet() for #342 + +commit a78120940e032312965835eba2df3e03bf05cdd4 +Author: René Cannaò +Date: Sun Aug 30 22:59:00 2015 +0000 + + Bugfix for queries on wrong schema (issue #369) + Closes #369 + +commit a01f162a6a7db473b5965966b03efd3957664165 +Author: René Cannaò +Date: Sun Aug 30 22:31:21 2015 +0000 + + Starting using mysql_use_result() per issue #342 + + Created class MySQL_ResultSet + Still a draft + +commit bd97c6602d60ad20ebdeb58c50990b9812c42a13 +Author: René Cannaò +Date: Sun Aug 30 17:08:06 2015 +0000 + + Modified generate_pkt_row2() in preparation to #342 + +commit b8d9ef3a29dcb77e5e214914cf787b398afdc585 +Author: René Cannaò +Date: Sun Aug 30 07:59:43 2015 +0000 + + Some close cleanup + +commit e73fba401159f4f619cb96dcb346b6f97ab74fc3 +Author: René Cannaò +Date: Sun Aug 30 07:55:22 2015 +0000 + + Improved copying configuration between disk and memory and viceversa (issue #367) + Closes #367 + +commit e6067a953d0c8093a4e9127b32aeaca8dab5eb31 +Author: René Cannaò +Date: Sun Aug 30 07:34:35 2015 +0000 + + External locking for SQLite3DB() + + Closes #368 + +commit 95b971a66021240fd6b69891b78dd4c5fe843906 +Author: René Cannaò +Date: Sun Aug 30 07:05:31 2015 +0000 + + More development on #358 + Added status MYSQL_SERVER_STATUS_SHUNNED_REPLICATION_LAG as internal only (not configurable) + Added MySQL_HostGroups_Manager::replication_lag_action() to communicate replication lag to connection pool and take action + +commit ea880ffaf3d8fb617b3fac106fc6f6d460ad38d7 +Author: René Cannaò +Date: Fri Aug 28 21:23:38 2015 +0000 + + More development on #358 + Logging on table mysql_server_replication_lag_log + List of servers is retrieved from MyHGM + +commit 71b26a7ae0689984016750a21e5d55e1ff0edabf +Author: René Cannaò +Date: Thu Aug 27 21:27:43 2015 +0000 + + More development on #358 + Added MySQL_HostGroups_Manager::execute_query() to query directly MyHGM's db + Bug fixes + +commit c05e584962c29e245e909c167b6ad52558a82bd3 +Author: Andrei Ismail +Date: Thu Aug 27 17:53:28 2015 +0300 + + #359 Add description of mysql_collations + +commit e84d6e0c8f80e78a4ce55b9e71e05e67fb19075d +Author: Andrei Ismail +Date: Thu Aug 27 15:04:13 2015 +0300 + + #359 Added global_variables description + +commit 647dcfc60c77528eed14c146fe42cf1a8b00021b +Author: Andrei Ismail +Date: Thu Aug 27 15:03:55 2015 +0300 + + #359 Added mysql_query_rules description + +commit 56571c97962e90bebf3f83caef793ddd83e721ee +Author: Andrei Ismail +Date: Thu Aug 27 15:03:25 2015 +0300 + + #359 Added `mysql_users` description + +commit b5979536bffb60c60b958b1364e449e5043d3b82 +Author: Andrei Ismail +Date: Thu Aug 27 15:02:34 2015 +0300 + + #359 Added `mysql_servers` table description + +commit 514fb7fe3767adafc4881908a73c67fd7595c32d +Author: Andrei Ismail +Date: Thu Aug 27 15:01:58 2015 +0300 + + #359 Added general overview of admin databases + +commit d6295cb5d82144ef3a262c65a4d5d3deff724426 +Author: René Cannaò +Date: Tue Aug 25 02:32:17 2015 +0000 + + Removed massif file + +commit 34342baad65358cb985766c728089de93c7d5ba1 +Author: René Cannaò +Date: Tue Aug 25 02:29:47 2015 +0000 + + Monitor replication lag #358 + + Implemented table mysql_server_replication_lag_log + +commit 899989b90195b8c1fdc30f52da1b559b3cb43627 +Author: René Cannaò +Date: Mon Aug 24 23:44:33 2015 +0000 + + Monitor replication lag + + monitor_replication_lag_interval + monitor_replication_lag_timeout + Drafting MySQL_Monitor::monitor_replication_lag() as a clone of MySQL_Monitor::monitor_ping() + +commit 24113b9be1793b78628fc5a413b4f2510706d872 +Author: Andrei Ismail +Date: Tue Aug 25 00:31:21 2015 +0300 + + #351 Add reference to separate document about admin tables + +commit bd83b4e6a311d77361d34f5a09e0725247f34c18 +Author: Andrei Ismail +Date: Tue Aug 25 00:28:41 2015 +0300 + + #351 Cleaning up line endings + +commit dac0997ddb77f5fb96a1863e7321044b31886848 +Author: Andrei Ismail +Date: Tue Aug 25 00:26:04 2015 +0300 + + #351 Correctly explaining the default location of the config file + +commit 4d90d92e7c0235abbef9acc5b36614b670a1fea2 +Author: Andrei Ismail +Date: Tue Aug 25 00:25:26 2015 +0300 + + #351 Added --reload explanation + +commit 98dd9608f8578a7dfe4dce0876a95dbce3dc1567 +Author: Andrei Ismail +Date: Tue Aug 25 00:06:52 2015 +0300 + + #351 @renecannao confirmed that same credentials are used for frontend and backend servers + +commit 92aefc3650cdb26a8c1b584e6ec032bece0c62e6 +Author: Andrei Ismail +Date: Tue Aug 25 00:06:21 2015 +0300 + + #351 Explaining how the configuration is updated on soft/hard restart + +commit e61965cf764b6ae782e6c029ddfc18b3b3e72c4d +Author: Andrei Ismail +Date: Mon Aug 24 14:50:51 2015 +0300 + + #351 Describe SQL commands and how to use them. Describe start-up procedure in terms of configuration. + +commit 09f09d4633021030f47661cf10239165a8f2e15b +Author: René Cannaò +Date: Sun Aug 23 20:24:56 2015 +0000 + + Replace get_current_dir_name() with getcwd() for issue #354 + +commit ddb80f2aa4c8592e741ac514031f66d04c5c55c3 +Author: René Cannaò +Date: Sun Aug 23 19:23:02 2015 +0000 + + Removed resolv.h , for issue #354 + +commit 709eeea4b1e8f9873b2e75f7d3de298bfbff1e79 +Author: René Cannaò +Date: Sun Aug 23 17:16:44 2015 +0000 + + Performance improvement . Issue #355 + + Closes #355 + +commit b2a57d238f1f61ac4f6ceba2caa3d79343fb7525 +Author: René Cannaò +Date: Sun Aug 23 16:04:35 2015 +0000 + + For #343: removed struct mysql_real_query in MySQL_Data_Stream and replaced with class MyDS_real_query to hold only the packet coming from client + + Bugfix in Query_Processor::delete_QP_out() : attempt to free unallocated qpo + + Removed commented code + +commit 5a47c41c7e4e019fabb42587b062f2cdf472620a +Author: René Cannaò +Date: Sun Aug 23 14:30:09 2015 +0000 + + Removed DBG commands, issue #353 + + Closes #353 + +commit e36235aff38cd9eea07589449897ca387bcc6228 +Author: René Cannaò +Date: Sun Aug 23 10:24:16 2015 +0000 + + No more query copy in QueryInfo , issue #343 + +commit 1c895bf4480dcecbe0c6bf59a30455e7036281f5 +Author: René Cannaò +Date: Sun Aug 23 10:01:31 2015 +0000 + + Stop copying queries from server's MySQL_Data_Stream to MySQL_Connection . Only a pointer is passed (issue #343) + +commit 9b6c34e59b2d62511d99554b6275b11d61ce59df +Author: René Cannaò +Date: Sun Aug 23 09:48:15 2015 +0000 + + Re-enabled custom memory allocator + +commit e6bc5cc8b8b0e6e421b3535b4543af244e5932bd +Author: René Cannaò +Date: Sun Aug 23 09:47:41 2015 +0000 + + Converted QP_out_t into a class Query_Processor_Output + +commit f1fdc0a9dad17de4c91ee48e9d7c860603e00c2c +Author: Andrei Ismail +Date: Fri Aug 21 18:52:42 2015 +0300 + + #351 Explaining disk and config file. Completing the line-up of sections + +commit edb2f2626ee18d71a524319699ee051191b01972 +Author: Andrei Ismail +Date: Fri Aug 21 18:39:59 2015 +0300 + + #351 Diagram with the 3 layers, explanation of the first 2 layers + +commit 76945480d0b46c3ea8bc8196c75f7649a6ffc8cc +Author: Andrei Ismail +Date: Fri Aug 21 17:00:52 2015 +0300 + + #349 Design goals document + +commit eed3fc422d87a58f3008d93e3e137ded3b1e34e8 +Merge: 1d7ae255 18436245 +Author: Andrei-Adnan Ismail +Date: Fri Aug 21 11:26:32 2015 +0300 + + Merge pull request #324 from aismail/323-write-changelog + + #323 First version of changelog + +commit 66e148c10b6213a1b9eb6be464d1d5c8ed7a5e34 +Author: René Cannaò +Date: Thu Aug 20 12:12:37 2015 +0000 + + Reverting second fix for https://mariadb.atlassian.net/browse/CONC-131 + It can cause memory leak if active!=0 . + It needs to be reviewed better . See #347 + +commit 1d7ae25567f04a47aa78a6dd3072e76352876b34 +Merge: 654eae84 908e043e +Author: Andrei-Adnan Ismail +Date: Thu Aug 20 11:53:16 2015 +0300 + + Merge pull request #340 from renecannao/master + + Bugfixes, enhancements, and code cleanup + +commit 908e043eb9a74498a36d6c53ec112e55b69ffd75 +Author: René Cannaò +Date: Wed Aug 19 12:25:35 2015 +0000 + + Code cleanup : commented and not deleted for now. Removed: + - handler___status_WAITING_SERVER_DATA___STATE_QUERY_SENT() + - handler___status_WAITING_SERVER_DATA___STATE_ROW() + - handler___status_WAITING_SERVER_DATA___STATE_EOF1() + +commit 4763faa91501124be93f199df8e9b4a277957ae8 +Author: René Cannaò +Date: Wed Aug 19 12:00:43 2015 +0000 + + Code cleanup + +commit 315e2f2f66a53622cfeb611865d2145f793fd873 +Author: René Cannaò +Date: Wed Aug 19 11:55:56 2015 +0000 + + Bugfix: as precaution, MySQL_HostGroups_Manager::push_MyConn_to_pool() checks that the connection is idle (ASYNC_IDLE) before pushing it back in the connection pool. If not, the connection is deleted. + +commit 618dc8bb4d90d90e2bbb836ff576242ce08ebaf2 +Author: René Cannaò +Date: Wed Aug 19 11:50:57 2015 +0000 + + Removing code that is now incompatible with current backend implementation and could lead to inconsistent state of backend + +commit 8c78dec1c2e89fa13d605b8d544b975158a5e738 +Author: René Cannaò +Date: Wed Aug 19 11:30:16 2015 +0000 + + Removed reference to issue #211 and minor cleanup + +commit 6d496d46ee7eca8f7b6dbe3a733363d9e80f85ef +Author: René Cannaò +Date: Wed Aug 19 11:26:02 2015 +0000 + + Implementation of Automatic shun failing backends (issue #339) + +commit cdffa376ca7a5ddf102b8934d02db9fb2d0587ed +Author: René Cannaò +Date: Wed Aug 19 07:54:25 2015 +0000 + + Added ConnOK and ConnERR in stats_mysql_connection_pool , per issue #338 + +commit 72d87fc3fc8973f503b356c156b96c0fe46f3841 +Author: René Cannaò +Date: Wed Aug 19 07:24:57 2015 +0000 + + Removed semi-colon (#333) + +commit b9c4548ab7cb4577208100c332db18d575dd6398 +Author: René Cannaò +Date: Wed Aug 19 07:18:38 2015 +0000 + + Implementation of mysql status table named stats_mysql_global (issue #328) + + Status variables implemented so far: + - Client_Connections_aborted + - Client_Connections_connected + - Client_Connections_created + - Questions + - Slow_queries + + Also created alias command SHOW MYSQL STATUS + +commit 43c9d6751675b81b8f2a0055d14e7afde9039592 +Author: René Cannaò +Date: Tue Aug 18 23:29:45 2015 +0000 + + Faster PROXYSQL STOP using the same technique used in #337 + +commit 42fbbe6fc81b6f603bfc75845327b4aad6b216ba +Author: René Cannaò +Date: Tue Aug 18 23:24:52 2015 +0000 + + Implemented PROXYSQL PAUSE and PROXYSQL RESUME (issue #337) + Enhancement: admin_handler_command_proxysql is now protected with a mutex + +commit 471520934d6fac4060987e94db07b7e0c9b30e65 +Author: René Cannaò +Date: Tue Aug 18 21:57:49 2015 +0000 + + Typo + +commit 8f4b75a2a249a61a93b1facb8e70c1081790c7f2 +Author: René Cannaò +Date: Tue Aug 18 21:54:58 2015 +0000 + + Bugfix: running statistics while MySQL module is down causes segfault + +commit 0eac78991e09d704c125833f474f9a9bd28253f4 +Author: René Cannaò +Date: Tue Aug 18 21:39:41 2015 +0000 + + iImplementation of mysql-wait_timeout (issue #321) and others + Also implemented mysql-max_transaction_time : like mysql-wait_timeout , but for transactions + +commit ea1cb87b0e1273a9e2ba08db93f520ed36026860 +Author: René Cannaò +Date: Tue Aug 18 20:10:16 2015 +0000 + + Improved handling of PROXYSQL STOP and PROXYSQL START + + Not perfect implementation . See issue #336 for more details + +commit 112d525c4dbbe5847acf1d8877b9c739ec51fd05 +Author: René Cannaò +Date: Tue Aug 18 18:39:50 2015 +0000 + + Bugfix: PROXYSQL STOP wasn't closing the listener + +commit 654eae846e75638fd128612c505a8e58879e13df +Merge: e68c2012 cffbc6fe +Author: Rene Cannao +Date: Tue Aug 18 14:04:44 2015 +0200 + + Merge pull request #334 from aismail/333-implement-show-processlist + + #333 SHOW PROCESSLIST command + +commit cffbc6feba0dbf15bf6d526261d316b1dc52b657 +Author: Andrei Ismail +Date: Tue Aug 18 14:36:53 2015 +0300 + + #333 Implementing both SHOW FULL PROCESSLIST and SHOW PROCESSLIST + +commit d322635dc6a116cd73a035b7b7f8ad911d485e65 +Author: Andrei Ismail +Date: Tue Aug 18 14:36:29 2015 +0300 + + #333 Improve refresh query matching in order to show realtime results for SHOW PROCESSLIST + +commit 0f0758b2eb5c05ed3f3ce3fd917a99e7ed8550dc +Author: Andrei Ismail +Date: Tue Aug 18 13:44:14 2015 +0300 + + #333 Removing run_stats flag, it's unnecessary + + It's because admindb has statsdb attached to it via the SQLite3 attach + database mechanism. + +commit dc7272554108686b68fd15a3dfd199daba2181fe +Author: Andrei Ismail +Date: Tue Aug 18 12:02:36 2015 +0300 + + #333 Draft implementation of SHOW PROCESSLIST command + +commit 1843624557711b989f619244090d904cc9af317e +Author: Andrei Ismail +Date: Tue Aug 18 11:45:04 2015 +0300 + + #323 Improved changelog w/ @renecannao's observations + +commit e68c2012815d3a2f3ab0db317e71319420ae2e53 +Merge: a0db1d11 74537874 +Author: Andrei-Adnan Ismail +Date: Tue Aug 18 11:29:33 2015 +0300 + + Merge pull request #332 from renecannao/master + + Usability enhancement , and several bug fixes + +commit 74537874c6e2d4bcd27822c0f002f20491b5dd30 +Author: René Cannaò +Date: Mon Aug 17 19:59:31 2015 +0000 + + Fix bug introduced by issue #329 + +commit 47f19169257b0d205e4e5a33324a9582f0e744bf +Author: René Cannaò +Date: Mon Aug 17 17:00:00 2015 +0000 + + Removing an incorrect Makefile + +commit f1b760925f1cfbc0c016c0f68ecd858fc19e8b0a +Author: René Cannaò +Date: Mon Aug 17 10:01:49 2015 +0000 + + Enhanced COM_STATISTICS (#330) and added long_query_time (#327) + +commit f0a833c18f81b4bb460a76c1c3e7c3177fddae6d +Author: René Cannaò +Date: Mon Aug 17 08:51:23 2015 +0000 + + Typo for issue #329 + +commit f31b10ff0e36958e355e4c0bd94deec025ba2f4a +Author: René Cannaò +Date: Mon Aug 17 08:29:46 2015 +0000 + + Enhancements for issue #329 + - added global variables mysql-query_digests + - initialization if either mysql_thread___commands_stats or mysql_thread___query_digests are enabled + - query_parser_free() checks if QueryParserArgs was initialized + - Query_Processor::query_parser_init() checks the command type only if mysql_thread___commands_stats is true + - Query_Processor::query_parser_init() run mysql_query_digest() only if mysql_thread___query_digests is true + - Query_Processor::query_parser_update_counters() updates query digests only if digest_text is not null + - start time is always update (this is relevant for issue #327) + +commit ad412fbf7dda1cbf8d3244faf747e4e07c9eafe2 +Author: René Cannaò +Date: Mon Aug 17 07:57:31 2015 +0000 + + Simplified QueryInfo to prepare enhncement on #329 + +commit e9ac3267d02d4535c8be0a879c2ff25850a9a191 +Author: René Cannaò +Date: Mon Aug 17 07:38:59 2015 +0000 + + Issue #326 : global_variables is refreshed only if it is an admin (not stats) session + +commit 0ff8682f3d6e9905d2d39969940da40f1fcdcb3f +Author: René Cannaò +Date: Mon Aug 17 07:33:26 2015 +0000 + + Implemented new function ProxySQL_Admin:GenericRefreshStatistics() to refresh statistics and also fixes issue #326 + +commit ad30ee613403597e4b3830801716b1e871fa033f +Author: René Cannaò +Date: Sun Aug 16 19:13:32 2015 +0000 + + Bugfix: queries were incorrectly killed + +commit 2c5919d7e9373f8a1c597e8d14548fa13cceb9fa +Author: Andrei Ismail +Date: Sun Aug 16 18:57:25 2015 +0300 + + #323 First version of changelog + +commit a056d7aa79cdeeb3310db37c46894835baeb208d +Author: René Cannaò +Date: Sun Aug 16 10:19:46 2015 +0000 + + Bugfix: graceful handle of unexpected client packets + +commit 3c1fabdad83a26e471b138fa24b78d76bb4adef3 +Author: René Cannaò +Date: Sun Aug 16 10:17:46 2015 +0000 + + generate_pkt_OK and generate_pkt_EOF were erroneously sending mysql->status instead of mysql->server_status + +commit 3fe0021c8acb21cd7319f2a8e7ca06653444cb98 +Author: René Cannaò +Date: Sun Aug 16 08:40:49 2015 +0000 + + Reset of backend wasn't checking if a transaction was active + +commit 2014cbcecf17660f5bad89e8d1c146a183a8a5f3 +Author: René Cannaò +Date: Sun Aug 16 08:39:01 2015 +0000 + + EOF packets returns the correct status + +commit 7b6220a3469bb0a9f8b9d8e13e7050b0511b6c31 +Author: René Cannaò +Date: Sat Aug 15 20:44:30 2015 +0000 + + Fixing a rounding error in stats_mysql_query_digest + +commit c88eb3a5990219142664509dac1ed8ae3e48ad11 +Author: René Cannaò +Date: Sat Aug 15 20:40:19 2015 +0000 + + Fix bug #322 + +commit 77f78d9dd8d7de7bc3561278f0b10091908017cf +Author: René Cannaò +Date: Sat Aug 15 20:35:19 2015 +0000 + + Fix issue #320 converting it to unsigned long long before further compute + Also fixed a typo + +commit 61e98e46df315e684979fbe859d4181f1b3b003e +Author: René Cannaò +Date: Sat Aug 15 20:29:51 2015 +0000 + + Fix issue #319 + New defaults, hardcoded: + - 128 for admin + - 1024 for MySQL_Thread + +commit 08174db85cef9475f3044a38941476fbde321837 +Author: René Cannaò +Date: Sat Aug 15 18:01:34 2015 +0000 + + Typo + +commit 8d8e819aae4466daeb832f9d7451b180a7526ce8 +Author: René Cannaò +Date: Sat Aug 15 17:55:34 2015 +0000 + + Bug fixes + connect_cont() is called only if there is an event available + a 1 second timeout is added for backend connection + +commit a0db1d1136b502749bcd72c10d7417c9a0924b76 +Merge: ef742db8 2c8cd251 +Author: Rene Cannao +Date: Sat Aug 15 11:11:20 2015 +0200 + + Merge pull request #318 from renecannao/master + + Minor bug fixes + +commit 2c8cd251dec1913375aa64269bcf10074e83defc +Author: René Cannaò +Date: Fri Aug 14 19:06:44 2015 +0000 + + Typo in stats tables + +commit 4545e01585a2191cf567c1aa4ae3cde1b5d8c1e8 +Author: René Cannaò +Date: Fri Aug 14 18:38:32 2015 +0000 + + Bugfixes: + - typos in stats_mysql_query_digest_reset + - stats___mysql_query_digests() is executed on demand + - dump_mysql_collations() is moved after table creation + +commit ef742db8cb84b36e6fdb088b8637ed8bbc6cef13 +Merge: c72e6d94 8d4abf90 +Author: Andrei-Adnan Ismail +Date: Fri Aug 14 17:54:41 2015 +0300 + + Merge pull request #317 from renecannao/master + + Rene's recent changes + +commit 8d4abf90c015fb1a4d7d95e5287c78976fcc271e +Merge: 125856dd c72e6d94 +Author: René Cannaò +Date: Fri Aug 14 14:53:09 2015 +0000 + + Merged with master from sysown + +commit 125856ddf6f7870439307e60078110497db6c2b8 +Author: René Cannaò +Date: Fri Aug 14 14:38:27 2015 +0000 + + Implementing mysql_query_digest for real time query statistics + +commit def228b3b0cc4f5fe8ad405a2fc4b20ffb7cedb3 +Author: René Cannaò +Date: Thu Aug 13 11:44:00 2015 +0000 + + Bugfix: fixing an edge case introduced by previous bugfix + +commit ec15c0dfbc0ff7de17486966a04d1749944874b4 +Author: René Cannaò +Date: Thu Aug 13 11:08:17 2015 +0000 + + Bugfix: ping of backend had to wait a poll() to return + +commit 9051e000eeb1d19c7a11c3fffc2fbd08b7267ff2 +Author: René Cannaò +Date: Thu Aug 13 09:05:32 2015 +0000 + + SET NAMES are handled by ProxySQL + + SET NAMES sent from the application only change the charset in the client connection. + When a backend connection is taken from the connection pool and charset mismatches, SET NAMES is sent to the backend + +commit f127ff5fff7d51c76d5927ee837e3afcf02a1d15 +Author: René Cannaò +Date: Tue Aug 11 20:48:26 2015 +0000 + + Handle status ( \s ) command from mysql CLI in admin interface + +commit b7a2caeafa476dde07915f48e1406415763451e7 +Author: René Cannaò +Date: Tue Aug 11 20:09:47 2015 +0000 + + Integration of charset/collation in admin + - added function ProxySQL_Admin::dump_mysql_collations() + - added table mysql_collations + - added command SHOW CHARSET + - added command SHOW COLLATION + +commit dd6c278ec2037b120574e3296665727968b16d0d +Author: René Cannaò +Date: Tue Aug 11 19:05:48 2015 +0000 + + mysql-default_charset (created in issue #222) is now the name of the charset + +commit ac1125dadfbd115bbdb91736ad492d76d05ea4d3 +Author: René Cannaò +Date: Tue Aug 11 17:09:46 2015 +0000 + + Further visual improvement of SHOW CREATE TABLE + +commit d4a520acaea41226e670b1143ec3f14b33d172e4 +Author: René Cannaò +Date: Tue Aug 11 15:07:53 2015 +0000 + + visual improvement of SHOW CREATE TABLE + +commit e7b3abedd0c8f57ad980e6a68357b14cfdb706e0 +Author: René Cannaò +Date: Tue Aug 11 13:56:54 2015 +0000 + + Dump mysql_servers information on error log + +commit 402d49cde365229331f96cd2fe9c045762f77e78 +Author: René Cannaò +Date: Tue Aug 11 13:26:07 2015 +0000 + + Logging for some Admin commands + +commit 6080cb17e1897003db48eea8d9179c05e2c35eb7 +Author: René Cannaò +Date: Tue Aug 11 07:49:15 2015 +0000 + + Improved logging with proxy_info() + +commit e31d0f4c292c8ccc417c030ece2beed4263a31e5 +Author: René Cannaò +Date: Tue Aug 11 07:19:43 2015 +0000 + + Usability improvements + - Replaced some proxy_error() with daemon_log() + - glovars.proxy_restart_on_error is configurable via command line + - glovars.proxy_restart_delay is hardcoded to 1 second + - disabled listeners on telnet + - Option --admin-socket overwrite the default admin socket + +commit 062e1a6a67d719fe29ff9749b995b5e5254d89d6 +Author: René Cannaò +Date: Tue Aug 11 05:49:23 2015 +0000 + + Daemonize + +commit 019ec360763ffadfc6671f28ab095a13665984de +Author: René Cannaò +Date: Mon Aug 10 22:24:17 2015 +0000 + + Cleanup in main() + +commit a075cc9f56065b9e428c308e85ed3893fd0e4b90 +Author: René Cannaò +Date: Mon Aug 10 21:58:37 2015 +0000 + + Code cleanup and minor bug fix in MySQL_Threads_Handler::shutdown_threads() + +commit c5b67371f7deaf52e69d581d7b463bbbb5f5519e +Author: René Cannaò +Date: Mon Aug 10 21:22:53 2015 +0000 + + Code clean up + +commit bf6bfd538920fd454d577b5b41cefb3b04b9a4ef +Author: René Cannaò +Date: Mon Aug 10 21:12:07 2015 +0000 + + Modified a warning to not list any specific config file if missing + +commit 84c0964d645519ff1c0e42cb461c637cb08728d5 +Author: René Cannaò +Date: Mon Aug 10 20:50:59 2015 +0000 + + Usabilility improvements: + - telnet_admin_ifaces disabled as currently not implemented + - telnet_stats_ifaces disabled as currently not implemented + - ProxySQL_Admin::get_variable() uses a safer version of strdup() + - default config file is, in order: proxysql.cnf , proxysql.cfg , /etc/proxysql.cnf , /etc/proxysql.cfg + - default datadir moved from /var/run/proxysql to current working directory + + Minor bug fixes + +commit 2b2454d8bd90b0b3a3e1e2e3470374e95feee450 +Author: René Cannaò +Date: Mon Aug 10 19:36:45 2015 +0000 + + Disabling SSL until it is fully supported + +commit c5935bb8d5d1893d14a086b1c075cfc3d87b15e1 +Author: René Cannaò +Date: Mon Aug 10 19:21:01 2015 +0000 + + Improvement on MySQL protocol with regards to compressed connections and large packets (>16MB) + +commit 00c906de1df031cf22c6319401d0f77a3d716b6b +Author: René Cannaò +Date: Mon Aug 10 12:59:00 2015 +0000 + + Handling of large packets + - added int8_t MySQL_Protocol::generate_pkt_row2() + - fixed a memory leak + + Bug fix on query cache + +commit 9ca3bdf7e647c7e16e6e7294394cfabdd9feaa3a +Author: René Cannaò +Date: Mon Aug 10 10:35:03 2015 +0000 + + Handle large packets from client + +commit f5a9ca278ee6dce661d18e7ddf602e3eb0aba191 +Author: René Cannaò +Date: Mon Aug 10 07:30:51 2015 +0000 + + Reinstalled signal handler + +commit 66e8b0d87a7b428a0174e7098095ebe9f675cafe +Author: René Cannaò +Date: Sun Aug 9 23:56:53 2015 +0000 + + Implemented transaction persistency with transaction_persistent and transaction_persistent_hostgroup + +commit 42b0e6f54abd512075aa7917b7918cefb320ed03 +Author: René Cannaò +Date: Sun Aug 9 23:14:21 2015 +0000 + + Implemented KILL CONNECTION + + Also replaced some proxy_error() with proxy_warning() + +commit 09142ea2321b4853c65683c82287831a23d3cc92 +Author: René Cannaò +Date: Sun Aug 9 21:31:41 2015 +0000 + + Replaced few fprintf() with proxy_error() + +commit 47b9f5fe27404196b878f35e7faa2e0b644e1e11 +Author: René Cannaò +Date: Sun Aug 9 21:15:08 2015 +0000 + + Tune random delay before accept() + +commit c5eb1f2ca10af8c33fabddcf5e90685db7633eb0 +Author: René Cannaò +Date: Sun Aug 9 21:13:59 2015 +0000 + + Random delay before accept() + +commit e55d08c79c692fc39ab15ca36ccad53f1c64d864 +Author: René Cannaò +Date: Sun Aug 9 19:59:01 2015 +0000 + + Bug fix for processlist and "unauthenticated user" + +commit e065fa5055a2e8c1d68d8769cc85d0add3ad9f54 +Author: René Cannaò +Date: Sun Aug 9 18:54:23 2015 +0000 + + Changes in mysql_servers will automatically trigger a signal_all_threads() + +commit 89be97e4abf98b264a7b927fccc590ee27a5650d +Author: René Cannaò +Date: Sun Aug 9 18:03:50 2015 +0000 + + Tuning of processlist + signal_all_threads() now accepts an argument (default 0). If the argument is greater than 0, the threads release the thread_mutex, and sleep for the specified millisecond . + In this way processlist will immediately access all threads + +commit bb3e589e0ccfb62737baef2af629897f94f7d4d1 +Author: René Cannaò +Date: Sun Aug 9 17:30:54 2015 +0000 + + Small bug in stats_mysql_processlist + +commit 0507bf7bfd5153b76e69ee000ad7a13022cd84a7 +Author: René Cannaò +Date: Sun Aug 9 12:02:44 2015 +0000 + + Added new variable free_connections_pct + If the number of free connections is greater than free_connections_pct percentage of max_connections for that specific host, + all connections idle for longer than ping_interval_server are closed instead of sending PING + +commit 046ed7427472b2e0eeb0a4248076a2b4eed5176d +Author: René Cannaò +Date: Sun Aug 9 11:39:51 2015 +0000 + + Introduced table stats_mysql_connection_pool with connection pool statistics + +commit cf1062e8fd2eef1a3803a68b05bd8621f673da1f +Author: René Cannaò +Date: Sat Aug 8 23:17:27 2015 +0000 + + Improvements on handling of idle connections + +commit 96c0904281f36aee6afe7929bfe523939aec37ab +Author: René Cannaò +Date: Sat Aug 8 17:14:48 2015 +0000 + + Handling removal of servers from mysql_servers + +commit e61150b610f65af590b50ed24f382c8ca89ec78b +Author: René Cannaò +Date: Fri Aug 7 22:28:56 2015 +0000 + + Added error log + - function ProxySQL_Admin::flush_error_log() + - command PROXYSQL FLUSH LOGS + - reordered print_version() + + Bug fixes: + - query timeout via mysql_thread___default_query_timeout + +commit f2e8560262c57757e43c2e2b8bf4e21c9bf41a18 +Author: René Cannaò +Date: Fri Aug 7 21:32:47 2015 +0000 + + Disabled prepared statements + +commit ff5b50a82cda0f9db6718680d1084a0b6388157e +Author: René Cannaò +Date: Fri Aug 7 21:14:00 2015 +0000 + + Improved handling of sessions when few backends are available + - added variables mysql_thread___connect_retries_delay and mysql_thread___sessions_sort + - sessions that cannot get a connections are sorted + - commands_stats now defaults to true + +commit a48c08c59e690b598eb8e6786ac1341f9ec1c8ad +Author: René Cannaò +Date: Fri Aug 7 10:37:18 2015 +0000 + + First attempt to handle transactions + +commit 85078fec073aeabe4cf362c856646526668fd5b5 +Author: René Cannaò +Date: Fri Aug 7 08:27:43 2015 +0000 + + Configurable MySQL Query Rules in config file + Implemented LOAD MYSQL QUERY RULES FROM CONFIG via ProxySQL_Admin::Read_MySQL_Query_Rules_from_configfile() + Fixed bug in ProxySQL_Admin::save_mysql_query_rules_from_runtime() + +commit eaf92c4cf43c2cbb0599cec328bc2322da37086e +Author: René Cannaò +Date: Wed Aug 5 19:07:33 2015 +0000 + + Adding l_srv_host and l_srv_port (local address for backend connections) to processlist + +commit cfa5e861fe2473c2e0e4b616f28fedc79825ac36 +Author: René Cannaò +Date: Wed Aug 5 15:03:24 2015 +0000 + + Bug fixes + +commit c06ee95243c2d488a49bae974ef6d10371aa2e48 +Author: René Cannaò +Date: Wed Aug 5 12:31:51 2015 +0000 + + Handling INIT_DB on backends + +commit c72e6d944268dd4fa7bb475af8d33b4dc78db2bc +Merge: dd19907e 360fe43e +Author: Andrei-Adnan Ismail +Date: Wed Aug 5 14:19:32 2015 +0300 + + Merge pull request #315 from aismail/314-config-file-parsing-tests + + 314 config file parsing tests + +commit 360fe43ef801bda24890417a20890b4a478fbc26 +Author: Andrei Ismail +Date: Wed Aug 5 14:18:36 2015 +0300 + + #314 Add test to see whether in-memory tables get correctly populated from the config file + +commit b9d8968fdb806ce06dcaab7eacf9bdbf3287084c +Author: Andrei Ismail +Date: Wed Aug 5 14:18:15 2015 +0300 + + #314 Make it possible for config file fields to be overriden in tests + +commit bb309f3925795638b4358c9b71e78b0394565063 +Author: Andrei Ismail +Date: Wed Aug 5 14:17:24 2015 +0300 + + #314 Add Dockerfile which links simple MySQL instance to ProxySQL with complex config + +commit e31592e3e8cf852416d06778e5b5d756eb61ea33 +Author: Andrei Ismail +Date: Wed Aug 5 14:17:06 2015 +0300 + + #314 Add simple MySQL instance without any schema for complex scenario + +commit 939d26dc2857522cf688c92cca40bc5948fd04b3 +Author: Andrei Ismail +Date: Wed Aug 5 14:16:41 2015 +0300 + + #314 Add ProxySQL docker instance with complex config + + Did not find a good method to inherit from the base ProxySQL image and + only modify the config file, ended up copy-pasting some files. We'll + see how things develop in the future. + +commit 8d4afe043b692e156955aaff2a26e144187dbdfc +Author: René Cannaò +Date: Wed Aug 5 08:26:12 2015 +0000 + + Added "user" and "db" in processlist + +commit 2fc393f74384e223bc88a8fb9c94e02e137e4184 +Author: René Cannaò +Date: Wed Aug 5 07:44:59 2015 +0000 + + Improvement on processlist: + - table is populated only if command includes "stats_mysql_processlist" + - new command state "Delay" + +commit 5ffea879b462af5de0257583881ae84041f61c89 +Author: René Cannaò +Date: Wed Aug 5 07:05:20 2015 +0000 + + Added "command" and "time_ms" in processlist + +commit fa881667e94ee2b1f38f29c74545b421393e4e53 +Author: René Cannaò +Date: Wed Aug 5 00:52:22 2015 +0000 + + processlist shows client info + +commit 7f27c500a798d9b97faaabab3d8fb0e9ba8b328f +Author: René Cannaò +Date: Tue Aug 4 21:27:59 2015 +0000 + + Drafting table stats.stats_mysql_processlist + +commit f141fea3e358d88a453fadf681f0f8d7c91758da +Author: René Cannaò +Date: Tue Aug 4 11:29:28 2015 +0000 + + Fixed missing query statistics + +commit 66728b1196d6eb934dfe3a5ada3f611e92be0cbf +Author: René Cannaò +Date: Tue Aug 4 10:50:16 2015 +0000 + + Random fixes on DBG commands + +commit 7ef8a5214a5fdcc547c9c3f00dea95081584c17e +Author: René Cannaò +Date: Tue Aug 4 09:55:35 2015 +0000 + + Implemented thottling via query delay + +commit 752e653791204dcf894bb34aa1a86815c9a715a5 +Author: René Cannaò +Date: Tue Aug 4 00:04:16 2015 +0000 + + Connection timeout and small improvements + + To handle connect timeout: + - added MySQL_Data_Stream::destroy_MySQL_Connection() + - new async status: ASYNC_CONNECT_TIMEOUT + - "select @@version_comment limit 1" is answered by proxysql and not forwarded to any backend + - added MySQL_Data_Stream variables connect_retries_on_failure and max_connect_time + - added global variables mysql-connect_timeout_server_max and mysql-connect_retries_on_failure + + Improvement: proxysql returns more info in COM_STATISTICS: clients connected and uptime + +commit 0ec14ecab10c73fa719403ee2230ae4f859dd0c3 +Author: René Cannaò +Date: Thu Jul 30 15:46:16 2015 +0000 + + Implemented query timeout based on query rules + +commit 304bd220ad639c5aeed8b723e3e1e606a33ac015 +Author: René Cannaò +Date: Thu Jul 30 13:36:30 2015 +0000 + + Added counters to connection pool + +commit 0261ae86447532f18e2e864feede27901cc12e00 +Author: René Cannaò +Date: Thu Jul 30 12:31:19 2015 +0000 + + Bugfix: OK packets where considered errors + +commit 3c8d65c8132f033f2778dd9e750e39a0bfa327ab +Author: René Cannaò +Date: Thu Jul 30 00:00:36 2015 +0000 + + Initialized variable + +commit 17b3c941d5f4dd3e81f2b268c6d6212a2603d048 +Author: René Cannaò +Date: Wed Jul 29 23:50:52 2015 +0000 + + Fixed bug #302 . Shutdown is now faster + +commit 1a43eb0aeafdacd93ee6ab81300abdc79caa7df0 +Author: René Cannaò +Date: Wed Jul 29 23:18:23 2015 +0000 + + Bugfixes + - memory leak + - other errors as reported by valgrind + +commit ce63fd9a5849068284f245239362d1df75ba165e +Author: René Cannaò +Date: Wed Jul 29 19:21:28 2015 +0000 + + Implemented CHANGE_USER + +commit dca5b434fcf708741685d008bb981490b80c3d3d +Author: René Cannaò +Date: Tue Jul 28 18:49:00 2015 +0000 + + Many bug fixes: + Simplified the ping within MySQL_Thread + SQLite3_row::add_fields() to handle empty string + prot_status was not initialized in MySQL_Protocol + Session's default schema was always mysql_thread___default_schema , now fixed with correct value + default_schema is now read from config file + +commit 76edfb126fbf83271e2c05e2fddb5a486c83369e +Author: René Cannaò +Date: Mon Jul 27 14:04:58 2015 +0000 + + Further implementation of libmariadb client + +commit dd19907e139897535123ef47e42c35a7ba0ef74a +Merge: 6dbe9893 9e983cdc +Author: Andrei-Adnan Ismail +Date: Fri Jul 17 09:19:33 2015 +0300 + + Merge pull request #313 from aismail/295-stress-test-monitor-tables + + 295 stress test monitor tables + +commit 71aab67bc3b4315e3639a747b1485a974a61748e +Author: René Cannaò +Date: Thu Jul 16 21:09:00 2015 +0000 + + Reneabled sessions without frontend, it needs more clean up first + +commit aa37e3938a0beba939194c62be182b0c3f74025e +Author: René Cannaò +Date: Thu Jul 16 20:47:39 2015 +0000 + + Fast forward + +commit 84e6a104d1c4bed422b9fcfe88392235c012ac9d +Author: René Cannaò +Date: Thu Jul 16 20:36:54 2015 +0000 + + Code clean up + +commit 94e9fef1000b187f7e1bc0d604cc7b9adff9a069 +Author: René Cannaò +Date: Thu Jul 16 20:34:45 2015 +0000 + + Minor changes in MySQL_Thread + +commit a78229496c72cf75706db7c4a810e1b1e0d4b220 +Author: René Cannaò +Date: Thu Jul 16 20:10:44 2015 +0000 + + Removed reference to MYDS_BACKEND_PAUSE_CONNECT and MYDS_BACKEND_FAILED_CONNECT + +commit 71826b693c96a7c099857589c338a383c7620dea +Author: René Cannaò +Date: Thu Jul 16 20:09:18 2015 +0000 + + Removed lib/MySQL_Session.cpp_old + +commit 6c44e9d96fed581f4fbe1de8493e05901bcb950a +Author: René Cannaò +Date: Thu Jul 16 20:08:32 2015 +0000 + + Further attempt to use MariaDB Client Library + +commit 9e983cdcefd87db009da21438ea0fbe7167e680c +Author: Andrei Ismail +Date: Wed Jul 15 16:58:06 2015 +0300 + + #295 Stress testing monitor tables locking errors + +commit d9a7c0113fe2636c63e3bbc0f45eae33c9f65184 +Author: Andrei Ismail +Date: Wed Jul 15 16:57:30 2015 +0300 + + #295 MySQL monitor module requires monitor user with monitor password to correctly monitor the connection + + Another way to bypass this is to put another (username, password) combo + in the config file. + +commit f725182050979a65886512d97182e930d5efcc24 +Author: René Cannaò +Date: Tue Jul 14 20:40:23 2015 +0000 + + Commenting out MySQL_Protocol::generate_COM_INIT_DB + +commit 271afbb02cce451ceb8cb66b2945af8b961570d5 +Author: René Cannaò +Date: Mon Jul 13 23:46:33 2015 +0000 + + Handling mysql_select_db() and mysql_set_character_set() for backends using non blocking API + +commit 10b5f6da6dc4baf5b71abb3cf422ae3051ab9348 +Author: René Cannaò +Date: Mon Jul 13 21:15:38 2015 +0000 + + Backend are now pinged using MariaDB Client Library + +commit 037ee484cfd7a7e9beb3045f34faf9bec4f61ea4 +Author: René Cannaò +Date: Mon Jul 13 09:53:28 2015 +0000 + + Handling incorrect db during connect + +commit 1d26b20562eb0c59144cac1b10a362846ca9df9d +Author: René Cannaò +Date: Mon Jul 13 09:24:39 2015 +0000 + + Work in progress in adding MariaDB Client Library + +commit dc63aecfa96e522dbe9e430bb97d08f7de44a46a +Author: Andrei Ismail +Date: Sun Jul 12 17:58:40 2015 +0300 + + #295 Renaming DOCKER_COMPOSE_FILE to SCENARIO + +commit 6dbe98939f54fb0a009e5703d23f972fcf618c76 +Merge: 23e50af8 f08a24cd +Author: Andrei-Adnan Ismail +Date: Sun Jul 12 16:44:14 2015 +0300 + + Merge pull request #311 from aismail/310-run-tests-against-current-branch + + 310 run tests against current branch + +commit f08a24cda73eb1abadd0b3a37471d825680d7d26 +Author: Andrei Ismail +Date: Sun Jul 12 16:43:26 2015 +0300 + + #310 Push compiling proxysql into a script that is run after the volume is mounted + + Otherwise, we can't access the mounted volume in the Dockerfile because + of portability reasons. + +commit b54813f3915efa918c0aaef67b4b184fad7abe6d +Author: Andrei Ismail +Date: Sun Jul 12 16:42:13 2015 +0300 + + #310 Copying the code in /tmp/proxysql-tests before running the test + + .. so that it can be mounted as a volume inside the docker container. + +commit 154e9f694e73bd54663540f3304d6a63bf2e5318 +Author: Andrei Ismail +Date: Sun Jul 12 16:35:52 2015 +0300 + + #310 Using simpler path for mysql + +commit a2d29a91d7fefe5062b28f331c1a2bf091d8276c +Author: Andrei Ismail +Date: Sun Jul 12 16:35:39 2015 +0300 + + #310 Mounting the existing code as an external volume + + This was the only way of ensuring the code was fresh inside the docker + container. However, this comes with the challenge of actually compiling + code after the volume has been mounted, but before starting the daemon. + +commit 9993e3c0f8131f390f01e45b3191e061494b8882 +Author: René Cannaò +Date: Tue Jul 7 17:50:07 2015 +0000 + + Renamed async_status in async_exit_status + +commit 3874c0d9816a697f1cf33b8ebf35469c73b078a8 +Author: René Cannaò +Date: Tue Jul 7 17:34:41 2015 +0000 + + Code cleanup + +commit ff5c62830c8830124bb2d391b16576fcbbe653e2 +Author: René Cannaò +Date: Tue Jul 7 16:52:34 2015 +0000 + + Connects to backends is performed via MariaDB Client Library + +commit 23e50af8c6b096a2a304eed98632e14a97d5cb4e +Author: Andrei-Adnan Ismail +Date: Tue Jul 7 11:46:53 2015 +0300 + + Making DEBUG the default mode + + Because it will be used while running the tests (in development mode). We will have packages with optimized binaries in the future. + We need this to be set to true because otherwise when gdb connects to a crashed proxysql instance, the stack trace will be messed up completely. + + cc @renecannao + +commit 4d90153b74814fcb05a6c3d7a30a31ba2c655300 +Merge: c44423eb c931c110 +Author: Andrei-Adnan Ismail +Date: Tue Jul 7 11:45:15 2015 +0300 + + Merge pull request #308 from aismail/306-configurable-test-credentials + + 306 configurable test credentials + +commit c931c1107785aa10fb525e59ba9f80f1afe08213 +Author: Andrei Ismail +Date: Tue Jul 7 11:39:38 2015 +0300 + + #306 Shutdown the ProxySQL instance before attempting to wait for it by waiting for the gdb process + +commit 90c685ddfc647e75ff364e1c76321a6ad957a8e3 +Author: Andrei Ismail +Date: Tue Jul 7 11:39:07 2015 +0300 + + #306 Turning primitives for running queries against ProxySQL/MySQL/admin interface into class methods + +commit c444bc8a331c5db913b2f6fb1469978b1373fa0a +Merge: 2451b436 c44423eb +Author: Andrei Ismail +Date: Thu Jul 2 12:48:42 2015 +0300 + + Merge branch 'master' into 306-configurable-test-credentials + +commit 2451b43674522bca232fbc6f5f7c904769bfe14b +Author: Andrei Ismail +Date: Thu Jul 2 12:48:02 2015 +0300 + + #306 Fix some bugs related to parametrizing hardcoded constants with a config file + +commit ac8b11c3841e861f57f257098204e68730f8ceb6 +Author: Andrei Ismail +Date: Thu Jul 2 12:17:04 2015 +0300 + + #306 Stop using hardcoded credentials for sending the e-mails + +commit a927672bad42e6eca5a8a9feb953c6547410c336 +Author: Andrei Ismail +Date: Thu Jul 2 12:03:19 2015 +0300 + + #306 Add config file parser + +commit fef8cd796c7e94bc9a8ee30594f5c4a2bbcdc696 +Author: Andrei Ismail +Date: Thu Jul 2 12:02:59 2015 +0300 + + #306 Replace hardcoded MySQL credentials with configurable ones in base test + +commit 0163e66d980a26c91185ac704af28135934a7d14 +Author: Andrei Ismail +Date: Thu Jul 2 12:02:25 2015 +0300 + + #306 Add example configuration file + +commit e9bb0e0e77c9a1cc4767b0cd62edc748f5021ac1 +Author: Andrei Ismail +Date: Thu Jul 2 12:02:04 2015 +0300 + + #306 Add ProxySQL config file for tests to .gitignore + +commit c44423eb20b1a2f43537bb50a764a16d6d04cbda +Merge: eb692ad9 96724870 +Author: Andrei-Adnan Ismail +Date: Wed Jul 1 16:09:57 2015 +0300 + + Merge pull request #307 from aismail/master + + Pull Request Bounty + +commit 9672487034c3c7a61288c572247a785801ee602e +Author: Andrei Ismail +Date: Wed Jul 1 16:08:06 2015 +0300 + + Added Pull Request Bounty + +commit ba16850d2d65022f560c0d0f203aeebc195d9df6 +Author: René Cannaò +Date: Mon Jun 29 07:29:29 2015 +0000 + + Adding function SQLite3DB::return_one_int() + +commit f185f2a13a0dfec56e6d483e63a8a45d4560851c +Author: René Cannaò +Date: Thu Jun 25 17:52:28 2015 +0000 + + Fixed a busy loop, regression + +commit 464b3ca5152d2ed79528c012e289c17df6201a1a +Author: René Cannaò +Date: Thu Jun 25 17:49:54 2015 +0000 + + SHOW TABLES FROM is now avaialable also with stats credentials + +commit 45988e6488e88217c4d076e3d4a8e839f45560dc +Author: René Cannaò +Date: Thu Jun 25 17:27:00 2015 +0000 + + Converted ProxySQL_Admin::__attach_db_to_admindb() to a more generic ProxySQL_Admin::__attach_db() to allow access to monitor via stats + +commit 893b3c26f0dc8d0a0d66583b11c05b6ff5d15686 +Author: René Cannaò +Date: Thu Jun 25 17:12:10 2015 +0000 + + Code cleanup in MySQL_Monitor + +commit 1e4abb99f93fa794a18e3a2487a3b8d4c186ffde +Author: René Cannaò +Date: Thu Jun 25 16:59:46 2015 +0000 + + Fixing locking issue on sqlite3 + +commit c452969941b789825ef004fde79603948bafb79d +Author: René Cannaò +Date: Thu Jun 25 08:23:08 2015 +0000 + + In MySQL_Monitor, changed retry time for LOCKED query from 1ms to 0.1ms + +commit eb692ad933a2a63141c90a7ff5595e6f38c7e49a +Merge: f0e868fb adc7a8d3 +Author: Rene Cannao +Date: Thu Jun 25 08:55:20 2015 +0200 + + Merge pull request #275 from aismail/docker-black-box-tests + + Docker black box tests + +commit f0e868fb1e0322effbc569d8487759ee98a2c1be +Merge: 3e100301 6ed5c782 +Author: Rene Cannao +Date: Thu Jun 25 08:54:21 2015 +0200 + + Merge pull request #293 from renecannao/master + + MySQL_Monitor and bug fixes + +commit 6ed5c782e784fbbde02689871a3fa58a0b8eb991 +Author: René Cannaò +Date: Thu Jun 25 06:05:44 2015 +0000 + + Complex commit, never do it again! + + Dependencies: + - added libevent + - added mariadb-connector-c for non-blocking API + - added patch for mariadb-connector-c ( see https://mariadb.atlassian.net/browse/CONC-131 ) + + MySQL Monitoring: + - added table mysql_server_connect_log + - added table mysql_server_ping_log + - added access to admindb + - implemented monitoring using MariaDB client library non-blocking API and libevent, using MySQL_Monitor_State_Data to track state machine (experimental, and may change a lot in the near future) + - implemented MySQL_Monitor_Connection_Pool , a new connection pool only for MySQL Monitoring + - in MySQL_Thread added variable monitor_history to define the length of logs + - in MySQL_Thread added variables monitor_username and monitor_password to define monitoring credentials + - in MySQL_Thread added variable monitor_timer_cached to define if monitoring timers can be cached + - not completed feature: MySQL_Thread added variables monitor_query_variables, monitor_query_status, monitor_query_interval and monitor_query_timeout to define how global variables and global status are collected + + Admin: + - added access to monitordb, to query MySQL_Monitor tables + +commit adc7a8d367aa76c53f8707754e5b9e8522256369 +Merge: a5111db5 e464c7c1 +Author: Andrei-Adnan Ismail +Date: Mon Jun 22 11:55:13 2015 +0200 + + Merge pull request #9 from aismail/292-proxysql-crash-detector + + 292 proxysql crash detector + +commit e464c7c1dfe96896ec43b612e468bf777ea56d7d +Author: Andrei Ismail +Date: Mon Jun 22 11:54:42 2015 +0200 + + #292 Don't rely on going to the loop again to exit -- exit on the spot when too many failed connection attempts have been detected + +commit 1d838dab3a28d21413c494517ccfafd0c90ecc2c +Author: Andrei Ismail +Date: Mon Jun 22 11:54:19 2015 +0200 + + #292 Relax the condition for sending the error e-mail + + #defensivecoding + +commit 2c7a12d35d620e3b0bda0c9f64a3ea7f70484324 +Author: Andrei Ismail +Date: Mon Jun 22 11:53:40 2015 +0200 + + #292 Make sure that the ping thread finishes faster when not running anymore + + This also minimizeze the chance of a failed connection attempt after it + has been instructed to shut down. + +commit 7986544808d10db6da8515ce7d9a22427859b94b +Author: Andrei Ismail +Date: Mon Jun 22 11:51:52 2015 +0200 + + #292 Stopping ProxySQL pings __after__ gdb has finished running + + Otherwise, it won't have the chance to ping the server and detect it's + waiting for GDB to finish (and interact with the user) while the proxy + process is crashed. + +commit 50783fd237cbaa95da7eb7dff3793e6ce61ed6e7 +Author: Andrei Ismail +Date: Mon Jun 22 11:21:50 2015 +0200 + + #292 Sending warning e-mail after 3 consecutive crashed connection attempts + +commit b671a35379adbdbfec65e086b36fb22a41153d86 +Author: Andrei Ismail +Date: Mon Jun 22 11:21:01 2015 +0200 + + #292 Ping thread needs to connect to MySQL using timeout in order to be able to throw an exception when the proxy isn't responding anymore + +commit 138a2d27df1a0fd6c3fa08e8f4fc704a602694d0 +Author: Andrei Ismail +Date: Mon Jun 22 11:20:10 2015 +0200 + + #292 gdb process needs to be wait()'ed or otherwise we won't have any way of keeping the crashed process in debug mode until someone works on it + +commit 5f5b639249d8e02ca5522fc780a47f45cb8ecce4 +Author: Andrei Ismail +Date: Sun Jun 21 10:41:05 2015 +0200 + + #292 Integrate ProxySQL crash detector thread into test suite + +commit b8b36b29b249d8e6d7418c7f0f3db7244222af9c +Author: Andrei Ismail +Date: Sun Jun 21 10:38:50 2015 +0200 + + #292 Add thread class that continuously pings a ProxySQL instance and reports failures to respond via e-mail + +commit a94bf2d04e77a336dfdf4045da98af48dcc47efe +Author: Andrei Ismail +Date: Sun Jun 21 10:38:09 2015 +0200 + + #292 Re-ordering required Python packages by name + +commit a5111db542397e9be430fb4aae3c28ca1e10bff7 +Merge: f269dadc f907c8fc +Author: Andrei-Adnan Ismail +Date: Sat Jun 20 12:23:01 2015 +0200 + + Merge pull request #8 from aismail/291-proxysql-start-stop-tests + + 291 proxysql start stop tests + +commit f907c8fc5052547b0262900e342f94322d3ccabb +Author: Andrei Ismail +Date: Sat Jun 20 12:14:43 2015 +0200 + + #291 Add test that tests the PROXYSQL STOP command + +commit 5fb5da9c827bf4ecec20742f46d5a48c4e1a4a03 +Author: Andrei Ismail +Date: Sat Jun 20 12:14:28 2015 +0200 + + #291 Add flag that allows flags to be interactive or non-interactive + + For now, all tests will be interactive. + + There are several reasons for wanting tests to be non-interactive as + well: produce only a report of failure or success for example. + +commit 514f59da03c0a80eef8bed6a4bb2eab1b9f41752 +Author: Andrei Ismail +Date: Sat Jun 20 12:13:44 2015 +0200 + + #291 Add API for running gdb on docker host that connects to gdbserver within ProxySQL docker container + +commit eab4a548d6d0049875b21ed36d884cdb533ee310 +Author: Andrei Ismail +Date: Sat Jun 20 12:09:22 2015 +0200 + + #291 Add API for compiling ProxySQL binary on the Docker host + + This is required for the interactive mode, where gdb is ran from the + docker host with the debug symbols accessible, and connects to + gdbserver within the ProxySQL container. + +commit db370c8db11d85ea59683c6f0518d2fbcb0859da +Author: Andrei Ismail +Date: Sat Jun 20 12:08:28 2015 +0200 + + #291 Describe API for running a sysbench test harness against the ProxySQL instance + +commit d242070afae762019dc195086da192ab7913e9b9 +Author: Andrei Ismail +Date: Sat Jun 20 12:06:48 2015 +0200 + + #291 Implement API for running a bash command within the ProxySQL container + + The first application is for the sysbench test. + +commit 4edb0f98675712c09f973534390a5f2c215887fc +Author: Andrei Ismail +Date: Sat Jun 20 12:03:24 2015 +0200 + + #291 Add API for running a ProxySQL admin command in SQL + + This is ran against the SQL admin port of the proxy. + +commit 2d60a08b3d88a0ddd8ec21f0f2d5c80fff604ead +Author: Andrei Ismail +Date: Sat Jun 20 12:02:31 2015 +0200 + + #291 Always run ProxySQL with gdbserver + + The purpose is to drop the user running the tests into an interactive + console to debug a crashed ProxySQL test. + +commit 8d66e621acc03d8fde91b42da5a73fbf2a08953a +Author: Andrei Ismail +Date: Sat Jun 20 12:01:08 2015 +0200 + + #291 Add descriptions of exposed ports in docker compose file + +commit 555da2f9178d7b40cb19a9220568e5eb5b5912f1 +Author: Andrei Ismail +Date: Wed Jun 17 13:57:28 2015 +0300 + + #291 Expose gdbserver port, in case it runs + + This is used for remote debugging - connecting to the crashed ProxySQL + instaince in order to debug the problem, whenever it crashes + +commit 10ddc1a8d016a2af8e0c3faa1b0f9ae8a3d80f20 +Author: Andrei Ismail +Date: Wed Jun 17 13:56:46 2015 +0300 + + #291 Run proxysql container in privileged mode so that apparmor allows gdbserver to run correctly + +commit f269dadc3b60ee7ef82df0a92616bacfe5b8dafc +Merge: 76ec6096 aee79149 +Author: Andrei-Adnan Ismail +Date: Thu Jun 11 13:47:44 2015 +0300 + + Merge pull request #6 from aismail/290-sysbench-first-test + + 290 sysbench first test + +commit aee79149755481a23119b3195650e15c104b45a5 +Author: Andrei Ismail +Date: Thu Jun 11 13:46:42 2015 +0300 + + #290 Added example test that uses sysbench + +commit d754221a7ee7498b6f313edbb55ace7602196d63 +Author: Andrei Ismail +Date: Thu Jun 11 13:30:18 2015 +0300 + + #290 Add primitive for running a customizable sysbench test + + Note that it will always "prepare" the test before running it, as the + Docker container will not contain the databases. The cleanup phase is + not mandatory, but we do it for good practice :) + +commit b99ebd31c2f3c6a9dcc645704ea948e3f8a27fd7 +Author: Andrei Ismail +Date: Thu Jun 11 13:20:14 2015 +0300 + + #290 Install sysbench from sources in the Docker image for ProxySQL + + We need this because we want the .lua files for the test scenarios. + Also, I put it on the ProxySQL instance because the alternative would + have been to put it in the Vagrant machine that encapsulates the tests. + There were 2 disadvantages for that: + * you could not easily run the tests locally unless you were also using + Vagrant + * sometimes there are connectivity problems (due to the way in which + Docker forwards ports) which makes certain MySQL clients not work + +commit f684dd35967fc080a4bcca0773d892679f213ebf +Author: Andrei Ismail +Date: Thu Jun 11 13:18:21 2015 +0300 + + #290 Start ignoring Python binaries + +commit 76ec6096a46a754d8393c1a689023588e0343281 +Merge: 5aad3703 a7695d9c +Author: Andrei-Adnan Ismail +Date: Wed Jun 10 12:54:27 2015 +0300 + + Merge pull request #5 from aismail/287-encapsulate-docker-tests + + 287 encapsulate docker tests + +commit a7695d9cd0a43e93ffecfae4ece8c2ac89932702 +Author: Andrei Ismail +Date: Wed Jun 10 12:53:54 2015 +0300 + + #287 Add a test that authentication against the proxy works correctly + +commit 43c81e5fab3ecf6f77c840965b970e50629443c9 +Author: Andrei Ismail +Date: Wed Jun 10 12:53:39 2015 +0300 + + #287 Add new users to the scenario setup + +commit de9c1f461614ab412c6900dbe1a037fe255abba4 +Author: Andrei Ismail +Date: Wed Jun 10 12:53:16 2015 +0300 + + #287 Improve run_query_proxysql/run_query_mysql to allow username, password and port customization + + This was needed for authentication tests. + +commit 5aad370374155cd5b0f894b0054f4e16ce4b506a +Merge: f31c4471 045c68cf +Author: Andrei-Adnan Ismail +Date: Tue Jun 9 16:34:54 2015 +0300 + + Merge pull request #4 from aismail/287-encapsulate-docker-tests + + #287 Add documentation on how to run the tests without internet conne… + +commit 045c68cf385f1c7c211c17c6a4c10ed7a69e4c30 +Author: Andrei Ismail +Date: Tue Jun 9 16:33:58 2015 +0300 + + #287 Add documentation on how to run the tests without internet connectivity + +commit f31c44714745be254f1f93726555c8b7a7bcde52 +Merge: b9ea0d92 cdf463f8 +Author: Andrei-Adnan Ismail +Date: Sun Jun 7 23:02:12 2015 +0300 + + Merge pull request #3 from aismail/287-encapsulate-docker-tests + + 287 encapsulate docker tests + +commit cdf463f81b5a8e231ffb28b1ce8d61fab11582c8 +Author: Andrei Ismail +Date: Sun Jun 7 23:00:20 2015 +0300 + + #287 Add instructions on how to run the tests w/ Vagrant + +commit 5dc21b2acb9ea7926963dfa935399fe92b669c60 +Author: Andrei Ismail +Date: Sun Jun 7 22:59:47 2015 +0300 + + #287 Add Vagrantfile that is able to provision a Vagrant container in order to run the tests + +commit b9ea0d92c76e9470fbe5fafd7ec1e70fba087d45 +Merge: d9b4ed14 bd17e0a2 +Author: Andrei-Adnan Ismail +Date: Wed Jun 3 13:30:46 2015 +0300 + + Merge pull request #2 from aismail/285-base-test-class + + 285 base test class + +commit bd17e0a2fdb016051691bc27850fd126f5fd39c7 +Author: Andrei Ismail +Date: Wed Jun 3 13:30:10 2015 +0300 + + #285 Add document that describes how to write a test + +commit dc19cb9ff4b8bfe5353e34324507944554fdf735 +Author: Andrei Ismail +Date: Wed Jun 3 13:29:59 2015 +0300 + + #285 Rename "docker" top-level folder to scenarios + +commit 020dd5b044f14762af9363ba1c593ce2a856603f +Author: Andrei Ismail +Date: Wed Jun 3 13:15:42 2015 +0300 + + #285 Move ProxySQL docker container to a "base" folder, from where it can be used "as is" + +commit 8121f19dafcde86393700e83bc1680a7f37837b7 +Author: Andrei Ismail +Date: Tue Jun 2 14:23:15 2015 +0300 + + #285 Simplify the example test to use the utility method that runs queries against the proxy + +commit e0388cd932803700077cfbfad83e7130d7c8a349 +Author: Andrei Ismail +Date: Tue Jun 2 14:22:50 2015 +0300 + + #285 Document the methods of the ProxySQL base test class + +commit 0d2667d78bc5b18f6cdab32bdf69e147e95eb43b +Author: Andrei Ismail +Date: Tue Jun 2 14:22:17 2015 +0300 + + #285 Added utility methods for running SQL queries against the proxy or against a MySQL backend + +commit e3b03dbaba3d643c5c8e08e639a54c8ff9d208bd +Author: Andrei Ismail +Date: Tue Jun 2 14:21:35 2015 +0300 + + #285 Make sure to always drop the database before populating the schema + + The reason is that the previous tests might have left the database in + an inconsistent state. + +commit 3edc0ab63f6dc442d2a554e9eb74738b16600aba +Author: Andrei Ismail +Date: Tue Jun 2 14:20:53 2015 +0300 + + #285 Expose the MySQL backend publicly so that the tests too can connect to it. + +commit 0663fc20a0c58ccf323fee0924729e9c88f64062 +Author: René Cannaò +Date: Sun May 24 18:39:01 2015 +0000 + + More on splitting MySQL_Module in multiple submodules + +commit 44414299794cbea2ad6979cf39e5a83b35b3fddc +Author: René Cannaò +Date: Sun May 24 09:33:15 2015 +0000 + + Splitting MySQL_Monitor into multiple sub modules + +commit 04fe577032d1bee913c169920065189f33e51cbe +Author: Andrei Ismail +Date: Fri May 22 17:13:40 2015 +0300 + + #285 Implement one simple test that selects strings and checks for all of them being present + +commit f4f191c963f37fc0d5c76d8671500b1d2179d0f3 +Author: Andrei Ismail +Date: Fri May 22 17:13:15 2015 +0300 + + #285 Add base class for ProxySQL tests based on a fleet of containers w/ Docker + +commit c7d199bd0663c4d02860b9948b71ee37e8dd07e0 +Author: Andrei Ismail +Date: Fri May 22 17:12:49 2015 +0300 + + #285 Fix config file name + + .cfg wasn't being picked up by ProxySQL. What led me into believing it + was .cfg was that the config file in the root of the repo is named like + that. + +commit d78acb1cbfd8c98873d476cc92ac9c9e139892a7 +Author: Andrei Ismail +Date: Fri May 22 17:11:40 2015 +0300 + + #285 Populate db with 4 strings for playing around with them + +commit 5f4ae7e00990211d21138b5efc7f413c305f041a +Author: Andrei Ismail +Date: Fri May 22 17:11:18 2015 +0300 + + #285 Stop mapping ProxySQL admin port 127.0.0.1 interface + + The reason for which I was trying to do this was that it wasn't being + correctly forwarded by Docker. It works correctly if I bind the + forwarded port to 0.0.0.0 instead of 127.0.0.1 on the original + container. + +commit 5db205365d81c3cee09b003babc44ba090099837 +Author: Andrei Ismail +Date: Fri May 22 09:32:19 2015 +0300 + + #285 Add Dockerfile for ProxySQL instance w/ one backend. + +commit f9c70f11f8974c5e3da674a5dd645dd0b00130ae +Author: Andrei Ismail +Date: Fri May 22 09:22:50 2015 +0300 + + #285 Add requirements.txt for running the Python test suite + + Docker compose and requests version are particularly important. + +commit 71c0fb2722224de4870d0c81d1f146df4ea53ab2 +Author: Andrei Ismail +Date: Fri May 22 09:22:17 2015 +0300 + + #285 Add base class for ProxySQL tests + + Proxy config population is still not working because I'm not able to + access the admin port on MacOS (via boot2docker). Moving development + into the cloud .. :) + +commit 13511276c77f1883cecfdc96a0b7adb92868b0fc +Author: Andrei Ismail +Date: Fri May 22 09:21:34 2015 +0300 + + #285 Add Dockerfile for MySQL instance + + We are extending the base Dockerfile with a schema dump and a script + that is able to install that. + +commit e45ad15bf32ac4f24b9ad1b494d00fb0753644de +Author: Andrei Ismail +Date: Fri May 22 09:21:01 2015 +0300 + + #285 Delete Dockerfile -- we will have one per test setup + +commit 8d805c387793ec067ad11a5e2e954cecbc9e2aaf +Author: Andrei Ismail +Date: Fri May 22 09:19:56 2015 +0300 + + #285 Add docker compose YML for setting up 1 proxy and 1 MySQL backend + +commit d9b4ed1496eca825811c8cc5be3d180717e74b91 +Merge: 4bef6592 3e100301 +Author: Andrei Ismail +Date: Wed May 20 15:20:01 2015 +0300 + + Merge branch 'master' into docker-black-box-tests + +commit 221268d1b0561b94459496648f7f2921a01d7759 +Author: René Cannaò +Date: Tue May 19 17:24:54 2015 +0000 + + Added global variables for MySQL Monitor module (issue #282) + +commit 3e100301719244daacf802c5343c99e739307e0d +Merge: 95784103 afdc0f6c +Author: Andrei-Adnan Ismail +Date: Tue May 19 17:24:44 2015 +0300 + + Merge pull request #277 from renecannao/master + + Removing plugin interface + +commit 37c894074a57426653b16f0a7bf0aab7b84dcff3 +Author: René Cannaò +Date: Tue May 19 13:07:29 2015 +0000 + + Fix issue #281 + +commit b4a9b68bb709f84f055cca78feb1dc1517f84f13 +Author: René Cannaò +Date: Tue May 19 13:02:50 2015 +0000 + + MySQL_Monitor has access to MySQL global variables via an object of MySQL_Thread (issue #280) + +commit 2b603a7fc1f242aab4e7f2b7239fb297cf8d93a7 +Author: René Cannaò +Date: Tue May 19 11:44:03 2015 +0000 + + Fix issue #278 + +commit eb74677b5399fbfec92843a68ce66a673bac3a69 +Author: René Cannaò +Date: Tue May 19 11:37:01 2015 +0000 + + First draft to create the MySQL Monitor Module (issue #279) + +commit afdc0f6c47fd5776c2462147d53f61a1a30fb2b1 +Merge: f99f54b2 ae0035d3 +Author: René Cannaò +Date: Fri May 15 22:26:58 2015 +0000 + + Merge branch 'master' of https://github.com/renecannao/proxysql-0.2 + + Conflicts: + src/proxysql.cfg + +commit f99f54b2a003d02abf2eb89db23c40f192823af4 +Author: René Cannaò +Date: Fri May 15 22:23:05 2015 +0000 + + General code cleanup + +commit 0009c35bf22eb541f53bd21cff0f2d5717cac1ee +Author: René Cannaò +Date: Fri May 15 21:39:26 2015 +0000 + + ProxySQL_Admin is not a plugin module + +commit 4bef65923097975aa10d950006398aec2221b3d2 +Author: Andrei Ismail +Date: Fri May 15 14:47:24 2015 +0300 + + Put Dockerfile into an empty dir in order to minimize context transfer. + +commit 7ea22f93484860402c05c4cc2f30314ceec4b6c7 +Author: Andrei Ismail +Date: Fri May 15 14:46:57 2015 +0300 + + Making sure our DockerFile takes into account best practices. + +commit 30f1aa871272eed75a375bbec0f269cf31ec327e +Author: Andrei Ismail +Date: Fri May 15 11:52:49 2015 +0300 + + Remove invalid comment. + +commit e8e01a841503a36a4deb51a18383ae3a0dff788c +Merge: c6587262 ce085b46 +Author: Andrei-Adnan Ismail +Date: Fri May 15 11:49:18 2015 +0300 + + Merge pull request #1 from aismail/274-dockerize-proxysql + + #274 Added initial version of the Dockerfile for ProxySQL + +commit ce085b46aa97069c538ea2f77f18d4790ac64d0b +Author: Andrei Ismail +Date: Fri May 15 11:43:45 2015 +0300 + + #274 Added initial version of the Dockerfile for ProxySQL + +commit d9a2df7039be97d535fe87bd47ece4d461507ce0 +Author: René Cannaò +Date: Wed May 13 07:18:53 2015 +0000 + + Query Cache is not a plugin anymore + +commit 8bee981d3309f82f02ea4d3870284a983b2881f2 +Author: René Cannaò +Date: Tue May 12 15:26:50 2015 +0000 + + Fixing a small performance regression caused by testing + +commit 63d2bea7ddd56c66db6dcf35ba5a0efe160c1ac2 +Author: René Cannaò +Date: Tue May 12 15:22:07 2015 +0000 + + Query_Processor is no longer a plugin + +commit 59507675e5ffc56f5c57b64bbe5e86871bf72093 +Author: René Cannaò +Date: Tue May 12 14:29:05 2015 +0000 + + MySQL_Thread, MySQL_Threads_Handler and MySQL_Authentication are no longer modules + +commit ae0035d3c5602641618c5859e68f6000a8a00535 +Author: René Cannaò +Date: Wed Apr 29 06:04:05 2015 +0000 + + Removing some debugging + +commit a47136e82933a417b3a2475a9880f9819df6a181 +Author: René Cannaò +Date: Wed Apr 29 04:32:10 2015 +0000 + + Fix bug #264 + +commit 95784103cb2f1507138c0e8466224d59114abbe4 +Merge: d35e59ed 5ccf176c +Author: Rene Cannao +Date: Sun Apr 19 10:23:16 2015 +0200 + + Merge pull request #259 from renecannao/master + + Query parsing optional , add variable mysql-commands_stats , issue #258 + +commit 5ccf176c5bf105173ff57126d34d1e4e4eedb8cb +Author: René Cannaò +Date: Sun Apr 19 08:21:17 2015 +0000 + + Query parsing optional , add variable mysql-commands_stats , issue #258 + +commit d35e59edb4e7bc4caf8c801729a91973c34fd75d +Merge: 05c33f8d 14933cb9 +Author: Rene Cannao +Date: Sun Apr 19 07:13:54 2015 +0200 + + Merge pull request #254 from renecannao/master + + Allow admin module to wake up MySQL Threads + Initial work on improvement user management with regards to schema and fast forward + Handling query rewrite + Issues #253, #255 , #255 , #256 + +commit 14933cb943cb05815b1ad3791b5ebca71a788029 +Author: René Cannaò +Date: Sun Apr 19 05:00:47 2015 +0000 + + Handling query rewrite , issue #257 + +commit 047793dae94d0f6f7a3d8cfd93f9bc23cf1c6e53 +Author: René Cannaò +Date: Sat Apr 18 19:30:41 2015 +0000 + + Initial work on improvement user management with regards to schema and fast processing + See issues #255 and #256 + +commit 90ea9ea406f613de8af4182e6d981d2d5178e547 +Author: René Cannaò +Date: Fri Apr 17 03:59:28 2015 +0000 + + Allow admin module to wake up MySQL Threads #253 + +commit 05c33f8d728fcefbc46898428dadd15fa23c9728 +Merge: 0d5ed4e9 5dd56963 +Author: Rene Cannao +Date: Wed Apr 8 02:39:53 2015 +0200 + + Merge pull request #252 from renecannao/master + + max_connections and small improvement in admin module + +commit 5dd56963cc20538992d1fc8588e6230b19e6c416 +Author: René Cannaò +Date: Wed Apr 8 00:36:41 2015 +0000 + + Variables in global_variables are case insensitive (issue #128) + +commit 282d399f46a132570027728c434fc83b9dec81cf +Author: René Cannaò +Date: Wed Apr 8 00:25:57 2015 +0000 + + Added admin commands shortcut (issue #204) + + Added: + SHOW GLOBAL VARIABLES + SHOW ALL VARIABLES + SHOW VARIABLES + SHOW MYSQL USERS + SHOW MYSQL SERVERS + SHOW ADMIN VARIABLES + SHOW MYSQL VARIABLES + +commit 77dbe919741cc3ea3990aef4bfd3298a70ec3a95 +Author: René Cannaò +Date: Tue Apr 7 23:58:28 2015 +0000 + + Implemented variable mysql-poll_timeout_on_failure (issue #251) + +commit 29e19b78f1eba91832f17bc46966989f720b1966 +Author: René Cannaò +Date: Tue Apr 7 22:42:45 2015 +0000 + + Added max_connections (issue #250) + +commit 0d5ed4e96b3d6f03bfee91c7bb292866c630770a +Merge: c6587262 b8d6fe83 +Author: Rene Cannao +Date: Tue Apr 7 20:38:37 2015 +0200 + + Merge pull request #249 from renecannao/testfast + + Testfast + +commit b8d6fe838b8780bafb63ece6b9d92cfeebf2431d +Author: René Cannaò +Date: Tue Apr 7 08:05:21 2015 +0000 + + Drafting session_fast_forward (issue #36) + +commit 414588e0462a85e67498a7f289731298c67b1467 +Author: René Cannaò +Date: Mon Apr 6 12:49:45 2015 +0000 + + Reducing number of poll() (issue #247) + +commit fd9374d2cf22544c5101ba598c54b966381114f4 +Author: René Cannaò +Date: Sun Apr 5 21:57:15 2015 +0000 + + Fixed a loop around get_multiple_idle_connections() + +commit ee4a52b59156762a9d7382968c996a398c5966f7 +Author: René Cannaò +Date: Sat Apr 4 19:26:55 2015 +0000 + + Handling POLLNVAL, issue #246 + +commit a8eaf17208d0dd99c429e5d11ecbb2998be023f8 +Author: René Cannaò +Date: Sat Apr 4 18:56:00 2015 +0000 + + Fix issue #245 + +commit 8b119f6ec559baf5a14ae0c3ecc0a2c244a7ffcf +Author: René Cannaò +Date: Sat Apr 4 13:03:20 2015 +0000 + + A lot of code clean up + +commit aff4312f3aa5e89c15354a604507152b0cf7d4a3 +Author: René Cannaò +Date: Sat Apr 4 12:50:08 2015 +0000 + + Removed obsolete directories + +commit c6587262e736005d291f5e67943686b9546666c3 +Author: René Cannaò +Date: Sat Apr 4 00:37:01 2015 +0000 + + Config file + +commit 09f06215408e2016d9e01cdeb7fda401ef106df9 +Author: René Cannaò +Date: Tue Mar 31 15:08:07 2015 +0000 + + Added example config file + +commit a15a5d2327c6cc1d9d20d1559760392c808c062b +Author: René Cannaò +Date: Mon Mar 30 06:20:37 2015 +0000 + + Added global variable mysql_interfaces (issue #243) + +commit ae50f925a7a2c2e93cc90d2265aabdb9677cedd7 +Author: René Cannaò +Date: Sun Mar 29 00:32:23 2015 +0000 + + Fix bug #240 + +commit 23526391a694ba7b16b4a1d85393672f451ac4ea +Author: René Cannaò +Date: Wed Mar 25 15:24:21 2015 +0000 + + Fixed some memory bug (crashing bug) in admin module + +commit a7b625e7df9474e8d106d1727121dbe1569cc3f9 +Author: René Cannaò +Date: Wed Mar 25 13:06:51 2015 +0000 + + Attempt to fix bug #240 + +commit 635b4b1f02278f6918927d7f3294fe25f8ad546b +Author: René Cannaò +Date: Wed Mar 25 12:18:36 2015 +0000 + + Bug fix + _MYSQL_COM_STMT_PREPARE was removed by mistake in commit 6632ee979f1de8eef5e942eebd1da52dd0d6aef3 + +commit 4ebd9e15d2e4e60a555e652c352db8854aee1ad5 +Author: René Cannaò +Date: Wed Mar 25 09:16:35 2015 +0000 + + Better hanlding of configuration file + + Bug fixes: + proxysql stop/start was causing a crash when trying to read from a config file already closed + fixed a typo in server_capabilities + mysql_threads can now be changed if the MySQL module is not running + +commit e6c37eca3eaee053bbe56a4e3ec0f025678be3df +Author: René Cannaò +Date: Tue Mar 24 22:12:43 2015 +0000 + + Loading Variable "threads" in config file section "mysql_variables", issue #239 + +commit 9594b42aefebc4b48b35cc365bd489e994019aee +Author: René Cannaò +Date: Tue Mar 24 20:59:29 2015 +0000 + + Small bug fix and optimization + + myhash in Standard_MySQL_Authentication::lookup + +commit 6632ee979f1de8eef5e942eebd1da52dd0d6aef3 +Author: René Cannaò +Date: Tue Mar 24 09:55:52 2015 +0000 + + Basic implementation of COM_CHANGE_USER client side (issue #187) + +commit 4b8f5784dbd35a272f65e5a26df814fe0db68f86 +Author: René Cannaò +Date: Sat Mar 21 11:29:40 2015 +0000 + + Basic implementation of prepared statements (issue #200) + +commit efca45c7f6a0225c5591877488ec403a8d1488b3 +Author: René Cannaò +Date: Sun Mar 15 10:21:15 2015 +0000 + + LOAD MYSQL SERVERS|USERS FROM CONFIG now return number of affected rows . Issues #232 and #233 + +commit 27af48375564b49626c82ab6dc28d5016157d4d1 +Author: René Cannaò +Date: Sun Mar 15 10:14:57 2015 +0000 + + LOAD MYSQL VARIABLES FROM CONFIG (issue #235) now returns number of affected rows + +commit 252be449b4d5ad916b4e62e7859d176246557570 +Author: René Cannaò +Date: Sun Mar 15 10:05:40 2015 +0000 + + Implemented command LOAD MYSQL VARIABLES FROM CONFIG (issue #235) + +commit 1968367493760b98a10e98a0d2fe4ce90ceb7411 +Author: René Cannaò +Date: Sun Mar 15 10:00:02 2015 +0000 + + Implemented LOAD MYSQL SERVERS FROM CONFIG (issue #233) + +commit ed2b8122c2108aa1e99e7fb4ab6410a97467b514 +Author: René Cannaò +Date: Sun Mar 15 09:54:49 2015 +0000 + + Added debug for issue #232 + +commit 02ac381aa141e9010950df3b0b7192c6f32b9da3 +Author: René Cannaò +Date: Sun Mar 15 09:50:07 2015 +0000 + + Improving handling of config file + + Added ProxySQL_ConfigFile::CloseFile() + Implemented LOAD MYSQL USERS FROM CONFIG (issue #232) + +commit 022341548a293292816c1da80a130c18a9563e0b +Author: René Cannaò +Date: Sat Mar 14 23:32:21 2015 +0000 + + Implemented Standard_ProxySQL_Admin::Read_Global_Variables_from_configfile() + +commit c383b194fb806c4ba0d2c62aa566048f0db18d26 +Author: René Cannaò +Date: Sat Mar 14 09:40:01 2015 +0000 + + Fix issue #184 + +commit 93d7f020dc68d1d6216b3958051ef5a2395149e8 +Author: René Cannaò +Date: Sat Mar 14 09:37:47 2015 +0000 + + Removing ARG for --initial --reload and -m + +commit a9db075a52577299abfa1b273e079bfa07fa7298 +Author: René Cannaò +Date: Sat Mar 14 09:34:27 2015 +0000 + + Removed proxysql.cfg from git + +commit b8c2235b68988ad18296c28268befb1ba7074a91 +Author: René Cannaò +Date: Sat Mar 14 09:32:41 2015 +0000 + + Improving handling of command line options, related to issues #230 and #231 + +commit 853a8fc4dc2ec23b8e6981a91dc58f91054bbac9 +Author: René Cannaò +Date: Fri Mar 13 21:26:43 2015 +0000 + + Improving processing of command line options. + + Drafting implementation of command line options --initial and --reload (issues #230 and #231) + Removing command line option --admin-pathdb + Cleaning ProxySQL_GlobalVariables::process_opts_pre() and ProxySQL_GlobalVariables::process_opts_post() + Standard_ProxySQL_Admin::init() now opens file GloVars.admindb instead of "proxysql.db" + Improving command line processing in main() + ProxySQL_ConfigFile::OpenFile() exits in case of parsing error + + Adding docs file on command line options + +commit 0c7043e5237db4c5b92530cf871ec41e6cc92111 +Author: René Cannaò +Date: Fri Mar 13 14:42:09 2015 +0000 + + Drafting config file + +commit ebf72f6682b14833dcbb5232d852929a49e206e3 +Author: René Cannaò +Date: Tue Mar 10 17:23:08 2015 +0000 + + Improved support for compression, issue #219 + Now compression on backend seems working + + Fixed issue #209 + +commit c1678558c18b33eea21da6083bec7b786cf988fd +Author: René Cannaò +Date: Mon Mar 9 23:31:19 2015 +0000 + + Further development to support compression: Issue #219 + + Added functions: + MySQL_Data_Stream::generate_compressed_packet() + Extended changes in: + MySQL_Data_Stream::array2buffer() + MySQL_Data_Stream::buffer2array() + + Further improvements: + Added global variables mysql-have_compress : issue #225 + MySQL_Protocol::process_pkt_initial_handshake() support upper and lower capabilities + Added timestamp and timediff in proxy_debug_func() : issue #228 + +commit 94c38a41cd99730fd5ec3f0a58fba639343c0c2b +Author: René Cannaò +Date: Sun Mar 1 02:57:51 2015 +0000 + + Improving support for compression (issue #220) + + Small bug fix + +commit 9de4f6bea42250f3962ea6b9eaf845b1e62d80af +Author: René Cannaò +Date: Sun Mar 1 02:47:38 2015 +0000 + + Prelim development to track statuses in MySQL_Connection , issue #224 + +commit f5ea427a4d4da2bfac7a3d5ec225d2e16035b8aa +Author: René Cannaò +Date: Sun Mar 1 00:01:46 2015 +0000 + + Developing support for charset , issue #223 + + Added functions: + MySQL_Protocol::generate_COM_QUERY() + MySQL_Connection::set_charset() + MySQL_Session::handler___status_CHANGING_CHARSET() + MySQL_Session::handler___client_DSS_QUERY_SENT___send_SET_NAMES_to_backend() + + Added CHANGING_CHARSET in enum session_status, and handled in MySQL_Session + + Still TODO: + track and handle client’s change of charset + +commit f0ec7e509bf0c9445c72d4be494256f1c34ef118 +Author: René Cannaò +Date: Sat Feb 28 00:09:29 2015 +0000 + + Added global variable mysql-default_charset + Issue #222 + +commit 6ba6c52826e78e9c7b8efbad6957de8cbe3d6d3e +Author: René Cannaò +Date: Fri Feb 27 23:52:06 2015 +0000 + + Added compression field in mysql_servers table + Issue #220 + +commit 568ef1b5d193d5f327638e3f6475acb963c90457 +Author: René Cannaò +Date: Thu Feb 26 14:06:50 2015 +0000 + + Bulk delete of connections when server status is not online + + Used by issue #218 + +commit e8d50d9f0a0cb104ea12281d9473253c0acf2d17 +Author: René Cannaò +Date: Thu Feb 26 13:21:30 2015 +0000 + + Improvement on connection pool + + Issues #215 , #216 and #217 + 215 : Connection pool should not return connections if server status is not ONLINE + 216 : Connection pool should return connections based on weight + 217 : Crash if no backend + +commit 308f3a8a90f86640ff63ad6292d6436d9e17c093 +Author: René Cannaò +Date: Thu Feb 26 11:48:29 2015 +0000 + + Further development on MySQL Hostgroups Manager + + Implemented functions: + - MySQL_HostGroups_Manager::dump_table_mysql_servers() + - MySQL_HostGroups_Manager::generate_mysql_servers_table() + - Standard_ProxySQL_Admin::save_mysql_servers_runtime_to_database() (issue #17) + + Improved Standard_ProxySQL_Admin::load_mysql_servers_to_runtime() to process also status + Improved MySQL_HostGroups_Manager::commit() to modified MySrvCs + + Database in MyHGM is accessible via Admin (issue #212) + + Enforced debugging if specified at the command line (issue #213) + +commit 2709cc369f6cf413799f9a0b8f1ca576ee3628a9 +Author: René Cannaò +Date: Sun Feb 22 11:06:04 2015 +0000 + + Improvements on backend management + Issues #208 and #209 + +commit 535874292ede8866e379df15063d6718d4f9c4ba +Author: vegaicm +Date: Sun Feb 22 11:02:39 2015 +0100 + + More work on bug #207 + Class Standard_MySQL_Thread was restructured + mysql_thread___ thread variables are moved out to global variables + Standard_Proxy_Admin calls Standard_MySQL_Thread::refresh_variables after initializing the thread structure + +commit d315650f2cf77a96f4154b25df25c29c8c37dfd1 +Author: vegaicm +Date: Sun Feb 22 03:28:54 2015 +0100 + + More work on bug #207 . Class Standard_MySQL_Thread needs some review + +commit 6e3c929b435343af56f0a003a2605a554818d950 +Author: René Cannaò +Date: Sun Feb 22 00:02:40 2015 +0000 + + Fix bug #207 + +commit 17ddec943eaa073fe9d6315bd9a1f4d40ca71b88 +Author: René Cannaò +Date: Sat Feb 21 23:11:22 2015 +0000 + + Added variables ping_timout_server and ping_interval_server + + Issues #205 and #206 + +commit f0714676c3cb85b9c351b0d55552c931b1c5e8cf +Author: René Cannaò +Date: Sat Feb 21 17:05:16 2015 +0000 + + Removing previous comment + +commit 9cdebef9ca91a3310013f7e3bac29fe925c570e9 +Author: René Cannaò +Date: Tue Feb 17 18:43:48 2015 +0000 + + Bug fix and improved debugging + + For better debugging, added functions: + MySQL_Data_Stream::clean_net_failure() + MySQL_Data_Stream::set_net_failure() + MySQL_Data_Stream::setDSS_STATE_QUERY_SENT_NET() + MySQL_Session::set_unhealthy() + + Added condition mybe->server_myds->PSarrayOUTpending->len==0 to determine if DSS can be STATE_QUERY_SENT_NET + +commit 01834ee2f3051289e1842c3535da3dd4f88b0ee1 +Author: René Cannaò +Date: Tue Feb 17 16:33:06 2015 +0000 + + Adding some proxy_debug() + +commit c1b7a1873afd2b8698b15021d96e294a1974f2a5 +Author: René Cannaò +Date: Tue Feb 17 15:15:36 2015 +0000 + + Attempt to improve connection pool + +commit 24db7ed825a96f9471b948f3a5fae87c02e922a5 +Author: René Cannaò +Date: Tue Feb 17 13:44:42 2015 +0000 + + Removing the idle connection handler thread introduced in previous commit 21b20c0257bef8b25a115c2d8a64817943f41572 + +commit 21b20c0257bef8b25a115c2d8a64817943f41572 +Author: René Cannaò +Date: Tue Feb 17 13:31:25 2015 +0000 + + Connection pool improvements , in beta + + Developed class StatCounters to keep time series counters + Added 2 new instances of StatCounters: + - MySQL_Session::command_counters; + - ProxySQL_Poll::loop_counters; + Counters are dispayed in "dbg thread status" + + Defined new variables mysql-connect_timeout_server_error and mysql-connect_timeout_server (issue #202 and #203) . + They are defined but not implemented yet. + + Fixed two crashing bug when "gdb command" was trying to access: + - its own Query_Info if this one was not initialized + - Query_Info of another thread if this one was not initialized + + Introduced new variable ProxySQL_Poll:poll_timeout that Session can overwrite to apply a timeout different than mysql_thread___poll_timeout + + Added variable MySQL_Connection::last_time_used , updated at creation time and when calling push_MyConn_to_pool(). + + for each Connection add a "last_time_used" + + Added function get_multiple_idle_connections() + + Implementing Standard_MySQL_Threads_Handler::connection_manager_thread() , but doesn't seems to be a good idea + + ==== + New attempt for connection handling + MySQL_Session has a new bool variable : connections_handler + Standard_MySQL_Thread has a new variable PtrArray : mysql_sessions_connections_handler + Added new function Standard_MySQL_Thread::register_session_connection_handler + SESSIONS_FOR_CONNECTIONS_HANDLER sessions are created in Standard_MySQL_Thread::init() + Added new function Standard_MySQL_Thread::process_all_sessions_connections_handler() + + New variables in Standard_MySQL_Thread: + MySQL_Connection **my_idle_conns; + bool processing_idles; + unsigned long long last_processing_idles; + + Added DSS STATE_PING_SENT + MySQL_Session::handler___status_WAITING_SERVER_DATA___STATE_PING_SENT + +commit 663a1b5630277fd573bde7be638335a8edecc4a0 +Author: René Cannaò +Date: Wed Feb 11 05:49:36 2015 +0000 + + Further simplification of connection management. + + Removed MySQL_Connection *myconn from MySQL Backend + Removed server_myds and server_myds from MySQL_Session + Fixed a bug that caused an infinite loop in case the backed was not able to create new connection + +commit cc9eb4d807acc868a714447942c69a20357dbac7 +Author: René Cannaò +Date: Tue Feb 10 18:36:48 2015 +0000 + + Removed client_fd and server_fd from MySQL_Session + +commit a8ac2749b3b2fbbecb2933f6b0581a1537860610 +Author: René Cannaò +Date: Tue Feb 10 18:06:48 2015 +0000 + + Removed old file mysql_session.cpp.old + +commit 6cc87cb9316569a11b8e65529d3fd188ab8d9403 +Author: René Cannaò +Date: Tue Feb 10 17:53:20 2015 +0000 + + Remove MySQL_Protocol instances from MySQL_Session and moved into MySQL_Data_Stream + +commit 06856206f3705d6db9dd8aadf948e147f8b1a798 +Author: René Cannaò +Date: Tue Feb 10 15:34:25 2015 +0000 + + Attempt to multiplex also on OK packets + +commit 24ab9f43985d5c5141c18743f77a303e0e46a4f2 +Author: René Cannaò +Date: Tue Feb 10 14:45:30 2015 +0000 + + More work for facilitate debug in MySQL Thread (issue #198) + + Standard_MySQL_Threads_Handler::SQL3_Threads_status() (still not completed) now locks the MySQL Threads + + Some functions of Standard_MySQL_Threads_Handler and Standard_MySQL_Thread are taken out from the class definition + +commit 125114b0d51c2fdb665712e8f0f119d10538d8a7 +Author: René Cannaò +Date: Tue Feb 10 12:54:33 2015 +0000 + + Work for facilitate debug in MySQL Thread (issue #198) + + In order to facilitate the reuse of code in Standard_ProxySQL_Admin.cpp : + - moved remove_spaces() from Standard_ProxySQL_Admin.cpp to gen_utils.cpp + - moved Standard_ProxySQL_Admin::SQLite3_to_MySQL() to MySQL_Session::SQLite3_to_MySQL() + + Moved few macros from Standard_Query_Processor.cpp to proxysql_macros.h + + Added functions: + - MySQL_Session::SQL3_Session_status() + - MySQL_Session::handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_QUERY_debug() + - Standard_MySQL_Thread::SQL3_Thread_status() + - MySQL_Threads_Handler::SQL3_Threads_status() (not completed) + + Modified class Query_Info to copy queries : this can be a small performance penalty, but can improve functionalities + + Added mysql commands: + - DBG SESSION STATUS + - DBG THREAD STATUS + - DBG THREADS STATUS + + Added variable MySQL_Thread::thread_mutex , a mutex to protect the thread: this will be used to implement access to MySQL Thread via Admin + + MySQL_Thread now have a new per thread variable updated via Admin Interface : + - mysql_thread___session_debug + + ProxySQL_Poll now counts number of poll() in variable "loops" + + If mysql_thread___session_debug is enabled and a query starts with "dbg " it is interpreted as a command for proxysql. + + In Standard_ProxySQL_Admin added a variable admin_mutex to protect the update of statistics. + + Fixed minor bugs. + +commit ea46b285c7776da3d6dd9afbc484d2f90c6b3f74 +Merge: 209d7843 d4f9c49e +Author: Rene Cannao +Date: Mon Feb 9 00:52:41 2015 -0800 + + Merge pull request #190 from jesmarcannao/last + + FIX ISSUE #174 + +commit 209d78439768698fd3e3ef37abcdbbb54a40cd3c +Author: René Cannaò +Date: Mon Feb 9 00:47:47 2015 +0000 + + Drafting auto-reconnect + + Issue #195 and relative subtickets: + - issue #191 + - issue #192 + - issue #194 + +commit d4f9c49e1b01e4d8ae04bb654adab2a7f1ea9c04 +Author: Jesmar Cannaò +Date: Sun Feb 8 16:37:05 2015 +0100 + + Fix Issue #182 + + Prevent loading modules compiled for a different version + +commit b46fa7c5f2430c2e1a8d685e2a0b66dc89a068e6 +Author: René Cannaò +Date: Sun Feb 8 15:04:21 2015 +0000 + + Fix on bug #193 + +commit df0b81ddea000976a713d73816df1ce69e60d879 +Author: René Cannaò +Date: Sun Feb 8 12:01:24 2015 +0000 + + More improvements on Connection Pool + + For issue #187: + Introduced the follow functions: + - MySQL_Session::handler___status_CHANGING_USER_SERVER() + - MySQL_Session::handler___client_DSS_QUERY_SENT___send_CHANGE_USER_to_backend + - MySQL_Protocol::generate_COM_CHANGE_USER() + Modified MySQL_Session::handler___status_CHANGING_SCHEMA() to return a boolean to handle failures + Connections where INIT_DB or COM_CHANGE_USER fails are not reusable + Added session_statuses CHANGING_USER_SERVER and CHANGING_USER_CLIENT (currently not used, but needed for issue #187) + + For issue #188: + Added variable MySQL_Connection_userinfo::hash : this is compared into MySQL_Session + Added function MySQL_Connection_userinfo::compute_hash() to automatically compute MySQL_Connection_userinfo::hash when a variable is changed + hash is compute with SpookyHash::Hash64() + + Fixed bug #189: + removed an parameters incorrectly passed to fprintf + +commit 0717312c50bf083a9d6c40279861f5ed63c024e5 +Author: Jesmar Cannaò +Date: Sun Feb 8 12:51:22 2015 +0100 + + Fix Issue #175 + + Print "DEBUG" in version if compiled with DEBUG option : main process + +commit 3a9fe080eedb0fa7c3eaf11f6b2c5947a63fd18e +Author: Jesmar Cannaò +Date: Sun Feb 8 12:04:24 2015 +0100 + + FIX ISSUE #174:: Print "DEBUG" in print_version() if compiled with DEBUG option : all modules + +commit 5619f1293b9c669e16d334671a82c2d137718649 +Author: René Cannaò +Date: Sat Feb 7 16:58:09 2015 +0000 + + Fix broken pipe (SIGPIPE) when backend connections is closed + Fix for bug #183 + +commit e5aa508aebed1ffe2c0fc2382bc1b6088efc182c +Author: René Cannaò +Date: Sat Feb 7 11:11:55 2015 +0000 + + Fix few unallocated bytes , bug #185 + + Added "delete mysql_thr" + Added Standard_ProxySQL_Admin::drop_tables_defs() + +commit 9fe89b6d62a0b86b32634a7db5d2c0ff5e354dde +Author: René Cannaò +Date: Sat Feb 7 09:34:39 2015 +0000 + + Temporary disabled the artificial random network failure + +commit 2401b12803fb97e0c0fc9310523e5ca927c7159f +Author: René Cannaò +Date: Sat Feb 7 09:33:04 2015 +0000 + + Custom memory allocator is optional, and disabled by default + + Used new variable GloVars.global.use_proxysql_mem + + Issue #184 + +commit 3e8929d9c8d33d90d3bb696fc86f0d6ae061597b +Author: René Cannaò +Date: Sat Feb 7 08:28:39 2015 +0000 + + Clean up on Standard_MySQL_Thread + + To improve readability, added these functions: + - myds_backend_pause_connect() + - myds_backend_first_packet_after_connect() + - listener_handle_new_connection() + +commit cc9e635abdced14b5dc376c2a9b459803814ecb9 +Author: René Cannaò +Date: Sat Feb 7 07:50:20 2015 +0000 + + Clean up on Standard_MySQL_Thread + + Removed unnecessary code + To improve readability, added these functions: + - process_data_on_data_stream() + - process_all_sessions() + - myds_backend_set_failed_connect() + +commit b84960da67153cb19734fcbd4962f4164be9174e +Author: René Cannaò +Date: Tue Feb 3 02:10:50 2015 +0000 + + Draft on Handle missing backends , issue #181 + + Introduced MySQL_Session variable "pause_until" + Simulated random missing backend + +commit 754327b00a6c9b742f439078283ac653dddccbc5 +Author: René Cannaò +Date: Tue Feb 3 01:39:25 2015 +0000 + + Fixed bug #154 : PROXYSQL STOP and RESTART do not graceful close sockets + +commit 08d5de7f5210c42a5cb830339299bb7f79e232ea +Author: René Cannaò +Date: Tue Feb 3 01:22:41 2015 +0000 + + Disabling callgrind output file + +commit 1eb485f6329ae9c904f8234df29aa63a972095e2 +Author: René Cannaò +Date: Tue Feb 3 01:22:04 2015 +0000 + + Disabled profile information for gprof by default + +commit 3e41779f7ecbb30c41b4fc9c7b6ff3c3f8692e1e +Author: René Cannaò +Date: Tue Feb 3 01:20:37 2015 +0000 + + If client disconnect, active backends are destroyed + +commit 71ca1453fc6079e2649b662c9e2c62bf0f30b367 +Author: René Cannaò +Date: Mon Feb 2 23:43:19 2015 +0000 + + Fix some memory issues detected by valgrind + +commit f929f433e3371958783093aed365cd9c3a6fa7c2 +Author: René Cannaò +Date: Mon Feb 2 21:11:09 2015 +0000 + + Removed some files from gcov + +commit 58516935058799886e3841a1be059c1adfea0d3c +Author: René Cannaò +Date: Mon Feb 2 21:10:36 2015 +0000 + + Removed "MYSQL myconn" from MySQL_Connection + +commit cf0aabe7dd0b158490dc14ddb77316c43eb578f2 +Author: René Cannaò +Date: Mon Feb 2 00:52:19 2015 +0000 + + Bug fix for issue #179 + +commit 90a7fe07204db2b6e6aa5073295be5b8682d032b +Author: René Cannaò +Date: Mon Feb 2 00:33:02 2015 +0000 + + Add support for gprof : issue #180 + +commit bcc19d619f4898b94990296df1caac067e447b7e +Author: René Cannaò +Date: Sun Feb 1 10:38:47 2015 +0000 + + Removed classes MySQL_Server MySQL_Hostgroup MySQL_Hostgroup_Entry MySQL_HostGroups_Handler + +commit 9fbce3159330236909f52146dd62ed63aeb5d9d5 +Author: René Cannaò +Date: Sun Feb 1 00:47:04 2015 +0000 + + Attempt to remove references to MyHGH + +commit 44f433c260b2b92abfe74e01967c902d12fe54e3 +Author: René Cannaò +Date: Fri Jan 30 14:45:54 2015 +0000 + + Replaced MySQL_Session_userinfo with MySQL_Connection_userinfo + + Due the change in Connection Pool, user information need to be stored at Connection level and not at Session level + +commit ca1704ba4051fa2b936370b2d02f4ae4e5e6c825 +Author: René Cannaò +Date: Fri Jan 30 12:47:48 2015 +0000 + + Bug fixes + + Fixed crashing bug in Admin module when ProxySQL is started with --no-start + When a client connection is terminated, the backend connection is returned to connection pool on if not in a transaction + +commit 4b8ac564acd82a1e7294a6b49608bfd821ba4f8d +Author: René Cannaò +Date: Tue Jan 27 23:46:11 2015 +0000 + + Clean up of MySQL_Session + Made a copy of mysql_session.cpp to mysql_session.cpp.old + Renamed mysql_session.cpp to MySQL_Session.cpp and performed some code cleanup + +commit 181ed20bd356e9776b33ebec93e58bcd80a4ac18 +Author: René Cannaò +Date: Mon Jan 26 21:42:51 2015 +0000 + + Development on Connection Pool and Multiplexing + + In MySQL_HostGroups_Manager: + - added function add() for MySrvC + - fixed few typos : poll => pool + - added locking in several functions + + First cleanup of MySQL_Hostgroup_Entry + + In MySQL_Protocol: + - added variable prot_status + - added variable fd + - added function process_pkt_EOF() + - variable parent is a MySrvC * + - extended functions pkt_ok() , pkt_end() and pkt_handshake_server() to update prot_status + - added function process_pkt_EOF() + - fixed warns to be uint16_t instead of uint64_t + + In MySQL_Data_Stream: + - fixed bug on read_from_net() + - added function unplug_backend() + + In MySQL_Session: + - attempting multiplexing if the connection has no active transactions and in case of SELECT statements + - destination_hostgroup returned in qpo is applied + +commit a34798dbbf2b1a857177e1a54a3a64b8efd157c9 +Author: René Cannaò +Date: Mon Jan 26 06:09:07 2015 +0000 + + Broken file + +commit 9b452dfa0d789627306e505cc2219f9c0ef3aaaa +Author: René Cannaò +Date: Mon Jan 26 06:05:02 2015 +0000 + + Splitting MySQL_Session:handler() in many many smaller functions + +commit bc8fc47ed6dd85eea0c9407d846f558b7179ae79 +Author: René Cannaò +Date: Fri Jan 23 09:21:21 2015 +0000 + + Introducing MySQL_HostGroups_Manager + + MySQL_HostGroups_Manager merges the best of: + - MySQL_HostGroups_Handler + - MySQL_Connection_Pool + + Still in development: will be shadowing the original Handler and ConnPool + +commit 5a3f95eb19a0654ac4f4477f7631d00485b2048b +Author: René Cannaò +Date: Thu Jan 22 08:28:45 2015 +0000 + + MySQL Backends can now be available via Unix Socket Domain: issue #161 + +commit de752320308dd37f84dfd21aed6a2b837c534998 +Author: René Cannaò +Date: Thu Jan 22 05:50:50 2015 +0000 + + Fixed issue #157 : Statistics on query cache seems incorrect + + Threads were updating KV_Btree variables instead of global variables. + Currently moved everything to static variables. + +commit 13eb6873354e4ad7c7250928f1b9c790674516eb +Author: René Cannaò +Date: Wed Jan 21 23:16:11 2015 +0000 + + More work on issue #168 + Implemented new class Query_Info used in MySQL_Session + Added MYSQL_COM_QUERY_command MYSQL_COM_QUERY_COMMIT + Added virtual function Query_Processor::query_parser_update_counters() + curtime moved from local variable in Standard_MySQL_Thread::run() to public variable in MySQL_Thread , so accessible by other classes + Extended stats_mysql_commands_counters from 2 columns to 15 columns!! It nows have betters statistics on timing and distribution + Added command MYSQL_COM_QUERY___NONE as a marker . It also have the special meaning that Query_Info is not a query. + commands_counters is now an array of pointers to Command_Counter objects + MySQL_Data_Stream::read_from_net() updates mypolls->last_recv[] with curtime if mypolls is active (MySQL_Thread) + MySQL_Data_Stream::write_to_net() updates mypolls->last_sent[] with curtime if mypolls is active (MySQL_Thread) + For MySQL queries (_MYSQL_COM_QUERY) queries statistics are updated via CurrentQuery, an instance of Query_Info + +commit a85bc447157d0f8192e71062ff14c71a5dca2387 +Author: René Cannaò +Date: Wed Jan 21 09:05:39 2015 +0000 + + Implemented table stats_mysql_commands_counters : issue #168 + + Implemented get_stats_commands_counters() in Query_Processor + Implemented stats___mysql_commands_counters() in ProxySQL_Admin + Added table mysql_commands_counters + Added MYSQL_COM_QUERY_SHOW_TABLE_STATUS in MYSQL_COM_QUERY_command + Standard_Query_Processor has the commands description in commands_counters_desc + Introduced per thread storage variable _thr_commands_counters + query_parser_command_type() is now a wrapper to __query_parser_command_type() so to update counters based on its return value + + Bug fixed: + Added transactions in Standard_ProxySQL_Admin::stats___mysql_query_rules() + Added SHOW command in libinjection + +commit 848b15f1495c8661e00438fb31a3a91e7967abab +Author: René Cannaò +Date: Tue Jan 20 10:40:39 2015 +0000 + + More work on parser : Issue #158 + Implemented query_parser_command_type() to at least recognize queries from sysbench + Currently commands supported: + - ALTER [ONLINE | OFFLINE] [IGNORE] TABLE + - ANALYZE [NO_WRITE_TO_BINLOG | LOCAL] TABLE + - BEGIN + - COMMIT + - DELETE + - INSERT + - SELECT (not for update) + - SET + - UPDATE + + Small change on libinjection : Issue 152 + Added COMMIT + +commit b1a22a38e77f8125e9df20ee6fdc01603b49fde7 +Author: René Cannaò +Date: Tue Jan 20 09:23:07 2015 +0000 + + Fixed bug #167 + +commit 8f9193a8ce966a0455bd43f8c369ef66c827c4c1 +Author: René Cannaò +Date: Tue Jan 20 09:19:01 2015 +0000 + + Fixed issues #159 and #160 + +commit 5f179eca36a2ff5f2f4bbe63c0899b7b78e849ea +Author: René Cannaò +Date: Tue Jan 20 07:02:36 2015 +0000 + + Started working on query parsing. Issues #158 and #152 + Per issue #158: + - Created 4 new functions in class Query_Processor. + - See doc/internal/query_parser.txt + Per issue #152: + - Patched deps/libinjection/Makefile to compile with -fPIC + - Standard_MySQL_Thread is linked against libinjection + +commit f868efc1ab7a7e535f102703a10cd536c915fa6d +Author: René Cannaò +Date: Sun Jan 18 08:53:45 2015 +0000 + + Fixed bug #153 + +commit 4702dc340b868f32ad35221d104fab805b2ff43f +Author: René Cannaò +Date: Sun Jan 18 08:52:28 2015 +0000 + + Fix bug #155 + +commit 4a5bb59f4a7cd1ad96ffc4a230fde8ed7a413a6e +Author: René Cannaò +Date: Sun Jan 18 07:50:57 2015 +0000 + + Fixed bug #111 . + array2buffer had an optimization for small packets, but it break for large packets. + Moved away the optimization + +commit bb1958a23f6d684adaebae994fecf6f415e431bb +Author: René Cannaò +Date: Sun Jan 18 04:13:50 2015 +0000 + + Reformatting MySQL_Data_Stream::buffer2array() + +commit fb2e8735e44b5e59826e87309cf34edb3592c903 +Author: René Cannaò +Date: Sun Jan 18 04:03:05 2015 +0000 + + first bug fix for issue #111 + +commit 2ce3ef03f8b66d113a0421fc57b36fcadc2f9c63 +Author: René Cannaò +Date: Sun Jan 18 02:50:09 2015 +0000 + + Fixing indentation in MySQL_Data_Stream::array2buffer() + +commit 5c8fb4d90143e1842c33845639e1954e3bf2c6c4 +Author: René Cannaò +Date: Thu Jan 15 23:46:18 2015 +0000 + + Added README + +commit f9ebd6034304a312fcc98056b3faf90a72053ea1 +Author: René Cannaò +Date: Tue Jan 13 01:42:14 2015 +0000 + + Added libinjection in deps + This library will be used for tokenizing + +commit 3f28a36c526352971a10d98d2e62e19c48e870bd +Author: René Cannaò +Date: Mon Jan 12 21:37:32 2015 +0000 + + Implemented SELECT DATABASE() (issue #150) + +commit 442c30844d4d8f855400f48824b693fa2ee33593 +Author: René Cannaò +Date: Mon Jan 12 21:34:32 2015 +0000 + + Implemented SHOW DATABASES (issue #141) + +commit acd3d07583a27b9c8b6bcb3405ada3ce21356750 +Author: René Cannaò +Date: Mon Jan 12 09:41:40 2015 +0000 + + Deprecated function Standard_ProxySQL_Admin::add_default_user() (issue #129) + +commit e0cefa327a2d308c925820958f994fd63edf7cb5 +Author: René Cannaò +Date: Mon Jan 12 09:06:41 2015 +0000 + + Implemented SHOW CREATE TABLE for tables in other databases (issue #144) + +commit 0bb30b9e15a28cd8cd7c829600a60d826434ca3e +Author: René Cannaò +Date: Mon Jan 12 08:42:53 2015 +0000 + + Implemented SHOW TABLES for other databases + +commit f9924703343acb2ae80ee1130d6523b1d991ff81 +Author: René Cannaò +Date: Mon Jan 12 07:36:15 2015 +0000 + + global variable admin-debug changes the value of GloVars.global.debug (issue #149) + +commit 923720bfbbcdc945fb9d28c5e4d28b00161ade87 +Author: René Cannaò +Date: Mon Jan 12 07:17:19 2015 +0000 + + Implemented global variable mysql-servers_stats (issue #148) + +commit 62e2e7873666f7cb83b9dfeaf3bbadab396e4429 +Author: René Cannaò +Date: Mon Jan 12 06:24:32 2015 +0000 + + Issue #146 + - created Query_Processor::update_query_processor_stats() + - every mysql_thread___poll_timeout millisecond MySQL_Threads call GloQPro->update_query_processor_stats() to update global statistics + + update_query_processor_stats can be extended to load more type of queries + +commit 322a4f021f10a1ed714c3cf6a5bc5cd494b4c6ed +Author: René Cannaò +Date: Mon Jan 12 05:44:31 2015 +0000 + + Enhancement on Query Processor and draft statistics interface + - changed hits from uint64_t to int; + - QP_rule_t has a pointer to its parent : this is done to speed up lookup + - implemented get_current_query_rules() to execute SAVE MYSQL QUERY RULES FROM RUNTIME (issue #93) + - implemented get_stats_query_rules() to save statistics on stats_mysql_query_rules (issue #139) + - created 2 new classes to easily process statistics in Query Processor : QP_rule_text and QP_rule_text_hitsonly + - extended classes SQLite3_row and SQLite3_result + - every __admin_refresh_interval milliseconds Admin refreshes statistics + - defined table stats_mysql_query_rules + - deprecated __attach_configdb_to_admindb() , replaced with __attach_db_to_admindb (used in issue #142) + - to admindb are now attached both configdb and statsdb (issue #142) + - drafted a way to update hits on Query Processor . This method will go away when issue #146 will be implemented + - fixed crashing bug in issue #145 + +commit b01ab34e49b6e041bba047e95970b89a9990970c +Author: René Cannaò +Date: Sun Jan 11 21:53:15 2015 +0000 + + Issue #138 + +commit fed62eca439b61c0587d98f9a87983f41bb94908 +Author: René Cannaò +Date: Sun Jan 11 21:11:42 2015 +0000 + + Issue #136 : + Now make in root directory will take care of compiling everything + DEBUG and OPTZ variables are set in root Makefile and removed from subdir + + Fixed issue #137 + +commit 30a957ba9de25c496fa0f20f51a21a89ce0e43a1 +Author: René Cannaò +Date: Sun Jan 11 09:58:34 2015 +0000 + + unix file shouldn't be deleted here, but only during shutdown + +commit 872e62c59ceae78bc86eeac2bed55118fcff42e1 +Author: René Cannaò +Date: Sun Jan 11 09:56:17 2015 +0000 + + Fixed issue #135 + + Socket file are automatically deleted + +commit dd6da9648df5e68538db578c8b554dc3ae147655 +Author: René Cannaò +Date: Sun Jan 11 09:21:58 2015 +0000 + + Issue #118 + Admin listeners are now configurable through global variables. + The 3 global variables are: + admin-mysql_ifaces + admin-telnet_admin_ifaces + admin-telnet_monitor_ifaces + + It also includes some preparation for issues #132 and #133 + +commit e2efa487b20df9a246d30c5ad6428b8fd4d61cbe +Author: René Cannaò +Date: Sun Jan 11 03:31:55 2015 +0000 + + Added new doc file + +commit 5e24e1311ecdf32df1c7c545b7e1c642e735c305 +Author: René Cannaò +Date: Sun Jan 11 03:17:00 2015 +0000 + + Issue #130 + Ensure that all the commands executed in Monitor interface are read only + Create a small lists of not allowed commands: + - PRAGMA + - ATTACH + In case such commands are executed, they are logged in error log as warnings + +commit 85998fe4132639914695fe0bf42e4d3a94796c2e +Author: René Cannaò +Date: Sun Jan 11 02:57:17 2015 +0000 + + Issue #130 + Commands LOAD/SAVE/PROXYSQL are available only from the Admin interface, not from the Monitor interface + +commit aaba85fe00ab9efeb7ad1da4a15ea62c91ea6d44 +Author: René Cannaò +Date: Sun Jan 11 02:50:02 2015 +0000 + + Implemented feature in issue #131 + + Adding support for Monitor Interface (issue #130) + +commit 3485228b718dba9997ab0117af77a88c15cd24cb +Author: René Cannaò +Date: Sun Jan 11 01:42:09 2015 +0000 + + Many changes + + - added some doc about global_variables + - added c_tokenizer to tokenize C strings. Its first use is to split user/pass via c_split_2() + + Issue #127 + - extensive work here , now Admin support its own global variables + - commands available are: + LOAD|SAVE ADMIN VARIABLES FROM|TO DISK|MEMORY|RUNTIME + + Issue #126 + - username and password to access admin interface are now configurable in global_variables + + Issue #129 + - started deprecating add_default_user(), deprecated by #126 + + Drafting Monitor interface : issue #130 + + Bug fixes: + - fixed typo in SAVE MYSQL VARIABLES TO DISK; + +commit 9de1ff413ffda593444cd4ca5c27fc440da2a000 +Author: René Cannaò +Date: Thu Jan 8 08:49:10 2015 +0000 + + Fix issue #125 + +commit 454aa00f0f8bedcf80ddb3684f1365c6e4765d99 +Author: René Cannaò +Date: Thu Jan 8 07:15:21 2015 +0000 + + Issue #123 and more + + Issue #123: + - in case of backend authentication failure the client is disconnected and MySQL_Connection on backend marked not reausable + + Bug fixes: + - fixed a bug in MySQL_Protocol::process_pkt_OK() + - increased DEBUG_MSG_MAXSIZE : long debugging messages were causing crash + + Added few more debugging entries + + Issue #114 : marked with perror() + assert() + + Marked with assert another not handled scenario + +commit b98c1d3e6da99990c724aecca421b650c2c51b31 +Author: René Cannaò +Date: Thu Jan 8 05:09:16 2015 +0000 + + Fixed issue #115 + +commit 7a177ac934b849c1b9fa05ef4f6e93102a1ea55c +Author: René Cannaò +Date: Wed Jan 7 08:59:17 2015 +0000 + + Issue #121 + Calls from Standard_ProxySQL_Admin to MySQL_Threads_Handler are wrapped by lock + LOAD MYSQL VARIABLES TO RUNTIME (or equivalent) calls commit() so that other threads will update + +commit cb7167ba76a2f568bff59643f15f13bda324698d +Author: René Cannaò +Date: Wed Jan 7 08:06:42 2015 +0000 + + Issue #121 + Fixed few minor bugs. + Extended Standard_MySQL_Threads_Handler::get_variable for more variables + Better handling of threads and stacksize in Standard_MySQL_Threads_Handler::init + Implemented in Admin: + - load_mysql_variables_to_runtime + - save_mysql_variables_from_runtime + - flush_mysql_variables___database_to_runtime + - all LOAD MYSQL VARIABLES variants + - all SAVE MYSQL VARIABLES variants + +commit ef6b174ca3398de551b07308fb35d52385043911 +Author: René Cannaò +Date: Wed Jan 7 06:24:17 2015 +0000 + + Completed issue #120 + Implemented issue #119 , and created default also for stacksize + +commit 44936fc678390299b32a319634540ff0c455c0ff +Author: René Cannaò +Date: Wed Jan 7 05:58:47 2015 +0000 + + Issue #113 + Implemented flush_mysql_variables___runtime_to_database() + +commit 4a7c6e5eedc58a2c8458fb8eb9e9272ebc4f5f46 +Author: René Cannaò +Date: Wed Jan 7 02:43:11 2015 +0000 + + Fixed issue #116 + +commit 89d119743a55d351a776c8c7eb46dbc9b5d97cea +Author: René Cannaò +Date: Wed Jan 7 02:39:09 2015 +0000 + + More code for issue #113 , preparing Admin to handle global_variables table + Fixed bug introduced by #112 + +commit 4d6ef8686c9a70af469db7eee067429ae0d17288 +Author: René Cannaò +Date: Wed Jan 7 01:25:07 2015 +0000 + + Start work on issue #113 + +commit 886744fe5c5be985543b8d1dcb5809b0fa6467b8 +Author: René Cannaò +Date: Wed Jan 7 00:35:08 2015 +0000 + + More work on issue #112 + +commit f814966675b50d02533b8b6e7cf6839f1b324aa0 +Author: René Cannaò +Date: Mon Jan 5 08:20:08 2015 +0000 + + Issue #112 + Created virtual class MySQL_Threads_Handler + Implemented MySQL_Threads_Handler as Standard_MySQL_Threads_Handler + +commit 2052f74eba6bcac16fc1cb5fd5bb90af80d6f120 +Author: René Cannaò +Date: Mon Jan 5 03:35:49 2015 +0000 + + Fix issue #110 + +commit 7b7b872c987cabb2c299d0a4d5547e9a99f3fd01 +Author: René Cannaò +Date: Mon Jan 5 03:09:28 2015 +0000 + + Drafted connection pool: issue #109 + Added additional debug for issue #108 + +commit 19a508826594c4544cbea45a92f2ac826ef7380b +Author: René Cannaò +Date: Sat Jan 3 19:46:53 2015 +0000 + + Fix issue #99 + +commit 552a419f05c16efd76f7621ce0536708bb07d391 +Author: René Cannaò +Date: Sat Jan 3 08:46:25 2015 +0000 + + Some code clean up. Issue #25 + +commit 590b0720c94139f6e905dbffba3cc86c38e3c13b +Author: René Cannaò +Date: Sat Jan 3 08:36:22 2015 +0000 + + Issue #93 : adding reset_all() before loading rules + +commit da574af13db77161c25f8541f60999396155cc89 +Author: René Cannaò +Date: Sat Jan 3 01:13:18 2015 +0000 + + Uncommenting a line + +commit c933b1ff21eafdca970c45d041af27c220fa4a2e +Author: René Cannaò +Date: Fri Jan 2 23:16:49 2015 +0000 + + Fix issue #97 . + Special user "admin" is not saved in mysql_users table + +commit 95a2583bf10f38b49234f1271dc8f9cf30fe2c04 +Author: René Cannaò +Date: Fri Jan 2 22:36:10 2015 +0000 + + Fix on issue #96 + +commit 7252e65ac19314444dade5fd80863639eb61fa20 +Author: René Cannaò +Date: Fri Jan 2 08:15:56 2015 +0000 + + Minor typos + +commit ccc40a0b2a35dc862ee1d7850ba0455b5ccdf60f +Author: René Cannaò +Date: Fri Jan 2 07:53:23 2015 +0000 + + Work in issues #91, #92 and #93 + +commit a49e991fea3ac461460ac654c624f734a0c0b91f +Author: René Cannaò +Date: Tue Dec 30 22:24:19 2014 +0000 + + Better handle of NULL value returned by SQLite3 + +commit 67d8eb6c3bea2bad69835afbaa1a28f8e8d199cb +Author: René Cannaò +Date: Tue Dec 30 07:53:43 2014 +0000 + + Further fixes on bug #94 + +commit 6e0eaab56e6c1e92e1c6b9e3f67f3d89c49e1a7b +Author: René Cannaò +Date: Tue Dec 30 07:11:43 2014 +0000 + + More development for issue #89 + + First hot fix for issue #94 + +commit b205afec3f3f609f595e2b516bd6bec5c2487dc3 +Author: René Cannaò +Date: Sun Dec 28 21:42:18 2014 +0000 + + Issue #25 . Deleted include/old/shared_query_cache.h + +commit eae356b5f8780ce0a7ac983b10c8606c388079d6 +Author: René Cannaò +Date: Sun Dec 28 21:40:29 2014 +0000 + + Issue #25 . Deleted lib/old/Shared_Query_Cache.cpp + +commit 8ce555b613db74a04db3e6e69157323350049d9f +Author: René Cannaò +Date: Sun Dec 28 21:33:04 2014 +0000 + + Deleted several files per issue #25: + + rm lib/Standard_Query_Cache.cpp_string + rm lib/Shared_Query_Cache.cpp_ + rm lib/mysql_thread.cpp_ + rm lib/mysql_protocol.c + rm lib/query_cache.cpp + rm include/query_cache.h____ + rm include/CMakeLists.txt + rm include/mysql_thread.h_ + rm include/shared_query_cache.h + +commit 607121ef79a3545a9af9d2bbc806feec65c60536 +Author: René Cannaò +Date: Sun Dec 28 09:17:02 2014 +0000 + + Issue #88. + Fixed fixed a bug with locking on rules. + +commit 4e62707844caba92d12166c6b57d8c8925b8da4c +Author: René Cannaò +Date: Sun Dec 28 07:02:10 2014 +0000 + + Added debug mobule debug_mysql_query_processor (PROXY_DEBUG_MYSQL_QUERY_PROCESSOR) per issue #88 + +commit 637a3b054811b8e6b4299bdcaed3bc110f37018e +Author: René Cannaò +Date: Sun Dec 28 06:08:42 2014 +0000 + + Initial work on issues #84 and #85 + +commit 07e29c5bcbbc31b139aeba0a85d6cb4906310412 +Author: René Cannaò +Date: Sun Dec 28 02:09:41 2014 +0000 + + Issue #84 + For now the default username/password is admin/admin + Later this can be overwritten from config file + +commit 51aec603da8ab8c1fad15ed6de54044d4ead21f6 +Author: René Cannaò +Date: Sun Dec 28 01:21:05 2014 +0000 + + Preparation work for issue #83 + +commit 83ef8e3f28b96e42ed5ad2f3933026f698f040d1 +Author: René Cannaò +Date: Sat Dec 27 09:28:12 2014 +0000 + + Fix bug #80 + +commit caea6d3cb0b61a0a1451ad8aefc617b251be6201 +Author: René Cannaò +Date: Sat Dec 27 09:14:13 2014 +0000 + + A lot of code change for issue #79 . Still experimental + +commit 33421ca9971567dc4a1b7375949dec1002ca42fb +Author: René Cannaò +Date: Fri Dec 26 09:21:59 2014 +0000 + + Initial work on issue #78 + + Removed 127.0.0.1 from mysql_connection.cpp (issue #70) + +commit f79a0c2a1f84b2053c020e2a229c290b0bfbe95d +Author: René Cannaò +Date: Fri Dec 26 08:42:12 2014 +0000 + + More work on issue #71 + Converted MySQL_Hostgroup::MSHGEs from vector to PtrArray + +commit b5299701bff3f40602126645e247929abf0ae561 +Author: René Cannaò +Date: Fri Dec 26 07:10:54 2014 +0000 + + Fixed bug #76 and issue #77 + +commit 23fcc3d017edfb0db29320a850c95d5ad68f3627 +Author: René Cannaò +Date: Fri Dec 26 06:39:32 2014 +0000 + + Fixed bug #75 + + Fixed bug #74 + + Started working on issue #71 + In class MySQL_HostGroups_Handler, MyHostGroups and Servers were converted from vectors to PtrArray + +commit 4a0ea32e3d30503b65f03320edc45b0f4d727a8c +Author: René Cannaò +Date: Wed Dec 24 00:55:25 2014 +0000 + + Fixed small bug introduced in issue #69 + +commit 3fe8a97cec2d4b120a3958f1b00f4d23e9e8c7db +Author: René Cannaò +Date: Wed Dec 24 00:34:02 2014 +0000 + + For issue #66: + New commands implemented: + SAVE MYSQL SERVERS TO MEMORY + SAVE MYSQL SERVERS TO MEM + SAVE MYSQL SERVERS FROM RUNTIME + SAVE MYSQL SERVERS FROM RUN + LOAD MYSQL SERVERS FROM MEMORY + LOAD MYSQL SERVERS FROM MEM + LOAD MYSQL SERVERS TO RUNTIME + LOAD MYSQL SERVERS TO RUN + LOAD MYSQL SERVERS TO MEMORY + LOAD MYSQL SERVERS TO MEM + LOAD MYSQL SERVERS FROM DISK + + For issue #18: + Implemented functions: + Standard_ProxySQL_Admin::flush_mysql_servers__from_disk_to_memory() + Standard_ProxySQL_Admin::flush_mysql_servers__from_memory_to_disk() + Standard_ProxySQL_Admin::load_mysql_servers_to_runtime() + + For issue #70: + Removed any 127.0.0.1 from main() + +commit c9279086b775e0d40db7b4d292179c5cc1e78050 +Author: René Cannaò +Date: Sun Dec 21 10:05:07 2014 +0000 + + Adding weight for issue #69 + +commit f33a31f1b0faa6d0741ea5b7e569a66ff61790a1 +Author: René Cannaò +Date: Sun Dec 21 02:45:49 2014 +0000 + + Further work on issue #66 , solving also issues #12 , #60 and #61 + + Implemented the follow functions: + + LOAD MYSQL USERS TO MEMORY + LOAD MYSQL USERS TO MEM + LOAD MYSQL USERS FROM DISK + + SAVE MYSQL USERS FROM MEMORY + SAVE MYSQL USERS FROM MEM + SAVE MYSQL USERS TO DISK + + LOAD MYSQL USERS FROM MEMORY + LOAD MYSQL USERS FROM MEM + LOAD MYSQL USERS TO RUNTIME + LOAD MYSQL USERS TO RUN + + Prepared the skeleton for follow functions, but the callback function is not implemented yet (issue #13): + + SAVE MYSQL USERS TO MEMORY + SAVE MYSQL USERS TO MEM + SAVE MYSQL USERS FROM RUNTIME + SAVE MYSQL USERS FROM RUN + +commit ec848c55033c253ac2c716293fffd90387ddb326 +Author: René Cannaò +Date: Sun Dec 21 01:46:03 2014 +0000 + + Small optimization for issue #66 + LOAD/SAVE DEBUG works only if debug is enabled + +commit 867de7604e36c3559e4261cedf1bd549c16982d8 +Author: René Cannaò +Date: Sun Dec 21 00:33:46 2014 +0000 + + Fixed issue #67 + +commit 3cb93eae1f4bac078a9761ffa47102430f77dfb8 +Author: René Cannaò +Date: Sun Dec 21 00:27:35 2014 +0000 + + Issue #66 + Implemented the follow commands with regards to debugging, grouped by alias: + + LOAD DEBUG TO MEMORY + LOAD DEBUG TO MEM + LOAD DEBUG FROM DISK + + SAVE DEBUG FROM MEMORY + SAVE DEBUG FROM MEM + SAVE DEBUG TO DISK + + LOAD DEBUG FROM MEMORY + LOAD DEBUG FROM MEM + LOAD DEBUG TO RUNTIME + LOAD DEBUG TO RUN + + SAVE DEBUG TO MEMORY + SAVE DEBUG TO MEM + SAVE DEBUG FROM RUNTIME + SAVE DEBUG FROM RUN + +commit 6520a96d990938237f2842a509a07988e06ccba7 +Author: René Cannaò +Date: Sat Dec 20 20:47:01 2014 +0000 + + Issue #66 + Renamed flush_debug_levels_mem_to_db to flush_debug_levels_runtime_to_database + Renamed flush_debug_levels_db_to_mem to flush_debug_levels_database_to_runtime + +commit 66a4b4481b6422cb429fc3602bcef2ccbd5eebf0 +Author: René Cannaò +Date: Sat Dec 20 20:39:08 2014 +0000 + + Code clean up for issue #14 + +commit 7b5b95d0d4daf1387f63b70a9c958f752bfc3859 +Author: René Cannaò +Date: Sat Dec 20 20:22:28 2014 +0000 + + Small optimization for issue #14 + +commit 99bd516c5ef683340e04bf94d5ee140191106332 +Author: René Cannaò +Date: Sat Dec 20 19:46:43 2014 +0000 + + Fixed issue #62 . + Replaced fprintf with proxy_debug() + +commit 42c27e3575bce7a36f88d533710ccef8aa58058f +Author: René Cannaò +Date: Sat Dec 20 09:38:02 2014 +0000 + + Implemented features in issues #57 and #59 + Cleanup for issue #58 + +commit 67f2f6524fd043e0bb050912884eca90ba719385 +Author: René Cannaò +Date: Sat Dec 20 09:16:12 2014 +0000 + + Issue #58 + Probably completed + Moved around some code in main (it needs a lot of clean up, it is all test code) + Modules shutdown is performed only if they are active + If GloVars.global.nostart==true , ProxySQL doesn't fully restart even after a PROXYSQL RESTART, it will wait PROXYSQL START + + Various bugs/improvements: + - in class MySQL_HostGroups_Handler, use of clear() for vectors MyHostGroups and Servers + - Better implementation of PROXYSQL START (issue #14) + +commit 1615ddce536c6dc4c045cf9cb3e6432a1db07012 +Author: René Cannaò +Date: Sat Dec 20 03:04:50 2014 +0000 + + Further bug in #14 + main() checked GloVars.__cmd_proxysql_nostart instead of GloVars.global.nostart + Fixed this and changed locking logic in Admin + +commit 4b0db9d8f1f7d8530066d97b54ef9663a16c4e6b +Author: René Cannaò +Date: Sat Dec 20 02:23:18 2014 +0000 + + Fix for issue #52 + No resultset was erroneously interpreted as error + +commit fc75b5711758fd0c651132e0754eab62fc62d322 +Author: René Cannaò +Date: Sat Dec 20 02:09:30 2014 +0000 + + Issue #14 : ProxySQL can be started with PROXYSQL START only once + + Issue #54 : Implmented a better send_MySQL_OK and implemented send_MySQL_ERR + +commit a55daf3e6118207ffc1e743dede26ed8c8b179e2 +Author: René Cannaò +Date: Fri Dec 19 08:12:21 2014 +0000 + + Issue #14 + Added pthread_mutex_t GloVars.global.start_mutex + mutex locked by Admin module if nostart is on + mutex released by Admin when issued PROXYSQL START + main() blocks until the mutex is locked + + Issue #23 + Fixed a bug that was always assigning GloVars.global.gdbg=true + + Issue #53 + Drafted a basic Standard_ProxySQL_Admin::send_MySQL_OK(MySQL_Protocol *myprot) + + Issue #56 + If verbosity is greater than 10 , proxy_debug_func() prints backtrace calling: + - backtrace + - backtrace_symbols + - abi::__cxa_demangle + +commit 6dccae424f3b32e8ba8759ff7669168ed38a6dd7 +Author: René Cannaò +Date: Fri Dec 19 01:05:21 2014 +0000 + + Issue #23 + Added more debug lines + Added debugging type PROXY_DEBUG_MYSQL_CONNPOOL + Flag -d can accept a integer value that become the default logging verbosity using init_debug_struct_from_cmdline() + +commit 9de08dd9a2d701a9aa1e73623737350cb6ced50b +Author: René Cannaò +Date: Thu Dec 18 09:18:49 2014 +0000 + + Issue #51 + +commit 886cc02c63ee9ce031d09446e68583c13d3ea82e +Author: René Cannaò +Date: Thu Dec 18 03:22:02 2014 +0000 + + First draft for issue #45 + +commit f0579b33ce33cb3891cc106700a2e5145f3f5408 +Author: René Cannaò +Date: Sat Dec 13 00:37:04 2014 +0000 + + Issues #46 and #48 + +commit d34e202fe4a0a825218b4c9b2ebae8241c659f48 +Author: René Cannaò +Date: Fri Dec 12 01:36:10 2014 +0000 + + Fix issue #44 + +commit c7fc81fa4b3b58e2674ef9f9a0b3b50851324f3a +Author: René Cannaò +Date: Thu Dec 11 05:56:57 2014 +0000 + + Solved issue #43 + +commit 2d2399a8801c8037dce77a3730e71c18b3ff5b8b +Author: René Cannaò +Date: Thu Dec 11 05:49:48 2014 +0000 + + Solved issue #39 + +commit b0970201d99710baa6293435186043b3cc15c647 +Author: René Cannaò +Date: Thu Dec 11 05:48:27 2014 +0000 + + Solved issue #40 + +commit be436dc0f9f7f6656dd68b05a12900cf97d08cdc +Author: René Cannaò +Date: Thu Dec 11 05:46:46 2014 +0000 + + Issue #41 + +commit 9e6ce507390cfd0ac69a1890f414b85280d5a90b +Author: René Cannaò +Date: Thu Dec 11 05:42:43 2014 +0000 + + Issue #28, #29 and #30 + + in class MySQL_Connection_Pool: + - shared converted from int to bool + - added 2 functions MySQL_Connection_lookup() + + in class MyConnArray: + - match() and add() are not private + - class MySQL_Connection_Pool is a friend class + - added function MyConn_find() + + in class MySQL_Connection: + - class MyConnArray is a friend class + - MCA is private + - removed custom operator new() and delete() because MySQL_Connection_Pool can be shared + - all members don't use the custom memory allocator + - added private function is_expired . See issue #30 + - member expire removed, and replaced with inserted_into_pool + +commit bd7a5d17956fd70fc26a22a814d219113e81396d +Author: René Cannaò +Date: Wed Dec 10 03:32:18 2014 +0000 + + Issue #26 + + Renamed MyHostGroups to MyHGH (short for MySQL Host Groups Handler): + name was conflicting with MyHostGroups in class MySQL_HostGroups + Renamed class MySQL_HostGroups to MySQL_HostGroups_Handler + +commit cd4d3c3719b206eb5cf7636c3a3f3864bb306a18 +Author: René Cannaò +Date: Sat Dec 6 02:28:42 2014 +0000 + + Issue #25 + +commit 79c8ad758e75309910becef5a23e28547dafa2c4 +Author: René Cannaò +Date: Sat Dec 6 02:20:37 2014 +0000 + + Fix issue #24 + +commit ee34919f9f775091778a2293511f765949d6d8b6 +Author: René Cannaò +Date: Fri Dec 5 20:49:34 2014 +0000 + + Issues #19 and #23 + + For issue #19: + - create MySQL_Protocol::get_myds() + - create MySQL_Protocol::generate_pkt_row() + - modified MySQL_Session::(*admin_func)(MySQL_Session *) to MySQL_Session::(*admin_func)(MySQL_Session *,ProxySQL_Admin *,PtrSize_t *) so it can access more data + - fixed an invalid strdup in SQLite3_row::add_fields() + - added SQLite3_result::rows_count + - SQLite3DB instances in Standard_ProxySQL_Admin are now public + - create Standard_ProxySQL_Admin::SQLite3_to_MySQL() + + For issue #23 : + - added __dump_pkt() in mysql_data_stream.cpp + + Bug fix: + Added a missing pthread_mutex_unlock() in Admin/child_mysql() + + Minor clean-ups + +commit 7c6778b82d517c72b2d6a1c30f9fbbc76ded36f6 +Author: René Cannaò +Date: Wed Dec 3 20:14:39 2014 +0000 + + Issue #22 + + memcached removed from proxysql + +commit eeabdd725729c328fcf6be7e90cd558618176833 +Author: René Cannaò +Date: Wed Dec 3 08:33:33 2014 +0000 + + Cleanup + + Modified Makefile to generate my_config.h + Removed dependency from libevent headers (still needed for memcached, to be removed) + Removed linking against libevent library + +commit 903a40675f0418fe7a1016c259e89b173d4110ad +Author: René Cannaò +Date: Tue Dec 2 06:47:27 2014 +0100 + + Minor clean up + +commit 0991206018733a8ce3d2dc3ca680483556e906bc +Author: René Cannaò +Date: Tue Dec 2 06:41:10 2014 +0100 + + Some code cleanup + +commit aece688d036fb0352ae196afd9e0b07535e0233b +Author: René Cannaò +Date: Tue Dec 2 06:32:49 2014 +0100 + + Issue #14 + Added function init_users() to be called after GloMyAuth is initialized + +commit dbae40a9a934125f41ca6028c80ebd7ad4694730 +Author: René Cannaò +Date: Tue Dec 2 06:23:40 2014 +0100 + + Issue #16 + + Added functions: + - Standard_ProxySQL_Admin::flush_debug_levels_mem_to_db + - Standard_ProxySQL_Admin::flush_debug_levels_db_to_mem + + debug_levels is populated at start up + +commit 4ec9a4a1aa85276e12e9c171e858740eff2255ed +Author: René Cannaò +Date: Tue Dec 2 05:42:14 2014 +0100 + + Minor bug fix to compile with DEBUG + +commit 43a82215b01198f8ebd9b55f0ec52681fb78a881 +Author: René Cannaò +Date: Tue Dec 2 04:49:23 2014 +0100 + + Issue #12 + + Added functions: + - __add_active_users + - __delete_inactive_users + - __refresh_users + + Fixed small bug in SQLite3_result::add_column_definition() + + MySQL Authentication module is now loaded before the Admin module + +commit b0b8de6c88c309db8d71ce0616e791c93f3b2e60 +Author: René Cannaò +Date: Tue Dec 2 03:04:46 2014 +0100 + + Issue #6 : basic handler of SSL + +commit 93bc73c50d771fff66490c6a4db8e8d693d7a8b9 +Author: René Cannaò +Date: Tue Dec 2 02:41:47 2014 +0100 + + Issue #3 and #7 + + For issue #3: + - fixed serious bug + + For issue #7: + - most of the functions in MySQL_Authentication rewritten to accept an extra argument of type enum cred_username_type + - Standard_MySQL_Authentication stores username/password in 2 structures (creds_group_t) for backend and frontend + +commit eeca279349f55662217145620e0c06f6150c76ee +Author: René Cannaò +Date: Mon Dec 1 23:42:26 2014 +0100 + + Issue #10 , removed support for domains + +commit 5ffd3c892441cd1a239980cd88aac61c5b4caa1e +Author: René Cannaò +Date: Mon Dec 1 22:37:49 2014 +0100 + + Issue #4 , #5 , #6 and #7 + + For issue #4: + - removed fill_table__server_status() + - removed ADMIN_SQLITE_TABLE_MYSQL_SERVER_STATUS + - fixed ADMIN_SQLITE_TABLE_MYSQL_SERVER + + For issue #5: + - created functions __insert_or_ignore_maintable_select_disktable() , __delete_disktable() , __insert_or_replace_disktable_select_maintable() and __attach_configdb_to_admindb() + + For issue #6 and #7: + - table ADMIN_SQLITE_TABLE_MYSQL_USERS has fields use_ssl, backend and frontend + +commit 3ce36e4effc35c565424decb3700c7eee0128f89 +Author: René Cannaò +Date: Mon Dec 1 10:40:07 2014 +0100 + + Issue #3 + Use of __builtin_ffs and __builtin_clz for __l_alloc and __l_free when __GNUC__ is defined + Increased L_SFC_MAX_ELEM_SIZE from 512 to 2048 + +commit de7803370f1c8913501ce6d423cfa22c6005ee4a +Author: René Cannaò +Date: Mon Dec 1 09:20:54 2014 +0100 + + Fixed issue #2 + + Improved performance in MySQL_Data_Stream::array2buffer() + Optimized class PtrSizeArray + +commit c6b0545401d31ef6835cc539bdc8d9077c96a52e +Author: René Cannaò +Date: Mon Dec 1 08:02:54 2014 +0100 + + Solved issue #1 + +commit 68d67863208e1ceb68c2eac1c215db45c5946851 +Author: René Cannaò +Date: Mon Dec 1 06:05:01 2014 +0100 + + first commit diff --git a/lib/MySQL_Variables.cpp b/lib/MySQL_Variables.cpp index 90d54e7484..2c4f6c44b6 100644 --- a/lib/MySQL_Variables.cpp +++ b/lib/MySQL_Variables.cpp @@ -482,27 +482,61 @@ bool update_server_variable(MySQL_Session* session, int idx, int &_rc) { } bool verify_set_names(MySQL_Session* session) { - uint32_t client_charset_hash = mysql_variables.client_get_hash(session, SQL_CHARACTER_SET_CLIENT); + MySQL_Connection *client_myconn = session->client_myds->myconn; + uint32_t client_charset_hash = client_myconn->var_hash[SQL_CHARACTER_SET_CLIENT]; +#ifdef DEBUG + // client_get_hash() should return the same result + uint32_t client_charset_hash_2 = mysql_variables.client_get_hash(session, SQL_CHARACTER_SET_CLIENT); + assert(client_charset_hash == client_charset_hash_2); +#endif // DEBUG if (client_charset_hash == 0) return false; - uint32_t results_charset_hash = mysql_variables.client_get_hash(session, SQL_CHARACTER_SET_RESULTS); + uint32_t results_charset_hash = client_myconn->var_hash[SQL_CHARACTER_SET_RESULTS]; +#ifdef DEBUG + // client_get_hash() should return the same result + uint32_t results_charset_hash_2 = mysql_variables.client_get_hash(session, SQL_CHARACTER_SET_RESULTS); + assert(results_charset_hash == results_charset_hash_2); +#endif // DEBUG if (client_charset_hash != results_charset_hash) return false; - uint32_t connection_charset_hash = mysql_variables.client_get_hash(session, SQL_CHARACTER_SET_CONNECTION); + uint32_t connection_charset_hash = client_myconn->var_hash[SQL_CHARACTER_SET_CONNECTION]; +#ifdef DEBUG + // client_get_hash() should return the same result + uint32_t connection_charset_hash_2 = mysql_variables.client_get_hash(session, SQL_CHARACTER_SET_CONNECTION); + assert(connection_charset_hash == connection_charset_hash_2); +#endif // DEBUG if (client_charset_hash != connection_charset_hash) return false; - uint32_t collation_hash = mysql_variables.client_get_hash(session, SQL_COLLATION_CONNECTION); + uint32_t collation_hash = client_myconn->var_hash[SQL_COLLATION_CONNECTION]; +#ifdef DEBUG + // client_get_hash() should return the same result + uint32_t collation_hash_2 = mysql_variables.client_get_hash(session, SQL_COLLATION_CONNECTION); + assert(collation_hash == collation_hash_2); +#endif // DEBUG if (client_charset_hash != collation_hash) return false; - if (client_charset_hash != mysql_variables.server_get_hash(session, SQL_CHARACTER_SET_CLIENT) || - results_charset_hash != mysql_variables.server_get_hash(session, SQL_CHARACTER_SET_RESULTS) || - connection_charset_hash != mysql_variables.server_get_hash(session, SQL_CHARACTER_SET_CONNECTION) || - collation_hash != mysql_variables.server_get_hash(session, SQL_COLLATION_CONNECTION)) { - + bool variables_match = true; + MySQL_Connection *server_myconn = session->mybe->server_myds->myconn; + if ( + client_charset_hash != server_myconn->var_hash[SQL_CHARACTER_SET_CLIENT] || + results_charset_hash != server_myconn->var_hash[SQL_CHARACTER_SET_RESULTS] || + connection_charset_hash != server_myconn->var_hash[SQL_CHARACTER_SET_CONNECTION] || + collation_hash != server_myconn->var_hash[SQL_COLLATION_CONNECTION] + ) { + variables_match = false; + } +#ifdef DEBUG + // server_get_hash() should return the same result + assert(mysql_variables.server_get_hash(session, SQL_CHARACTER_SET_CLIENT) == server_myconn->var_hash[SQL_CHARACTER_SET_CLIENT]); + assert(mysql_variables.server_get_hash(session, SQL_CHARACTER_SET_RESULTS) == server_myconn->var_hash[SQL_CHARACTER_SET_RESULTS]); + assert(mysql_variables.server_get_hash(session, SQL_CHARACTER_SET_CONNECTION) == server_myconn->var_hash[SQL_CHARACTER_SET_CONNECTION]); + assert(mysql_variables.server_get_hash(session, SQL_COLLATION_CONNECTION) == server_myconn->var_hash[SQL_COLLATION_CONNECTION]); +#endif // DEBUG + if (variables_match == false) { switch(session->status) { // this switch can be replaced with a simple previous_status.push(status), but it is here for readibility case PROCESSING_QUERY: session->previous_status.push(PROCESSING_QUERY);