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

Search requests should return the shard name that is down

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.1
    • 5.3, 6.0
    • search, SolrCloud
    • None

    Description

      If no replicas of a shard are up and running, a search request gives the following response:

      {
        "responseHeader": {
          "status": 503,
          "QTime": 2,
          "params": {
            "q": "*:*",
            "indent": "true",
            "wt": "json",
            "_": "1432048084930"
          }
        },
        "error": {
          "msg": "no servers hosting shard: ",
          "code": 503
        }
      }
      

      The message should mention the shard which is down/unreachable.

      Attachments

        1. SOLR-7566.patch
          4 kB
          Shalin Shekhar Mangar
        2. SOLR-7566.patch
          1 kB
          Marius Grama
        3. SOLR-7566.patch
          0.9 kB
          Marius Grama
        4. SOLR-7566-test-code-cosmetics.patch
          1 kB
          Marius Grama

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              shalin Shalin Shekhar Mangar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: