Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Database updates to populate rooms.room_version #6847

Merged
merged 2 commits into from
Feb 4, 2020

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Feb 4, 2020

We're going to need this so that we can figure out how to handle redactions when fetching events from the database.

@richvdh richvdh requested a review from a team February 4, 2020 16:42
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SQL looks good. I trust this is what we want to do.

Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
@richvdh
Copy link
Member Author

richvdh commented Feb 4, 2020

I trust this is what we want to do

I think I managed to persuade @erikjohnston that it is what we want to do.

@erikjohnston
Copy link
Member

yeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah

@erikjohnston
Copy link
Member

what's the worst that can happen

@richvdh richvdh merged commit d88e0ec into develop Feb 4, 2020
richvdh pushed a commit that referenced this pull request Mar 16, 2020
Fixes #7065 

This is basically the same as #6847 except it tries to populate events from `state_events` rather than `current_state_events`, since the latter might have been cleared from the state of some rooms too early, leaving them with a `NULL` room version.
phil-flex pushed a commit to phil-flex/synapse that referenced this pull request Apr 15, 2020
Fixes matrix-org#7065 

This is basically the same as matrix-org#6847 except it tries to populate events from `state_events` rather than `current_state_events`, since the latter might have been cleared from the state of some rooms too early, leaving them with a `NULL` room version.
@richvdh richvdh deleted the rav/populate_room_version branch December 1, 2020 12:34
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit 'd88e0ec08':
  Database updates to populate rooms.room_version (#6847)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants