[
https://issues.apache.org/jira/browse/SOLR-11028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619671#comment-17619671
]
Joshua Ouma commented on SOLR-11028:
------------------------------------
{quote}The way this type of v2 API is written, it's mostly "just" a wrapper
that reorganizes the inputs into the format v1 expects, and then calls into the
v1 codepath. So in terms of validating that the (e.g.) REPLACENODE
functionality actually works as its supposed to - I think we can rely on the
existing v1 tests for that. So the main thing that needs tests IMO is the
"reorganizes the inputs into the format v1 expects" bit. Essentially, given a
v2 API with inputs A, B, and C, do those values get modified (if necessary) and
passed on down to the v1 code correctly.{quote}
According to my understanding REPLACENODE API is used for recreating replicas
in one node (the source) on another node(s) (the target). Would a testcase that
lists replicas in the target node be sufficient? I'm not sure if thoughts are
on the right track
> Create a v2 API equivalent for REPLACENODE API
> ----------------------------------------------
>
> Key: SOLR-11028
> URL: https://issues.apache.org/jira/browse/SOLR-11028
> Project: Solr
> Issue Type: Sub-task
> Components: SolrCloud, v2 API
> Reporter: Shalin Shekhar Mangar
> Priority: Major
>
> The REPLACENODE API is only implemented as part of the v1 collections API.
> There should be an equivalent call in the v2 paradigm.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]