Back to Clickhouse

2025 Changelog

docs/changelogs/v25.5.7.52-stable.md

26.4.1.1-new8.3 KB
Original Source

2025 Changelog

ClickHouse release v25.5.7.52-stable (6e66ab95d8a) FIXME as compared to v25.5.6.14-stable (ac7909e3af3)

Performance Improvement

Improvement

  • Backported in #83014: Keeper improvement: move changelog files between disk in a background thread. Previously, moving changelog to a different disk would block Keeper globally until the move is finished. This lead to performance degradation if moving is a long operation (e.g. to S3 disk). #82485 (Antonio Andelic).
  • Backported in #83268: Fix the wrong default value for the --reconnect option in clickhouse-benchmark. It was changed by mistake in #79465. #82677 (Alexey Milovidov).
  • Backported in #83152: Add columns commit_time, commit_id to system.s3queue_log. #83016 (Kseniia Sumarokova).
  • Backported in #83634: When distributed_ddl_output_mode='*_only_active', don't wait for new or recovered replicas that have replication lag bigger than max_replication_lag_to_enqueue. This should help to avoid DDL task is not finished on some hosts when a new replica becomes active after finishing initialization or recovery, but it accumulated huge replication log while initializing. Also, implement SYSTEM SYNC DATABASE REPLICA STRICT query that waits for replication log to become below max_replication_lag_to_enqueue. #83302 (Alexander Tokmakov).

Bug Fix (user-visible misbehavior in an official stable release)

  • Backported in #83256: Fix disabling boundary alignment for cached buffer in external table engines. It was broken in https://github.com/ClickHouse/ClickHouse/pull/81868. #82493 (Kseniia Sumarokova).
  • Backported in #82913: In AzureBlobStorage, for native copy we compare authentication methods, during which if we get an exception, updated the code to fallback to read and copy (i.e. non native copy). #82693 (Smita Kulkarni).
  • Backported in #83112: Fix exception safety in union/intersect/except_default_mode rewrite. Closes #82664. #82820 (Alexey Milovidov).
  • Backported in #83289: Set salt for auth data when parsing from AST with type SCRAM_SHA256_PASSWORD. #82888 (Tuan Pham Anh).
  • Backported in #83027: Fix filter modification for queries with a JOIN expression with a table with storage Merge. Fixes #82092. #82950 (Dmitry Novik).
  • Backported in #83311: Fix LOGICAL_ERROR in QueryMetricLog: Mutex cannot be NULL. #82979 (Pablo Marcos).
  • Backported in #83240: Fix performance degradation with the enabled analyzer when secondary queries always read all columns from the VIEWs. Fixes #81718. #83036 (Dmitry Novik).
  • Backported in #83173: Fix misleading error message when restoring a backup on a read-only disk. #83051 (Julia Kartseva).
  • Backported in #83142: Do not use unrelated parts of a shared dictionary in the lowCardinalityKeys function. #83118 (Alexey Milovidov).
  • Backported in #83404: Fix no_sign_request for S3 client. It can be used to explicitly avoid signing S3 requests. It can also be defined for specific endpoints using endpoint-based settings. #83379 (Antonio Andelic).
  • Backported in #83722: Fixes a crash that may happen for a query with a setting 'max_threads=1' when executed under load with CPU scheduling enabled. #83387 (Fan Ziqi).
  • Backported in #83452: Fix TOO_DEEP_SUBQUERIES exception when CTE definition references another table expression with the same name. #83413 (Dmitry Novik).
  • Backported in #83555: Disable bounds-based file pruning for iceberg array element and iceberg map values, including all their nested subfields. #83520 (Daniil Ivanik).
  • Backported in #83672: Fix incorrect memory around max_untracked_memory. #83607 (Azat Khuzhin).
  • Backported in #83662: INSERT SELECT with UNION ALL could lead to a null pointer dereference in a corner case. This closes #83618. #83643 (Alexey Milovidov).
  • Backported in #83743: Fix endless loop in estimateCompressionRatio() with block_size_bytes=0. #83704 (Azat Khuzhin).

Build/Testing/Packaging Improvement

NOT FOR CHANGELOG / INSIGNIFICANT