[core] fix core dump in handle_register_parent_req
This commit is contained in:
@ -2864,6 +2864,7 @@ int LogConfigMgr::handle_register_parent_req(const LogLearner &child, const bool
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (OB_SUCC(ret)){
|
if (OB_SUCC(ret)){
|
||||||
|
SpinLockGuard guard(child_lock_);
|
||||||
LogLearner parent(self_, region_, child.register_time_us_);
|
LogLearner parent(self_, region_, child.register_time_us_);
|
||||||
if (reg_ret == REGISTER_DONE ||
|
if (reg_ret == REGISTER_DONE ||
|
||||||
reg_ret == REGISTER_CONTINUE ||
|
reg_ret == REGISTER_CONTINUE ||
|
||||||
|
|||||||
Reference in New Issue
Block a user