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

sidebar_position: 1 sidebar_label: 2023 Backported in : Fixed performance of short `SELECT` queries that read from tables with large number of`Array`/`Map`/`Nested` columns. (). Backported in : Fix too big memory usage for vertical merges on non-remote disk. Respect `maxinsertdelayedstreamsforparallelwrite` for the remote disk. (). Backported in : Fix wiping sensitive info in logs. (). Backported in : Fix zookeeper downloading, update the version, and optimize the image size. (). Backported in : Remove the dependency on the `adduser` tool from the packages, because we don't use it. This fixes . (). Backported in : Add systemd.service file for clickhouse-keeper. Fixes . (). Backported in : Get rid of unnecessary build for standalone clickhouse-keeper. (). Backported in : Some time ago the ccache compression was changed to `zst`, but `gz` archives are downloaded by default. It fixes it by prioritizing zst archive. (). Backported in : Fix error during server startup on old distros (e.g. Amazon Linux 2) and on ARM that glibc 2.28 symbols are not found. (). Backported in : Fixed bug with non-parsable default value for EPHEMERAL column in table metadata. (). Backported in : Fixed a bug in normalization of a `DEFAULT` expression in `CREATE TABLE` statement. The second argument of function `in` (or the right argument of operator `IN`) might be replaced with the result of its evaluation during CREATE query execution. Fixes . (). Backported in : Another fix for `Cannot read all data` error which could happen while reading `LowCardinality` dictionary from remote fs. Fixes . (). Backported in : Fix `SELECT ... FROM system.dictionaries` exception when there is a dictionary with a bad structure (e.g. incorrect type in xml config). (). Backported in : A couple of seg faults have been reported around `c-ares`. All of the recent stack traces observed fail on inserting into `std::unodered_set<>`. I believe I have found the root cause of this, it seems to be unprocessed

Prior to this PR, CH calls `poll` to wait on the file descriptors in the `c-ares` channel. According to the , a negative return value means an error has ocurred. Because of this, we would abort the execution and return failure. The problem is that `poll` will also return a negative value if a system interrupt occurs. A system interrupt does not mean the processing has failed or ended, but we would abort it anyways because we were checking for negative values. Once the execution is aborted, the whole stack is destroyed, which includes the `std::unordered_set<std::string>` passed to the `void ` parameter of the c-ares callback. Once c-ares completed the request, the callback would be invoked and would access an invalid memory address causing a segfault. (). Backported in : Fix reading of non existing nested columns with multiple level in compact parts. (). Backported in : Fix possible `LOGICAL_ERROR` in asynchronous inserts with invalid data sent in format `VALUES`. (). Backported in : Fix an invalid processing of constant `LowCardinality` argument in function `arrayMap`. This bug could lead to a segfault in release, and logical error `Bad cast` in debug build. (). Backported in : Fix a bug in the `Map` data type. This closes . (). Backported in : Fix result of LIKE predicates which translate to substring searches and contain quoted non-LIKE metacharacters. (). Automatically merge green backport PRs and green approved PRs (). Improve release scripts (). Fix wrong approved_at, simplify conditions (). Get rid of artifactory in favor of r2 + ch-repos-manager (). Another attempt to fix automerge, or at least to have debug footprint (). Trim refs/tags/ from GITHUB_TAG in release workflow (). Add check for running workflows to merge_pr.py (). Get rid of progress timestamps in release publishing (). Add necessary dependency for sanitizers (). Add helping logging to auto-merge script (). Fix write buffer destruction order for vertical merge. (). Improve install_check.py (). Fix dependencies for InstallPackagesTestAarch64 (). Get rid of legacy DocsReleaseChecks (). Reduce updates of Mergeable Check ().