Uh oh!
There was an error while loading. Please reload this page.
[Enhancement](Recycler) Add bvar metrics for operation logs - #60520
Conversation
hello-stephen
commented
Feb 5, 2026
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Yukang-Lian
commented
Feb 5, 2026
run buildall |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
doris-robot
commented
Feb 5, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Yukang-Lian
commented
Feb 5, 2026
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
Yukang-Lian
commented
Feb 5, 2026
run cloudut |
1 similar comment
Yukang-Lian
commented
Feb 6, 2026
run cloudut |
Yukang-Lian
commented
Feb 6, 2026
run buildall |
Yukang-Lian
commented
Feb 6, 2026
run cloudut |
hello-stephen
commented
Feb 6, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
PR approved by at least one committer and no changes requested. |
Uh oh!
There was an error while loading. Please reload this page.
…0520) - Add dedicated bvar metrics for the recycle_operation_logs path, which previously had no observability through the monitoring system - Introduce OplogRecycleStats to track per-round recycling statistics including skipped-by-snapshot count, earliest recyclable version, failure count, and generated recycle key counts (partition/index/rowset/txn) - Add scan_and_statistics_operation_logs() to collect pre-recycling statistics via RecyclerMetricsContext, consistent with existing scan_and_statistics_* functions - Use a PendingCounts pattern in OperationLogRecycler to avoid inflating committed metrics on transaction failure — local counts are only merged into OplogRecycleStats atomics after successful commit() - All new statistics are gated behind the enable_recycler_stats_metrics config flag
…0520) - Add dedicated bvar metrics for the recycle_operation_logs path, which previously had no observability through the monitoring system - Introduce OplogRecycleStats to track per-round recycling statistics including skipped-by-snapshot count, earliest recyclable version, failure count, and generated recycle key counts (partition/index/rowset/txn) - Add scan_and_statistics_operation_logs() to collect pre-recycling statistics via RecyclerMetricsContext, consistent with existing scan_and_statistics_* functions - Use a PendingCounts pattern in OperationLogRecycler to avoid inflating committed metrics on transaction failure — local counts are only merged into OplogRecycleStats atomics after successful commit() - All new statistics are gated behind the enable_recycler_stats_metrics config flag
…0520) - Add dedicated bvar metrics for the recycle_operation_logs path, which previously had no observability through the monitoring system - Introduce OplogRecycleStats to track per-round recycling statistics including skipped-by-snapshot count, earliest recyclable version, failure count, and generated recycle key counts (partition/index/rowset/txn) - Add scan_and_statistics_operation_logs() to collect pre-recycling statistics via RecyclerMetricsContext, consistent with existing scan_and_statistics_* functions - Use a PendingCounts pattern in OperationLogRecycler to avoid inflating committed metrics on transaction failure — local counts are only merged into OplogRecycleStats atomics after successful commit() - All new statistics are gated behind the enable_recycler_stats_metrics config flag
…0520) - Add dedicated bvar metrics for the recycle_operation_logs path, which previously had no observability through the monitoring system - Introduce OplogRecycleStats to track per-round recycling statistics including skipped-by-snapshot count, earliest recyclable version, failure count, and generated recycle key counts (partition/index/rowset/txn) - Add scan_and_statistics_operation_logs() to collect pre-recycling statistics via RecyclerMetricsContext, consistent with existing scan_and_statistics_* functions - Use a PendingCounts pattern in OperationLogRecycler to avoid inflating committed metrics on transaction failure — local counts are only merged into OplogRecycleStats atomics after successful commit() - All new statistics are gated behind the enable_recycler_stats_metrics config flag
## Proposed changes Cherry-pick the following PRs to branch-4.0: - [Enhancement](Recycler) Add bvar metrics for operation logs #60520 - [Feat](Snapshot) require root privilege for cluster snapshot commands #60239 - [Fix](Recycler) Fix recycler OOM by limiting queued delete tasks #59331 - [feature](cloud) Support compaction read-write separation for cloud mode #60310
(partition/index/rowset/txn)
commit()