summary refs log tree commit diff
path: root/synapse/storage/events.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove more debug loggingErik Johnston2015-05-151-2/+0
|
* Remove debug loggingErik Johnston2015-05-151-11/+3
|
* preserve log contextErik Johnston2015-05-151-1/+2
|
* Add a waitErik Johnston2015-05-151-2/+11
|
* Srsly. Don't use closures. BaaaaaadErik Johnston2015-05-151-10/+8
|
* Correctly pass through paramsErik Johnston2015-05-151-3/+3
|
* Sort out error handlingErik Johnston2015-05-151-25/+22
|
* Fix daedlockErik Johnston2015-05-151-52/+73
|
* Remove race conditionErik Johnston2015-05-141-35/+46
|
* Call from right threadErik Johnston2015-05-141-1/+3
|
* Count and loopErik Johnston2015-05-141-36/+34
|
* Don't start up more fetch_eventsErik Johnston2015-05-141-0/+1
|
* Awful idea for speeding up fetching of eventsErik Johnston2015-05-141-36/+131
|
* Turn off preemptive transactionsErik Johnston2015-05-141-17/+7
|
* PEP8Erik Johnston2015-05-141-2/+1
|
* Move from _base to eventsErik Johnston2015-05-141-0/+246
|
* You need to call contextmanagerErik Johnston2015-05-121-0/+1
|
* Merge pull request #149 from matrix-org/erikj/backfillMark Haines2015-05-121-6/+9
|\ | | | | Backfill support
| * Do state groups persistence /after/ checking if we have already persisted ↵Erik Johnston2015-05-121-6/+9
| | | | | | | | the event
* | SYN-377: Make sure that the StreamIdGenerator.get_next.__exit__ is called ↵Mark Haines2015-05-121-19/+19
|/ | | | from the main thread after the transaction completes, not from database thread before the transaction completes.
* Merge branch 'erikj/executemany' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-051-11/+21
|\ | | | | | | erikj/SYN-371
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/executemanyErik Johnston2015-05-051-11/+21
| |\
| | * Collect the invalidate callbacks on the transaction object rather than ↵Mark Haines2015-05-051-27/+21
| | | | | | | | | | | | passing around a separate list
| | * Invalidate the room_member cache if the current state events updatesMark Haines2015-05-051-0/+5
| | |
| | * Missing return for when the event was already persistedMark Haines2015-05-051-1/+1
| | |
| | * Invalidate the caches from the correct threadMark Haines2015-05-051-13/+26
| | |
* | | Don't insert without deduplication. In this case we never actually use this ↵Erik Johnston2015-05-051-22/+0
|/ / | | | | | | table, so simply remove the insert entirely
* / Add support for using executemanyErik Johnston2015-05-051-20/+26
|/
* Shuffle operations so that locking upsert happens last in the txn. This ↵Erik Johnston2015-04-271-41/+41
| | | | ensures the lock is held for the least amount of time possible.
* Go back to storing JSON in TEXTErik Johnston2015-04-161-8/+8
|
* Use True for True rather than 1Erik Johnston2015-04-151-5/+7
|
* Add support for postgres instead of mysql. Change sql accourdingly. blob + ↵Erik Johnston2015-04-141-2/+2
| | | | varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS.
* Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-04-091-2/+2
|\
| * Indirect invalidations of _get_event_cache via a helper method to keep all ↵Paul "LeoNerd" Evans2015-03-251-2/+2
| | | | | | | | uses of the cache lexically within one .py file
* | Stream ordering and out of order insertions.Erik Johnston2015-04-091-2/+7
| | | | | | | | | | | | | | Handle the fact that events can be persisted out of order, and so to get the "current max" stream token becomes non trivial - as we need to make sure that *all* stream tokens less than the current max have also successfully been persisted.
* | Don't use multiple UNIQUE constraints; it will cause deadlocksErik Johnston2015-04-071-7/+7
| |
* | Don't use AUTOINCREMENT, use an in memory versionErik Johnston2015-04-071-6/+7
| |
* | Fix unicode database supportErik Johnston2015-03-251-3/+5
| |
* | Don't reinsert into event_edgesErik Johnston2015-03-241-8/+8
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-03-201-1/+1
|\|
| * Merge branch 'develop' of github.com:matrix-org/synapse into store_rearrangementErik Johnston2015-03-201-0/+1
| |
| * Rearrange storage modulesErik Johnston2015-03-201-0/+394
|
* Rearrange storage modulesErik Johnston2015-03-201-0/+387