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

Action should define a retry and fail policy

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3-SNAPSHOT
    • Fix Version/s: 10.3
    • Component/s: Bulk, Streams

      Description

      NXP-25358 was about using AbstractBatchComputation to do this but as explained we don't want and don't need the batch feature at the action level.

      But we still want to have a retry and failure policy per action so the behavior in case of problem is defined.

      This could be done by having a generic AbstractRetryComputation that works like AbstractBatchComputation without the batching.

      So can have ComputationPolicy that define the FailSafe rules for retry and what to do on failure: skip or stop.

      The AbstractBulkComputation will simply extend this.

      Also the BulkStatus should be extended to get an error flag and error message, so a command can be completed in error if the policy is "skip on error".

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 2 days
                  2d