Skip to content

Releases: Altinity/ClickHouse

23.8.16.43 Altinity Stable update

17 Dec 16:00
b53fc9f
Compare
Choose a tag to compare

New in 23.8.16.43.altinitystable compared to 23.8.16.42.altinitystable

Bug fixes

Build/Testing/Packaging Improvement

  • Pin version of cxx rust package to prevent picking up latest version (#550)

Changes compared to upstream's v23.8.16.40-lts (e143a90)

Bug fixes

Performance improvements

Improvement

Build/Testing/Packaging Improvement

  • Make builds possible on Altinity's infrastructure
  • clickhouse-regression test suite (#338 by @MyroTk)
  • Changed "version is not official" log message on failure (#369 by @Enmk)
  • Fix kerberized_hadoop docker image build issue (#394 by @ilejn)
  • Reuse unchanged images #455 by @MyroTk
  • Pinned version of pip packet requests==2.31.0 in attempt to fix: 'Error while fetching server API version: Not supported URL scheme http+docker' (#409 by @Enmk)
  • Aarch64 builds with better introspection (-no-pie) (#396 by @Enmk)
  • Fixed the docker tag for docker server test image (#463 by @MyroTk)
  • Add SignAarch64 job to match SignRelease (#462 by @MyroTk)
  • Fix test_distributed_directory_monitor_split_batch_on_failure_OFF (#464 by @Enmk)
  • Fix kererberized_hadoop tests (#468, #459 by @ilejn)
  • Updated reference to clickhouse-regression suite (#467 by @MyroTk)
  • Scheduled run + CI/CD fixups (#402 by @MyroTk)
  • Fixed some dependencies versions (#507)
  • Snapshot runners and other infrastructure improvements (#506)
  • Updated package metadata (#505)

Build report

Packages

Available for both AMD64 and Aarch64 from https://builds.altinity.cloud/ as either .deb, .rpm, or .tgz

Docker images

Available for both AMD64 and Aarch64: altinity/clickhouse-server/23.8.16.43.altinitystable

24.3.12.76 Altinity Stable

08 Nov 11:39
5b67ba5
Compare
Choose a tag to compare

Changes compared to upstream's v24.3.12.75-lts

Build/Testing/Packaging Improvement

  • Enable building and testing on Altinity infrastructure (#413)

Bug fix

Improvement

Build/Testing/Packaging Improvement

  • 🆕 ubuntu:22.04 as a base image for clickhouse-server docker image #497
  • 🆕 alpine:3.20.3 as clickhouse-keeper base image to (lowest number of CVEs) #517

🆕 — new in 24.3.12.76.altinitystable compared to 24.3.5.47.altinitystable

Build report

Packages

Available for both AMD64 and Aarch64 from https://builds.altinity.cloud/ as either .deb, .rpm, or .tgz

Docker images

Available for both AMD64 and Aarch64: altinity/clickhouse-server/24.3.12.76.altinitystable

23.8.16.42 Altinity Stable update

23 Oct 14:15
46d4f9b
Compare
Choose a tag to compare

New in 23.8.16.42.altinitystable compared to 23.8.16.41.altinitystable

Bug fixes

Other changes compared to upstream's v23.8.16.40-lts (e143a90)

Bug fixes

Performance improvements

Improvement

Build/Testing/Packaging Improvement

  • Make builds possible on Altinity's infrastructure
  • clickhouse-regression test suite (#338 by @MyroTk)
  • Changed "version is not official" log message on failure (#369 by @Enmk)
  • Fix kerberized_hadoop docker image build issue (#394 by @ilejn)
  • Reuse unchanged images #455 by @MyroTk
  • Pinned version of pip packet requests==2.31.0 in attempt to fix: 'Error while fetching server API version: Not supported URL scheme http+docker' (#409 by @Enmk)
  • Aarch64 builds with better introspection (-no-pie) (#396 by @Enmk)
  • Fixed the docker tag for docker server test image (#463 by @MyroTk)
  • Add SignAarch64 job to match SignRelease (#462 by @MyroTk)
  • Fix test_distributed_directory_monitor_split_batch_on_failure_OFF (#464 by @Enmk)
  • Fix kererberized_hadoop tests (#468, #459 by @ilejn)
  • Updated reference to clickhouse-regression suite (#467 by @MyroTk)
  • Scheduled run + CI/CD fixups (#402 by @MyroTk)
  • Fixed some dependencies versions (#507)
  • Snapshot runners and other infrastructure improvements (#506)
  • Updated package metadata (#505)

Build report

Packages

Available for both AMD64 and Aarch64 from https://builds.altinity.cloud/ as either .deb, .rpm, or .tgz

Docker images

Available for both AMD64 and Aarch64: altinity/clickhouse-server/23.8.16.42.altinitystable

23.8.16 Altinity Stable

26 Sep 00:16
9992f5e
Compare
Choose a tag to compare

Changes compared to upstream's v23.8.16.40-lts (e143a90)

Bug fixes

Performance improvements

Improvement

Build/Testing/Packaging Improvement

  • Make builds possible on Altinity's infrastructure
  • clickhouse-regression test suite (#338 by @MyroTk)
  • Changed "version is not official" log message on failure (#369 by @Enmk)
  • Fix kerberized_hadoop docker image build issue (#394 by @ilejn)
  • Reuse unchanged images #455 by @MyroTk
  • Pinned version of pip packet requests==2.31.0 in attempt to fix: 'Error while fetching server API version: Not supported URL scheme http+docker' (#409 by @Enmk)
  • Aarch64 builds with better introspection (-no-pie) (#396 by @Enmk)
  • Fixed the docker tag for docker server test image (#463 by @MyroTk)
  • Add SignAarch64 job to match SignRelease (#462 by @MyroTk)
  • Fix test_distributed_directory_monitor_split_batch_on_failure_OFF (#464 by @Enmk)
  • Fix kererberized_hadoop tests (#468, #459 by @ilejn)
  • Updated reference to clickhouse-regression suite (#467 by @MyroTk)
  • Scheduled run + CI/CD fixups (#402 by @MyroTk)

upstream ClickHouse changes between v23.8.16.40-lts (e143a90) and v23.8.11.28-lts (31879d2)

Critical Bug Fix (crash, LOGICAL_ERROR, data loss, RBAC))

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

  • The query cache now denies access to entries when the user is re-created or assumes another role. This improves prevents attacks where 1. an user with the same name as a dropped user may access the old user's cache entries or 2. a user with a different role may access cache entries of a role with a different row policy. (#58611 by Robert Schulze via #61439)
  • Fix string search with constant start position which previously could lead to memory corruption. (#61547 by Antonio Andelic via #61572)
  • Fix crash in multiSearchAllPositionsCaseInsensitiveUTF8 when specifying incorrect UTF-8 sequence. Example: #61714. (#61749 by pufit via #61854)
  • Fixed a bug in zero-copy replication (an experimental feature) that could cause The specified key does not exist errors and data loss after REPLACE/MOVE PARTITION. A similar issue might happen with TTL-moves between disks. (#54193 by Alexander Tokmakov via #62898)
  • Fix the ATTACH query with the ON CLUSTER clause when the database does not exist on the initiator node. Closes #55009. (#61365 by Nikolay Degterinsky via #61964)
  • Fix data race between MOVE PARTITION query and merges resulting in intersecting parts. (#61610 by János Benjamin Antal via #62527)
  • Fix skipping escape sequence parsing errors during JSON data parsing while using input_format_allow_errors_num/ratio settings. (#61883 by Kruglov Pavel via #62238)
  • Fix segmentation fault when using Hive table engine. Reference #62154, #62560. (#62578 by Nikolay Degterinsky via #62673)
  • Setting server_name might help with recently reported SSL handshake error when connecting to MongoDB Atlas: Poco::Exception. Code: 1000, e.code() = 0, SSL Exception: error:10000438:SSL routines:OPENSSL_internal:TLSV1_ALERT_INTERNAL_ERROR. (#63122 by Alexander Gololobov via #63172)
  • The wire protocol version check for MongoDB used to try accessing "config" database, but this can fail if the user doesn't have permissions for it. The fix is to use the database name provided by user. (#63126 by Alexander Gololobov via #63164)
  • Fixes #59989: runs init scripts when force-enabled or when no database exists, rather than the inverse. (#59991 by jktng via #64422)
  • Fix "Invalid storage definition in metadata file" for parameterized views. (#60708 by Azat Khuzhin via #64016)
  • Fix the issue where the function addDays (and similar functions) reports an error when the first parameter is DateTime64. (#61561 by Shuai li via #63456)
  • Fix crash with untuple and unresolved lambda. (#63131 by Raúl Marín via #63289)
  • Fix X-ClickHouse-Timezone header returning wrong timezone when using session_timezone as query level setting. (#63377 by Andrey Zvonov via #63512)
  • query_plan_remove_redundant_distinct can break queries with WINDOW FUNCTIONS (with allow_experimental_analyzer is on). Fixes #62820. (#63776 by Igor Nikonov via #63902)
  • Deserialize untrusted binary inputs in a safer way. (#64024 by Robert Schulze via #64104)
  • Prevent LOGICAL_ERROR on CREATE TABLE as MaterializedView. (#64174 by Raúl Marín via #64265)
  • Fixed memory possible incorrect memory tracking in several kinds of queries: queries that read any data from S3, queries via http protocol, asynchronous inserts. (#64844 by Anton Popov via #64867)
  • Fix possible abort on uncaught exception in ~WriteBufferFromFileDescriptor in StatusFile. (#64206 by Kruglov Pavel via [ClickHouse#65351](https://github.com/ClickHouse/ClickHouse/issue...
Read more

24.3.5 Altinity FIPS

04 Sep 09:40
f030c60
Compare
Choose a tag to compare

Changes compared to 24.3.5.47.altinitystable

Improvement

  • Building BoringSSL ver fips-20210429 (853ca1ea1168dff08011e5d42d94609cc0ca2e27) according to FIPS-140-2 Security Policy 4407, based on build scripts from Golang version go1.22.5
  • Added FIPS_CLICKHOUSE to system.build_options
  • Modified ClickHosue keeper to use full range of openSSL options (same as ClickHouse does) for Raft connections
  • using ubuntu:22.04 as a base for clickhouse-server docker images instead of ubuntu:20.04

Build/Testing/Packaging Improvement

  • CI/CD for FIPS mode
  • other fixes for CI/CD

Full Changelog: v24.3.5.47.altinitystable...v24.3.5.48.altinityfips

Build report

Packages

Available for AMD64 from https://builds.altinity.cloud/ as either .deb, .rpm, or .tgz

Docker images

Available for AMD64: altinity/clickhouse-server/24.3.5.48.altinityfips

24.3.5 Altinity Stable

24 Jul 15:58
b664256
Compare
Choose a tag to compare

Changes compared to upstream's v24.3.5.46

Build/Testing/Packaging Improvement

  • Enable building and testing on Altinity infrastructure (#413)

Bug fix

  • Fix the crash loop when restoring from backup is blocked by creating an MV with a definer that hasn't been restored yet. (ClickHouse#64595 by @pufit via #412)
  • Fix moving partition to itself ClickHouse#62459 (ClickHouse#62524 by @helifu via #411)
  • Fix detection of number of CPUs in containers. In the case when the 'root' cgroup was used (i.e. name of cgroup was empty, which is common for containers ) ClickHouse was ignoring the CPU limits set for the container. (ClickHouse#66237 by @filimonov via #420)

Build report

Packages

Available for both AMD64 and Aarch64 from https://builds.altinity.cloud/ as either .deb, .rpm, or .tgz

Docker images

Available for both AMD64 and Aarch64: altinity/clickhouse-server/24.3.5.47.altinitystable

23.8.11 Altinity Stable

01 May 09:38
8e9be16
Compare
Choose a tag to compare

Changes compared to upstream's v23.8.11.28-lts

Bug fixes

Performance improvements

Build/Testing/Packaging Improvement

  • Make builds possible on Altinity's infrastructure
  • clickhouse-regression test suite (#338 by @MyroTk)
  • Changed "version is not official" log message on failure (#369 by @Enmk)
  • Fix kerberized_hadoop docker image build issue (#394 by @ilejn)

Improvement

upstream ClickHouse changes between v23.8.11.28-lts (31879d2) and v23.8.8.20-lts (5e012a0)

Improvement

  • Output valid JSON/XML on excetpion during HTTP query execution. Add setting http_write_exception_in_output_format to enable/disable this behaviour (enabled by default). #52853
  • Fix transfer query to MySQL compatible query. Fixes #57253. Fixes #52654. Fixes #56729. #56456
  • Fetching a part waits when that part is fully committed on remote replica. It is better not send part in PreActive state. In case of zero copy this is mandatory restriction. #56808
  • Handle sigabrt case when getting PostgreSQl table structure with empty array. #57618
  • Add SYSTEM JEMALLOC PURGE for purging unused jemalloc pages, SYSTEM JEMALLOC [ ENABLE | DISABLE | FLUSH ] PROFILE for controlling jemalloc profile if the profiler is enabled. Add jemalloc-related 4LW command in Keeper: jmst for dumping jemalloc stats, jmfp, jmep, jmdp for controlling jemalloc profile if the profiler is enabled. #58665
  • Copy S3 file GCP fallback to buffer copy in case GCP returned Internal Error with GATEWAY_TIMEOUT HTTP error code. #60164
  • Update tzdata to 2024a. #60768

Build/Testing/Packaging Improvement

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

  • Flatten only true Nested type if flatten_nested=1, not all Array(Tuple) #56132
  • Fix ALTER COLUMN with ALIAS #56493
  • Prevent incompatible ALTER of projection columns #56948
  • Fix segfault after ALTER UPDATE with Nullable MATERIALIZED column #57147
  • Fix incorrect JOIN plan optimization with partially materialized normal projection #57196
  • Fix ReadonlyReplica metric for all cases #57267
  • Fix working with read buffers in StreamingFormatExecutor #57438
  • bugfix: correctly parse SYSTEM STOP LISTEN TCP SECURE #57483
  • Ignore ON CLUSTER clause in grant/revoke queries for management of replicated access entities. #57538
  • Disable system.kafka_consumers by default (due to possible live memory leak) #57822
  • Fix invalid memory access in BLAKE3 (Rust) #57876
  • Normalize function names in CREATE INDEX #57906
  • Fix invalid preprocessing on Keeper #58069
  • Fix Integer overflow in Poco::UTF32Encoding #58073
  • Remove parallel parsing for JSONCompactEachRow #58181
  • Fix parallel parsing for JSONCompactEachRow #58250
  • Background merges correctly use temporary data storage in the cache #57275
  • MergeTree mutations reuse source part index granularity #57352
  • Fix double destroy call on exception throw in addBatchLookupTable8 #58745
  • Fix JSONExtract function for LowCardinality(Nullable) columns #58808
  • Fix: LIMIT BY and LIMIT in distributed query #59153
  • Fix translate() with FixedString input #59356
  • Fix error "Read beyond last offset" for AsynchronousBoundedReadBuffer #59630
  • Fix query start time on non initial queries #59662
  • Fix leftPad / rightPad function with FixedString input #59739
  • rabbitmq: fix having neither acked nor nacked messages #59775
  • Fix cosineDistance crash with Nullable #60150
  • Fix buffer overflow in CompressionCodecMultiple #60731
  • Remove nonsense from SQL/JSON #60738
  • Fix crash in arrayEnumerateRanked #60764
  • Fix crash when using input() in INSERT SELECT JOIN #60765
  • Remove recursion when reading from S3 #60849

NO CL ENTRY

  • Update PeekableWriteBuffer.cpp. #57701
  • Use the current branch test-utils to build cctools. #61276

NOT FOR CHANGELOG / INSIGNIFICANT

  • Pin alpine version of integration tests helper container #57669
  • Remove heavy rust stable toolchain #57905
  • Fix docker image for integration tests (fixes CI) #57952
  • Fix rare race in external sort/aggregation with temporary data in cache #58013
  • Fix possible race in ManyAggregatedData dtor. #58624
  • Fix 02720_row_policy_column_with_dots #59453
  • Pin python dependencies in stateless tests #59663
  • Make ZooKeeper actually sequentialy consistent #59735
  • Remove broken test while we fix it #60547
  • Cancel PipelineExecutor properly in case of exception in spawnThreads #57104
  • Detect io_uring in tests #60373
  • Cancel PipelineExecutor properly in case of exception in spawnThreads #60499

Packages

Available for both AMD64 and Aarch64 from https://builds.altinity.cloud/ as either .deb, .rpm, or .tgz

Docker images

Available for both AMD64 and Aarch64: altinity/clickhouse-server/23.8.11.29.altinitystable

23.3.19 Altinity FIPS

27 Mar 13:04
0a8ac3b
Compare
Choose a tag to compare

Changes compared to 23.3.19.33.altinitystable

Improvement

  • Building BoringSSL (ae223d6138807a13006342edfeef32e813246b39) in FIPS mode, based on procedures of Go 1.19 (#235 by @Enmk)
  • FIPS mode for Keeper (#255, #274 by @Enmk)

Build/Testing/Packaging Improvement

  • CI/CD for FIPS mode (#218 by @zvonand)
  • other fixes for CI/CD

Full Changelog: v23.3.19.33.altinitystable...v23.3.19.34.altinityfips

23.3.19 Altinity Stable

05 Mar 13:02
19a57e6
Compare
Choose a tag to compare

Changes compared to upstream's v23.3.19.32-lts

Bug fixes

Performance improvement

Improvement

Build/Testing/Packaging Improvement

  • Bring back DNS tests (ClickHouse#53286 - @arthurpassos via #296)
  • Made builds and tests possible in Altinity's infrastructure
  • Support of Aarch64 builds (#311)
    • building Aarch64 binaries
    • multi-arch docker containers (Amd64, Aarch64)
    • running stateles, stateful tests against Aarch64
    • running clickhouse-regression tests against Aarch64

upstream ClickHouse changes between v23.3.19.32-lts (c4d4ca8ec02) and v23.3.13.6-lts (25635e27551)

Improvement

  • Fix transfer query to MySQL compatible query. (ClickHouse#56456 by flynn via ClickHouse#58489).
  • There was a potential vulnerability in previous ClickHouse versions: if a user has connected and unsuccessfully tried to authenticate with the "interserver secret" method, the server didn't terminate the connection immediately but continued to receive and ignore the leftover packets from the client. While these packets are ignored, they are still parsed, and if they use a compression method with another known vulnerability, it will lead to exploitation of it without authentication. This issue was found with [ClickHouse Bug Bounty Program] by https://twitter.com/malacupa. (ClickHouse#56794 by Alexey Milovidov via ClickHouse#56928).
  • Handle sigabrt case when getting PostgreSQl table structure with empty array. (ClickHouse#57618 by Mikhail Kot via ClickHouse#57653).

Build/Testing/Packaging Improvement

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

NOT FOR CHANGELOG / INSIGNIFICANT

Read more

23.8.8 Altinity Stable

28 Dec 08:55
57762a4
Compare
Choose a tag to compare

Changes compared to upstream's v23.8.8.20-lts

Bug fixes

Performance improvements

Build/Testing/Packaging Improvement

  • Make builds possible on Altinity's infrastructure
  • clickhouse-regression test suite (#338 by @MyroTk)

Packages

Available for both AMD64 and Aarch64 from https://builds.altinity.cloud/ as either .deb, .rpm, or .tgz

Docker images

Available for both AMD64 and Aarch64: altinity/clickhouse-server/23.8.8.21.altinitystable