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

deleteByQuery blocks during an optimize

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.3.2
    • None
    • None
    • None

    Description

      When merging is happening, particularly if it's an optimize, a deleteByQuery update request will block until the merge is complete. Any other change to the index is also blocked by the delete.

      If a query with fl set to the uniqueKey is made, then the list of IDs received from that query is submitted as a delete by ID, then there's no problem. This suggests that it is probably possible to fix this.

      I know for sure that this affects 5.3.2, and I think it likely affects all 6.x versions too. I don't have any large indexes on anything newer than 5.3.2.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            elyograg Shawn Heisey

            Dates

              Created:
              Updated:

              Slack

                Issue deployment