[
https://issues.apache.org/jira/browse/SOLR-18430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Pugh updated SOLR-18430:
-----------------------------
Description:
Currently, no v2 form exists for List Replica Props. PUT/DELETE on a single
named property already exist (AddReplicaProperty/DeleteReplicaProperty), but
there's no way to list all properties set on a replica without already knowing
their names.
Proposed v2: GET
/api/collections/collName/shards/shardName/replicas/repName/properties
Proposed response shape — flat map of property name to value, mirroring what's
already stored in ZK against the replica:
{ "properties": \\{ "preferredleader": "true" }
}
Part of SOLR-16392. Not itself part of the CLUSTERSTATUS decomposition
(CLUSTERSTATUS doesn't surface replica properties), but the same "CRUD is
missing its R" gap as the four shard/replica endpoints in other sub tasks, and
a natural companion to build alongside them.
Spreadsheet Source: "Resource 'CRUD' APIs" tab, row "List Replica Props"
was:
Currently, no v2 form exists for List Replica Props. PUT/DELETE on a single
named property already exist (AddReplicaProperty/DeleteReplicaProperty), but
there's no way to list all properties set on a replica without already knowing
their names.
Proposed v2: GET
/api/collections/collName/shards/shardName/replicas/repName/properties
Proposed response shape — flat map of property name to value, mirroring what's
already stored in ZK against the replica:
{ "properties": \{ "preferredleader": "true" } }
Part of SOLR-16392. Not itself part of the CLUSTERSTATUS decomposition
(CLUSTERSTATUS doesn't surface replica properties), but the same "CRUD is
missing its R" gap as the four shard/replica endpoints in other sub tasks, and
a natural companion to build alongside them.
> Add v2 API equivalent for "List Replica Props"
> ----------------------------------------------
>
> Key: SOLR-18430
> URL: https://issues.apache.org/jira/browse/SOLR-18430
> Project: Solr
> Issue Type: Sub-task
> Components: v2 API
> Reporter: Eric Pugh
> Priority: Major
>
> Currently, no v2 form exists for List Replica Props. PUT/DELETE on a single
> named property already exist (AddReplicaProperty/DeleteReplicaProperty), but
> there's no way to list all properties set on a replica without already
> knowing their names.
> Proposed v2: GET
> /api/collections/collName/shards/shardName/replicas/repName/properties
> Proposed response shape — flat map of property name to value, mirroring
> what's already stored in ZK against the replica:
> { "properties": \\{ "preferredleader": "true" }
> }
> Part of SOLR-16392. Not itself part of the CLUSTERSTATUS decomposition
> (CLUSTERSTATUS doesn't surface replica properties), but the same "CRUD is
> missing its R" gap as the four shard/replica endpoints in other sub tasks,
> and a natural companion to build alongside them.
>
> Spreadsheet Source: "Resource 'CRUD' APIs" tab, row "List Replica Props"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]