Description
In ParallelIterators.submitWork, the following log is critical but is meaningless:
123 @Override 124 public PeekingResultIterator call() throws Exception { 125 long startTime = EnvironmentEdgeManager.currentTimeMillis(); 126 if (LOGGER.isDebugEnabled()) { 127 LOGGER.debug(LogUtil.addCustomAnnotations("Id: " + scanId + ", Time: " + 128 (EnvironmentEdgeManager.currentTimeMillis() - startTime) + 129 "ms, Scan: " + scan, ScanUtil.getCustomAnnotations(scan))); 130 }
The log should be placed after the iterator.peek is called.