Skip to content

Commit

Permalink
Added logging to conflict resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Mar 26, 2012
1 parent 72d765a commit 7570079
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -94,9 +94,11 @@ public void needsResolved(DatabaseWriter writer, CsvData data, LoadStatus loadSt

case DELETE:
switch (conflict.getResolveType()) {
case IGNORE:
case FALLBACK:
writer.getStatistics().get(writer.getBatch())
.increment(DataWriterStatisticConstants.MISSINGDELETECOUNT);
.increment(DataWriterStatisticConstants.MISSINGDELETECOUNT);
break;
case IGNORE:
ignore(writer, conflict);
break;
case MANUAL:
Expand Down

0 comments on commit 7570079

Please sign in to comment.