This is an automated email from the ASF dual-hosted git repository. gavinchou pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 809fae9ddf8 [fix](cloud) fix file cache get_or_set timer overflow (#47609) 809fae9ddf8 is described below commit 809fae9ddf8d082442bdf57a4a1b1fedd302ff95 Author: zhengyu <zhangzhen...@selectdb.com> AuthorDate: Fri Feb 7 23:21:41 2025 +0800 [fix](cloud) fix file cache get_or_set timer overflow (#47609) --- 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 f70bd7d1beb..7c49a61382c 100644 --- a/be/src/io/cache/block_file_cache.cpp +++ b/be/src/io/cache/block_file_cache.cpp @@ -715,7 +715,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