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

CloudSolrServer can query the wrong replica if a collection has a SolrCore name that matches a collection name.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.10, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      spin off of SOLR-2894 where sarowe & miller were getting failures from TestCloudPivot that seemed unrelated to any of hte distrib pivot logic itself.

      in particular: adding a call to "waitForThingsToLevelOut" at the start of the test, even before indexing any docs, seemed to work around the problem – but even if all replicas aren't yet up when the test starts, we should either get a failure when adding docs (ie: no replica hosting the target shard) or queries should only be routed to the replicas that are up and fully caught up with the rest of the collection.

      (NOTE: we're specifically talking about a situation where the set of docs in the collection is static during the query request)

        Attachments

        1. SOLR-6379.pristine_collection.test.patch
          9 kB
          Chris M. Hostetter
        2. SOLR-6379.patch
          12 kB
          Chris M. Hostetter
        3. SOLR-6379.patch
          13 kB
          Mark Miller
        4. SOLR-6379.patch
          15 kB
          Mark Miller
        5. SOLR-6379.patch
          10 kB
          Anshum Gupta
        6. SOLR-6379.patch
          13 kB
          Anshum Gupta
        7. SOLR-6379.patch
          23 kB
          Anshum Gupta
        8. SOLR-6379.patch
          23 kB
          Anshum Gupta
        9. SOLR-6379.patch
          23 kB
          Anshum Gupta

          Issue Links

            Activity

              People

              • Assignee:
                anshum Anshum Gupta
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: