Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4013

Creating a core should prevent more than one thread from creating a core of the same name at once.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 4.1, 6.0
    • 4.3, 6.0
    • None
    • None

    Description

      This hasn't been an issue so far since cores are created at startup. But in the lots of cores case (see SOLR-1293) the probability that more than one thread will attempt to create a core of the same name is vastly greater. We need to block other threads from creating a core if the core is already being created in a different thread.

      Once the core is created, the blocked thread should pick up the newly-created core rather than create it again.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            erickerickson Erick Erickson
            erickerickson Erick Erickson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment