-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Solr to 9.4.1 #10636
Upgrade Solr to 9.4.1 #10636
Conversation
… in favor of keeping the config files in conf/solr/ going forward.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks for moving the solr files out of a version specific subdir!
I do see the Jenkins build failing with TASK [dataverse : branch: place solrconfig] ************************************ The Shellspec tests are failing as well - not sure there since the file didn't change and I don't see any 9.3.0 references in it. Is this just because Shellspec doesn't usually run on that file and only trigger because it is now in a new place? |
OK, I was wrong, in my optimistic assumption that this wasn't going to affect Jenkins - from a very brief look at dataverse-ansible, I somehow got the idea that it would build the installer bundle and get the config files from it... but, obviously, that's not what happens. |
FWIW - the Shellspec failures are due to 9.3.0 in the path in dataverse/tests/shell/spec/update_fields_spec.sh Lines 4 to 13 in 853965e
Speaking of which - any interest in just going to solr/solrj 9.6.1 here? I can make a separate PR that can be used later if not. |
FWIW: "9.3.0" also appears in a few more places - parent pom and docker-related files - that should probably be updated. |
I asked early on about going with 9.6.1 for the solr server upgrade as well, in the sec. issue:
And I just assumed it would be safest to keep solrj version matched to that. I eventually decided to
If you think it's worth it, we can still bump it. But 9.4.1 by now has the advantage of having been tested quite thoroughly with the optimization PRs, both in solrj and solr itself. I didn't immediately see anything super important in 9.6.1 - is there? |
Thanks. I can't immediately figure out why it's still failing after I fixed the path though. https://github.com/IQSS/dataverse/actions/runs/9598126298/job/26468684721?pr=10636 |
w.r.t. 9.6.1 - I don't think we need to update now. After this is merged, I might make a PR to capture the (minor) solrconfig.xml changes I made at QDR, but that could sit/be further updated before we decide to update again. |
re: shellcheck - might be this issue: koalaman/shellcheck#2700 - not sure if that's related to the review dog warnings now showing in the code. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…all" guide, replaced them with "follow the instructions provided in the main Installation/prerequisites gujide". No need to duplicate these in both places. #10636.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
📦 Pushed preview images as
🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name. |
What this PR does / why we need it:
There's a known security issue in the previously recommended version 9.3.0.
While the risk of a successful exploit is not significant unless the Solr instance is accessible from the outside (which we have always recommended against; with 9.3.0 running on localhost only out of the box), we have decided to upgrade the recommended version to 9.4.1 just in case.
Which issue(s) this PR closes:
Closes #
(there's a security issue where this was discussed; there's no associated issue in the main project)
Special notes for your reviewer:
Note that in addition to the upgrade of the recommended version we are using the opportunity to get rid of the specific Solr version in our source tree in the directory used to distribute the configuration files. Meaning, the config files that used to be under
conf/solr/9.3.0
are now directly underconf/solr
. This will make it easier to trace the history of updates in these files.Suggestions on how to test this:
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?:
Additional documentation: