Releases: sysown/proxysql
v1.2.0k
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 inmysql_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
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 ofmysql
.user
.password
- other minor bug fixes
v1.2.0i
Bug fixes release.
Improved handling of network I/O and prevent several crashes caused by invalid file descriptors
v1.2.0h
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
inmysql_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
- a new table
- general improvements and bug fixes
v1.2.0g
Upgraded to version v1.2.0g
v1.2.0f
v1.2.0e
Version v1.2.0e introduces the follow changes to v1.2.0d :
- reduces memory footprint for MySQL_Connection
- adds column
use_ssl
in tablemysql_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 tablemysql_servers
: when not zero, servers with high latency are not considered for routing traffic (for example in a remote DC) . Servers with nomax_latency_ms
defined are computed against new global variablemysql-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
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 toLOCK TABLES
- deprecated the use of
mysql_close()
, replace withclose_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
This is 1.1.2 stable with:
- in v1.2.0a
- experimental mirroring support, see https://github.com/sysown/proxysql/blob/v1.2.0/doc/mirroring.md
- in v1.2.0b
- re-added support for Ubuntu12
- re-added support for debugging , issue #467
- avoid races condition in writing/reading mysql_servers table
- v1.2.0c
- re-implemented fast forward , issue #528
v1.2.0b
This is 1.1.2 stable with:
- experimental mirroring support, see https://github.com/sysown/proxysql/blob/v1.2.0/doc/mirroring.md
- re-added support for Ubuntu12
- re-added support for debugging , issue #467
- avoid races condition in writing/reading
mysql_servers
table