Skip to content

Conversation

@kshepherd
Copy link

The UpdateCrisMetricsInSolrDocService update method tries to read all metrics at once before processing and updating the index.
In a system with a very large number of CrisMetrics DB rows, this can cause heap space errors.

This small PR adds a default page size of 1000 and reads pages in a while loop.

@kshepherd kshepherd force-pushed the metric-update-pagination branch from 5d4d725 to ba5b164 Compare August 12, 2025 14:10
@kshepherd kshepherd marked this pull request as ready for review August 12, 2025 14:11
@kshepherd kshepherd force-pushed the metric-update-pagination branch from ba5b164 to 8a9d0f8 Compare August 12, 2025 18:33
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.

1 participant