summary refs log tree commit diff
path: root/synapse/storage/engines/_base.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Snapshot schema 72 (#13873)David Robertson2022-09-261-2/+21
| | | Including another batch of fixes to the schema dump script
* Require SQLite >= 3.27.0 (#13760)David Robertson2022-09-091-8/+0
|
* Tidy up and type-hint the database engine modules (#12734)David Robertson2022-05-171-10/+16
| | | Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
* Db txn set isolation level (#11799)Nick Barrett2022-01-251-1/+18
| | | Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
* Fix the inbound PDU metric (#10279)Erik Johnston2021-06-301-0/+6
| | | This broke in #10272
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Drop support for sqlite<3.22 as wellRichard van der Hoff2021-04-081-8/+0
|
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-4/+2
| | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
* Reduce serialization errors in MultiWriterIdGen (#8456)Erik Johnston2020-10-071-0/+17
| | | | | | We call `_update_stream_positions_table_txn` a lot, which is an UPSERT that can conflict in `REPEATABLE READ` isolation level. Instead of doing a transaction consisting of a single query we may as well run it outside of a transaction.
* Use SequenceGenerator for state group ID allocationRichard van der Hoff2020-07-161-6/+0
|
* Add some type annotations in `synapse.storage` (#6987)Richard van der Hoff2020-02-271-0/+87
| | | | | I cracked, and added some type definitions in synapse.storage.
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Check that postgres database has correct charset setErik Johnston2015-04-291-0/+18