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

Cache submissions while migrations are running #2195

Merged

Conversation

williamjallen
Copy link
Collaborator

Some database migrations take several hours to complete for large systems. To prevent unnecessary gaps in submission data during migration periods, this PR expands our existing functionality for accepting submissions while the database is offline to also cache submissions while maintenance mode is enabled.

For users of Docker-based systems, maintenance mode is automatically enabled when the container starts, and is disabled when the setup/update process is complete. Administrators of bare-metal CDash systems should enable maintenance mode with the command php artisan down when upgrading, followed by php artisan up when maintenance is complete.

@williamjallen williamjallen added this to the v3.5 milestone May 3, 2024
@williamjallen williamjallen force-pushed the submissions-while-migrating branch 2 times, most recently from 22b109c to 421fa39 Compare May 6, 2024 12:31
@williamjallen williamjallen marked this pull request as draft May 6, 2024 12:39
@williamjallen williamjallen force-pushed the submissions-while-migrating branch 5 times, most recently from 94151b9 to 271c9ae Compare May 22, 2024 13:57
@williamjallen williamjallen marked this pull request as ready for review May 22, 2024 14:58
@williamjallen williamjallen added this pull request to the merge queue May 22, 2024
Merged via the queue into Kitware:master with commit a51ed51 May 22, 2024
6 checks passed
@williamjallen williamjallen deleted the submissions-while-migrating branch May 22, 2024 17:25
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.

None yet

2 participants