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

Make the PublisherService threadsafe

    XMLWordPrintable

    Details

      Description

      In PublisherService, methods like the following:

      1. getAvailablePublicationTrees() and
      2. getPublicationTree()

      use HashMap and not ConcurrentHashMap. This means that concurrent updates to the map may corrupt them and lead to infinite loops and 100% CPU load.

      Note: This should not affect 9.x branch since there was some refactoring done.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 4 hours
                4h