Skip to content

Fix flaky 03701_dictionary_logging_internal_queries - #98910

Merged
alexey-milovidov merged 2 commits into
masterfrom
fix-flaky-dictionary-logging-internal-queries
Mar 6, 2026
Merged

alexey-milovidov merged 2 commits into
masterfrom
fix-flaky-dictionary-logging-internal-queries

Conversation

@mstetsyuk

@mstetsyuk mstetsyuk commented Mar 6, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog

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

Fix flaky 03701_dictionary_logging_internal_queries.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Note

Low Risk
Low risk because this only changes test timing logic; the main impact is potentially longer waits (up to 60s) if dictionary auto-reload is slow or broken.

Overview
Deflakes 03701_dictionary_logging_internal_queries.sh by replacing a fixed sleep 8 with a poll loop on system.dictionaries.last_successful_update_time to ensure at least one dictionary auto-reload happened before validating trace_log/query_log correlation.

Adds a 60s timeout with a diagnostic message when no reload is observed.

Written by Cursor Bugbot for commit 95410b4. This will update automatically on new commits. Configure here.

Version info

  • Merged into: 26.3.1.484

@clickhouse-gh

clickhouse-gh Bot commented Mar 6, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [95410b4]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added the pr-improvement Pull request with some product improvements label Mar 6, 2026
@alexey-milovidov
alexey-milovidov merged commit 26f9627 into master Mar 6, 2026
146 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix-flaky-dictionary-logging-internal-queries branch March 6, 2026 18:44
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-improvement Pull request with some product improvements 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.

4 participants