2.5.17
Release date: December 19, 2023
New Features
- Added a new metric
max_tablet_rowset_num
for setting the maximum allowed number of rowsets. This metric helps detect possible compaction issues and thus reduces the occurrences of the error "too many versions". #36539 - Added the subdivide_bitmap function. #35817
Improvements
- The result returned by the SHOW ROUTINE LOAD statement provides a new field
OtherMsg
, which shows information about the last failed task. #35806 - The default retention period of trash files is changed to 1 day from the original 3 days. #37113
- Optimized the performance of persistent index update when compaction is performed on all rowsets of a Primary Key table, which reduces disk read I/O. #36819
- Optimized the logic used to compute compaction scores for Primary Key tables, thereby aligning the compaction scores for Primary Key tables within a more consistent range with the other three table types. #36534
- Queries on MySQL external tables and the external tables within JDBC catalogs support including keywords in the WHERE clause. #35917
- Added the bitmap_from_binary function to Spark Load to support loading Binary data. #36050
- The bRPC expiration time is shortened from 1 hour to the duration specified by the session variable
query_timeout
. This prevents query failures caused by RPC request expiration. #36778
Compatibility Changes
Parameters
- A new BE configuration item
enable_stream_load_verbose_log
is added. The default value isfalse
. With this parameter set totrue
, StarRocks can record the HTTP requests and responses for Stream Load jobs, making troubleshooting easier. #36113 - The BE static parameter
update_compaction_per_tablet_min_interval_seconds
becomes mutable. #36819
Bug Fixes
Fixed the following issues:
- Queries fail during hash joins, causing BEs to crash. #32219
- The FE performance plunges after the FE configuration item
enable_collect_query_detail_info
is set totrue
. #35945 - Errors may be thrown if large amounts of data are loaded into a Primary Key table with persistent index enabled. #34352
- The starrocks_be process may exit unexpectedly when
./agentctl.sh stop be
is used to stop a BE. #35108 - The array_distinct function occasionally causes the BEs to crash. #36377
- Deadlocks may occur when users refresh materialized views. #35736
- In some scenarios, dynamic partitioning may encounter an error, which causes FE start failures. #36846