Project: ClickHouse (App Definition and Development / Database)
File: v21.1.8.30-stable.md

sidebar_position: 1 sidebar_label: 2022 Backported in : Fix the metadata leak when the ReplicatedMergeTree with custom (non default) ZooKeeper cluster is dropped. (). Backported in : Fix `inputformatnullasdefault` take effective when types are nullable. This fixes . (). Backported in : Fix Avro format parsing for Kafka. Fixes . (). Backported in : Fixed race on SSL object inside SecureSocket in Poco. (). Backported in : Remove unknown columns from joined table in where for queries to external database engines (MySQL, PostgreSQL). close , close (dup), close (dup). (). Backported in : Fix distributed requests cancellation (for example simple select from multiple shards with limit, i.e. `select from remote('127.{2,3}', system.numbers) limit 100`) with `asyncsocketfor_remote=1`. (). Backported in : Start accepting connections after DDLWorker and dictionaries initialization. (). Backported in : Fix bug for ReplicatedMerge table engines when `ALTER MODIFY COLUMN` query doesn't change the type of decimal column if its size (32 bit or 64 bit) doesn't change. (). Backported in : Fix possible crashes in aggregate functions with combinator Distinct, while using two-level aggregation. This is a follow-up fix of https://github.com/ClickHouse/ClickHouse/pull/18365 . Can only reproduced in production env. No test case available yet. cc @CurtizJ. (). Backported in : Fix deadlock in first catboost model execution. Closes . (). Backported in : Reverted that may cause significant increase in memory usage while loading external dictionaries of hashed type. This closes . (). Backported in : In rare case, merge for `CollapsingMergeTree` may create granule with `index_granularity + 1` rows. Because of this, internal check, added in (affects 21.2 and 21.3), may fail with error `Incomplete granules are not allowed while blocks are granules size`. This error did not allow parts to merge. (). Backported in : The function `decrypt` was lacking a check for the minimal size of data encrypted in AEAD mode. This closes . (). Backported in : Docker entrypoint: avoid chown of `.` in case when `LOG_PATH` is empty. Closes . (). Backported in : Fix waiting for `OPTIMIZE` and `ALTER` queries for `ReplicatedMergeTree` table engines. Now the query will not hang when the table was detached or restarted. (). Backported in : Fix query cancellation with `usehedgedrequests=0` and `asyncsocketfor_remote=1`. (). Backported in : Now clickhouse will not throw `LOGICAL_ERROR` exception when we try to mutate the already covered part. Fixes . (). Backported in : Buffer overflow (on read) was possible in `tokenbf_v1` full text index. The excessive bytes are not used but the read operation may lead to crash in rare cases. This closes . (). Backported in : Add (missing) memory accounting in parallel parsing routines. In previous versions OOM was possible when the resultset contains very large blocks of data. This closes . (). Backported in : Fix bug in partial merge join with `LowCardinality`. Close , close . (). Backported in : Fix deserialization of empty string without newline at end of TSV format. This closes . Possible workaround without version update: set `inputformatnullasdefault` to zero. It was zero in old versions. (). Backported in : Fix UB by unlocking the rwlock of the TinyLog from the same thread. (). Backported in : Avoid UB in Log engines for rwlock unlock due to unlock from another thread. (). Backported in : Fix wait for mutations on several replicas for ReplicatedMergeTree table engines. Previously, mutation/alter query may finish before mutation actually executed on other replicas. (). Backported in : Fix possible hangs in zk requests in case of OOM exception. Fixes . (). LRUCache fix exception unsafe element insertion (). Mannual backport of in 21.1 ().