[
https://issues.apache.org/jira/browse/SOLR-9940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Webster Homer updated SOLR-9940:
--------------------------------
Priority: Minor (was: Major)
> Config API throws Index Not Mutable when creating a RequestHandler on a
> Classic Schema
> --------------------------------------------------------------------------------------
>
> Key: SOLR-9940
> URL: https://issues.apache.org/jira/browse/SOLR-9940
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: config-api
> Affects Versions: 6.2
> Environment: linux
> Reporter: Webster Homer
> Priority: Minor
>
> All of our schema are Classic, we do no use mutable schemas.
> We use the Config API to create /cdcr request handlers
> {code}
> {
> "add-requesthandler":{
> "name":"/cdcr",
> "class":"solr.CdcrRequestHandler",
> "replica": [{
> "zkHost":"stldeepx20.sial.com:2181/solr",
> "source":"sial-catalog-material",
> "target":"sial-catalog-material"
> }, {
> "zkHost":"stldeepx06.sial.com:2181/solr",
> "source":"sial-catalog-material",
> "target":"sial-catalog-material"
> }],
> "replicator": {
> "threadPoolSize":2,
> "schedule": 1000,
> "batchSize": 128
> },
> "updateLogSynchronizer" : {
> "schedule": 60000
> }
> }
> }
> {code}
> The actual handler is generated by by an endpoint.
> The handler is created, and is functional, but the following errors are
> present in the log:
> {code}
> 2017-01-06 21:34:12.377 ERROR (SolrConfigHandler-refreshconf)
> [c:test-catalog-product s:shard1 r:core_node1 x:test-catalog-product_s
> hard1_replica1] o.a.s.s.IndexSchema This IndexSchema is not mutable.
> 2017-01-06 21:34:12.377 WARN (SolrConfigHandler-refreshconf)
> [c:test-catalog-product s:shard1 r:core_node1 x:test-catalog-product_s
> hard1_replica1] o.a.s.c.SolrCore
> org.apache.solr.common.SolrException: This IndexSchema is not mutable.
> at
> org.apache.solr.schema.IndexSchema.getSchemaUpdateLock(IndexSchema.java:1864)
> at
> org.apache.solr.schema.SchemaManager.getFreshManagedSchema(SchemaManager.java:434)
> at
> org.apache.solr.core.SolrCore.lambda$getConfListener$6(SolrCore.java:2571)
> at org.apache.solr.core.SolrCore$$Lambda$91/766533008.run(Unknown
> Source)
> at
> org.apache.solr.handler.SolrConfigHandler$Command.lambda$handleGET$0(SolrConfigHandler.java:216)
> at
> org.apache.solr.handler.SolrConfigHandler$Command$$Lambda$143/2029435585.run(Unknown
> Source)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]