8000 Fix macros for autodiscovery clusters by ianton-ru · Pull Request #757 · Altinity/ClickHouse · GitHub
[go: up one dir, main page]

Skip to content

Fix macros for autodiscovery clusters - #757

Merged
Enmk merged 4 commits into
antalyafrom
feature/macros_for_autodiscovery
May 5, 2025
Merged

Enmk merged 4 commits into
antalyafrom
feature/macros_for_autodiscovery

Conversation

@ianton-ru
@ianton-ru ianton-ru commented Apr 29, 2025 •
Copy link
Copy Markdown

Changelog category (leave one):

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

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

Fix macros for autodiscovery clusters

Documentation entry for user-facing changes

Autodiscovery clusters does not resolved from macros

select * from cluster('{cluster}', system.one)

Code: 701. DB::Exception: Requested cluster '{cluster}' not found. (CLUSTER_DOESNT_EXIST) (version 25.2.2.27772.altinityantalya (altinity build))

Fixed.

PR into upstream - ClickHouse#79696

@svb-alt svb-alt added the antalya-25.2.2 Planned for 25.2.2 release label Apr 30, 2025
@Enmk Enmk left a comment •
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

For whatever reason, there are multiple new failures on integration tests:
Integration tests (release) [4/4] — fail: 31, passed: 795 - Integration tests (release) [4/4]

Please take a look and either fix or provide an explanation if those are unrelated

@Enmk Enmk left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Still, same failures, needs to be addressed

@ianton-ru
ianton-ru commented May 5, 2025 •
Copy link
Copy Markdown
Author

Failed integration tests
test_mask_sensitive_info - Unknown table engine DeltaLake.
test_attach_partition_using_copy - DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. in ATTACH TABLE and timeout after several retries.
test_cow_policy - the same, Not found address of host: raw.githubusercontent.com: while loading disk metadata. in ATTACH TABLE
test_git_import - Could not resolve host: github.com (?!?)

Exception: Command [docker exec roottestgitimport-gw4-node-1 bash -c rm -rf /tmp/hellogitworld && mkdir /tmp/hellogitworld && cd /tmp/hellogitworld && git clone --quiet https://github.com/githubtraining/hellogitworld.git /tmp/hellogitworld && git checkout --quiet ef7bebf8bdb1919d947afe46ab4b2fb4278039b3] return non-zero code 128: fatal: unable to access 'https://github.com/githubtraining/hellogitworld.git/': Could not resolve host: github.com

test_s3_assume_role - DB::Exception: Failed to check existence of key test_assume.csv in bucket root: No response body.. HTTP response code: 403, error type: ACCESS_DENIED.
test_backup_restore_on_cluster - NETLINK_ERROR Can\'t receive Netlink response: error -2

Failed stateless tests
00988_expansion_aliases_limit - executed 570 seconds with timeout 300, Result as expected - DB::Exception: Query tree is too big. Maximum: 500000. (BAD_ARGUMENTS), but too late.
01304_direct_io_long - 449 seconds, including

  • INSERT INTO bug SELECT rand64(), '2020-06-07' FROM numbers(50000000); - 71 seconds
  • OPTIMIZE TABLE bug FINAL; - 314 seconds

@Enmk
Enmk merged commit 8d9d3e7 into antalya May 5, 2025
ianton-ru pushed a commit that referenced this pull request May 23, 2025
Enmk added a commit that referenced this pull request May 29, 2025
25.3 Antalya Port of #757 - Fix macros for autodiscovery clusters
@ianton-ru ianton-ru added the antalya-obsolete PR exists in higher Altinity release (doesn’t need forward porting) label Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@arthurpassos arthurpassos arthurpassos approved these changes
+1 more reviewer
@Enmk Enmk Enmk requested changes
Reviewers whose approvals may not affect merge requirements

Labels

antalya antalya-25.2 antalya-25.2.2 Planned for 25.2.2 release antalya-obsolete PR exists in higher Altinity release (doesn’t need forward porting)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

0