提交 e3997a19 编写于 作者: O obdev 提交者: wangzelin.wzl

[CP] In distributed execution scenario, queue_time is less than zero.

上级 5aff2175
......@@ -125,7 +125,8 @@ int ObPxTaskProcess::process()
{
int ret = OB_SUCCESS;
process_timestamp_ = ObTimeUtility::current_time();
enqueue_timestamp_ = ObTimeUtility::current_time();
process_timestamp_ = enqueue_timestamp_;
ObExecRecord exec_record;
ObExecTimestamp exec_timestamp;
......@@ -154,8 +155,7 @@ int ObPxTaskProcess::process()
if (enable_sql_audit) {
exec_record.record_start();
}
exec_start_timestamp_ = ObTimeUtility::current_time();
set_enqueue_timestamp(exec_start_timestamp_);
exec_start_timestamp_ = enqueue_timestamp_;
arg_.sqc_task_ptr_->task_monitor_info_.record_exec_time_begin();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册