Replace device_27_unique_idx bg update with a fg one (#7562)
The bg update never managed to complete, because it kept being interrupted by transactions which want to take a lock. Just doing it in the foreground isn't that bad, and is a good deal simpler.
Showing
- UPGRADE.rst 9 additions, 3 deletionsUPGRADE.rst
- changelog.d/7562.misc 1 addition, 0 deletionschangelog.d/7562.misc
- synapse/storage/data_stores/main/devices.py 5 additions, 29 deletionssynapse/storage/data_stores/main/devices.py
- synapse/storage/data_stores/main/schema/delta/58/04device_lists_outbound_last_success_unique_idx.sql 0 additions, 28 deletions...ta/58/04device_lists_outbound_last_success_unique_idx.sql
- synapse/storage/data_stores/main/schema/delta/58/06dlols_unique_idx.py 80 additions, 0 deletions...ge/data_stores/main/schema/delta/58/06dlols_unique_idx.py
- synapse/storage/database.py 0 additions, 1 deletionsynapse/storage/database.py
- synapse/storage/prepare_database.py 9 additions, 4 deletionssynapse/storage/prepare_database.py
Loading
Please register or sign in to comment