[FEAT MERGE] add direct load function
Co-authored-by: Monk-Liu <1152761042@qq.com> Co-authored-by: saltonz <saltonzh@gmail.com> Co-authored-by: yongshige <598633031@qq.com>
This commit is contained in:
@ -1145,15 +1145,10 @@ int ObMultipleMerge::prepare_tables_from_iterator(ObTableStoreIterator &table_it
|
||||
}
|
||||
}
|
||||
if (OB_SUCC(ret) && need_table) {
|
||||
if (table_ptr->is_sstable()) {
|
||||
if (static_cast<ObSSTable*>(table_ptr)->get_meta().is_empty()) {
|
||||
LOG_DEBUG("cur sstable is empty", K(ret), K(*table_ptr));
|
||||
continue;
|
||||
}
|
||||
} else if (static_cast<memtable::ObMemtable *>(table_ptr)->is_empty()) {
|
||||
LOG_DEBUG("cur memtable is empty", K(ret), K(*table_ptr));
|
||||
if (table_ptr->is_empty()) {
|
||||
LOG_DEBUG("cur table is empty", K(ret), KPC(table_ptr));
|
||||
continue;
|
||||
} else {
|
||||
} else if (table_ptr->is_memtable()) {
|
||||
++memtable_cnt;
|
||||
}
|
||||
if (OB_FAIL(tables_.push_back(table_ptr))) {
|
||||
|
||||
Reference in New Issue
Block a user