Skip to content
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

EES-5678: RebuildIndexes procedure calls update statistics regardless of timeout #5529

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

tomjonesdev
Copy link
Collaborator

This PR adds a migration which updates the behaviour of the RebuildIndexes procedure on the statistics database. The changes consist of:

  1. extracting the logic which updates statistics into a separate procedure. This streamlines the main procedure, and avoids duplicate code for when the timeout condition isn't triggered
  2. dropping the RebuildIndexesUpdateStatistics table, as this was no longer deemed useful
  3. removing messaging when a re-index action is skipped, as this was deemed too verbose
  4. ensuring that the RebuildIndexes procedure updates the statistics regardless of timeout.

@tomjonesdev tomjonesdev force-pushed the EES-5678 branch 4 times, most recently from 725702c to fb3c485 Compare January 17, 2025 16:02
@tomjonesdev tomjonesdev added the do not merge Don't merge just yet label Jan 20, 2025
…op RebuildIndexesUpdateStatistics table, remove skipped re-index messaging, RebuildIndexes procedure calls update statistics regardless of timeout.
@tomjonesdev tomjonesdev removed the do not merge Don't merge just yet label Jan 20, 2025
@tomjonesdev tomjonesdev merged commit faf253d into dev Jan 20, 2025
10 checks passed
@tomjonesdev tomjonesdev deleted the EES-5678 branch January 20, 2025 15:31
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