Skip to content

Make submission parsing atomic#3557

Merged
williamjallen merged 1 commit intoKitware:masterfrom
williamjallen:submission-transactions
Mar 30, 2026
Merged

Make submission parsing atomic#3557
williamjallen merged 1 commit intoKitware:masterfrom
williamjallen:submission-transactions

Conversation

@williamjallen
Copy link
Copy Markdown
Collaborator

This commit wraps the business logic of the submission processing system in a transaction. In addition to the obvious benefit of submissions now being saved atomically, the total number of transactions which must be committed is reduced, at the cost of transactions being open longer. In theory, this should result in better Postgres performance for IO-bound CDash instances.

@williamjallen
Copy link
Copy Markdown
Collaborator Author

Depends on #3556. I will rebase this once that PR is merged.

This commit wraps the business logic of the submission processing system in a transaction.  In addition to the obvious benefit of submissions now being saved atomically, the total number of transactions which must be committed is reduced, at the cost of transactions being open longer.  In theory, this should result in better Postgres performance for IO-bound CDash instances.
@williamjallen williamjallen force-pushed the submission-transactions branch from 5841fac to 28d8c54 Compare March 30, 2026 17:57
@williamjallen williamjallen enabled auto-merge March 30, 2026 17:57
@williamjallen williamjallen added this pull request to the merge queue Mar 30, 2026
Merged via the queue into Kitware:master with commit 1cc5451 Mar 30, 2026
7 checks passed
@williamjallen williamjallen deleted the submission-transactions branch March 30, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants