Skip to content

Commit 738cdd5

Browse files
obdevGmldry
authored andcommitted
Fix for -4016 error when tablet deleted
Co-authored-by: Gmldry <1187044372@qq.com>
1 parent 208b4bc commit 738cdd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/storage/high_availability/ob_restore_dag_net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4166,7 +4166,7 @@ int ObRestoreDagNetUtils::build_tablets_sstable_info_with_helper(
41664166
} else if (OB_FAIL(hold_local_tablet_(tablet_id_array, ls, tablet_handle_array))) {
41674167
LOG_WARN("failed to hold local tablet", K(ret));
41684168
} else if (tablet_handle_array.empty()) {
4169-
ret = OB_ERR_UNEXPECTED;
4169+
ret = OB_EAGAIN;
41704170
LOG_WARN("all tablets has been gc", K(ret));
41714171
} else if (OB_FAIL(helper->init_for_build_tablets_sstable_info(tablet_handle_array))) {
41724172
LOG_WARN("failed to init for build tablets sstable info", K(ret));

0 commit comments

Comments
 (0)