Skip to content

Fix assertion from stress test#50718

Merged
kssenii merged 2 commits intoClickHouse:masterfrom
kssenii:fix-error-in-stress-test
Jun 9, 2023
Merged

Fix assertion from stress test#50718
kssenii merged 2 commits intoClickHouse:masterfrom
kssenii:fix-error-in-stress-test

Conversation

@kssenii
Copy link
Copy Markdown
Member

@kssenii kssenii commented Jun 8, 2023

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Closes #50666.

@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Jun 8, 2023
@robot-ch-test-poll4
Copy link
Copy Markdown
Contributor

robot-ch-test-poll4 commented Jun 8, 2023

This is an automated comment for commit 62fc6cf with description of existing statuses. It's updated for the latest CI running
The full report is available here
The overall status of the commit is 🟡 pending

Check nameDescriptionStatus
CI runningA meta-check that indicates the running CI. Normally, it's in success or pending state. The failed status indicates some problems with the PR🟡 pending
Mergeable CheckChecks if all other necessary checks are successful🟢 success

try
{
#ifdef ABORT_ON_LOGICAL_ERROR
assertCacheCorrectness();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ok, we want to see clear exception message instead of background task cannot throw.

{
if (fs::exists(key_prefix_directory) && fs::is_empty(key_prefix_directory))
fs::remove_all(key_prefix_directory);
fs::remove(key_prefix_directory);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks like it was race condition

@kssenii kssenii merged commit 30a465c into ClickHouse:master Jun 9, 2023
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-backports-created-cloud deprecated label, NOOP label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created-cloud deprecated label, NOOP pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logical error: Tasks in BackgroundSchedulePool cannot throw

4 participants