[
https://issues.apache.org/jira/browse/SOLR-18429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Pugh updated SOLR-18429:
-----------------------------
Description:
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
Source: "Resource 'CRUD' APIs" tab, row "Fetch Single Replica". Same
CLUSTERSTATUS-decomposition motivation as "List Shards" above.
was:
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
> 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
> Priority: Major
>
> 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
>
> Source: "Resource 'CRUD' APIs" tab, row "Fetch Single Replica". Same
> CLUSTERSTATUS-decomposition motivation as "List Shards" above.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]