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

Bulk status should have an error state

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.3
    • Fix Version/s: 10.3
    • Component/s: Streams

      Description

      A command can be completed even if there was error in the following cases:

      • When using an NXQL with a syntax error, an error is logged and we materialized an empty document set so the command is completed immediately.
      • When providing invalid action parameters, for each bucket an error is logged and the bucket is skipped, the command is completed.
      • When the action encounter an error after retries and if continueOnFailure is true, the command is completed with some bucket in error.

      For all the above case the command status's state is COMPLETED because we don't want to hang forever in the above cases.

      But the status doesn't contain any information about the fact that we encounter errors.

      An error flag and message should be added to the status.

        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 - 1 day
                  1d