summary refs log tree commit diff
path: root/synapse/storage/state.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-221-1/+24
|\
| * Add a cache for get_current_state with state_keyMark Haines2015-05-211-1/+24
| |
* | Don't fetch prev_content for current_stateErik Johnston2015-05-151-1/+1
| |
* | Make store.get_current_state fetch events asynclyErik Johnston2015-05-151-3/+4
| |
* | Move fetching of events into their own transactionsErik Johnston2015-05-141-2/+0
| |
* | Refactor _get_eventsErik Johnston2015-05-141-1/+1
| |
* | Fetch events from events_id in their own transactionsErik Johnston2015-05-131-5/+5
| |
* | Fetch events in bulkErik Johnston2015-05-131-21/+1
| |
* | Don't fetch redaction and rejection stuff for each event, so we can use ↵Erik Johnston2015-05-131-2/+5
| | | | | | | | index only scan
* | Temp turn off checking for rejections and redactionsErik Johnston2015-05-131-5/+2
| |
* | defer.gatherResults loopErik Johnston2015-05-131-1/+7
| |
* | Batch fetching of events for state groupsErik Johnston2015-05-131-1/+24
| |
* | Load events for state group seperatelyErik Johnston2015-05-131-3/+9
|/
* Add support for using executemanyErik Johnston2015-05-051-7/+9
|
* Remove pointless joinErik Johnston2015-04-301-5/+4
|
* Need more yieldErik Johnston2015-04-301-1/+1
|
* Add missing paramErik Johnston2015-04-301-1/+1
|
* Fix up get_current_state and get_room_name_and_aliases queries to parse ↵Erik Johnston2015-04-301-16/+19
| | | | events in transaction
* Don't use sub queries, it makes postgres sadErik Johnston2015-04-301-11/+5
|
* Don't needlessly join on state_eventsErik Johnston2015-04-301-3/+2
|
* For backwards compat, make state_groups.id have a type of int, not varcharErik Johnston2015-04-131-1/+1
|
* PEP8Erik Johnston2015-04-071-1/+0
|
* Don't use AUTOINCREMENT, use an in memory versionErik Johnston2015-04-071-3/+3
|
* Remove uses of REPLACE and ON CONFLICT IGNORE to make the SQL more portable.Erik Johnston2015-03-231-1/+0
|
* Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-03-201-0/+1
|\
| * Rearrange storage modulesErik Johnston2015-03-201-0/+32
| |
* | Rearrange storage modulesErik Johnston2015-03-201-0/+32
| |
* | Convert storage layer to be mysql compatibleErik Johnston2015-03-191-2/+8
|/
* Copy dict of context.current_state before changing it.Erik Johnston2015-03-161-1/+1
|
* Remove unused functionsMark Haines2015-01-131-6/+0
|
* Merge pull request #28 from matrix-org/erikj-perfMark Haines2015-01-061-8/+6
|\ | | | | Database performance improvements.
| * Remove debug linesErik Johnston2015-01-061-7/+0
| |
| * Add some debug loggingErik Johnston2015-01-061-0/+12
| |
| * Test some ideas that might help performance a bitErik Johnston2014-12-171-8/+1
| |
* | Update copyright noticesMark Haines2015-01-061-1/+1
|/
* Various typos and bug fixes.Erik Johnston2014-12-081-3/+3
|
* Start making more things use EventContext rather than event.*Erik Johnston2014-12-051-4/+9
|
* Correctly handle the case where we get an event for an unknown room, which ↵Erik Johnston2014-11-261-1/+1
| | | | turns out we are actually in
* Document StateStore and use transactionsErik Johnston2014-11-121-28/+56
|
* Fix bugs with invites/joins across federatiom.Erik Johnston2014-11-121-3/+6
| | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc.
* Fix bug where we /always/ created a new state groupErik Johnston2014-11-111-7/+2
|
* Add transaction level logging and timing information. Add a _simple_delete ↵Erik Johnston2014-10-281-0/+1
| | | | method
* Use state groups to get current state. Make join dance actually work.Erik Johnston2014-10-171-0/+3
|
* Begin making auth use event.old_state_eventsErik Johnston2014-10-151-1/+1
|
* Add missing package storate.stateErik Johnston2014-10-151-0/+97