[FEAT MERGE] OLTP performance and cpu reduction optimization under tiny specification

Co-authored-by: hezuojiao <hezuojiao@gmail.com>
This commit is contained in:
obdev
2023-04-26 15:30:17 +00:00
committed by ob-robot
parent 8ad13af591
commit 8fb50cdf65
179 changed files with 3131 additions and 1425 deletions

View File

@ -153,7 +153,7 @@ int ObILibCacheNode::lock(bool is_rdlock)
int ObILibCacheNode::update_node_stat(ObILibCacheCtx &ctx)
{
int ret = OB_SUCCESS;
ATOMIC_STORE(&(node_stat_.last_active_timestamp_), ObTimeUtility::current_time());
ATOMIC_STORE(&(node_stat_.last_active_timestamp_), ObClockGenerator::getClock());
ATOMIC_INC(&(node_stat_.execute_count_));
return ret;
}