mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
8.1 KiB
8.1 KiB
sidebar_position | sidebar_label |
---|---|
1 | 2022 |
2022 Changelog
ClickHouse release v21.3.5.42-lts FIXME as compared to v21.3.4.25-lts
Bug Fix
- Backported in #22335: Fix table function
clusterAllReplicas
returns wrong_shard_num
. close #21481. #21498 (flynn). - Backported in #22319: Remove unknown columns from joined table in where for queries to external database engines (MySQL, PostgreSQL). close #14614, close #19288 (dup), close #19645 (dup). #21640 (Vladimir C).
- Backported in #22241: Fix scalar subquery index analysis. This fixes #21717 , which was introduced in https://github.com/ClickHouse/ClickHouse/pull/18896 . #21766 (Amos Bird).
- Backported in #22150: Better error handling and logging in WriteBufferFromS3. #21836 (Pavel Kovalenko).
- Backported in #22468: In rare case, merge for
CollapsingMergeTree
may create granule withindex_granularity + 1
rows. Because of this, internal check, added in #18928 (affects 21.2 and 21.3), may fail with errorIncomplete granules are not allowed while blocks are granules size
. This error did not allow parts to merge. #21976 (Nikolai Kochetov). - Backported in #22203: Docker entrypoint: avoid chown of
.
in case whenLOG_PATH
is empty. Closes #22100. #22102 (filimonov). - Backported in #22261: Disable
async_socket_for_remote
/use_hedged_requests
for buggy linux kernels. #22109 (Azat Khuzhin). - Backported in #22281: Fix waiting for
OPTIMIZE
andALTER
queries forReplicatedMergeTree
table engines. Now the query will not hang when the table was detached or restarted. #22118 (alesapin). - Backported in #22265: Fix the background thread pool name. #22122 (fastio).
- Backported in #22262: Fix error
Invalid number of rows in Chunk
inJOIN
withTOTALS
andarrayJoin
. Closes #19303. #22129 (Vladimir C). - Backported in #22316: Fix docker entrypoint in case
http_port
is not in the config. #22132 (Ewout). - Backported in #22313: Fix query cancellation with
use_hedged_requests=0
andasync_socket_for_remote=1
. #22183 (Azat Khuzhin). - Backported in #22366: Now clickhouse will not throw
LOGICAL_ERROR
exception when we try to mutate the already covered part. Fixes #22013. #22291 (alesapin). - Backported in #22562: Do not limit HTTP chunk size. Fixes #21907. #22322 (Ivan).
- Backported in #22531: 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 #19233. #22421 (Alexey Milovidov). - Backported in #22463: 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 #22008. #22425 (Alexey Milovidov).
- Backported in #22507: Remove socket from epoll before cancelling packet receiver in HedgedConnections to prevent possible race. I hope it fixes #22161. #22443 (Kruglov Pavel).
- Backported in #22554: Fix bug in partial merge join with
LowCardinality
. Close #22386, close #22388. #22510 (Vladimir C). - Backported in #22607: Fix deserialization of empty string without newline at end of TSV format. This closes #20244. Possible workaround without version update: set
input_format_null_as_default
to zero. It was zero in old versions. #22527 (Alexey Milovidov). - Backported in #22576: Fix UB by unlocking the rwlock of the TinyLog from the same thread. #22560 (Azat Khuzhin).
- Backported in #22651: Avoid UB in *Log engines for rwlock unlock due to unlock from another thread. #22583 (Azat Khuzhin).
- Backported in #22653: Try flush write buffer only if it is initialized. Fixes segfault when client closes connection very early #22579. #22591 (nvartolomei).
- Backported in #22681: Fix LOGICAL_ERROR for Log with nested types w/o columns in the SELECT clause. #22654 (Azat Khuzhin).
NOT FOR CHANGELOG / INSIGNIFICANT
- Manual backport of #21429 in 21.3 #22504 (Kruglov Pavel).