Skip to content
Snippets Groups Projects
  1. Nov 13, 2020
    • Erik Johnston's avatar
      Fix port script so that it can be run again after failure. (#8755) · 1b15a3d9
      Erik Johnston authored
      If the script fails (or is CTRL-C'ed) between porting some of the events table and copying of the sequences then the port script will immediately die if run again due to the postgres DB having inconsistencies between sequences and tables.
      
      The fix is to move the porting of sequences to before porting the tables, so that there is never a period where the Postgres DB is inconsistent. To do that we need to change how we port the sequences so that it calculates the values from the SQLite DB rather than the Postgres DB.
      
      Fixes #8619 
      1b15a3d9
  2. Nov 11, 2020
  3. Nov 02, 2020
  4. Oct 20, 2020
  5. Oct 06, 2020
  6. Oct 02, 2020
    • Erik Johnston's avatar
      Add logging on startup/shutdown (#8448) · e3debf96
      Erik Johnston authored
      This is so we can tell what is going on when things are taking a while to start up.
      
      The main change here is to ensure that transactions that are created during startup get correctly logged like normal transactions.
      e3debf96
  7. Sep 28, 2020
  8. Sep 24, 2020
  9. Sep 17, 2020
  10. Aug 06, 2020
  11. Aug 05, 2020
  12. Jul 29, 2020
  13. Jul 16, 2020
  14. Jun 23, 2020
  15. Jun 22, 2020
  16. Jun 17, 2020
  17. Jun 16, 2020
  18. May 22, 2020
  19. May 07, 2020
  20. Jan 22, 2020
  21. Jan 21, 2020
    • Brendan Abolivier's avatar
      Port synapse_port_db to async/await (#6718) · 07124d02
      Brendan Abolivier authored
      * Raise an exception if there are pending background updates
      
      So we return with a non-0 code
      
      * Changelog
      
      * Port synapse_port_db to async/await
      
      * Port update_database to async/await
      
      * Add version string to mocked homeservers
      
      * Remove unused imports
      
      * Convert overseen bits to async/await
      
      * Fixup logging contexts
      
      * Fix imports
      
      * Add a way to print an error without raising an exception
      
      * Incorporate review
      07124d02
  22. Jan 15, 2020
    • Erik Johnston's avatar
      Add `local_current_membership` table (#6655) · 28c98e51
      Erik Johnston authored
      Currently we rely on `current_state_events` to figure out what rooms a
      user was in and their last membership event in there. However, if the
      server leaves the room then the table may be cleaned up and that
      information is lost. So lets add a table that separately holds that
      information.
      28c98e51
  23. Jan 09, 2020
  24. Jan 07, 2020
  25. Jan 03, 2020
  26. Dec 20, 2019
  27. Dec 19, 2019
  28. Dec 18, 2019
  29. Dec 06, 2019
  30. Dec 05, 2019
  31. Dec 04, 2019
  32. Dec 02, 2019
  33. Oct 31, 2019
Loading