Release notes 2.5.21
Release date: May 15, 2024
Parameter changes
- Decreased the default value of BE parameter
update_compaction_size_threshold
from 256 MB to 64 MB to increase the trigger frequency for Primary Key table compaction.
Improvements
- Optimized the usage of database locks for materialized view refresh to prevent deadlock. #42801
- Both
s3a://
ands3://
can be used to access data in AWS S3. #42460
Bug Fixes
Fixed the following issues:
- Schema change may cause issues in prefix index sorting, leading to incorrect results for queries based on prefix indexes. #44941
- After a Routine Load task is paused due to Kafka cluster abnormalities, the background still attempts to connect to this abnormal Kafka cluster, which prevents other Routine Load tasks in this StarRocks cluster from consuming normal Kafka messages. #45029
- When querying views in
information_schema
, the database lock is held for an unexpectedly long time, which prolongs the overall query time. #45392 - Enabling Query Cache may cause BEs to crash if the SQL query contains a HAVING clause. This issue can be resolved by disabling Query Cache using
set enable_query_cache=false
. #43823 - When Query Cache is enabled, some queries may return an error message
All slotIds should be remapped
. #42861