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

Time Routed Aliases: Delete obsolete collections Async

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Presently TimeRoutedAliasUpdaateProcessor calls the MaintainRoutedAliasCmd command to handle the book keeping around creation of new and deletion of obsolete collections (the collections are representing time segments within the time routed alias). While we generally need to wait for collection creation before proceeding, since the incoming request may  be placing a document in the collection to be created, deletions need only be initiated and do not need to impede processing of updates.

      In stress testing in SOLR-11949 the delays caused by synchronous updates were sufficient to fail the test via an apparent deadlock (actual locked threads could not be located however). With async deletes provided in this patch the stress test has passed for several consecutive executions.

        Attachments

        1. SOLR-12295.patch
          1 kB
          Gus Heck

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gus Gus Heck
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: