HoustonPutman opened a new pull request, #2436:
URL: https://github.com/apache/solr/pull/2436

   https://issues.apache.org/jira/browse/SOLR-17265
   
   This fixes the test errors introduced by 
https://github.com/apache/solr/pull/2230
   
   I'm not really certain what the previous logic was supposed to be doing, but 
`isPRS()` practically returned a random true or false every time it was called, 
since the `"use.per-replica"` sysProp was never set.
   
   I've simplified the logic considerably. Before a class is run 
`"solr.prs.default"` is set to either `true` or `false` (either randomly, or 
determined by the Class annotation). Then ever call to `isPRS()` will read that 
sysProp to determine if the default is PRS or not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to