summary refs log tree commit diff
path: root/synapse/storage/engines/sqlite3.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use native UPSERTs where possible (#4306)Amber Brown2019-01-241-87/+0
|
* run isortAmber Brown2018-07-091-2/+2
|
* Store state groups separately from events (#2784)Erik Johnston2018-02-061-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Split state group persist into seperate storage func * Add per database engine code for state group id gen * Move store_state_group to StateReadStore This allows other workers to use it, and so resolve state. * Hook up store_state_group * Fix tests * Rename _store_mult_state_groups_txn * Rename StateGroupReadStore * Remove redundant _have_persisted_state_group_txn * Update comments * Comment compute_event_context * Set start val for state_group_id_seq ... otherwise we try to recreate old state groups * Update comments * Don't store state for outliers * Update comment * Update docstring as state groups are ints
* Optionally make committing to postgres asynchronous.Mark Haines2016-06-201-1/+1
| | | | | Useful when running tests when you don't care whether the server will lose data that it claims that it has committed.
* Don't require config to create databaseErik Johnston2016-04-061-10/+3
|
* Mark AS users with their AS's IDDaniel Wagner-Hall2016-02-111-2/+3
|
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Implement rank function for SQLite FTSErik Johnston2015-10-231-0/+27
|
* rename schema_prepare to prepare_databaseErik Johnston2015-10-131-1/+1
|
* Expose error more nicelyErik Johnston2015-10-131-1/+1
|
* Split out the schema preparation and update logic into its own moduleErik Johnston2015-10-131-1/+3
|
* Remove race conditionErik Johnston2015-05-141-0/+2
|
* Don't call 'encode_parameter' no-opErik Johnston2015-05-051-3/+0
|
* Check that postgres database has correct charset setErik Johnston2015-04-291-0/+3
|
* Shuffle operations so that locking upsert happens last in the txn. This ↵Erik Johnston2015-04-271-0/+3
| | | | ensures the lock is held for the least amount of time possible.
* Handle the fact that postgres databases can be restarted from under usErik Johnston2015-04-271-0/+3
|
* PEP8Erik Johnston2015-04-161-2/+0
|
* Go back to storing JSON in TEXTErik Johnston2015-04-161-5/+0
|
* Handle the fact that in sqlite binary data might be stored as unicode or bytesErik Johnston2015-04-101-0/+7
|
* Retry on deadlockErik Johnston2015-04-071-0/+3
|
* Fix unicode supportErik Johnston2015-04-021-0/+9
|
* Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-0/+25