2023 compute node release notes

Updated at:

This topic describes the release notes of PolarDB-X instance compute nodes in 2023.

Release date: 2023-12-27

Major version: V5.4.18

Minor version: 17034692

Category

Description

New features & optimizations

Added support for co_hash partition strategy in AUTO mode databases.

Optimized the transaction log cleanup process using AB table scheme to avoid cleaning logs for all databases at once. This feature is enabled by default on new instances.

Improved error messages when the number of Prepare statements exceeds the limit within a single CN connection.

Optimized the data migration method during scaling in/out. For more information, see Add/remove nodes.

Bug fixes

Fixed an issue where IO calculation was incorrect under always-true conditions.

Fixed a thread safety issue in Xplan generation.

Fixed an issue where statistics collection failed.

Fixed an issue where Select statements without table names in AUTO mode databases resulted in execution errors.

Fixed abnormal behavior when multiple identical columns exist in INSERT statements.

Fixed an issue where the auto_increment value displayed by show create table might be incorrect.

Fixed an issue with incorrect GSI cardinality calculation in the inspect index feature.

Fixed an NPE issue that might occur when cursor data volume is too large in stored procedures.

Fixed an issue where execution plans could not be properly deleted in SPM.

Fixed an issue where fully pushed-down execution plans were entering SPM.

Release date: 2023-12-21

Major version: V5.4.17

Minor version: 17025353

Category

Description

New features & optimizations

Added SKIP_PHYSICAL_ANALYZE parameter to skip DN analyze operations during analyze table.

Added support for dynamically adjusting the maximum length of partition names in partitioned tables.

Optimized analyze table logic to avoid collecting statistics for GSI.

Statistics now support reasonable predictions for uncollected time column data.

Improved table creation speed in AUTO mode databases when there are too many tables in a table group.

Improved table creation speed in AUTO mode databases when tables contain large amounts of data.

Improved verification speed during data migration in certain scenarios.

Bug fixes

Fixed an issue where early termination of streaming under XRPC could cause instance-level connection pool database switching to fail with a small probability.

Fixed an issue where join matching was disordered when a subquery had three or more join items.

Fixed an issue where DDL operations could cause CN statistics inconsistency.

Fixed an issue where modifying the shard column type would fail if uppercase column names existed.

Fixed an issue where JSON was not supported during DML logical execution.

Fixed a compatibility issue with alter table modify default charset syntax.

Fixed an issue where sending ping requests in binlog dump connections caused thread leaks.

Fixed an issue where connections being KILLED could lead to transaction leaks with a small probability.

Release date: 2023-11-22

Major version: V5.4.18

Minor version: 17004745

Category

Description

New features & optimizations

Optimized the efficiency of creating tables in AUTO mode databases when tables contain large amounts of data.

Added plan_cache view to return execution plans under the default database.

Improved efficiency of concurrent table creation in AUTO mode databases.

Bug fixes

Fixed an issue where alter table with a non-existent database name returned unfriendly error messages.

Fixed an issue where execution failed when drop column and modify column appeared simultaneously in the same alter table statement.

Fixed an issue where window functions might report errors in certain execution modes when order by and partition by fields were empty.

Fixed an issue where querying the tables view in information schema might report errors.

Fixed an issue where modifying the shard column type would fail if uppercase column names existed.

Fixed an issue where early termination of streaming under XRPC could cause instance-level connection pool database switching to fail with a small probability.

Fixed an issue where the number of warning messages in show warnings was incorrect.

Fixed an issue where rollback ddl might not be able to interrupt analyze table.

Fixed an issue where string types in tables might cause incorrect data in target tables during data migration/index addition.

Fixed an issue where GSI-related data in the TableDetail view would be lost after TruncateTable.

Fixed an issue where alter table to modify AVG_ROW_LENGTH would fail.

Fixed an issue where some non-templated secondary hash partition table creation syntax was treated as templated hash partition syntax.

Release date: 2023-11-13

Major version: V5.4.17

Minor version: 16994228

Category

Description

New features & optimizations

Optimized execution plans for IN queries on unique key columns when statistics are incorrect.

Improved the speed of secondary partition DDL task deserialization.

Improved the speed of adding global secondary indexes to TTL tables.

Bug fixes

Fixed an issue where logicalview cache could not be utilized in sharding scenarios.

Fixed an issue where JSON was not supported during DML logical execution.

Fixed an issue where auto savepoint caused replay failures on secondary databases.

Fixed an issue where some views in information_schema with IN query conditions could not retrieve data normally.

Fixed an issue where querying the information_schema.tables view was too slow when there were too many partitions.

Fixed an issue where connection leaks might occur with a small probability when closing transactions.

Fixed a column mapping error issue in special scenarios of pushable subqueries.

Release date: 2023-10-23

Major version: V5.4.18

Minor version: 16977056

Category

Description

New features & optimizations

Added support for foreign key constraints.

Added support for modifying user privileged accounts.

Added support for recording Error Code in SQL Log.

Added support for Create Table [As] Select syntax.

Added information_storage_status view to obtain real-time monitoring of GMS and DN nodes.

Added HashWindow execution mode to improve window function performance.

Optimized heatmap functionality to reduce time consumption.

Changed statistics sample collection frequency to once per day.

Improved deserialization performance of secondary partition DDL tasks.

Added support for using Decimal type with precision 0 as partition columns in AUTO mode database partitioned tables.

Bug fixes

Fixed an issue with non-standard Error Code output format.

Fixed an issue where the information_schema.plan_cache view returned duplicate values and could not display cached parameters.

Fixed a parsing failure issue caused by the encryption keyword in table creation.

Fixed an issue where semantic validation exceptions in DML statements containing Views caused optimizer errors.

Fixed an issue where partition hints did not support session variable statements.

Fixed an issue where the current_user function returned incorrectly formatted results.

Fixed thread safety risks in some DAL instructions under high concurrency scenarios.

Fixed an issue where Agg query index coverage misjudgment caused errors.

Fixed an issue where replace json reported errors on tables with unique keys.

Fixed an issue where the resize command modified PlanCache size but did not store it in metaDB, causing the PlanCache size to revert to default after CN restart.

Fixed an issue where data was lost after modifying values in List partitions.

Release date: 2023-10-16

Major version: V5.4.17

Minor version: 16971811

Category

Description

New features & optimizations

Added support for reload datasources in proprietary protocol.

Added support for compressed storage of large-scale sharding DDL tasks to optimize DDL engine scheduling response time.

Bug fixes

Fixed an issue where SQL containing constant false expressions might report errors when executed within transactions.

Fixed an issue where data inconsistency might occur when there were suspended transactions during scaling in/out.

Fixed an issue where affected rows were incorrect in complex DML situations with GSI when useAffectedRows was enabled.

Fixed an issue where nested BKAJoin might report errors with a certain probability.

Fixed an issue where getting TSO through proprietary protocol might report errors with a small probability.

Fixed an issue where the maximum number of physical partitions limit within a partitioned table was not correctly enforced when using secondary partitions.

Fixed an issue where DDL execution results might occasionally return errors in network jitter scenarios.

Fixed an issue where system table deadlock errors might occur occasionally when executing DDL with high frequency.

Fixed an NPE issue that might occur when querying InformationSchema's table_details due to case sensitivity problems.

Fixed an issue where subquery to semi-join optimization in some scenarios might cause query errors.

Release date: 2023-09-22

Major version: V5.4.17

Minor version: 16952556

Category

Description

New features & optimizations

Added support for quickly interrupting verification tasks during scaling in/out.

Added support for useAffectedRows.

Added support for the feature that lets you use the create global index syntax without specifying partition keys for auto-partitioned tables.

Added support for using Decimal as partition columns when creating partitioned tables.

Optimized scheduled tasks to use random thread pool buckets to prevent filling up a single bucket's threads.

Improved load data performance under proprietary protocol.

Optimized the pre-partitioning logic for TTL tables.

Improved the interruption logic for pause/cancel/rollback rebalance ddl.

Optimized the archiving scheduled tasks for TTL tables.

Improved DDL execution efficiency when there are too many tables in the same tablegroup.

Bug fixes

Fixed an issue where check global index could be executed concurrently.

Fixed an issue where check global index show reported errors.

Fixed compatibility issues with archived tables under JDBC protocol.

Fixed an issue where read-only instance DNs not joined to the primary instance cluster maintained connection pools with the primary instance CN.

Fixed an issue where create table with gsi failed in some cases and could not automatically roll back.

Fixed thread safety risks in some DAL instructions under high concurrency.

Fixed an issue where the executor did not choose to use xplan in some scenarios.

Fixed a crash issue when accessing tables with generated columns using xplan.

Fixed an issue where the SHOW CREATE DATABASE command might report NPE in some scenarios for existing AUTO databases.

Fixed an issue where proprietary protocol chunk transmission could not recognize negative signs when converting strings to integers due to type inference errors.

Fixed an issue where scaling in/out might fail when there were too many tables in the database.

Fixed a route computing issue in BKAJoin scenarios.

Fixed display errors in the information_schema.table_constraints view for tables without primary keys, composite indexes, and global indexes.

Fixed an issue where data verification processes might be blocked by data migration tasks.

Release date: 2023-08-18

Major version: V5.4.17

Minor version: 16921956

Category

Description

New features & optimizations

Added default_single='on' parameter in CREATE AUTO mode database statements, indicating that this database creates single tables by default and automatically distributes them across DNs.

Added support for cross-database single table pushdown in non-transaction scenarios.

Added lock wait detection under proprietary protocol to automatically terminate long-running transactions that block physical DDL for more than 15 seconds.

Improved support for changing table group-level partitions and table-level partitions in list default subpartition scenarios.

Optimized the maintenance window for cold data archiving to prevent abnormally interrupted archiving tasks from being triggered outside the maintenance window.

Improved exception handling logic for cold data archiving tasks.

Bug fixes

Fixed an issue where read-only DN exceptions in read/write splitting scenarios caused primary instance restart failures.

Fixed a parsing error issue when multi-column IN queries contained HEX expressions.

Fixed a concurrency issue when the lookup executor accessed mq to obtain column information during execution.

Fixed an issue where long-running transactions encountering transaction log cleanup might block other transactions.

Fixed a potential deadlock issue when rename table operates on multiple tables.

Fixed an NPE issue that might occur during route pruning when point queries are performed on subpartitioned tables with partition functions.

Fixed an issue where select @@global.server_id query results did not meet expectations.

Fixed unexpected errors with create table if not exists like.

Fixed an issue where SPM automatically evolved plans could not be properly selected.

Fixed an issue with incorrect cost estimation for composite index scans in the optimizer.

Fixed an NPE error issue when executing some DML operations during MovePartition for subpartitions.

Fixed an issue where metadata might remain after GSI deletion.

Fixed an issue where LSN setting failed after scaling out in DRDS mode databases.

Fixed an issue where executing DML containing rand() function on broadcast tables caused data inconsistency.

Fixed an issue where creating an index failed when the index name was "hash".

Release date: 2023-07-28

Major version: V5.4.16

Minor version: 16901668

Category

Description

New features & optimizations

Added support for double quotes in passwords when creating users.

Bug fixes

Fixed an issue where the number of active connections was negative when querying with show stats.

Fixed an issue where executing DML statements containing rand() function on broadcast tables caused data inconsistency.

Fixed an issue where DDL might get stuck when executing syntactically incorrect DDL.

Fixed a risk of connection leaks in the GMS connection pool during repeated configuration changes of the primary instance.

Fixed an issue with date_add function calculation.

Fixed an issue where alter table drop index failed when the index name contained special characters.

Fixed an issue where partition key changes optimization was ineffective.

Fixed inaccurate charset collate in the information_schema tables view.

Fixed an issue with incorrect cost estimation for composite index scans in the optimizer.

Release date: 2023-07-24

Major version: V5.4.17

Minor version: 16899058

Category

Description

New features & optimizations

Added support for useAffectedRows.

Added information_storage_status view to obtain real-time monitoring of GMS and DN.

Bug fixes

Fixed an issue where long-running transactions might block other transactions during transaction log cleanup.

Fixed an issue where semantic validation exceptions in DML statements containing Views caused optimizer errors.

Fixed parsing syntax errors for table creation statements containing 'BIGINT SIGNED' column definitions.

Fixed an issue where abnormal correlated subquery condition extraction in special Project-Agg combinations caused optimizer errors.

Fixed an issue with incomplete filter derivation.

Fixed an issue where partition hints did not support session variable statements.

Fixed an issue where INSERT IGNORE SELECT statements reported errors in some scenarios when the SELECT clause contained correlated subqueries.

Fixed an issue where execution plans reported errors when INSERT SELECT contained non-pushable operators.

Fixed an issue where table creation reported errors when Partition By Key did not specify columns.

Fixed an issue where maintaining read-only instance whitelists prevented primary instance nodes from syncing to read-only nodes.

Fixed an issue where analyze table could not be paused/rolled back immediately.

Fixed an issue where DDL might get stuck when executing syntactically incorrect DDL.

Fixed an issue where occasional errors might occur when scanning large tables through DMS without execution limits in JDBC mode.

Release date: 2023-07-13

Major version: V5.4.17

Minor version: 16890724

Category

Description

Optimization

Optimized the default naming logic for indexes to be consistent with MySQL.

Bug fixes

Fixed an issue where errors occurred during default value filling in some scenarios.

Fixed an issue where scheduled tasks could not collect statistics normally.

Fixed an issue where maintaining read-only instance whitelists prevented primary instance nodes from syncing to read-only nodes.

Fixed an issue where SUM function results were incorrect in some scenarios.

Release date: 2023-07-06

Major version: V5.4.17

Minor version: 16885239

Category

Description

New features & optimizations

Optimized auto-savepoint logic. This feature is enabled by default.

Improved return information when regular accounts execute set global without effect. After optimization, warnings will be reported.

Added support for displaying the status of all tables and GSIs in the current database when executing show table replicate status.

Added support for setting CDC-related system variables using set cdc global key=value.

Optimized physical MDL lock wait detection mechanism.

Added support for compute node session variable settings in MPP mode.

Bug fixes

Fixed an issue where inspect index failed in certain situations.

Fixed an issue where HA detection tasks failed when DNs of both primary and read-only instances experienced HA simultaneously.

Fixed an issue with incorrect type inference for the TRIM function.

Fixed an issue with incorrect parameter count judgment when there were too many parameters in prepare mode.

Fixed an issue where alter table drop index failed when the index name contained special characters.

Fixed an issue where equivalent condition filter conditions could not penetrate aggregation operators.

Fixed a risk of connection leaks in the GMS connection pool during repeated configuration changes of the primary instance.

Fixed an issue where memory boundary violations might cause crashes in the proprietary protocol chunk encoder when transmitting special data.

Fixed parsing syntax errors for table creation statements containing 'BIGINT SIGNED' column definitions.

Release date: 2023-06-13

Major version: V5.4.17

Minor version: 16865674

Category

Description

New features & optimizations

Added parameter GROUP_CONCAT_MAX_LEN for compute nodes and data nodes.

Bug fixes

Fixed parsing errors when create table included ROW_FORMAT = x COLLATE y.

Fixed an issue where creating List partitioned tables might result in incorrect partition group metadata.

Release date: 2023-06-06

Major version: V5.4.17

Minor version: 16859297

Category

Description

New features & optimizations

Added support for in-memory audit logs, optimizing the audit log collection process.

SQL throttling now ignores backticks before and after keywords when matching keywords.

Added index diagnostics feature to support quick diagnostics of inefficient indexes. For more information, see Index diagnostics.

Improved compatibility of the collation field in the information_schema tables view for OSS tables.

Optimized behavior after physical DDL is interrupted or canceled.

Bug fixes

Fixed an issue where using the Avg function in window functions might cause execution errors when the input column was of double type.

Fixed an issue where using pause ddl might fail to pause DDLs.

Fixed display issues with invisible index in show create table and an issue where the optimizer still used the index in invisible state with force index.

Fixed an issue where baseline add/fix in queries could not use SPM.

Fixed an issue where ShowTopology could not be sorted.

Fixed rawstring parameter conversion issues in batch update under JDBC mode.

Release date: 2023-06-02

Major version: V5.4.16

Minor version: 16855897

Category

Description

Bug fixes

Fixed an issue where create table statements containing global index might cause table creation failures.

Release date: 2023-05-23

Major version: V5.4.16

Minor version: 16847200

Category

Description

New features & optimizations

Optimized the logic for determining whether IN queries hit the Plan Cache.

Bug fixes

Fixed an issue where partition key IN queries generated incorrect execution plans in AUTO mode databases.

Release date: 2023-05-15

Major version: V5.4.16

Minor version: 16839433

Category

Description

New features & optimizations

Added support for adjusting the thread pool size and timeout period for fetch lsn.

Optimized the server_id parameter configuration method to keep server_id unchanged during instance upgrades, configuration changes, and HA switches.

Added BASELINE HINT BIND statement to support binding execution plans for DML.

Bug fixes

Fixed an issue where converting in to join might cause incorrect results.

Fixed parameter errors triggered by changes in the number of IN expression parameters when SQL accessed INFORMATION_SCHEMA.

Fixed an issue where Prepare requests were counted in QPS.

Fixed inconsistent behavior of date_format between CN and DN.

Fixed incorrect QPS and TPS statistics when instances had no traffic.

Fixed incorrect TPS statistics for read-only transactions on the CN side.

Fixed an NPE issue when CDC obtained topology metadata due to a physical database without physical tables during DDL SQL execution.

Fixed an issue where pause ddl might not be able to pause DDL.

Fixed an issue where LONG type conversion to fixed-length CHAR type did not handle truncation according to fixed length, causing incorrect routing.

Fixed incorrect rawstring parameter conversion in batch update under JDBC mode.

Fixed an issue where the optimizer reported errors when transforming aggregate functions in some scenarios.

Fixed an issue where equivalent joins might not be processed as hash joins.

Release date: 2023-05-09

Major version: V5.4.17

Minor version: 16835173

Category

Description

New features & optimizations

Added support for changing local partition rules for TTL tables that are already bound to archived tables.

Added support for generated columns and function indexes.

Set instant add column feature to be enabled by default.

Added support for hiding and showing global indexes. For more information, see INVISIBLE INDEX.

Added support for using standby nodes for backfill to reduce impact on business.

Added support for specifying the number of new partitions when splitting key partitions.

Added support for executing alter table drop primary key, add primary key in AUTO mode databases.

Added support for modifying shard column types.

Added support for some DDL operations on archived tables.

Optimized New Sequence functionality and performance. For more information, see New Sequence.

Improved efficiency of large result set responses.

Added support for deprecate EOF in MySQL communication protocol.

Improved access control to only allow privileged accounts to execute set global statements for setting global variables.

Added recursive CTE functionality. For more information, see CTE.

Added support for automatic distribution during Rebalance for table groups declared as balance_single_table=on.

Added support for hot spot splitting for tables with subpartitions.

Added support for GB18030 character set, including collation gb18030_chinese_ci and non-default collation gb18030_bin.

Optimized DDL disabling logic in archived tables.

Bug fixes

Fixed inconsistent behavior of date_format between CN and DN.

Fixed display errors in explain physical under tp_local mode.

Fixed incorrect results when IN query lists contained expressions or variables.

Fixed an issue where the optimizer reported errors when transforming aggregate functions in some scenarios.

Fixed an issue where cross-database queries prompted that tables did not exist.

Fixed an issue where alter table add CONSTRAINT UNIQUE key reported errors and could not be rolled back.

Fixed an issue where Show Create Table did not fully display fields with escape characters in field names.

Fixed an issue where like clauses with column matching templates in join conditions reported errors.

Release date: 2023-04-28

Major version: V5.4.16

Minor version: 16825599

Category

Description

New features & optimizations

Optimized join execution plans for '<=>' conditions in some scenarios.

Enhanced rename table to support renaming multiple tables simultaneously. For more information, see RENAME TABLE.

Added compute layer parameter CN_GROUP_CONCAT_MAX_LEN to change group concat behavior on compute nodes.

Bug fixes

Fixed an issue where querying the innodb_lock_waits view might report errors probabilistically.

Fixed an issue where other queries in the same session might report errors after successfully executing set global on storage layer variables in some scenarios.

Fixed an issue where data migration might fail when tables contained large objects.

Fixed an issue where the optimizer selected the wrong index for BKA join, resulting in suboptimal execution plans.

Fixed an NPE issue when executing Insert operations on broadcast tables during ScaleOut.

Fixed an issue where full table scans failed during partition changes.

Fixed an issue where apply parameters in subqueries did not support negative numbers.

Fixed an issue where simple Decimal type summation might produce incorrect results with a small probability.

Fixed an issue where hint statements specifying DN shards for SQL execution reported errors in non-pushdown scenarios.

Fixed an issue where data migration for GSI tables might fail due to data inconsistency with a certain probability.

Fixed an issue where excessively long table names caused data migration failures.

Fixed an issue where table names, database names, etc. did not support the '-' symbol.

Fixed an issue where window functions with order by reported "SQL could not be implemented" errors.

Fixed AES_DECRYPT return type to binary.

Fixed an issue where multi-table join scenarios did not follow the specified join order (specifically parentheses).

Fixed an issue where table creation failed due to New Sequence metadata changes failing during table creation.

Release date: 2023-04-11

Major version: V5.4.16

Minor version: 16809623

Category

Description

New features & optimizations

Added support for RC isolation level in secondary database read scenarios within XA transactions.

Optimized the logic for modifying expiration time in TTL tables.

Bug fixes

Fixed an issue where DDL tasks failed when column names were associated between multiple Change Column operations or index names were associated between multiple Rename Index operations in Alter Table.

Fixed compatibility issues with hyphens in stored procedures.

Fixed an issue where some Agg queries in TSO transactions reported "primary key does not exist" errors.

Fixed an issue where inconsistent data might be read in secondary database consistent read scenarios within TSO transactions.

Fixed an issue where RawString pruning was ineffective in DRDS mode databases.

Fixed an NPE issue with null value handling in statistics TopN.

Fixed an issue where value types were not correctly obtained in RawString within DynamicValues executor.

Fixed a 900-second timeout issue during physical shard execution of DDL under proprietary protocol.

Fixed an issue where pausing DDL with pause ddl and then continuing might cause DDL failures during data migration.

Release date: 2023-03-22

Major version: V5.4.16

Minor version: 16791337

Category

Description

New features & optimizations

Added support for adjusting the thread pool size and timeout period for fetch lsn.

Optimized index recommendation logic to avoid recommending indexes when statistics are missing and index column selectivity is low.

Bug fixes

Fixed data migration failures under JDBC.

Fixed an issue where alter table add CONSTRAINT UNIQUE key reported errors and could not be rolled back.

Fixed an issue where correlated items from lower levels could not be found during multiple iterations of correlated subqueries.

Fixed an issue where data migration might slow down due to conflicts.

Fixed an issue where Show Create Table did not fully display field names containing escape characters.

Fixed an issue where the statistics module consumed excessive CPU with many expressions.

Fixed an issue where single table JOIN pushdown misjudgment caused execution errors after single tables were distributed in AUTO databases.

Release date: 2023-03-02

Major version: V5.4.16

Minor version: 16773973

Category

Description

New features & optimizations

Added syntax to support executing SQL statements on a specific DN shard.

Improved LAST_INSERT_ID() function semantics to be consistent with MySQL.

Added a switch to display database and table names in lowercase uniformly. This switch is disabled by default.

Maintenance window configuration now allows start time to be later than end time.

Bug fixes

Fixed an issue where physical SQL time consumption statistics were incorrect, causing some physical SQL to be incorrectly recorded as slow SQL.

Fixed an issue where batch insert in prepare mode caused CPU usage to increase.

Fixed an issue where executing alter table drop column might prevent access to the table.

Changed the default partition count for global secondary indexes of default primary key sharded tables from instance level to table level.

Fixed an issue where flashback queries reported errors in special cases.

Fixed error messages for insufficient backend connections in proprietary protocol.

Fixed an issue where implicit type conversion was handled incorrectly when writing negative numbers to varchar partition keys.

Fixed an issue with incorrect Lookup Key derivation during BkaJoin execution with GSI in AUTO mode.

Fixed scaling out failures in DRDS mode databases.

Fixed an issue where TTL functionality became ineffective after RENAME on TTL tables.

Fixed an issue where execution plans in plan cache and baseline were not cleared when databases or tables were deleted.

Fixed permission error issues when splitting partitions of global secondary indexes using ALTER statements.

Fixed an issue in DRDS mode databases where multi-table joins did not distinguish between database sharding keys and table sharding keys when judging shardKey join shardKey, resulting in incorrect execution plans.

Fixed permission verification failures for cross-database analyze table.

Fixed an issue where execution plan construction errors occurred when the subquery materialization execution mode estimated the subquery row count as 500.

Fixed an issue where archived table queries might hang with a low probability.

Fixed incomplete support for locality in create table like.

Disabled alter table convert to character set.

Fixed an issue where proprietary protocol might deadlock with a small probability under high CN load, causing some requests to time out.

Fixed an issue where proprietary protocol health checks might be delayed by 10 minutes, causing connection jitter.

Fixed an issue where health check tasks might incorrectly terminate connections when transmitting large packets in proprietary protocol.

Fixed an issue where the length function incorrectly parsed the byte length of Binary strings as parameters.

Fixed occasional "Query execution was interrupted" exception errors in JDBC protocol.

Release date: 2023-03-02

Major version: V5.4.15

Minor version: 16774576

Category

Description

Bug fixes

Fixed an issue with incorrect Lookup Key derivation during BkaJoin execution with GSI in AUTO mode databases.

Fixed error messages for insufficient backend connections in proprietary protocol.

Fixed an issue where proprietary protocol might deadlock with a small probability under high CN load, causing some requests to time out.

Fixed an issue where archived table queries might hang with a low probability.

Fixed an issue where health check tasks might incorrectly terminate connections when transmitting large packets in proprietary protocol.

Fixed an issue in DRDS mode where multi-table joins did not distinguish between database sharding keys and table sharding keys when judging shardKey join shardKey, resulting in incorrect execution plans.

Fixed an issue where TTL functionality became ineffective after RENAME on TTL tables.

Fixed an issue where implicit type conversion was handled incorrectly when writing negative numbers to varchar type partition keys.

Fixed an issue where execution plan construction errors occurred when the subquery materialization execution mode estimated the subquery row count as 500.

Fixed an issue where proprietary protocol health checks might be delayed by 10 minutes, causing connection jitter.

Disabled alter table convert to character set.

Fixed permission verification failures for cross-database analyze table.

Release date: 2023-01-14

Major version: V5.4.15

Minor version: 16734908

Category

Description

Bug fixes

Fixed an issue where executing alter table drop column might prevent access to the table.

Changed the default partition count for global secondary indexes of default primary key sharded tables from instance level to table level.

Improved LAST_INSERT_ID() function semantics to be consistent with MySQL.