Fix ObLogFileStore leak

This commit is contained in:
JiahuaChen 2021-10-21 14:30:42 +08:00 committed by LINxiansheng
parent 4ca9eabca4
commit 52b7d789ac

View File

@ -144,6 +144,10 @@ int ObStorageLogCommittedTransGetter::revise_log(const char* log_dir)
if (OB_SUCC(ret)) {
min_log_file_id_ = min_log_id;
}
if (nullptr != store) {
ObLogStoreFactory::destroy(store);
}
return ret;
}