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 committed Dec 20, 2018
1 parent 80d4f18 commit 3301ff0
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -1112,7 +1112,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 3301ff0

Please sign in to comment.