Skip to content
Snippets Groups Projects
  1. Jan 31, 2023
    • Sean Quah's avatar
      Make sqlite database migrations transactional again, part two (#14926) · 6d14fdc2
      Sean Quah authored
      
      #14910 fixed the regression introduced by #13873 where sqlite database
      migrations would no longer run inside a transaction. However, it
      committed the transaction before Synapse updated its bookkeeping of
      which migrations have been run, which means that migrations may be run
      again after they have completed successfully.
      
      Leave the transaction open at the end of `executescript`, to restore the
      old, correct behaviour. Also make the PostgreSQL behaviour consistent
      with SQLite.
      
      Fixes #14909.
      
      Signed-off-by: default avatarSean Quah <seanq@matrix.org>
      Unverified
      6d14fdc2
  2. Dec 09, 2022
  3. Mar 16, 2022
  4. Mar 15, 2022
  5. Mar 09, 2022
  6. Apr 14, 2021
  7. Apr 08, 2021
  8. Apr 07, 2020
Loading