free old tablet set in the destroy function of the ls
Co-authored-by: KyrielightWei <weixx1203@outlook.com>
This commit is contained in:
parent
827b288161
commit
2054cbdabf
@ -451,6 +451,10 @@ int ObLSDupTabletsMgr::destroy_free_tablet_pool_()
|
||||
|
||||
if (OB_NOT_NULL(removing_old_set_)) {
|
||||
return_tablet_set(removing_old_set_);
|
||||
if (free_set_pool_.add_last(removing_old_set_) == false) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
DUP_TABLE_LOG(ERROR, "insert into free set failed", K(ret), KPC(removing_old_set_));
|
||||
}
|
||||
removing_old_set_ = nullptr;
|
||||
}
|
||||
|
||||
|
@ -451,6 +451,7 @@ void ObDupTableLSHandler::reset()
|
||||
ob_free(tablets_mgr_ptr_);
|
||||
}
|
||||
if (OB_NOT_NULL(log_operator_)) {
|
||||
log_operator_->reset();
|
||||
share::mtl_free(log_operator_);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user