fix wait_leader time calculation in ob_ddl_service.cpp (#1739)
This commit is contained in:
parent
28a73eb8a3
commit
9cce973b13
@ -23186,7 +23186,7 @@ int ObDDLService::create_tenant_sys_ls(
|
||||
LOG_WARN("fail to wait election leader", KR(ret), K(tenant_id), K(SYS_LS), K(timeout));
|
||||
}
|
||||
int64_t wait_leader_end = ObTimeUtility::current_time();
|
||||
wait_leader = wait_leader_end - wait_leader_end;
|
||||
wait_leader = wait_leader_end - wait_leader_start;
|
||||
}
|
||||
}
|
||||
if (is_meta_tenant(tenant_id)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user