Skip to content

Conversation

@cdrini
Copy link
Collaborator

@cdrini cdrini commented Sep 30, 2025

While monitoring the new staging solr's performance noticed some of its settings were out-of-sync. Sync'd them + tweaks some of the other settings.

  • Makes SOLR_HEAP for the staging solr consistent with the prod solr
  • Sets the environment flag, which adds a little coloured label to the admin dashboard, to reduce the likelihood of accidentally
  • Reduce the time for auto soft commit on the local instance; this means edits in the local instance will be reflected in solr after 1s instead of 60s like on prod. The higher time on prod is to improve performance, but not really necessary in the local environment, which is not edited as frequently.

Technical

Testing

Screenshot

The label in the solr admin dashboard:
image

Stakeholders

@Copilot Copilot AI review requested due to automatic review settings September 30, 2025 02:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR standardizes Solr Docker configuration across different environments (dev, staging, production) by adding environment labels and adjusting auto-commit timings for better development experience.

  • Adds environment labels (dev, stage, prod, test) to Solr admin dashboard for easier instance identification
  • Reduces auto soft commit time from 60s to 1s in local development environment for faster feedback
  • Standardizes SOLR_HEAP configuration between staging and production environments

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
scripts/solr_builder/compose.yaml Adds environment labels and adjusts commit timings for test and staging Solr instances
compose.yaml Adds comprehensive documentation and environment label for base Solr configuration
compose.production.yaml Adds standardized SOLR_OPTS configuration with environment label for production
compose.override.yaml Overrides auto soft commit time to 1s for faster local development feedback

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@mekarpeles mekarpeles merged commit be6529c into internetarchive:master Oct 7, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants