Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6287

Fix incorrect log in ParallelIterators.submitWork

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0, 4.16.0
    • Fix Version/s: 5.1.0, 4.16.0
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              comnetwork chenglei
              Reporter:
              comnetwork chenglei

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment