polyzos opened a new issue, #71371: URL: https://github.com/apache/doris/issues/71371
### Version 4.1.5 (cloud mode). Unchanged on master. ### Problem With `enable_compaction_rw_separation=true`, a compute group that only reads logs "compaction_rw_separation: skip tablet ... is NORMAL (active)" at INFO for the tablets it skips. On a read-only group, skipping is the normal state, so the message carries no information, yet it never stops. The compaction scheduler checks every cached tablet every 100 ms, for both base and cumulative compaction. The log is sampled one in 100, but at that rate the volume still grows with the number of tablets. ### Observed On the BE of a read-only group, over 5 minutes: | BE log lines | "skip tablet" lines | Checks behind them | |---|---|---| | 12,942 | 6,407 (50%) | about 2,100 per second | ### How to Reproduce 1. Run two compute groups with `enable_compaction_rw_separation=true`. 2. Load into a table continuously from group A. 3. Query the same table from group B. 4. Group B's BE log fills with "skip tablet" lines. ### Expected Skipping a tablet whose owner is active should not be logged at INFO. Changes are worth logging (a takeover, a forced compaction, a missing cluster), and those already are. ### Suggested Fix Log the skip case at debug level, or only when a tablet's decision changes. It may also be worth caching the decision until the cluster status refreshes, instead of re-checking every tablet 20 times per second. Related: #60310, which added the feature. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
