Skip to content
Snippets Groups Projects
Forked from Maunium / synapse
Source project has a limited visibility.
  • Brendan Abolivier's avatar
    c97ed64d
    Make synapse_port_db correctly create indexes (#6102) · c97ed64d
    Brendan Abolivier authored
    Make `synapse_port_db` correctly create indexes in the PostgreSQL database, by having it run the background updates on the database before migrating the data.
    
    To ensure we're migrating the right data, also block the port if the SQLite3 database still has pending or ongoing background updates.
    
    Fixes #4877 
    c97ed64d
    History
    Make synapse_port_db correctly create indexes (#6102)
    Brendan Abolivier authored
    Make `synapse_port_db` correctly create indexes in the PostgreSQL database, by having it run the background updates on the database before migrating the data.
    
    To ensure we're migrating the right data, also block the port if the SQLite3 database still has pending or ongoing background updates.
    
    Fixes #4877