dsmiley commented on PR #2935:
URL: https://github.com/apache/solr/pull/2935#issuecomment-2583773292
   I simplified characterization of how I think this should be done:
   * on initialization, copy the configured URLs to a field for safe keeping.  
Convert to URL if you like (validates if malformed)
   * on initialization, liveNodes shall be empty; we haven't fetched it yet.  
Ideally we don't even try to on initialization.
   * when getLiveNodes is called and it's not out of date, return it.  If it's 
out of date, loop live nodes _and then the initial configured URLs_ for the 
first server that will respond to fetch the current live nodes.


-- 
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