Eric Pugh created SOLR-18429:
--------------------------------

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


Currently, no v2 form exists for Fetch Single Replica — only create/delete 
exist; there's no read.

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

Proposed response shape — the single replica entry from "List Replicas" above, 
plus (mirroring the existing prs=true flag on the legacy CLUSTERSTATUS action) 
its per-replica-state (PRS) entry when the collection has PRS enabled:

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

Part of SOLR-16392; closes a gap identified during the CLUSTERSTATUS 
decomposition



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to