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

Automatically retry async listeners if failing due to concurrency

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8.0-HF07, 5.9.1
    • Component/s: Core
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      A listener can now have a retryCount

      <listener ... retryCount="1">
      </listener>

      This is the number of times that the listener will be re-executed if it failed due to a ConcurrentUpdateException raised by the low-level layers.

      The default is 1.

      Show
      A listener can now have a retryCount <listener ... retryCount="1"> </listener> This is the number of times that the listener will be re-executed if it failed due to a ConcurrentUpdateException raised by the low-level layers. The default is 1.

      Description

      NXP-12930 introduced the possibility to retry an async Work if it failed due to a concurrency error.

      We could also do this for most asynchronous listeners.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: