Repository navigation
introduce ISystemLogFlushPolicy interface in SystemLog - #100314
Merged
Merged
Conversation
Contributor
|
Workflow [PR], commit [d19a09e] Summary: ❌
AI ReviewSummaryThis PR introduces Missing context
ClickHouse Rules
Final Verdict
|
Contributor
LLVM Coverage Report
PR changed lines: PR changed-lines coverage: 86.54% (45/52, 0 noise lines excluded) |
bharatnc
marked this pull request as ready for review
March 23, 2026 09:42
mstetsyuk
approved these changes
Mar 23, 2026
1 task
alexey-milovidov
added a commit
that referenced
this pull request
Apr 26, 2026
`clickhouse-test` randomizes `use_skip_indexes_on_data_read` between 0 and 1 in its random-settings rotation, which made the bugfix-validation runs of `04117_skip_index_after_alter_modify_column` and `04118_..._replicated` flaky: when randomized to 0, the data-read phase is bypassed entirely and the bug (incorrect index data being applied with the new column type) does not manifest, even on master. Set the option explicitly in every assertion query so the data-read phase is always exercised. Also update the comments to reflect that the active fix is in `supportsSkipIndexesOnDataRead` (the data-read phase guard) — the `MutationsSnapshot::getAllUpdatedColumns` change in this PR is now dead code on master after the `AlterConversions` refactor in #100314, but is kept for defensive correctness of the virtual override. https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=100526&sha=115d1948c0889f3687565fe9995a066c5ec37e31&name_0=PR&name_1=Bugfix%20validation%20%28functional%20tests%29 Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is required for internal logging use case. It introduces
ISystemLogFlushPolicy, an interface that abstracts flush behavior inSystemLog. This provides a clean extension point for future implementations without modifying SystemLog directly.DefaultSystemLogFlushPolicyis included as the base implementation (it preserves the current flush behavior).Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Documentation entry for user-facing changes
Version info
26.4.1.144