Modify Throttle Info Log

This commit is contained in:
ZenoWang
2024-02-07 22:59:56 +00:00
committed by ob-robot
parent 38893110e9
commit 58aad015d5
3 changed files with 3 additions and 3 deletions

View File

@ -204,7 +204,7 @@ int64_t ObShareResourceThrottleTool<FakeAllocator, Args...>::expected_wait_time(
const int64_t MEMSTORE_THROTTLE_LOG_INTERVAL = 1L * 1000L * 1000L; /*one seconds*/ \
if (sleep_time > 0 && REACH_TIME_INTERVAL(MEMSTORE_THROTTLE_LOG_INTERVAL)) { \
SHARE_LOG(INFO, \
"[Throttling] Time Info", \
"[Throttling] (report write throttle info) Time Info", \
"Throttle Unit Name", \
ALLOCATOR::throttle_unit_name(), \
"Throttle Sleep Time(us)", \

View File

@ -164,7 +164,7 @@ void ObThrottleUnit<ALLOCATOR>::print_throttle_info_(const int64_t holding_size,
pre_clock_ = cur_clock;
SHARE_LOG(INFO,
"[Throttling] Size Info",
"[Throttling] (report write throttle info) Size Info",
"Throttle Unit Name", unit_name_,
"Allocating Resource Size", alloc_size,
"Holding Resource Size", holding_size,

View File

@ -106,7 +106,7 @@ void ObStorageTableGuard::throttle_if_needed_()
const int64_t MEMSTORE_THROTTLE_LOG_INTERVAL = 1L * 1000L * 1000L; /*one seconds*/ \
if (sleep_time > 0 && REACH_TIME_INTERVAL(MEMSTORE_THROTTLE_LOG_INTERVAL)) { \
SHARE_LOG(INFO, \
"[Throttling] Time Info", \
"[Throttling] (report write throttle info) Time Info", \
"Throttle Unit Name", \
ObMemstoreAllocator::throttle_unit_name(), \
"Throttle Sleep Time(us)", \