Jason Gerlowski created SOLR-17314: -------------------------------------- Summary: SolrClient implementations should not mutate request objects Key: SOLR-17314 URL: https://issues.apache.org/jira/browse/SOLR-17314 Project: Solr Issue Type: Bug Security Level: Public (Default Security Level. Issues are Public) Affects Versions: 9.6, main (10.0) Reporter: Jason Gerlowski Assignee: Jason Gerlowski
Currently, our "load balancing" SolrClient implementations mutate the SolrRequest instances they're operating on, changing the "basePath" as a way to dictate which Solr node the request is ultimately routed to. This is effective for the LB client's purposes, but it can cause problems especially in SolrJ code that reuses SolrRequest objects for multiple requests. (This is pretty common - Solr itself and its test code does this frequently). This ticket aims to cover restructuring our "LB" client code so that it no longer quietly mutates the objects provided by callers. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org