This is an automated email from the ASF dual-hosted git repository.
dataroaring 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 b22e364cdb [fix](log) publish version log is printed too frequently
(#20507)
b22e364cdb is described below
commit b22e364cdbe8dae06e27bb9c8508d232b0cbe668
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 493d666fcd..e3f1e424a8 100644
--- a/be/src/agent/task_worker_pool.cpp
+++ b/be/src/agent/task_worker_pool.cpp
@@ -1454,8 +1454,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]