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

deleteByQuery blocks during an optimize

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.3.2
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: