Vitess

Databases & DataApache-2.0

Database clustering system for horizontal scaling of MySQL.

Latest v24.0.5 · by VitessWritten in GoWebsitevitessio/vitessRSS

Release activity

Release activity — 10 releases across 5 days since May 7, 2026. Each cell is one day; darker means more releases that day. Nothing is recorded before May 7, 2026. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026No releases on Nov 16, 2026
TuesdayNo releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 20262 releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026No releases on Nov 10, 2026No releases on Nov 17, 2026
WednesdayNo releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026No releases on Nov 11, 2026
ThursdayNo releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 20262 releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 20262 releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
FridayNo releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026No releases on Nov 13, 2026
SaturdayNo releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026No releases on Nov 14, 2026

10 releases since May 7, 2026, busiest day 2

Branches

24.0
v24.0.5
23.0
v23.0.8

Changelog

What changed from 23 to 24
Filter releases by branch
10 of 10 releases
v24.0.5Latest

Vitess v24.0.5

Added 1
  • Table ACL metrics count undetermined-table-set checks under the undetermined-table-set TableName label in TableACLDenied, TableACLAllowed, and TableACLPseudoDenied (dry-run)
Changed 3
  • Unknown sql_mode names and invalid numeric values are rejected with MySQL's ER_WRONG_VALUE_FOR_VAR (1231) error, and ER_UNSUPPORTED_SQL_MODE (3899) for modes removed in MySQL 8.0
  • Numeric sql_mode values are decoded against MySQL's sql_mode bitmask, and constant sql_mode values are validated at planning time without a shard round trip
  • Every MySQL connection Vitess creates strips the modes that change SQL text interpretation from the inherited session sql_mode, while keeping other modes such as strict and zero-date modes; the global sql_mode is unchanged
Security 3
  • VTGate and VTTablet now validate SET sql_mode assignments against MySQL 8.x semantics and reject unsupported modes (ANSI_QUOTES, NO_BACKSLASH_ESCAPES, PIPES_AS_CONCAT, REAL_AS_FLOAT, IGNORE_SPACE, HIGH_NOT_PRECEDENCE, and the ANSI combination) even when the assignment would not change the current value
  • Under strict table ACL, callers holding reader, writer and admin roles on every table (table_names_or_prefixes ["%"]) may now run DO, REPAIR, OPTIMIZE and partially parsed CREATE TABLE statements whose tables cannot be determined; CALL and LOAD DATA remain denied for them
  • Connection character sets sjis, cp932, gb18030, gbk, big5, ucs2, utf16, utf16le and utf32 are no longer accepted for --db-charset, for SET of character set or collation session variables, or for session connections

From Vitess

Release of Vitess v24.0.5

Summary
Unsupported sql_mode values are rejected
VTGate

VTGate already rejected SET sql_mode = ... statements that enable a mode the Vitess parser does not support (ANSI_QUOTES, NO_BACKSLASH_ESCAPES, PIPES_AS_CONCAT, REAL_AS_FLOAT). The check compared mode names textually and could be bypassed. VTGate now implements MySQL 8.x's sql_mode assignment semantics and validates every assignment against them:

  • Setting an unsupported mode is rejected even when the underlying MySQL already runs with that mode, that is, when the SET would not change the value. Such statements previously succeeded, even though VTGate does not parse queries under these modes. The combination mode ANSI is rejected as well, because it enables ANSI_QUOTES, PIPES_AS_CONCAT, and REAL_AS_FLOAT.
  • IGNORE_SPACE and HIGH_NOT_PRECEDENCE are now also rejected. They are the two remaining modes that change how SQL text is interpreted. The Vitess parser does not honor them, so VTGate would parse queries differently than the session's sql_mode promises.
  • Unknown mode names and invalid numeric values fail with MySQL's own errors: ER_WRONG_VALUE_FOR_VAR (1231), and ER_UNSUPPORTED_SQL_MODE (3899) for the bits of modes removed in MySQL 8.0.
  • Numeric values decode against MySQL's sql_mode bitmask. For example, SET sql_mode = 1048576 reports that NO_BACKSLASH_ESCAPES is unsupported. Valid numeric values are accepted.
  • Constant values are validated at planning time, with no shard round trip. This includes constant expressions such as CONCAT over literals, and it also applies when --enable-system-settings is disabled. Non-constant expressions are validated at execution time, once their value is known.
VTTablet

VTTablet applies the same validation at its own entry points and returns the same errors: connection settings, on the settings pool and on reserved connections, and session-scope SET sql_mode statements. This covers clients that bypass VTGate's validation, such as VTGates that are not upgraded yet and clients that talk to the query service directly. SET_VAR optimizer hints are forwarded to MySQL unchanged.

Every MySQL connection Vitess creates now strips the modes that change how SQL text is interpreted from the session sql_mode it inherits from the server's global value. All other modes, such as the strict modes and the zero-date modes, are kept. This applies to every component: query serving, schema tracking, heartbeats, replication management, Online DDL, VReplication and VDiff, and connections to external MySQL servers. The global sql_mode is not changed.

Impact
  • Clients that run SET sql_mode with an unsupported mode, including ANSI, IGNORE_SPACE and HIGH_NOT_PRECEDENCE, now receive an error. This also happens when the SET matches the backend's current sql_mode. Clients that set mode names MySQL would itself reject receive an error as well.
  • During a rolling upgrade, VTTablets are typically upgraded before VTGates. A session that sets a now-rejected sql_mode through a VTGate that is not upgraded yet starts receiving errors from upgraded VTTablets.
  • A backend whose global sql_mode includes one of these modes keeps it, but Vitess sessions no longer inherit it.

See #20883 for details.

Table ACL: callers with every role on every table may run statements whose tables cannot be determined

v24.0.4 began denying, under strict table ACL (--queryserver-config-strict-table-acl), statements whose tables vttablet cannot determine (DO, CALL, REPAIR, OPTIMIZE, LOAD DATA, and a CREATE TABLE that vttablet's parser cannot fully parse) for every caller outside the exempt ACL (--queryserver-config-acl-exempt-acl); see GHSA-w6mx-2f8x-pqf4. A caller that is a reader, a writer and an admin in a table group covering every table ("table_names_or_prefixes": ["%"]) holds every role on any table such a statement could touch, so DO, REPAIR, OPTIMIZE and a partially parsed CREATE TABLE now run for it. CALL and LOAD DATA remain denied even then, since a SQL SECURITY DEFINER procedure runs with its definer's privileges and LOAD DATA INFILE reads files on the server, neither of which table ACL grants; issue them as a caller in the exempt ACL.

These checks are counted under the undetermined-table-set TableName label, in TableACLDenied, or in TableACLAllowed for a caller with every role on every table. With dry-run (--queryserver-config-enable-table-acl-dry-run), only the statements the check would deny increment TableACLPseudoDenied.

See #21349 for details.

Connection character sets restricted

--db-charset, and the other places a MySQL connection character set is configured, no longer accept sjis, cp932, gb18030, gbk, big5, ucs2, utf16, utf16le or utf32, whether given as a character set or as one of its collations. A tablet configured with one of them fails to start, VTGate refuses a SET of character_set_client, character_set_connection, character_set_results or collation_connection to one of them, or to a name that is not a character set or collation, which it used to answer with OK and ignore, and VTTablet refuses a setting or SET statement that would switch a session's connection to one of them. A client may still ask for one of them at the handshake: VTGate reads its statements byte by byte, as the tablet's connection to MySQL does, so they cannot break out of a literal.

Vitess parses and escapes SQL text byte by byte, and in these character sets the second byte of a character can be a backslash or a back quote, so text in them was misparsed or corrupted on its way through Vitess. Use utf8mb4 as the connection character set instead. Tables and columns can still be declared with any of these character sets; MySQL converts between them and the connection character set.

This fixes GHSA-c28j-qmfx-4gxp.

See #21392 and #21465 for details.

Charset and collation names are quoted when regenerated

A charset, collation, engine, tablespace or full-text parser name is now decoded when parsed, and written back as a single token when Vitess regenerates the statement: bare when it is a known charset, collation, engine, index type or parser name, back-quoted otherwise.

User-visible consequences:

  • A quoted name is normalized. COLLATE 'utf8_bin' regenerates as COLLATE utf8_bin — the quoted and unquoted spellings mean the same name, and the decoded form is what is stored. Anything comparing the printed form of these statements byte for byte sees the new spelling.
  • Only known names stay bare. A charset or collation name of any MySQL or MariaDB version, a known storage engine such as InnoDB or memory, the BTREE, HASH and RTREE index types, the ngram and mecab parsers, and the innodb_system and innodb_file_per_table tablespaces are written back as they were spelled. Any other name is back-quoted: TABLESPACE ts regenerates as TABLESPACE `ts` , and so does an engine Vitess does not know or a keyword used as a name. WITH PARSER accepts only a plain identifier, so a known name that is a keyword is quoted there: WITH PARSER `memory` keeps its quoting where ENGINE memory does not. binary is still bare where the grammar has a BINARY alternative, except directly before the BINARY attribute: CHARACTER SET 'binary' BINARY regenerates as CHARACTER SET `binary` BINARY.
  • COLLATE binary in an expression is quoted. expr COLLATE binary regenerates as expr COLLATE `binary` , because MySQL's expression COLLATE only accepts binary quoted. Column, table and database COLLATE binary and CHARACTER SET binary stay bare.
  • An empty charset, collation, engine or partition tablespace name is rejected. CHARACTER SET '' and COLLATE '' on a column, a table, ALTER TABLE ... CONVERT TO, CAST/CONVERT, CONVERT ... USING, CHAR ... USING, SELECT ... INTO OUTFILE and an expression, ENGINE '' on a table or a partition, and a partition's TABLESPACE '' no longer parse. An empty name in these positions is indistinguishable from the clause being absent, so it would previously have been dropped or mangled and a statement MySQL rejects could have become a valid, different one. Non-DDL statements get the error directly; DDL falls back to a partial parse, so the client's own text is forwarded and MySQL rejects it. SET NAMES ... COLLATE '' and SET CHARACTER SET ... COLLATE '', which used to parse and discard the collation, are now parse errors too; MySQL rejects both. CREATE/ALTER DATABASE ... CHARACTER SET '' and COLLATE '' are unchanged: they still parse and are written back as ''.
  • ENCRYPTION requires a quoted value. CREATE/ALTER DATABASE ... ENCRYPTION N no longer fully parses, matching MySQL, which only accepts 'Y' or 'N' as a quoted string. Such a statement now falls back to a partial parse rather than being regenerated into a spelling MySQL would refuse.

This fixes GHSA-j8pc-mcwq-qrg6.

See #21435 for details.

VTAdmin VExplain modes that run the statement require the execute action

VTAdmin's VExplain API was authorized with the get action, but VEXPLAIN QUERIES, ALL and TRACE run the statement they explain, so an actor allowed only to read could change data through it (GHSA-c2r8-grjp-w8c2). Those modes now require the new execute action on the VExplain resource; PLAN and KEYS, which only plan the statement, still require only get. For those modes VTAdmin also accepts only a SELECT without INTO, sequence next-values or advisory lock functions, and runs them in a read-only transaction that is always rolled back. The VExplain page in the web UI now defaults to PLAN.

Migration: grant the execute action on VExplain to the actors that should run VEXPLAIN QUERIES, ALL or TRACE. Rules that grant all actions (*) and --no-rbac already include it.

Impact: an actor with only get on VExplain gets an unauthorized error from VEXPLAIN QUERIES, ALL and TRACE.

See #21396 for details.

Security fixes

The entire changelog for this release can be found here.

The release includes 30 merged Pull Requests.

Thanks to all our contributors: @app/vitess-bot, @arthurschreiber, @lmorduch, @mattlord

View originalPermalink
How v24.0.5 went
v23.0.8

Vitess v23.0.8

Changed 3
  • Unknown or invalid sql_mode names and numeric values now fail with MySQL's ER_WRONG_VALUE_FOR_VAR (1231) and ER_UNSUPPORTED_SQL_MODE (3899) errors, and numeric sql_mode values decode against MySQL's bitmask
  • Every MySQL connection Vitess creates strips the SQL-text-interpreting sql_mode flags inherited from the global value, while the global sql_mode itself is left unchanged
  • Under strict table ACL, callers holding reader, writer and admin roles on all tables ("%") may now run DO, REPAIR, OPTIMIZE and partially parsed CREATE TABLE statements, while CALL and LOAD DATA remain denied
Security 2
  • VTGate and VTTablet now validate every SET sql_mode assignment against MySQL 8.x semantics and reject unsupported modes, including ANSI, IGNORE_SPACE and HIGH_NOT_PRECEDENCE, even when the SET would not change the current value
  • Connection character sets sjis, cp932, gb18030, gbk, big5, ucs2, utf16, utf16le and utf32, including their collations, are no longer accepted for --db-charset, client character set settings, or SET statements
View originalRead the notes
How v23.0.8 went
v24.0.4

Vitess v24.0.4

Changed 11
  • The lz4 backup compression engine now uses the pierrec/lz4/v4 library instead of pierrec/lz4 v2, fixing broken block decoding on amd64
  • For the lz4 backup engine, --compression-level values 2 through 9 now select lz4's named hash-chain levels Level2 through Level9 rather than the raw value as search depth, and negative values and values above 9 select Level9
  • In preferred and required SSL modes, clients with a CRL now build and verify the server's certificate chain to the configured CA or system roots and reject connections when the chain cannot be built or verified
  • A gRPC client with a CRL configured but neither a client certificate nor a CA now connects with TLS verifying the server against system roots instead of plaintext with the CRL ignored
  • A server-side CRL without the matching CA is now refused at TLS configuration startup
  • A server-side CRL without the matching certificate and key is now refused at startup instead of silently starting in plaintext or without TLS
Fixed 1
  • Fixed broken lz4 block decoding on amd64 by upgrading the lz4 backup engine library
Security 1
  • Certificate revocation lists configured with the *-crl flags are now enforced in every SSL mode and on resumed TLS sessions, with each certificate of the peer's verified chain checked against CRLs signed by its issuer
View originalRead the notes
How v24.0.4 went
v23.0.7

Vitess v23.0.7

Changed 15
  • The lz4 backup compression engine now uses the pierrec/lz4/v4 library instead of pierrec/lz4 v2, fixing broken block decoding on amd64
  • For the lz4 engine, --compression-level values 0 and 1 (default 1) select the fast compressor, and values 2 through 9 select lz4's named hash-chain levels Level2 through Level9 instead of raw search depth
  • For the lz4 engine, negative --compression-level values and values above 9 now select Level9
  • In preferred and required SSL modes, a client with a CRL now builds and verifies the server's chain to the configured CA or system roots, and rejects the connection when the chain cannot be built or verified
  • A gRPC client with a CRL configured but neither a client certificate nor a CA now connects with TLS verifying the server against system roots, instead of plaintext with the CRL ignored
  • A server-side CRL without the matching CA is now refused at TLS configuration build time at startup
Security 1
  • Certificate revocation lists configured with the *-crl flags are now enforced in every SSL mode and on resumed TLS sessions, checking each certificate in the peer's verified chain except the trust anchor
View originalRead the notes
How v23.0.7 went
v23.0.6

Vitess v23.0.6

Removed 1
  • The VRLog feature, a streaming log of VReplication events served at VTTablet's /debug/vrlog HTTP endpoint, has been removed
Deprecated 1
  • The --vreplication-enable-http-log flag is now a deprecated no-op and will be removed in v26; passing it logs a deprecation warning and has no effect
View originalRead the notes
How v23.0.6 went
v24.0.3

Vitess v24.0.3

Removed 1
  • The VRLog feature, a streaming log of VReplication events served at VTTablet's /debug/vrlog HTTP endpoint, has been removed
Deprecated 1
  • The --vreplication-enable-http-log flag is now a deprecated no-op and will be removed in v26
View originalRead the notes
How v24.0.3 went
v24.0.2

Vitess v24.0.2

The entire changelog for this release can be found here.

View originalRead the notes
How v24.0.2 went
v23.0.5

Vitess v23.0.5

The entire changelog for this release can be found here.

View originalRead the notes
How v23.0.5 went
v24.0.1

Vitess v24.0.1

The entire changelog for this release can be found here.

View originalRead the notes
How v24.0.1 went
v23.0.4

Vitess v23.0.4

The entire changelog for this release can be found here.

View originalRead the notes
How v23.0.4 went
View all

Discussion

If you publish Vitess, you can claim this product by proving you administer its repository.