[ https://issues.apache.org/jira/browse/SOLR-14967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Varun Thacker updated SOLR-14967: --------------------------------- Description: If you are using CloudSolrClient and *only* if you are making a request with ModifiableSolrParams , SolrJ passes __stateVer__ to the server on every request - [code|https://github.com/apache/lucene-solr/blob/3730719ff2ba9051278638e34bac91a4f44e9c3e/solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseCloudSolrClient.java#L920-L927] This means callers who aren't passing ModifiableSolrParams ( let's say someone is using {color:#000000}MultiMapSolrParams which is totally allowed and correct ) only updates their state.json every 60 seconds and the whole logic of __stateVer__ comparisons is getting bypassed {color} {color:#000000}The combination of Solr's handling of __stateVer_ (_https://issues.apache.org/jira/browse/SOLR-14966) and this Jira has a terrible effect and causes every request to hit ZK ( this caused ZK cpu to fall of a cliff in our case ){color} was: If you are using CloudSolrClient and *only* if you are making a request with ModifiableSolrParams , SolrJ passes __stateVer__ to the server on every request - [code|https://github.com/apache/lucene-solr/blob/3730719ff2ba9051278638e34bac91a4f44e9c3e/solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseCloudSolrClient.java#L920-L927] This means callers who aren't passing ModifiableSolrParams ( let's say someone is using {color:#000000}MultiMapSolrParams which is totally allowed and correct ) never end up updating it's state of the collection{color} {color:#000000}The combination of Solr's handling of __stateVer_ (_https://issues.apache.org/jira/browse/SOLR-14966) and this Jira has a terrible effect and causes every request to hit ZK ( this caused ZK cpu to fall of a cliff in our case ){color} > CloudSolrClient does not pass _stateVer_ if ModifiableSolrParams isn't used > --------------------------------------------------------------------------- > > Key: SOLR-14967 > URL: https://issues.apache.org/jira/browse/SOLR-14967 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Varun Thacker > Priority: Major > Attachments: zk-cpu-idle.png > > > If you are using CloudSolrClient and *only* if you are making a request with > ModifiableSolrParams , SolrJ passes __stateVer__ to the server on every > request - > [code|https://github.com/apache/lucene-solr/blob/3730719ff2ba9051278638e34bac91a4f44e9c3e/solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseCloudSolrClient.java#L920-L927] > > This means callers who aren't passing ModifiableSolrParams ( let's say > someone is using {color:#000000}MultiMapSolrParams which is totally allowed > and correct ) only updates their state.json every 60 seconds and the whole > logic of __stateVer__ comparisons is getting bypassed > {color} > > {color:#000000}The combination of Solr's handling of __stateVer_ > (_https://issues.apache.org/jira/browse/SOLR-14966) and this Jira has a > terrible effect and causes every request to hit ZK ( this caused ZK cpu to > fall of a cliff in our case ){color} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org