You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Eric Pugh (Jira)" <ji...@apache.org> on 2026/09/08 23:41:00 UTC

[jira] [Created] (SOLR-18427) Add v2 API equivalent for "List Replicas"

Eric Pugh created SOLR-18427:
--------------------------------

             Summary: Add v2 API equivalent for "List Replicas"
                 Key: SOLR-18427
                 URL: https://issues.apache.org/jira/browse/SOLR-18427
             Project: Solr
          Issue Type: Sub-task
          Components: v2 API
            Reporter: Eric Pugh


Currently, no v2 form exists for List Replicas — only POST .../replicas (create) and the two DELETE variants (single replica, by count) exist; there's no read.

Proposed v2: GET /api/collections/collName/shards/shardName/replicas

Proposed response shape — one entry per replica, the same fields CLUSTERSTATUS already returns per replica today:

{
  "replicas": {
    "core_node1": {
      "core": "collName_shard1_replica_n1",
      "base_url": "http://host:8983/solr",
      "node_name": "host:8983_solr",
      "state": "active",
      "type": "NRT",
      "leader": true
    }
  }
}

Starrted in SOLR-16392; directly closes one of the "shard/replica granular read" gaps blocking a clean CLUSTERSTATUS decomposition. Its response shape is reused by "Fetch Single Shard" api listed in future sub task.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org