Back to Clickhouse

2026 Changelog

docs/changelogs/v25.10.5.40-stable.md

26.4.1.1-new13.4 KB
Original Source

2026 Changelog

ClickHouse release v25.10.5.40-stable (93e6f3ffcbd) FIXME as compared to v25.10.4.104-stable (5051266d584)

Improvement

  • Backported in #94211: Fixed spurious memory limit errors when userspace page cache is enabled. #91361 (Michael Kolupaev).
  • Backported in #94551: Introduced backup_data_from_refreshable_materialized_view_targets backup setting to control whether to back up data of refreshable materialized views. Targets of RMVs with APPEND refresh strategy are always backed up. #93658 (Julia Kartseva).
  • Backported in #94117: In some cases we've seen ClickHouse doesn't respect a memory limit when reading from a table. This behaviour is fixed. #93715 (Nikita Mikhaylov).
  • Backported in #94029: Do proper byte size calculation of the check request with stats. #93907 (Mikhail Artemenko).

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

  • Backported in #93750: Fix reading subcolumns from a column with dot in the name in some cases. Resolves #81261, #82058, #88169. #87205 (Pavel Kruglov).
  • Backported in #92036: Fix GenerateRandom engine crash on non-literal parameters: return BAD_ARGUMENTS with a clear message instead of LOGICAL_ERROR. #88157 (Shafi Ahmed).
  • Backported in #90421: Fixed a crash during the clean server shutdown due to wrong destruction order. Resolves #82420. #90076 (Nikita Mikhaylov).
  • Backported in #94012: Fixed crash on integer overflow in randomStringUTF8. #90326 (Michael Kolupaev).
  • Backported in #93721: Fix dynamic subcolumns resolution in column aliases in analyzer. Previously dynamic subcolumn in column alias was wrapped in getSubcolumn and in some cases could be not resolved at all. Closes #91434. #92583 (Pavel Kruglov).
  • Backported in #93592: Fix possible hung on terminating background schedule pool (may lead to server hungs on shutdown). #93008 (Azat Khuzhin).
  • Backported in #93559: Fix crash when deserialising malformed groupConcat aggregate state with out-of-bounds offsets. #93028 (Raufs Dunamalijevs).
  • Backported in #93402: Fix unused columns removal from subqueries in the presence of a scalar correlated subquery. Before the fix column could have been removed if it was used only in the correlated subquery, and the query would fail with NOT_FOUND_COLUMN_IN_BLOCK error. #93273 (Dmitry Novik).
  • Backported in #93472: Fixed integer overflow vulnerability in groupConcat state deserialisation that could cause memory safety issues with crafted aggregate states. #93426 (Raufs Dunamalijevs).
  • Backported in #93583: Fix extracting subcolumn during deserialization directly into Sparse columns. #93512 (Pavel Kruglov).
  • Backported in #93668: Make sure that zookeeper is finalized on shutdown (fix possible hung on shutdown in very unlikely cases). #93602 (Azat Khuzhin).
  • Backported in #93962: Fix LOGICAL_ERROR when restoring ReplicatedMergeTree with deduplication race. #93612 (Pablo Marcos).
  • Backported in #93923: Fix using Sparse column for TTL update during direct deserialization into Sparse columns in some input formats. It fixes possible logical error Unexpected type of result TTL column. #93619 (Pavel Kruglov).
  • Backported in #93807: Validate that the decompressed buffer size is as expected. #93690 (Raúl Marín).
  • Backported in #93798: Prevent users to get the list of columns from a table without checking SHOW COLUMNS permission using the merge table engine. #93695 (János Benjamin Antal).
  • Backported in #94452: Fix use-of-uninitialized-value in ReadWriteBufferFromHTTP. #94058 (Alexey Milovidov).
  • Backported in #94231: Fix accuracy of uniqTheta when using UInt8 aggregation keys in parallel (max_threads > 1 - default). #94095 (Azat Khuzhin).
  • Backported in #94163: Fixes https://github.com/ClickHouse/clickhouse-core-incidents/issues/1217. Exception was thrown from a socket.setBlocking(true) call inside SCOPE_EXIT: logs. Because SCOPE_EXIT creates a scope guard object and runs the provided code in the scope guard's destructor, we can't use SCOPE_EXIT with functions that throw exceptions and should use SCOPE_EXIT_SAFE instead. #94100 (Miсhael Stetsyuk).
  • Backported in #94635: Related issue: #80315 CIDB: link. #94123 (Tuan Pham Anh).
  • Backported in #94268: Fix data race in evaluating table functions in materialized views. #94171 (Alexey Milovidov).
  • Backported in #94257: Fix nullptr dereference in PostgreSQL database engines (when the query is incorrect). Closes #92887. #94180 (Alexey Milovidov).
  • Backported in #94313: Fix memory leak in refreshable materialized views using SELECT queries with multiple subqueries. #94200 (Antonio Andelic).
  • Backported in #94442: Fix data race in DataPartStorageOnDiskBase::remove vs system.parts. Closes #49076. #94262 (Alexey Milovidov).
  • Backported in #94349: Fix obscure bug in ZooKeeper client on connect which leads to hungs and crashes. #94320 (Azat Khuzhin).
  • Backported in #94417: Fix possibly incorrect result in nested RIGHT JOINs when enable_lazy_columns_replication is enabled. The bug caused all rows in replicated columns to incorrectly return the same value instead of their distinct values. Close #93891. #94339 (Vladimir Cherkasov).
  • Backported in #94394: Fix incorrect value of current metric FilesystemCacheSizeLimit in case SLRU cache policy was used. #94363 (Kseniia Sumarokova).
  • Backported in #94461: Ignores impossible revokes of global grants on the database level for grants with grant option. #94386 (pufit).

Build/Testing/Packaging Improvement

  • Backported in #94225: Bump c-ares from v1.34.5 to v1.34.6. This addresses c-ares' CVE-2025-62408, which is not relevant for ClickHouse. #94129 (Govind R Nair).

NOT FOR CHANGELOG / INSIGNIFICANT