free slice writer after fill column group data
This commit is contained in:
@ -2038,10 +2038,6 @@ int ObTabletDirectLoadMgr::close_sstable_slice(
|
||||
}
|
||||
}
|
||||
if (OB_NOT_NULL(slice_writer)) {
|
||||
if (OB_SUCC(ret) && is_data_direct_load(direct_load_type_) && slice_writer->need_column_store()) {
|
||||
//ignore, free after rescan
|
||||
} else {
|
||||
// for ddl, delete slice_writer regardless of success or failure
|
||||
int tmp_ret = OB_SUCCESS;
|
||||
if (OB_TMP_FAIL(sqc_build_ctx_.slice_mgr_map_.erase_refactored(slice_info.slice_id_))) {
|
||||
LOG_ERROR("erase failed", K(ret), K(tmp_ret), K(slice_info));
|
||||
@ -2054,7 +2050,6 @@ int ObTabletDirectLoadMgr::close_sstable_slice(
|
||||
ret = OB_SUCC(ret) ? tmp_ret : ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user