Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
0002526: Improve performance of data gap detection
snapshot util should not insert last gap
  • Loading branch information
erilong committed May 23, 2016
1 parent 6396eb9 commit 0f8f7e2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -479,7 +479,7 @@ public synchronized Enumeration<Object> keys() {
runtimeProperties.setProperty("batch.incoming.errors.count",
Long.toString(engine.getIncomingBatchService().countIncomingBatchesInError()));

List<DataGap> gaps = engine.getDataService().findDataGaps();
List<DataGap> gaps = engine.getDataService().findDataGapsByStatus(DataGap.Status.GP);
runtimeProperties.setProperty("data.gap.count",
Long.toString(gaps.size()));
if (gaps.size() > 0) {
Expand Down

0 comments on commit 0f8f7e2

Please sign in to comment.