Varun Thacker created SOLR-14967:
------------------------------------

             Summary: 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
         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 
) 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}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to