Skip to content

26.3 Antalya port - Alternative syntax for cluster functions#1640

Open
ianton-ru wants to merge 16 commits intoantalya-26.3from
frontport/antalya-26.3/alternative_syntax
Open

26.3 Antalya port - Alternative syntax for cluster functions#1640
ianton-ru wants to merge 16 commits intoantalya-26.3from
frontport/antalya-26.3/alternative_syntax

Conversation

@ianton-ru
Copy link
Copy Markdown

@ianton-ru ianton-ru commented Apr 13, 2026

Changelog category (leave one):

  • New Feature

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Frontports for Antalya 26.3

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Performance tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All with Aarch64
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

zvonand and others added 2 commits April 10, 2026 16:50
…tive_syntax

26.1 Antalya port - Alternative syntax for cluster functions
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 13, 2026

Workflow [PR], commit [41e54dd]

zvonand and others added 3 commits April 13, 2026 15:15
…e_for_partitioning

26.1 Antalya port - Timezone for partitioning
…nquoted_timezone

Fix unquoted timezone in sorting key
@ianton-ru ianton-ru changed the title 26.1 Antalya port - Alternative syntax for cluster functions 26.3 Antalya port - Alternative syntax for cluster functions Apr 13, 2026
@ianton-ru
Copy link
Copy Markdown
Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 88842054aa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +721 to +722
pure_storage->renameInMemory(new_table_id);
return;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update wrapper storage ID during renameInMemory

StorageObjectStorageCluster::renameInMemory returns after renaming only pure_storage, but pure_storage is always present, so the wrapper's own storage_id is never updated. After RENAME TABLE, calls that read StorageObjectStorageCluster::getStorageID() can still see the old identifier, which can break catalog/dependency logic that relies on the storage object reporting its current name.

Useful? React with 👍 / 👎.

Comment on lines +247 to +248
static pcg64 rng(randomSeed());
size_t shard_num = rng() % host_addresses.size();
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use thread-safe RNG when choosing remote initiator host

The function keeps a process-wide static pcg64 and advances it on each call. When multiple queries use object_storage_remote_initiator concurrently, they race on this shared RNG state, which is undefined behavior in C++. This can lead to flaky host selection and hard-to-diagnose concurrency issues; use thread_local RNG or guard access with synchronization.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants