fix bug of not assign ddlkv in compaction
This commit is contained in:
parent
7fb8601792
commit
5c35b99cf7
@ -1414,6 +1414,11 @@ int ObTablet::init_with_replace_members(
|
||||
LOG_WARN("tablet pointer handle is invalid", K(ret), K_(pointer_hdl), K_(pointer_hdl), K_(log_handler));
|
||||
} else if (OB_FAIL(assign_memtables(old_tablet.memtables_, old_tablet.memtable_count_))) {
|
||||
LOG_WARN("fail to assign memtables", K(ret));
|
||||
} else if (OB_ISNULL(ddl_kvs_ = static_cast<ObDDLKV **>(allocator.alloc(sizeof(ObDDLKV *) * DDL_KV_ARRAY_SIZE)))) {
|
||||
ret = OB_ALLOCATE_MEMORY_FAILED;
|
||||
LOG_WARN("failed to allocate memory for ddl_kvs_", K(ret), KP(ddl_kvs_));
|
||||
} else if (OB_FAIL(assign_ddl_kvs(old_tablet.ddl_kvs_, old_tablet.ddl_kv_count_))) {
|
||||
LOG_WARN("fail to assign ddl kvs", K(ret), KP(old_tablet.ddl_kvs_), K(old_tablet.ddl_kv_count_));
|
||||
} else if (OB_FAIL(old_tablet.fetch_table_store(table_store_wrapper))) {
|
||||
LOG_WARN("fail to fetch table store", K(ret), K(old_tablet));
|
||||
} else if (OB_FAIL(table_store_wrapper.get_member(old_table_store))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user