Skip to content

Commit

Permalink
add more logging when switching to greater than startid data to route…
Browse files Browse the repository at this point in the history
… query
  • Loading branch information
chenson42 committed Apr 17, 2014
1 parent 9c72dd0 commit 34d1a7f
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -243,7 +243,8 @@ protected ISqlReadCursor<Data> prepareCursor() {
if (useGreaterThanDataId) {
sql = getSql("selectDataUsingStartDataId", context.getChannel().getChannel());
if (!lastSelectUsedGreaterThanQuery) {
log.info("Switching to select from the data table where data_id >= start gap");
log.info("Switching to select from the data table where data_id >= start gap because there were {} gaps found "
+ "which was more than the configured threshold of {}", dataGaps.size(), maxGapsBeforeGreaterThanQuery);
lastSelectUsedGreaterThanQueryByEngineName.put(parameterService.getEngineName(), Boolean.TRUE);
}
} else {
Expand Down

0 comments on commit 34d1a7f

Please sign in to comment.