Uploaded image for project: 'Advanced Cache'
  1. Advanced Cache
  2. MGNLADVCACHE-63

Synchronize time stamp updates of NotifyFlushListeningPolicy in order to prevent InvalidItemStateExceptions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 1.7.5
    • None
    • None
    • Yes
    • Kromeriz 48
    • 5

    Description

      Upon high number of activation requests to multiple workspaces being run in parallel, each of those threads will try to update the time stamp concurrently which can result in:

      WARN org.apache.jackrabbit.core.ItemSaveOperation : /modules/advanced-cache/config/notifyFlushListeningPolicy/lastUpdateTimeStamp: failed to restore transient state
      ERROR ia.jcr.wrapper.MgnlPropertySettingContentDecorator: Failed to update LUD for session: session-admin-318::config
      javax.jcr.InvalidItemStateException: property /modules/advanced-cache/config/notifyFlushListeningPolicy/lastUpdateTimeStamp: the property cannot be saved because it has been modified externally.
      

      https://forum.magnolia-cms.com/forum/thread.html?threadId=5ab6859f-026d-4a83-89a3-d3a6e1275ee6&page=1#acf4862c-86df-4a88-8005-c994f6d30c7b

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              jsimak Jaroslav Simak
              zdenekskodik Zdenek Skodik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.5h
                    0.5h