Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1411

Dispatching events for the system workspace from a separate thread, corrupts the node caches

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.0.0.Alpha2
    • 3.0.0.Alpha1
    • None
    • None

    Description

      With the addition of the event bus, each listener registered with the bus is notified from a separate thread, for each workspace. If a separate thread(s) is used for the system workspace as well, at some point the node caches become invalid (randomly).

      To prevent this issue, a temporary boolean configuration flag has been added to the RepositoryChangeBus - separateThreadForSystemWorkspace - which is set to "false".

      To reproduce this issue, change the above mentioned flag to "true" and run several time the JcrVersioningTest suite. Random failures should start to creep up.

      Attachments

        Issue Links

          Activity

            People

              hchiorean Horia Chiorean (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: