Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-16016

checkAbnormalTermination might [rarely] incorrectly report job failed

    XMLWordPrintable

    Details

    • Type: Regression
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.6
    • Component/s: Workunit
    • Labels:
      None

      Description

      workunit routine waitForWorkUnit() loops querying WU state and if running gets WU session id then checks if session is still present. There is a very rare but possible chance the WU could have ended cleanly between query for running state and check for session id still present.
      We could conn->reload() after check for session id present fails, and then query state again to see if state changed to completed/failed/aborted to know its not an unexpected termination. But is that really doing anything meaningful ? Not sure what check for session id present is really for.

        Attachments

          Activity

            People

            • Assignee:
              mckellyln Mark Kelly
              Reporter:
              mckellyln Mark Kelly
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: