Skip to content

Releases: sysown/proxysql

v1.2.0k

16 Jul 23:47
Compare
Choose a tag to compare
v1.2.0k Pre-release
Pre-release

Version v1.2.0k is a version with only bug fixes and improvements.
No new features were added.

Bug fixes:

  • the processes started by the Scheduler were staying in Z state
  • setting a not existing variable could lead to a crash
  • an unknown SET command on Admin interface would return an unexpected error for the client , #600
  • CHANGE USER wasn't working as expected , #605
  • Allows mysql-monitor_username to be a user in mysql_users table , #603
  • removed debugging timers from not DEBUG version
  • --safe-updates wasn't tracked , #555

Improvements:

  • support for SET SESSION characters_set_server , #601
  • prevent password credentials to show in error log , #599
  • more syntax are supported in Admin allowing more compatibility with several clients , #204
  • Reduce the calls to stats___mysql_query_rules and stats___mysql_commands_counters , #608
  • for large resultset, reduced memory footprint and sent data to client as soon as possible , #606
  • jemalloc compied with --enable-nunmap to reduce virtual memory footprint , #612
  • support decay time purging in jemalloc
  • added tool proxysql_galera_checker.sh to start supporting Galera

v1.2.0j

26 Jun 23:44
Compare
Choose a tag to compare
v1.2.0j Pre-release
Pre-release

Version v1.2.0j probably will be the last version of 1.2.0 to implement new features. Ideally, only bug fixes will continue into this release before v1.2.1 .
Version v1.2.0j introduces the follow changes to v1.2.0i:

  • added a new global variable mysql-init_connect with a list of statements that will be executed every time a new connection to backend is initialized . See #590
  • added a new global variable mysql-max_allowed_packet . See #526
  • SET NAMES now support quotes . See #588
  • upgraded jemalloc from 4.1.0 to 4.2.1
  • Access Denied errors are now more explicit . See #591
  • added a new command line option (only command line) -M to disable the monitoring module
  • mysql_users table now supports both plain text password and hashed password , in the same format of mysql.user.password
  • other minor bug fixes

v1.2.0i

14 Jun 23:58
Compare
Choose a tag to compare
v1.2.0i Pre-release
Pre-release

Bug fixes release.

Improved handling of network I/O and prevent several crashes caused by invalid file descriptors

v1.2.0h

08 Jun 23:13
Compare
Choose a tag to compare
v1.2.0h Pre-release
Pre-release

Version v1.2.0h introduces the follow changes to v1.2.0f (changes to v1.2.0g were not documented):

  • Logging
    • improved the logging of all queries , #561
    • logger now logs also information about client, server, hostgroup_id , digest and duration
  • Enhancements on routing (query rules) :
    • mysql_query_rules is now extended and supports matching criteria on client address, proxy address, proxy port, and digest of the query , #537
    • added new global variables mysql-query_retries_on_failure (default to 1) that specifies how many times a query can be re-executed if failed
    • added new column retries in mysql_query_rules to allow to change the number of times a queries can be retried/re-executed
  • Enhancements on SSL support
    • if a backend is configured to use SSL , Monitor module will use SSL too
    • use of SSL connections is now non-blocking after connect() : Note, connect() on SSL is still a blocking call and will be fixed in a future version
    • fixed a bug that caused a crash if a client was compiled against MySQL 5.7 library #583
    • prevent clients from connecting using SSL #540
  • Scheduler #578 (further documentation required)
    • a new table scheduler is added to Admin module
    • ProxySQL can now calls external scripts at regular intervals
  • general improvements and bug fixes
    • drastically reduced restart time #576
    • fixes file descriptors (not connections) leak #567
    • fixes a bug in counting current connections to backend #581
    • adds a counter of active transactions in fight #581
    • enforces variable mysql-monitor_connect_timeout . Without this Monitor could hang #584

v1.2.0g

23 May 10:35
Compare
Choose a tag to compare
v1.2.0g Pre-release
Pre-release
Upgraded to version v1.2.0g

v1.2.0f

11 May 10:47
Compare
Choose a tag to compare
v1.2.0f Pre-release
Pre-release

Version v1.2.0f introduces the follow changes to v1.2.0e :

  • support for ssl-cipher , and new variable mysql-ssl_p2s_cipher , #565
  • fixed regression bug introduced in #531 , see #566

v1.2.0e

05 May 14:21
Compare
Choose a tag to compare
v1.2.0e Pre-release
Pre-release

Version v1.2.0e introduces the follow changes to v1.2.0d :

  • reduces memory footprint for MySQL_Connection
  • adds column use_ssl in table mysql_servers and 3 new configuration variables to enable SSL connections , see https://github.com/sysown/proxysql/blob/ssl/doc/SSL.md , #551 and #552
  • adds column max_latency_ms in table mysql_servers : when not zero, servers with high latency are not considered for routing traffic (for example in a remote DC) . Servers with no max_latency_ms defined are computed against new global variable mysql-default_max_latency_ms
  • adds experimental support for SERVER_MORE_RESULTS_EXISTS , #547
  • Admin modules doesn't generate errors for unknown variable so that clients won't exist , #556 and #562
  • adds new variable mysql-connection_max_age_ms to define the max lifetime of a connection , #563

v1.2.0d

28 Apr 03:57
Compare
Choose a tag to compare
v1.2.0d Pre-release
Pre-release

Version v1.2.0d introduces significant changes to v1.2.0c in order to improves usability and stability, and should be considered experimental.
Changes:

  • Reduced the memory footprint of some classes (MySQL_Thread, MySQL_Session, MySQL_Data_Stream)
  • several minor optimizations
  • removed libinjection , issue #424
  • upgraded jemalloc from 3.6.0 to 4.1.0
  • added support for more commands in __query_parser_command_type : START TRANSACTION , SET , SHOW , SHOW TABLE STATUS
  • auto tuning of shun_recovery_time_sec , issues #530 and #531
  • disable multiplexing for LOCK TABLE in addition to LOCK TABLES
  • deprecated the use of mysql_close() , replace with close_mysql() , a non blocking wrapper
  • enforced mysql-ping_timeout_server, issue #535
  • enforced mysql-monitor_replication_lag_timeout, issue #541
  • enforced mysql-monitor_ping_timeout, issue #542
  • implemented mysql-monitor_ping_max_failures that defines the number of missed heartbeats before considering a backend to be dead, issue #544
  • kills all connections to a backend if failed, issue #543
  • balance connections usage based on weight and used connections, useful in case of server failure. Issue #545
  • added support for CentOS 6.7
  • added support for CentOS 7
  • added support for Ubuntu 15.10
  • fixed bug in initial handshake
  • bug fixes in handling of SET AUTOCOMMIT
  • re-executes queries in Admin if SQLite3 is busy
  • allows online upgrade from v1.1.x

v1.2.0c

05 Apr 23:37
Compare
Choose a tag to compare
v1.2.0c Pre-release
Pre-release

This is 1.1.2 stable with:

v1.2.0b

04 Apr 23:23
Compare
Choose a tag to compare
v1.2.0b Pre-release
Pre-release

This is 1.1.2 stable with: