Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-4046

Concurrent modification exception in system feeds (may have led to index corruption)

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.9
    • 1.9
    • System Feeds
    • None

    Description

      This seems to have caused a timeline index corruption which prevented Nexus from restarting.

      Fix for this was committed as part of the work done in NEXUS-4038. I'm filing this so we can do additional testing in this area in the 1.9 release.

      type.nexus.proxy.events.RepositoryItemEventCache'
      java.util.ConcurrentModificationException
      	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
      	at java.util.HashMap$KeyIterator.next(HashMap.java:828)
      	at org.sonatype.nexus.feeds.DefaultFeedRecorder.putContext(DefaultFeedRecorder.java:412)
      	at org.sonatype.nexus.feeds.DefaultFeedRecorder.addNexusArtifactEvent(DefaultFeedRecorder.java:458)
      	at org.sonatype.nexus.events.ItemChangesFeedEventInspector.inspectForNexus(ItemChangesFeedEventInspector.java:104)
      	at org.sonatype.nexus.events.ItemChangesFeedEventInspector.inspect(ItemChangesFeedEventInspector.java:53)
      	at org.sonatype.nexus.events.DefaultEventInspectorHost$EventInspectorHandler.run(DefaultEventInspectorHost.java:152)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      

      Details are in PR-2121.

      Attachments

        Issue Links

          Activity

            People

              velo Marvin Herman Froeder
              rseddon Rich Seddon
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title