Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1492

On IMRU recovery: if ResultHandler.Dispose() throws exception, IMRU Driver hangs.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.16
    • REEF

    Description

      IMRU scenario:

      • one of the map tasks fails
      • Driver triggers shutdown on all tasks
      • UpdateTaskHost on shutdown is calling ResultHandler.Dispose()
      • resulthandler (in my case WriteResultHandler) throws exeption because there are no results (Update function was never executed)

      There are couple questions here:

      • WriteResulthandler should handle [no results] situation more gracefully, especially on Dispose()
        Probably logic of copy file should be moved from Dispose() to HandleResult() function.
      • UpdateTaskHost should handle exceptions from Dispose() call....result handler can be provided by client, so code can throw.
        In case of Dispose() failure the UpdateTaskHost should probably trigger non-recoverable failure, which in turn triggers Driver failure (right now driver hangs)

      Attachments

        Issue Links

          Activity

            People

              juliaw Julia Wang
              andreym Andrey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: