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 45dda9793c7 branch-3.0: [fix](cloud) fix file cache get_or_set timer overflow #47609 (#47615) 45dda9793c7 is described below commit 45dda9793c73a23f8d443be02b90ab316327a10e Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sat Feb 8 17:41:05 2025 +0800 branch-3.0: [fix](cloud) fix file cache get_or_set timer overflow #47609 (#47615) Cherry-picked from #47609 Co-authored-by: zhengyu <zhangzhen...@selectdb.com> --- be/src/io/cache/block_file_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/io/cache/block_file_cache.cpp b/be/src/io/cache/block_file_cache.cpp index 693cd49bb80..3068d7ed439 100644 --- a/be/src/io/cache/block_file_cache.cpp +++ b/be/src/io/cache/block_file_cache.cpp @@ -706,7 +706,7 @@ FileBlocksHolder BlockFileCache::get_or_set(const UInt128Wrapper& hash, size_t o std::lock_guard cache_lock(_mutex); stats->lock_wait_timer += sw.elapsed_time(); FileBlocks file_blocks; - int64_t duration; + int64_t duration = 0; { SCOPED_RAW_TIMER(&duration); if (auto iter = _key_to_time.find(hash); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org