Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27534

StreamWorkManager should not terminate worker thread in case of failure

    XMLWordPrintable

    Details

    • Release Notes Summary:
      StreamWorkManager skips failure not to terminate workers.
    • Backlog priority:
      900
    • Sprint:
      nxplatform 11.1.11
    • Story Points:
      3

      Description

      In case of exception during the processing of the Work, the processing should continue (skipping work in error) to have the same behavior as the default WorkManager.

      For the Stream WorkManager this is not the case:

      • when there is an exception during work.cleanup after a failure
      • when there is an error when reading the work from the stream (serialization or corruption)
        When this happens the computation thread terminates which can result in blocking completely the processing in the Work pool.

      The Work.cleanup invocation must be protected, since 10.10 the computation policy used to run the Work should be set to continueOnFailure=true.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h