Skip to content
Snippets Groups Projects
  • 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 
    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 
synapse_port_db 32.81 KiB