Release Notes / Version 11.2207
Table Of Contents
Apache Solr has replaced the names of their replication setup from Master/Slave to Leader/Follower. These names have now been changed in Solr configuration files (
solrconfig.xml
) and CoreMedia documentation. For details of the change in Solr, see
https://solr.apache.org/guide/8_8/solr-upgrade-notes.html#solr-8-7
.
The following system properties used to configure Solr replication have been renamed. If you are using the old names in your project, you must update them accordingly:
solr.master.url -> solr.leader.url
solr.master -> solr.leader
solr.slave -> solr.follower
Environment variables for the Docker image have also changed. The old environment variables still work, but are deprecated:
SOLR_MASTER -> SOLR_LEADER
SOLR_MASTER_URL -> SOLR_LEADER_URL
SOLR_SLAVE -> SOLR_FOLLOWER
SOLR_SLAVE_AUTOCREATE_CORES -> SOLR_FOLLOWER_AUTOCREATE_CORES
SOLR_SLAVE_AUTOCREATE_CORES_LIST -> SOLR_FOLLOWER_AUTOCREATE_CORES_LIST
SOLR_SLAVE_AUTOCREATE_THRESHOLD -> SOLR_FOLLOWER_AUTOCREATE_THRESHOLD
The Maven commands to start and stop a Solr follower node for local development in apps/solr/modules/search/solr-config/pom.xml have also changed to use "follower" instead of "slave". For details, see the comments in that
pom.xml
file.
In addition to the system properties and environment variables, the following changes have been applied:
The default log-location for Solr followers changed:
slave-logs/
->follower-logs/
To start a Solr follower locally, you now need to call
mvn exec:exec@start-solr-follower
(instead ofmvn exec:exec@start-solr-slave
).
(CMS-19302)