[FIX] use getClock insteat of getCurrentTime

This commit is contained in:
ZenoWang
2023-12-13 19:42:23 +00:00
committed by ob-robot
parent a4c60ccf6c
commit 1669331395
7 changed files with 12 additions and 12 deletions

View File

@ -123,7 +123,7 @@ void ObStorageTableGuard::do_throttle_(TxShareThrottleTool &throttle_tool,
int64_t left_interval = INT64_MAX;
if (!for_replay_) {
left_interval = min(left_interval, store_ctx_.timeout_ - ObClockGenerator::getCurrentTime());
left_interval = min(left_interval, store_ctx_.timeout_ - ObClockGenerator::getClock());
}
while (throttle_tool.still_throttling<ObMemstoreAllocator>(share_ti_guard, module_ti_guard) && (left_interval > 0)) {