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

Search requests should return the shard name that is down

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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.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

            • Assignee:
              shalin Shalin Shekhar Mangar
              Reporter:
              shalin Shalin Shekhar Mangar

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment