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

sidebar_position: 1 sidebar_label: 2022 Backported in : Fixed race on SSL object inside SecureSocket in Poco. (). Backported in : Fix table function `clusterAllReplicas` returns wrong `shardnum`. close . (). Backported in : In case if query has constant `WHERE` condition, and setting `optimizeskipunused_shards` enabled, all shards may be skipped and query could return incorrect empty result. (). 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 : Start accepting connections after DDLWorker and dictionaries initialization. (). Backported in : Fix concurrent `OPTIMIZE` and `DROP` for `ReplicatedMergeTree`. (). 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 : Reverted S3 connection pools. (). Backported in : Fix scalar subquery index analysis. This fixes , which was introduced in https://github.com/ClickHouse/ClickHouse/pull/18896 . (). Backported in : Fix deadlock in first catboost model execution. 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 : 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 the background thread pool name. (). Backported in : Fix docker entrypoint in case `http_port` is not in the config. (). 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 LOGICAL_ERROR for Log with nested types w/o columns in the SELECT clause. (). 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 . (). Mannual backport of in 21.2 ().