Fusion 5.9.x must be upgraded one maintenance release at a time. If you are on version 5.9.12 and want to reach 5.9.14, you are required to upgrade to 5.9.13 first, then upgrade to 5.9.14.
Fusion 5.9.5 introduced changes that affect Spark jobs. If you are upgrading to Fusion 5.9.5, follow the Fusion 5.9.5 upgrade instructions.
General upgrade process
Fusion natively supports deployments on supported Kubernetes platforms, including AKS, EKS, and GKE. Fusion includes an upgrade script for AKS, EKS, and GKE. This script is not generated for other Kubernetes deployments. Upgrades differ from platform to platform. See below for more information about upgrading on your platform of choice. Whenever you upgrade Fusion, you must also update your remote connectors, if you are running any. You can download the latest files at V2 Connectors Downloads.Natively supported deployment upgrades
| Deployment type | Platform |
|---|---|
| Azure Kubernetes Service (AKS) | aks |
| Amazon Elastic Kubernetes Service (EKS) | eks |
| Google Kubernetes Engine (GKE) | gke |
- Open the
<platform>_<cluster>_<release>_upgrade_fusion.shupgrade script file for editing. - Update the
CHART_VERSIONto your target Fusion version, and save your changes. - Run the
<platform>_<cluster>_<release>_upgrade_fusion.shscript. The<release>value is the same as your namespace, unless you overrode the default value using the-roption.
kubectl get pods to see the changes applied to your cluster. It may take several minutes to perform the upgrade, as new Docker images are pulled from DockerHub. To see the versions of running pods, do:
Other Kubernetes deployment upgrades
To update an existing installation, do:RollingUpdate update policy:
OnDelete to avoid changing critical stateful pods in the Fusion deployment. To apply changes to Zookeeper after performing the upgrade (uncommon), you need to manually delete the pods. For example:
Delete one pod at a time. Verify the new pod is healthy and serving traffic, before deleting the next healthy pod.
updateStrategy under the zookeeper section in your "${MY_VALUES}" file:
Upgrades with Helm v3
One of the most powerful features provided by Kubernetes and a cloud-native microservices architecture is the ability to do a rolling update on a live cluster. For example, Fusion 5 allows customers to upgrade from Fusion 5.1.0 to a later 5.x.y version on a live cluster with zero downtime or disruption of service. When Kubernetes performs a rolling update to an individual microservice, there is a mix of old and new services in the cluster. Requests from other services route to both versions.Lucidworks ensures all changes we make to our service do not break the API interface exposed to other services in the same minor release version (5.x). We also ensure that the stored configuration remains compatible in the same minor release version.
- Clone the fusion-cloud-native repo, if you haven’t already.
-
Locate the
setup_f5_<platform>.shscript that matches your Kubernetes platform. -
Run the script with the
--upgradeoption.
Helm upgrade script
Once you deploy a working cluster, use the upgrade script created by thecustomize_fusion_values.sh script. The upgrade script hard-codes the parameters and eases the need to remember which parameters to pass to the script. This is helpful when working with multiple K8s clusters. Make sure you check the script into version control alongside your custom values YAML files.
Whenever you change the custom values YAML files for your cluster, you need to run the upgrade script to apply the changes. The script calls helm upgrade with the correct parameters and --values options.
Learn more
Fusion 5 Upgrade from 5.8.x
Fusion 5 Upgrade from 5.8.x
This article includes instructions for upgrading Fusion from one version to another. In some cases, the instructions do not vary. Other upgrades require special instructions. Start by checking upgrade details for your target version before continuing to the General upgrade process.Remember, upgrade instructions may vary between deployment types too.Whenever you upgrade Fusion, you must also update your remote connectors, if you are running any.
You can download the latest files at V2 Connectors Downloads.
Fusion includes upgrade scripts for natively supported deployment types. To upgrade:
Fusion values change between releases. Check the example values and update values as needed.
Upgrades from 5.8.x
to 5.9.y
Upgrading from 5.8.x to 5.9.y involves using the General upgrade process.General upgrade process
Fusion natively supports deployments on supported Kubernetes platforms, including AKS, EKS, and GKE.Fusion includes an upgrade script for AKS, EKS, and GKE. This script is not generated for other Kubernetes deployments.Upgrades differ from platform to platform. See below for more information about upgrading on your platform of choice.Whenever you upgrade Fusion, you must also update your remote connectors. You can download the latest files at V2 Connectors Downloads.Natively supported deployment upgrades
| Deployment type | Platform |
|---|---|
| Azure Kubernetes Service (AKS) | aks |
| Amazon Elastic Kubernetes Service (EKS) | eks |
| Google Kubernetes Engine (GKE) | gke |
- Open the
<platform>_<cluster>_<release>_upgrade_fusion.shupgrade script file for editing. - Update the
CHART_VERSIONto your target Fusion version, and save your changes. - Run the
<platform>_<cluster>_<release>_upgrade_fusion.shscript. The<release>value is the same as your namespace, unless you overrode the default value using the-roption.
kubectl get pods to see the changes applied to your cluster. It may take several minutes to perform the upgrade, as new Docker images are pulled from DockerHub. To see the versions of running pods, do:Fusion 5 Upgrade from 5.9.x
Fusion 5 Upgrade from 5.9.x
This article includes instructions for upgrading Fusion from one version to another. Some upgrades require special instructions. Start by checking upgrade details for your target version before continuing to the General upgrade process.When you upgrade Fusion, you must also update your remote connectors, if you are running any.
You can download the latest files at V2 Connectors Downloads.The following log excerpt demonstrates a typical error message encountered when an upgrade is impacted by the codec change:To account for the Run the
Use the The Run the
Next, mitigate codec issues related to the Lucene 9.10.0 update. Run the Change Re-run the
Use the Change
Fusion 5.9.x must be upgraded one maintenance release at a time. If you are on version 5.9.12 and want to reach 5.9.14, you are required to upgrade to 5.9.13 first, then upgrade to 5.9.14.
Fusion values change between releases. Check the example values and update values as needed.
Upgrades from 5.9.x
to 5.9.y
Upgrading from 5.9.x to 5.9.y involves using the General upgrade process.to 5.9.12
When upgrading to Fusion 5.9.12, add the following to yourvalues.yaml file to avoid a known issue that prevents the kuberay-operator pod from launching successfully:to 5.9.5
Upgrading to Fusion 5.9.5 has special considerations, due to changes introduced with Solr 9.6.1 and Lucene 9.10.0. All upgrades are susceptible to issues from these changes. Follow the upgrade procedures closely to avoid issues with the upgrade.See the following sections for an overview of the issues, or skip to the upgrade process.Solr 9.6.1 changes
Prior to Fusion 5.9.5, Fusion utilized Solr 9.1.1 or earlier. Due to changes in Solr 9.3, some Solr configuration and collection configurations are no longer compatible. As Fusion 5.9.5 leverages Solr 9.6.1, it’s imperative to address these compatibility issues during the upgrade process.To address Solr and collection configuration issues, a Docker utility calledfm-upgrade-apps-to-solr-9, also known as the Fusion migration script, is included in the Fusion 5.9.5 release. This utility performs the following tasks:- Removes the unused configuration,
<circuitBreaker>, fromsolrconfig.xml. Solr no longer supports this configuration. - Removes the query response writer of class
solr.XSLTResponseWriter. - Comments out processors of type
solr.StatelessScriptUpdateProcessorFactory. - Removes
<bool name="preferLocalShards"/>element from request handler. - Changes cache class attribute of elements
"filterCache","cache","documentCache","queryResultCache"tosolr.search.CaffeineCache. - Removes
keepShortTermattribute from filter of classsolr.NGramFilterFactory. - Updates collection configurations, as needed.
Lucene 9.10.0 changes
A Lucene update to 9.10.0 in Fusion 5.9.5 may cause issues with certain collections in Solr. The change to the FST posting format codec (fromLucene90PostingsWriterDoc to Lucene99PostingsWriterDoc) in Lucene is incompatible with Solr in Fusion. As a result, Solr will not open a new searcher for collections using the FST50 postings format.To identify collections potentially affected by the Lucene codec change, examine the field definitions within your Solr schema. Look for fields that specify the postingsFormat attribute with a value of FST50. Collections containing such fields may experience compatibility issues. For example:postingsFormat="FST50" codec issue, a Docker utility called run-the-fm-upgrade-query-rewrite-docker-utility is provided alongside the Fusion 5.9.5 release. You can pull this image from Docker using docker pull lucidworks/run-the-fm-upgrade-query-rewrite-docker-utility:2.x.This utility performs two actions: prepare and restore. Use the prepare action before the Fusion 5.9.5 upgrade begins. At a high level, the prepare action performs the following actions:- Removes
postingsFormat="FST50"from all collections in the environment. - Re-indexes documents to new, temporary collections.
- Compares the original collections to the new, temporary collections to ensure data integrity.
restore action after the Fusion 5.9.5 upgrade finishes, which must include the Solr 9.6.1 upgrade. The restore action performs the following actions:- Restores
postingsFormat="FST50"to all collections in the environment that were changed with theprepareaction. - Re-indexes documents to new, permanent collections. These collections match the original collections that were in place prior to the
prepareaction. - Compares the restored collections to the temporary collections to ensure data integrity.
Upgrade process
This section provides a high-level overview of the steps involved in upgrading to Fusion 5.9.5. Follow each step in the order given:- Create a full backup of all Fusion collections. These backups are intended as an emergency failsafe only.
- Run the
fm-upgrade-apps-to-solr-9Docker utility. This updates the Solr configuration and collections for compatibility with Solr 9.6.1. - Run the
run-the-fm-upgrade-query-rewrite-docker-utilityDocker utility. Use theprepareaction to address potential collection compatibility issues with Lucene 9.10.0 codecs. - Upgrade your Fusion environment to version 5.9.5. Use the upgrade scripts or your own upgrade process.
- Re-run the
run-the-fm-upgrade-query-rewrite-docker-utilityDocker utility. Use therestoreaction to restore collections to their original state. - Validate the upgrade was successful. In addition to your usual validations, there are some extra things to check.
Back up your Solr collections
Back up all Solr collections in each environment before continuing with the upgrade. For this upgrade, backups are intended as an emergency failsafe.Run the fm-upgrade-apps-to-solr-9 Docker utility
Use the fm-upgrade-apps-to-solr-9 Docker utility to mitigate issues related to the change from Solr 9.1.1 and earlier to Solr 9.6.1. To begin, run the fm-upgrade-apps-to-solr-9 Docker utility using the DRY_RUN environmental variable:DRY_RUN variable prints the changes that would occur to the console without performing those actions. Review the changes thoroughly.If the changes look correct, run the fm-upgrade-apps-to-solr-9 Docker utility again without using the DRY_RUN environmental variable. The updated config files are saved to the /upgrade-work/updated-configs directory. The utility also creates backups for all configs in the /upgrade-work/backup-configs.The fm-upgrade-apps-to-solr-9 Docker utility has another environmental variable, REVERT, that allows you to revert any changes you made. To revert your changes, run:Run the fm-upgrade-query-rewrite Docker utility
Next, mitigate codec issues related to the Lucene 9.10.0 update. Run the run-the-fm-upgrade-query-rewrite-docker-utility Docker utility prepare action:FUSION_NAMESPACE to the name of your application namespace for the Fusion installation. You can find this value using helm list against your Fusion namespace. Locate the release using the fusion chart, and find the value in the name column. Typically, the release name is the same as your namespace name.Including --namespace=FUSION_NAMESPACE lets the update pod runs in the correct application namespace.The prepare action removes postingsFormat="FST50" from all collections in the environment before re-indexing data to temporary collections. When the prepare-595-upgrade pod shows the status Completed, the process is finished.Upgrade your Fusion environment
Upgrade Fusion to version 5.9.5. Before beginning, ensure the Fusion admin is running and all collections are healthy. Then, complete the General upgrade process before returning to the next step in the process.Alternatively, your organization may use a custom upgrade process. In either case, ensure you have successfully upgraded to Solr 9.6.1 as part of the Fusion upgrade.Do not make changes to the
signals collection with the Rules Editor during the upgrade process. For production clusters, upgrade during a maintenance window.Re-run the fm-upgrade-query-rewrite Docker utility
Use the run-the-fm-upgrade-query-rewrite-docker-utility utility’s restore action to restore the data from the temporary collections created by the prepare action. Before you begin, verify all collections appended with _temp_fix are online and healthy.FUSION_NAMESPACE to the name of your application namespace for the Fusion installation. You can find this value using helm list against your Fusion namespace. Locate the release using the fusion chart, and find the value in the name column. Typically, the release name is the same as your namespace name.Including --namespace=FUSION_NAMESPACE lets the update pod runs in the correct application namespace.When the restore-595-upgrade pod shows the status Completed, the process is finished.For a complete summary of what this action does, refer to Upgrade Utility.Validate the upgrade
In addition to your typical validation process, ensure Solr collections are healthy:- Log into Fusion as the admin.
-
Access the Solr Admin UI at
https://FUSION_HOST:FUSION_PORT/api/solrAdmin/default/#/. -
Watch for error messages. For example, the following message reports errors for the query rewrite staging collections Acme1, Acme2, Acme3, and Acme4:

-
Navigate to the Cloud graph screen at
https://FUSION_HOST:FUSION_PORT/api/solrAdmin/default/#/~cloud?view=graph. - Review each collection for errors.
prepare and restore pods that were created by the upgrade utility: