This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0-beta in repository https://gitbox.apache.org/repos/asf/doris.git
commit 5c33dd7a2ccfcc537bc0d1e64b3e826e9bfdc103 Author: zhannngchen <[email protected]> AuthorDate: Tue Jun 6 20:34:38 2023 +0800 [fix](log) publish version log is printed too frequently (#20507) --- be/src/agent/task_worker_pool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/be/src/agent/task_worker_pool.cpp b/be/src/agent/task_worker_pool.cpp index c3ec02f08d..f596603c35 100644 --- a/be/src/agent/task_worker_pool.cpp +++ b/be/src/agent/task_worker_pool.cpp @@ -1455,8 +1455,8 @@ void PublishVersionTaskPool::_publish_version_worker_thread_callback() { _tasks.push_back(agent_task_req); _worker_thread_condition_variable.notify_one(); } - LOG(INFO) << "wait for previous publish version task to be done" - << "transaction_id: " << publish_version_req.transaction_id; + LOG_EVERY_SECOND(INFO) << "wait for previous publish version task to be done" + << "transaction_id: " << publish_version_req.transaction_id; break; } else { LOG_WARNING("failed to publish version") --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
