Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
7.7.2
-
None
-
None
-
None
-
We run on Linux VMs in the google cloud, we see this also with OnPrem Linux servers as well
Currently using Java 8
Description
When creating a collection with tlog replicas while specifying that a node can have only 1 replica for a collection, the call fails with the error: TLOG or PULL replica types not supported with placement rules or cluster policies
We have solr clouds that have 4 nodes and our collections have 2 shards. For fault tolerance we need to have each replica on a different solr node. but this is not possible when we need to use TLOG replicas.
Not TLOG collections not supporting placement rules defeats the purpose of using solrcloud .
This is the call we make:
This was the complete response.
{
"responseHeader":
{ "status": 500, "QTime": 574 },
"Operation create caused exception:": "org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: TLOG or PULL replica types not supported with placement rules or cluster policies",
"exception":
{ "msg": "TLOG or PULL replica types not supported with placement rules or cluster policies", "rspCode": 500 },
"error": {
"metadata": [
"error-class",
"org.apache.solr.common.SolrException",
"root-error-class",
"org.apache.solr.common.SolrException"
],
"msg": "TLOG or PULL replica types not supported with placement rules or cluster policies",
"trace": "org.apache.solr.common.SolrException: TLOG or PULL replica types not supported with placement rules or cluster policies\n\tat org.apache.solr.client.solrj.SolrResponse.getException(SolrResponse.java:53)\n\tat org.apache.solr.handler.admin.CollectionsHandler.invokeAction(CollectionsHandler.java:275)\n\tat org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:247)\n\tat org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)\n\tat
Attachments
Issue Links
- relates to
-
SOLR-10233 Add support for different replica types in Solr
- Resolved