Repository navigation
Fix "Cannot read from file /proc/pressure/io" for Keeper - #109179
alexey-milovidov merged 6 commits into
Conversation
…m actually loaded server settings
|
Workflow [PR], commit [a227708] Summary: ✅
AI ReviewSummaryThis PR fixes the wiring so standalone Keeper contexts load Tests
Final Verdict
|
| /*update_jemalloc_epoch_=*/memory_worker.getSource() != MemoryWorker::MemoryUsageSource::Jemalloc, | ||
| /*update_rss_=*/memory_worker.getSource() == MemoryWorker::MemoryUsageSource::None); | ||
| /*update_rss_=*/memory_worker.getSource() == MemoryWorker::MemoryUsageSource::None, | ||
| /*collect_psi_metrics_=*/server_settings[ServerSetting::os_collect_psi_metrics]); |
There was a problem hiding this comment.
This fixes the constructor wiring, but there is still no regression proof for the standalone clickhouse-keeper path that was actually broken here. The bug was that Keeper ignored os_collect_psi_metrics = false and still touched /proc/pressure/*; please add the smallest focused test you can that starts Keeper with the setting disabled and verifies PSI metrics stay absent (or otherwise proves startup no longer reaches those files).
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 25/31 (80.65%) · Uncovered code |
…/keeper-proc-pressure-errors Fix "Cannot read from file /proc/pressure/io" for Keeper
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
ClickHouse Keeper now respects the
os_collect_psi_metricssetting and skips PSI metrics collection when it is disabledVersion info
26.7.1.628(included in26.7and later)