Yukang-Lian opened a new pull request, #67607:
URL: https://github.com/apache/doris/pull/67607

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #63900
   
   Problem Summary: Backport the compaction score metric split from #63900 to 
`branch-4.1`.
   
   The change keeps the existing cumulative score as the aggregate maximum and 
adds separate size-based and time-series policy gauges for both local and Cloud 
BEs. Score collection remains independent from whether a tablet is selected for 
execution. Complete checks may clear a missing policy to zero, while incomplete 
local scans caused by capacity-limited disks do not lower the gauges.
   
   The backport preserves this branch's `std::vector<TabletSharedPtr>` 
scheduling API and its existing compaction eligibility behavior. This release 
branch has no cumulative-binlog compaction score path, so the master-only 
binlog clauses and tests are intentionally omitted.
   
   The branch is rebased onto the latest `branch-4.1`.
   
   ### Release note
   
   Add separate size-based and time-series cumulative compaction score metrics 
while preserving the aggregate metric.
   
   ### Check List (For Author)
   
   - Test: Unit Test
       - Added or updated 13 focused metric, local scheduling, and Cloud 
scheduling regression cases
       - `clang-format` 16 `--dry-run --Werror`: passed for all changed C++ 
files
       - `git diff --check`: passed
       - Exact-base linked BE tests were not run locally; hosted CI is 
requested with `run buildall`
   - Behavior changed: Yes
       - Adds two observable per-policy compaction score gauges
       - Preserves tablet ranking, selection, and the existing aggregate score 
semantics
   - Does this need documentation: No
   


-- 
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]

Reply via email to