Skip to content

Commit

Permalink
fix an error that occurred during commit during load data inner 2191
Browse files Browse the repository at this point in the history
  • Loading branch information
ylinzhu committed Dec 1, 2023
1 parent 622ae1e commit 06bcb58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -424,11 +424,11 @@ public void okResponse(byte[] data, AbstractService service) {
}
String filePath = rrn.getLoadData().getFileName();
LoadDataBatch.getInstance().setFileName(filePath);
handlerCommit(rrn);
FileUtils.deleteFile(filePath);
rrn.setLoadDataRrnStatus((byte) 1);
decrementToZero((MySQLResponseService) service);
if (unResponseRrns.size() != 0) {
handlerCommit(rrn);
return;
}
if (rrs.isGlobalTable()) {
Expand Down

0 comments on commit 06bcb58

Please sign in to comment.