Skip to content

Follow up to #82764 - #94673

Merged
kssenii merged 5 commits into
masterfrom
fix-flaky-test-12
Jan 21, 2026
Merged

kssenii merged 5 commits into
masterfrom
fix-flaky-test-12

Conversation

@kssenii

@kssenii kssenii commented Jan 20, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Follow up to #82764.

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

...

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Version info

  • Merged into: 26.1.1.725

@kssenii kssenii changed the title Follow up to Follow up to #82764 Jan 20, 2026
@serxa serxa self-assigned this Jan 20, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jan 20, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [ad14c7f]

Summary: ❌

job_name test_name status info comment
Stateless tests (arm_asan, targeted) failure
00180_no_seek_avoiding_when_reading_from_cache FAIL IGNORED
00167_read_bytes_from_fs FAIL IGNORED
BuzzHouse (amd_debug) failure
Logical error: 'Inconsistent AST formatting: the query: (STID: 1941-1bfa) FAIL issue ISSUE EXISTS
Performance Comparison (amd_release, master_head, 1/6) failure
Select historical data failure IGNORED
Performance Comparison (amd_release, master_head, 2/6) failure
Select historical data failure IGNORED
Performance Comparison (amd_release, master_head, 3/6) failure
Select historical data failure IGNORED
Performance Comparison (amd_release, master_head, 4/6) failure
Select historical data failure IGNORED
Performance Comparison (amd_release, master_head, 5/6) failure
Select historical data failure IGNORED
Performance Comparison (amd_release, master_head, 6/6) failure
Select historical data failure IGNORED

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Jan 20, 2026
chassert(prev != State::Removed, toString("Removed flag is already set for "));
chassert(
prev == State::Active || prev == State::Evicting,
toString("expected state to be either Active or Evicting while setting evicting flag for "));

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.

Suggested change
toString("expected state to be either Active or Evicting while setting evicting flag for "));
toString("expected state to be either Active or Evicting while setting removed flag for "));

}

/// Similar to isEvictingUnlocked() above.
if (entry.isMovingUnlocked())

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.

Here, we read the same state atomic state twice. It would be more optimal to just read and store it once and do switch/if on all possible cases. In any case this there is no questions in terms of correctness

@kssenii
kssenii added this pull request to the merge queue Jan 21, 2026
Merged via the queue into master with commit 5c35534 Jan 21, 2026
120 of 128 checks passed
@kssenii
kssenii deleted the fix-flaky-test-12 branch January 21, 2026 14:54
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jan 21, 2026
@kssenii kssenii mentioned this pull request Jan 21, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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