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

Search requests should return the shard name that is down

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.3, 6.0
    • Component/s: search, SolrCloud
    • Labels:
      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-test-code-cosmetics.patch
          1 kB
          Marius Grama
        2. SOLR-7566.patch
          4 kB
          Shalin Shekhar Mangar
        3. SOLR-7566.patch
          1 kB
          Marius Grama
        4. SOLR-7566.patch
          0.9 kB
          Marius Grama

          Issue Links

            Activity

              People

              • Assignee:
                shalinmangar Shalin Shekhar Mangar
                Reporter:
                shalinmangar Shalin Shekhar Mangar
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: