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

Delete-by-id with _route_ parameter fails on replicas for collections with implicit router

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 5.1
    • 5.2, 6.0
    • SolrCloud
    • None

    Description

      The FullSolrCloudDistribCmdsTest test has been failing quite regularly on jenkins. Some of those failures are spurious but there is an underlying bug that delete-by-id requests with "route" parameter on a collection with implicit router, fails on replicas because of a missing "version" field.

      Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/12286/
      Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC

      1 tests failed.
      FAILED: org.apache.solr.cloud.FullSolrCloudDistribCmdsTest.test

      Error Message:
      Error from server at http://127.0.0.1:44672/implicit_collection_without_routerfield_shard1_replica1: no servers hosting shard:

      Stack Trace:
      org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://127.0.0.1:44672/implicit_collection_without_routerfield_shard1_replica1: no servers hosting shard:
      at __randomizedtesting.SeedInfo.seed([944EEE25A6B2D153:1C1AD1FF084EBCAB]:0)
      at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:557)
      at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234)
      at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226)
      at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:135)

      Attachments

        1. FullSolrCloudDistribCmdsTest-2.log
          1.65 MB
          Shalin Shekhar Mangar
        2. FullSolrCloudDistribCmdsTest.log
          1.56 MB
          Shalin Shekhar Mangar

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              shalin Shalin Shekhar Mangar
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: