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

Occasional failure in DistributedQueryComponentCustomSortTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None

    Description

      IN SOLR-14758, a timeAllowed query was added to the end of DistributedQueryComponentCustomSortTest. The functionality of the test works, however it uses the setDistributedParams method for the query, which adds bogus servers to each of the shards in the param "shards=".

      Since timeAllowed is used, the query is cut off after 1 ms. The problem however is that the server does not have time to try all of the shards at that point. Therefore it will return an error if the correct shard URL is at the end of the list of shard servers.

      The easy solution here is merely to remove the setDistributedParams and not test that last query with bad shard servers. Or at least that's my best guess.

      Attachments

        Activity

          People

            houston Houston Putman
            houston Houston Putman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: