Skip to content

Bound the system.text_log read in 05218_autopr_set_building_plan_is_left_alone - #124580

Merged
alexey-milovidov merged 2 commits into
masterfrom
fix/05218-autopr-bound-text-log
Oct 9, 2026
Merged

alexey-milovidov merged 2 commits into
masterfrom
fix/05218-autopr-bound-text-log

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

The test scanned all of today's and yesterday's system.text_log to find the refusal message. In long single-shard runs (seen in the private CI sync of #104591, in every stateless job that ran it), that is more than 20 million rows and the query fails with TOO_MANY_ROWS (max_rows_to_read). This limits the read to the last 15 minutes, the same window as the system.query_log side of the query, and lifts max_rows_to_read for that query. It is the same fix as #124473 for another test.

Related: #104591
Related: #124473

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

🤖 Generated with Claude Code


Workflow [PR]
Sync PR [sync-upstream/pr/124580]

Version info

  • Merged into: 26.10.1.1901-master (included in 26.10 and later)

…s_left_alone`

The test scanned all of today's and yesterday's `system.text_log` to find the
refusal message. In long single-shard runs, e.g. the private CI sync PR for
#104591, that is more than
20 million rows and the query fails with `TOO_MANY_ROWS`
(`max_rows_to_read`). Limit the read to the last 15 minutes, like the
`system.query_log` side of the query, and lift `max_rows_to_read` for it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [a2ca886]

Summary: ✅


AI Review

Summary

This PR narrows the system.text_log scan in tests/queries/0_stateless/05218_autopr_set_building_plan_is_left_alone.sql to the same recent 15-minute window already used on the system.query_log side, and sets max_rows_to_read = 0 for the assertion query so large system.text_log tables no longer trip TOO_MANY_ROWS. That fixes the stated CI failure mode without weakening the test's contract, and I did not find correctness, metadata, or coverage issues in the current diff.

Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added pr-ci comp-testing Test content only (no production code). labels Oct 8, 2026
@alexey-milovidov alexey-milovidov self-assigned this Oct 9, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Oct 9, 2026
Merged via the queue into master with commit 5a92164 Oct 9, 2026
153 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix/05218-autopr-bound-text-log branch October 9, 2026 03:47
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 9, 2026
@clickhouse-gh clickhouse-gh Bot added comp-parallel-replicas Parallel reading from replicas for query speed (not data replication consistency). and removed comp-testing Test content only (no production code). labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-parallel-replicas Parallel reading from replicas for query speed (not data replication consistency). pr-ci 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.

2 participants