not set open_err_ when open ObDirectLoadInsertTabletContext in inc direct load

This commit is contained in:
obdev
2024-07-08 13:40:34 +00:00
committed by ob-robot
parent 4a950d3acc
commit c6f3b906c3

View File

@ -204,7 +204,7 @@ int ObDirectLoadInsertTabletContext::open()
} else {
is_open_ = true;
}
if (OB_FAIL(ret)) {
if (OB_FAIL(ret) && !param_->is_incremental_) {
open_err_ = ret; // avoid open repeatedly when failed
}
}