emory-libraries / blacklight-catalog

1 stars 0 forks source link

Create Solr Hot Spare Script #1381

Closed rotated8 closed 5 months ago

rotated8 commented 7 months ago

Currently, scripts exist to delete, backup, and restore a collection in Solr. This ticket will combine some of those features to allow us to automatically have a "Hot Spare" of the Search collection.

The script should:

This script (and any existing ruby scripts for interacting with Solr) should live in a new folder "/lib/solr" in Search's repo.

abelemlih commented 6 months ago

PR: https://github.com/emory-libraries/blacklight-catalog/pull/1383

abelemlih commented 6 months ago

I added the script to the Test instance and ran it. A new hot spare collection was added successfully. I changed the Solr collection used in the Test instance to the hot spare so we can test it. This ticket is ready for testing.

tclayton33 commented 6 months ago

@abelemlih Search functionality and index size all check out fine in Test. Does anyone besides me need to look at any other aspect of this in order to complete testing?

abelemlih commented 6 months ago

@tclayton33 your approval is the only one we need. We can proceed forward with creating a hot spare for production as soon as possible. @rotated8 when would be a good time to submit a CAB request for this change?

abelemlih commented 5 months ago

@tclayton33 @rotated8 the cron job recreated the hot spare collection successfully this past Sunday. This ticket is ready to close.