[CP] do not put ddl sstable into table store when major sstable exist
This commit is contained in:
parent
2f7cc4ce1f
commit
f4f2a850c7
@ -1578,7 +1578,7 @@ int ObTabletTableStore::build_ddl_sstables(
|
||||
}
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret) && !ddl_dump_sstables.empty()) {
|
||||
if (OB_SUCC(ret) && !ddl_dump_sstables.empty() && major_tables_.empty()) {
|
||||
if (OB_FAIL(ddl_sstables_.init(allocator, ddl_dump_sstables))) {
|
||||
LOG_WARN("failed to init ddl_sstables", K(ret));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user