Skip to content

Commit

Permalink
0003777: Multiple table reloads are put into single batch
Browse files Browse the repository at this point in the history
  • Loading branch information
elong authored and erilong committed Dec 20, 2018
1 parent eb1fefa commit a34ff2b
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -1126,7 +1126,9 @@ protected int insertDataEvents(ProcessInfo processInfo, ChannelRouterContext con
context.setLastLoadId(loadId);
}
batch.setLoadId(loadId);
context.setNeedsCommitted(true);
if (context.getChannel().isReloadFlag()) {
context.setNeedsCommitted(true);
}
} else {
context.setLastLoadId(-1);
}
Expand Down

0 comments on commit a34ff2b

Please sign in to comment.