Repository navigation
Stop reading from event_edges.is_state to prepare for dropping it. - #20069
Merged
Merged
Conversation
event_edges.is_state to prepare for dropping it. The column has been obsolete since Synapse 1.62.0.event_edges.is_state to prepare for dropping it.
reivilibre
marked this pull request as ready for review
August 6, 2026 11:50
erikjohnston
approved these changes
Aug 7, 2026
Contributor
Schema DiffPlease check that this looks as expected! common (sqlite)Unchanged common (postgres)Unchanged main (sqlite)Unchanged main (postgres)Unchanged state (sqlite)Unchanged state (postgres)Unchanged |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Gets one step further in the job started by matrix-org/synapse#12893
Part of: #20026
This pull request is commit-by-commit review friendly.
Bump SCHEMA_VERSION to 95
Force
event_edges_drop_invalid_rowsupdate into foregroundStop reading from
event_edges.is_stateManual testing strategy
Unfortunately it's quite difficult to actually trigger this.
You need to:
v1.62.0was releasedfull_schema, as it already has the background update appliedAs light validation, I purposefully inserted a SQL error into the query to check that it is caught by the above testing strategy.