You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Init container: We wipe the Solr data directory (which is also where we download the backup)
Init container: We upload the Solr backup into the Solr data directory.
Init container: We start Solr.
Restore-job pod: Command Solr to load the Solr backup into its data directory.
However, this can cause a problem if the Kubernetes instance is restarted -- the init container will wipe the Solr data directory, but the restore-job pod is not triggered.
A better system might be:
Move the deletion/clear operation to the Restore-job pod.
Modify the download code so that the file isn't redownloaded if it hasn't been modified.
The text was updated successfully, but these errors were encountered:
@YaphetKG has added a way to do this: by running helm upgrade name-lookup ... --set dataUrl='' once name-lookup has started. This ensures that the Solr database is not re-downloaded if the node is restarted. Now the next question is how we can ensure that ITRB does this -- can we integrate this into https://github.com/helxplatform/translator-devops/blob/develop/jenkins/name-lookup/Jenkinsfile somehow? Or maybe just let them to do this when upgrading a node, and see if they have ideas about automating this?
The current sequence order is:
However, this can cause a problem if the Kubernetes instance is restarted -- the init container will wipe the Solr data directory, but the restore-job pod is not triggered.
A better system might be:
The text was updated successfully, but these errors were encountered: