Skip to content

Add test: 03971_rename_tables_race_read_consistency.sh - #112892

Merged
PedroTadim merged 3 commits into
ClickHouse:masterfrom
clickgapai:qa-bot/mention-110048-03971_rename_tables_race_read_consistency
Aug 5, 2026
Merged

PedroTadim merged 3 commits into
ClickHouse:masterfrom
clickgapai:qa-bot/mention-110048-03971_rename_tables_race_read_consistency

Conversation

@clickgapai

@clickgapai clickgapai commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.

Test created at the request of @alexey-milovidov on #110048.

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

Not applicable — test-only change.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Version info

  • Merged into: 26.8.1.830 (included in 26.8 and later)

@PedroTadim PedroTadim added the can be tested Allows running workflows for external contributors label Aug 1, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [6163e44]

Summary: ✅


AI Review

Summary

This PR adds 03971_rename_tables_race_read_consistency.sh and its empty reference to cover the RENAME TABLE variant of the per-query storage-cache pinning regression fixed in #110048. After checking the current patch, prior discussion, and green CI, I did not find a remaining correctness or coverage issue worth blocking.

Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 1, 2026
@PedroTadim PedroTadim self-assigned this Aug 5, 2026
The test was added without a .reference, so clickhouse-test reported it as
UNKNOWN with "no reference file", failing Fast test and dropping the rest of
the workflow.

The expected output is empty: the SELECT rows are consumed by the
`| grep LOGICAL_ERROR` filter, which prints nothing when the test passes, and
RENAME produces no output. The companion test 03915_exchange_tables_race has
a 0-byte reference for the same reason.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Bare `wait` returned 0 regardless of child status, hiding a SELECT
LOGICAL_ERROR or a failed RENAME from set -e (lines 35-37).

Requested by @clickhouse-gh[bot] in ClickHouse#112892 (comment)
@PedroTadim
PedroTadim added this pull request to the merge queue Aug 5, 2026
Merged via the queue into ClickHouse:master with commit 7f39717 Aug 5, 2026
180 checks passed
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants