This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new c82e418724d branch-3.0: [fix](warmup) remove duplicate adding of
periodic job metrics (#55283)
c82e418724d is described below
commit c82e418724d05113f64f2b7579a7fefdd6607976
Author: Kaijie Chen <[email protected]>
AuthorDate: Thu Aug 28 17:54:29 2025 +0800
branch-3.0: [fix](warmup) remove duplicate adding of periodic job metrics
(#55283)
### What problem does this PR solve?
Problem Summary:
Some metrics were added twice, remove duplicated adding.
This is caused by #53189 PR merge issue.
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
---
be/src/cloud/cloud_warm_up_manager.cpp | 8 --------
1 file changed, 8 deletions(-)
diff --git a/be/src/cloud/cloud_warm_up_manager.cpp
b/be/src/cloud/cloud_warm_up_manager.cpp
index 5b23f8ebe88..06a7689a147 100644
--- a/be/src/cloud/cloud_warm_up_manager.cpp
+++ b/be/src/cloud/cloud_warm_up_manager.cpp
@@ -122,14 +122,6 @@ void CloudWarmUpManager::submit_download_tasks(io::Path
path, int64_t file_size,
g_file_cache_once_or_periodic_warm_up_submitted_segment_size <<
file_size;
}
- if (is_index) {
- g_file_cache_once_or_periodic_warm_up_submitted_index_num << 1;
- g_file_cache_once_or_periodic_warm_up_submitted_index_size <<
file_size;
- } else {
- g_file_cache_once_or_periodic_warm_up_submitted_segment_num << 1;
- g_file_cache_once_or_periodic_warm_up_submitted_segment_size <<
file_size;
- }
-
const int64_t chunk_size = 10 * 1024 * 1024; // 10MB
int64_t offset = 0;
int64_t remaining_size = file_size;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]