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

deleteByQuery blocks during an optimize

    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

            People

              Unassigned Unassigned
              elyograg Shawn Heisey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: