gerlowskija commented on PR #1594: URL: https://github.com/apache/solr/pull/1594#issuecomment-1526104266
You learn something new every day: it turns out that DELETEREPLICA can not only delete a particular named replica, it can delete a specified number of replicas from _all_ shards. I'd noticed the "count" parameter used to do this earlier, but thought that it was still operating on a particular shard, and chose the endpoint `DELETE /api/collections/collName/shards/shardName/replicas?count=123` based on that misunderstanding. But if `count` can be mutually exclusive with `shardName`, then this approach won't work at all. `DELETE /api/collections/collName/shards/replicas?count=123` won't work either, since this looks too much like the API for deleting a shard that happens to be named "replicas". Anyone have any ideas? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org