Skip to content

Commit

Permalink
0004948: Bulk conflict resolution- when falling back to default writer,
Browse files Browse the repository at this point in the history
clear last error in context so context is clean
  • Loading branch information
Philip Marzullo committed Apr 14, 2021
1 parent 56b059f commit f87940c
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1099,6 +1099,7 @@ protected IDataWriter chooseDataWriter(Batch batch) {
log.info("Bulk loader failed in class {} with message: {}", e.getClass().getName(), e.getMessage());

ctx.put(ContextConstants.CONTEXT_BULK_WRITER_TO_USE, "default");
ctx.setLastError(null);
listener.currentBatch.setStatus(Status.OK);
processor.setDataReader(buildDataReader(batchInStaging, resource));
try {
Expand Down

0 comments on commit f87940c

Please sign in to comment.