Skip to content

tests: truncate only MergeTree log tables (fixes integration tests) - #277

Merged
azat merged 2 commits into
mainfrom
fix-ci
Aug 3, 2026
Merged

tests: truncate only MergeTree log tables (fixes integration tests)#277
azat merged 2 commits into
mainfrom
fix-ci

Conversation

@azat

@azat azat commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Since 26.8 '%_log' also matches system.user_query_log (engine SystemUserQueryLog) which does not support TRUNCATE, panicking the shared-server bootstrap and cascading into "Another server instance is already running" for every later test.

azat added 2 commits August 3, 2026 23:47
Since 26.8 '%_log' also matches system.user_query_log (engine
SystemUserQueryLog) which does not support TRUNCATE, panicking the
shared-server bootstrap and cascading into "Another server instance
is already running" for every later test.
OnceLock is not poisoned by a panicking initializer, so every test
re-ran the bootstrap and died on the leftover server's status lock.
@azat
azat merged commit 01eb3e5 into main Aug 3, 2026
9 checks passed
@azat
azat deleted the fix-ci branch August 3, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant