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

Ping requests stopped working with distrib=true in Solr 5.2.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.4, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      "steps to reproduce"
      # start 1 node SolrCloud cluster
      sh> ./bin/solr -c -p 8888
      # create a test collection (we won’t use it, but I just want to it to load solr configs to Zk)
      ./bin/solr create_collection -c test -d sample_techproducts_configs -p 8888
      # create another test collection with 2 shards
      curl 'http://localhost:8888/solr/admin/collections?action=CREATE&name=test2&numShards=2&replicationFactor=1&maxShardsPerNode=2&collection.configName=test'
      # try distrib ping request
      curl 'http://localhost:8888/solr/test2/admin/ping?wt=json&distrib=true&indent=true'
      ...
        "error":{
          "msg":"Ping query caused exception: Error from server at http://192.168.59.3:8888/solr/test2_shard2_replica1: Cannot execute the PingRequestHandler recursively"
      ...
      
      "Exception"
      2116962 [qtp599601600-13] ERROR org.apache.solr.core.SolrCore  [test2 shard2 core_node1 test2_shard2_replica1] – org.apache.solr.common.SolrException: Cannot execute the PingRequestHandler recursively
      	at org.apache.solr.handler.PingRequestHandler.handlePing(PingRequestHandler.java:246)
      	at org.apache.solr.handler.PingRequestHandler.handleRequestBody(PingRequestHandler.java:211)
      	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)
      	at org.apache.solr.core.SolrCore.execute(SolrCore.java:2064)
      	at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654)
      	at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:450)
      	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227)
      	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196)
      

        Attachments

        1. SOLR-7746.patch
          1 kB
          Michael Sun
        2. SOLR-7746.patch
          3 kB
          Michael Sun
        3. SOLR-7746.patch
          3 kB
          Michael Sun
        4. SOLR-7746.patch
          12 kB
          Michael Sun
        5. SOLR-7746.patch
          9 kB
          Michael Sun
        6. SOLR-7746.patch
          8 kB
          Michael Sun
        7. SOLR-7746.patch
          8 kB
          Michael Sun

          Activity

            People

            • Assignee:
              gchanan Gregory Chanan
              Reporter:
              alexey Alexey Serba
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: