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

Concurrent Schema API field additions can result in endless loop

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

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 4.9, 6.0
    • Schema and Analysis
    • None

    Description

      The optimistic concurrency loop in ManagedIndexSchema.addFields() is the likely culprit.

      Attachments

        1. concurrent_updates_and_schema_api.patch
          3 kB
          Steven Rowe
        2. SOLR-6145.patch
          36 kB
          Steven Rowe
        3. SOLR-6145.patch
          34 kB
          Steven Rowe
        4. SOLR-6145.patch
          23 kB
          Steven Rowe
        5. SOLR-6145.patch
          4 kB
          Gregory Chanan
        6. SOLR-6145-tests.patch
          20 kB
          Gregory Chanan
        7. SOLR-6145v2.patch
          9 kB
          Gregory Chanan

        Activity

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

          People

            sarowe Steven Rowe
            sarowe Steven Rowe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment