Uploaded image for project: 'JAPI'
  1. JAPI
  2. JAPI-79

When running a workunit, If the WUCreateAndUpdate call times out and returns while the compile's still running, don't submit.,

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 7.0.0
    • Component/s: WSClient

      Description

      This bug is triggered by a wierd platform issue, where a call to WUCreateAndUpdate creates a workunit that hangs forever in compiling state.

      In this case it looks like HPCC-JAPI is just timing out and returning the wuid to pass to WUSubmit without checking that the status is not "compiling". If it's still "compiling" after the timeout, we should either abort the compile workunit and throw an error, or try waiting for some specified amount of time before aborting the workunit and throwing an error. WUCreateAndUpdate doesn't have a wait/timeout parameter unfortunately.

        Attachments

          Activity

            People

            Assignee:
            Michael-Gardner Michael Gardner
            Reporter:
            drealeed Drea Leed
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: