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

Don't log ERROR on hot-reload for normally completed post-commit events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.10
    • Fix Version/s: 9.10-HF01, 10.1
    • Component/s: Events / Works

      Description

      We sometimes have these logs during hot-reload:

      ERROR [Nuxeo-Event-PostCommit-1] [org.nuxeo.ecm.core.event.impl.PostCommitEventExecutor] Events postcommit execution interrupted for listener: CounterListener
      ERROR [Nuxeo-Event-PostCommit-1] [org.nuxeo.ecm.core.event.impl.PostCommitEventExecutor] Rolling back transaction
      

      But there is no actual underlying error, the event handling completed normally without exception. The fact that in the meantime the thread was flagged as interrupted shouldn't make us generate an ERROR and rollback.

        Attachments

          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 - 30 minutes
                30m