Skip to content

Decrease check_cache_probability 10x (attempt to fix stateless flaky check) - #95946

Merged
azat merged 2 commits into
ClickHouse:masterfrom
azat:lower-check_cache_probability
Feb 4, 2026
Merged

azat merged 2 commits into
ClickHouse:masterfrom
azat:lower-check_cache_probability

Conversation

@azat

@azat azat commented Feb 4, 2026 •

Copy link
Copy Markdown
Member

I've noticed that it can take significant amount of time, and this is likely the reason why flaky check (that uses ASan build) fails:

clickhouse-cloud$  :) select ProfileEvents from merge(default, 'query_log_') where event_date >= yesterday() and pull_request_number = 48376 and commit_sha = 'eb065d55c433eaa9d52e912df81259f98d92600b' and query_id = '4e90a696-6c90-4912-a87f-aa9712db5c06' and type != 'QueryStart' group by all format PrettyJSONEachRow

FilesystemCacheCheckCorrectness: 176,
FilesystemCacheCheckCorrectnessMicroseconds: 1053467360

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Version info

  • Merged into: 26.2.1.239

…check)

I've noticed that it can take significant amount of time, and this is
likely the reason why flaky check (that uses ASan build) fails:

```sql
clickhouse-cloud$  :) select ProfileEvents from merge(default, 'query_log_') where event_date >= yesterday() and pull_request_number = 48376 and commit_sha = 'eb065d55c433eaa9d52e912df81259f98d92600b' and query_id = '4e90a696-6c90-4912-a87f-aa9712db5c06' and type != 'QueryStart' group by all format PrettyJSONEachRow

FilesystemCacheCheckCorrectness: 176,
FilesystemCacheCheckCorrectnessMicroseconds: 1053467360
```
@azat
azat requested a review from kssenii February 4, 2026 13:39
@clickhouse-gh

clickhouse-gh Bot commented Feb 4, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [f6322bd]

Summary: ❌

job_name test_name status info comment
Integration tests (amd_asan, db disk, old analyzer, 6/6) failure
test_keeper_auth/test.py::test_remove_acl[get_genuine_zk] FAIL cidb IGNORED
test_keeper_auth/test.py::test_digest_auth_basic[get_genuine_zk] FAIL cidb IGNORED
test_keeper_auth/test.py::test_digest_auth_multiple[get_genuine_zk] FAIL cidb IGNORED
test_keeper_auth/test.py::test_partial_auth[get_genuine_zk] FAIL cidb IGNORED
test_keeper_auth/test.py::test_get_set_acl[get_genuine_zk] FAIL cidb IGNORED
Stress test (amd_debug) failure
Logical error: Block structure mismatch in A stream: different number of columns: (STID: 0993-38e6) FAIL cidb, issue ISSUE EXISTS
Stress test (amd_tsan) failure
Logical error: Cannot modify size limits to A in size and B in elements: not enough space freed. Current size: C/D, elements: E/F (G) (STID: 4012-44fe) FAIL cidb, issue ISSUE CREATED
Stress test (arm_asan) failure
Logical error: Cannot modify size limits to A in size and B in elements: not enough space freed. Current size: C/D, elements: E/F (G) (STID: 4012-44fe) FAIL cidb IGNORED
Integration tests (amd_asan, db disk, old analyzer, 3/6) error
test_sql_user_impersonate/test.py ERROR cidb IGNORED
Integration tests (amd_tsan, 3/6) error
test_sql_user_impersonate/test.py ERROR cidb IGNORED

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Feb 4, 2026
@kssenii kssenii self-assigned this Feb 4, 2026
@azat
azat enabled auto-merge February 4, 2026 13:42
@azat

azat commented Feb 4, 2026

Copy link
Copy Markdown
Member Author

With this patch failed query in flaky check took 284 sec, it is hard to say will it be flaky or not, but at least it has passed

@azat
azat added this pull request to the merge queue Feb 4, 2026
Merged via the queue into ClickHouse:master with commit 7a82ebe Feb 4, 2026
121 of 127 checks passed
@azat
azat deleted the lower-check_cache_probability branch February 4, 2026 20:41
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Feb 4, 2026
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