This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Use a sequence to generate AS transaction IDs, drop last_txn
AS state
#12209
Merged
richvdh
merged 14 commits into
matrix-org:develop
from
Fizzadar:use-sequence-for-appservice-transactions
Apr 1, 2022
Merged
Use a sequence to generate AS transaction IDs, drop last_txn
AS state
#12209
richvdh
merged 14 commits into
matrix-org:develop
from
Fizzadar:use-sequence-for-appservice-transactions
Apr 1, 2022
Commits on Mar 11, 2022
-
Use a sequence to generate AS transaction IDs, drop
last_txn
AS stateSwitching to a sequence means there's no need to track `last_txn` on the AS state table to generate new TXN IDs. This also means that there is no longer contention between the AS scheduler and AS handler on updates to the `application_services_state` table, which will prevent serialization errors during the complete AS txn transaction.
Configuration menu - View commit details
-
Copy full SHA for d272a69 - Browse repository at this point
Copy the full SHA d272a69View commit details
Commits on Mar 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cceb2b9 - Browse repository at this point
Copy the full SHA cceb2b9View commit details -
Restore writing AS state
last_txn
for this releaseWriting this column can be removed in a later release once the migration to the sequence has been completed.
Configuration menu - View commit details
-
Copy full SHA for 722f6ce - Browse repository at this point
Copy the full SHA 722f6ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81f5220 - Browse repository at this point
Copy the full SHA 81f5220View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d35ceb - Browse repository at this point
Copy the full SHA 6d35cebView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccc2e63 - Browse repository at this point
Copy the full SHA ccc2e63View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca0daba - Browse repository at this point
Copy the full SHA ca0dabaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca4a78a - Browse repository at this point
Copy the full SHA ca4a78aView commit details -
Remove AS txn sequence test as tested elsewhere
The sequence generators are already tested elsewhere with implementation specifics for each DB type, so no point duplicating that here.
Configuration menu - View commit details
-
Copy full SHA for c9c0b06 - Browse repository at this point
Copy the full SHA c9c0b06View commit details
Commits on Mar 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c919194 - Browse repository at this point
Copy the full SHA c919194View commit details -
Configuration menu - View commit details
-
Copy full SHA for d62adee - Browse repository at this point
Copy the full SHA d62adeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 175f4d3 - Browse repository at this point
Copy the full SHA 175f4d3View commit details
Commits on Apr 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5803f05 - Browse repository at this point
Copy the full SHA 5803f05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 226820b - Browse repository at this point
Copy the full SHA 226820bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.