You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Bernd Wahlen (Jira)" <ji...@apache.org> on 2021/02/04 16:46:00 UTC

[jira] [Created] (SOLR-15134) Solr upgrade order / documentation

Bernd Wahlen created SOLR-15134:
-----------------------------------

             Summary: Solr upgrade order / documentation
                 Key: SOLR-15134
                 URL: https://issues.apache.org/jira/browse/SOLR-15134
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 8.8
            Reporter: Bernd Wahlen


I updated a our solr cluster of 3 servers today 8.7 -> 8.8 and found the following difficulties:

1. solrj 8.7 was crashing when trying to connect to solr 8.8 with something like this:
{code:java}
Caused by: org.apache.solr.client.solrj.SolrServerException: java.lang.NullPointerException: Cannot invoke "String.endsWith(String)" because "baseUrl" is null
        at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:1053) ~[solr-solrj-8.7.0.jar:8.7.0 2dc63e901c60cda27ef3b744bc554f1481b3b067 - atrisharma - 2020-10-29 19:39:18]
{code}
After upgrade of solrj to 8.8 also, everything is fine.
I mean this is not more like a documentation issue. Most of the time solrj and solrj are compatible up- and down-version. 
I read changes:
https://lucene.apache.org/solr/8_8_0/changes/Changes.html#v8.8.0.bug_fixes
There should be some warning that client must be upgraded before server.

2. when updating servers in a rolling manner, only the 8.8 server is showing all members of the cluster in the web interface. The 8.7 servers show nothing at all (not even the 2 8.7 instances). After upgrading all, everything recovered. Is the rolling-upgrade not working or was it, because i did it in the wrong order.




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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org