summary refs log tree commit diff
path: root/synapse/storage (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-1113-344/+29
|
* CommentsErik Johnston2015-08-112-3/+13
|
* CommentErik Johnston2015-08-111-0/+2
|
* DocsErik Johnston2015-08-111-0/+9
|
* Fix application of ACLsErik Johnston2015-08-111-3/+3
|
* Fix state cacheErik Johnston2015-08-111-36/+49
|
* Clean up StateStoreErik Johnston2015-08-101-62/+11
|
* Remove unused functionErik Johnston2015-08-101-7/+0
|
* CommentsErik Johnston2015-08-101-0/+6
|
* Merge branch 'erikj/cache_varargs_interface' of ↵Erik Johnston2015-08-101-5/+5
|\ | | | | | | github.com:matrix-org/synapse into erikj/dictionary_cache
| * Rename keyargs to args in CacheDescriptorErik Johnston2015-08-101-5/+5
| |
* | Merge branch 'erikj/cache_varargs_interface' of ↵Erik Johnston2015-08-101-9/+9
|\| | | | | | | github.com:matrix-org/synapse into erikj/dictionary_cache
| * Rename keyargs to args in CacheErik Johnston2015-08-101-9/+9
| |
* | Do bounds checkErik Johnston2015-08-101-1/+4
| |
* | Line lengthErik Johnston2015-08-101-1/+2
| |
* | Merge branch 'erikj/cache_varargs_interface' of ↵Erik Johnston2015-08-071-1/+0
|\| | | | | | | github.com:matrix-org/synapse into erikj/dictionary_cache
| * Merge branch 'erikj/cache_deferreds' of github.com:matrix-org/synapse into ↵Erik Johnston2015-08-071-3/+3
| |\ | | | | | | | | | erikj/cache_varargs_interface
| * \ Merge branch 'erikj/cache_deferreds' of github.com:matrix-org/synapse into ↵Erik Johnston2015-08-071-3/+4
| |\ \ | | | | | | | | | | | | erikj/cache_varargs_interface
| * | | Remove unnecessary cacheErik Johnston2015-08-071-2/+1
| | | |
| * | | Change Cache to not use *args in its interfaceErik Johnston2015-08-0710-61/+63
| | | |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-08-072-3/+9
|\ \ \ \ | | | | | | | | | | | | | | | erikj/dictionary_cache
| * \ \ \ Merge pull request #212 from matrix-org/erikj/cache_deferredsErik Johnston2015-08-071-13/+33
| |\ \ \ \ | | | |_|/ | | |/| | Make CacheDescriptor cache deferreds rather than the deferreds' values
| | * | | s/observed/observer/Erik Johnston2015-08-071-3/+3
| | | |/ | | |/|
| | * | Propogate stale cache errors to calling functionsErik Johnston2015-08-071-3/+4
| | |/
| * | Don't complain about extra .pyc files we find while hunting for database schemasPaul "LeoNerd" Evans2015-08-071-0/+5
| | |
* | | Batch up various DB requests for event -> stateErik Johnston2015-08-071-77/+142
| | |
* | | Implement a CacheListDescriptorErik Johnston2015-08-071-0/+106
| | |
* | | Cache get_recent_events_for_roomErik Johnston2015-08-071-2/+2
| | |
* | | Remove unncessary cacheErik Johnston2015-08-071-1/+0
| | |
* | | Change Cache to not use *args in its interfaceErik Johnston2015-08-0710-81/+67
| | |
* | | Store absence of state in cacheErik Johnston2015-08-071-6/+16
| | |
* | | Merge branch 'erikj/cache_deferreds' into erikj/dictionary_cacheErik Johnston2015-08-061-3/+27
|\ \ \ | | |/ | |/|
| * | DocsErik Johnston2015-08-061-0/+3
| | |
| * | Remove failed deferreds from cacheErik Johnston2015-08-061-1/+7
| | |
| * | Re-implement DEBUG_CACHES flagErik Johnston2015-08-061-2/+17
| | |
* | | Merge branch 'erikj/cache_deferreds' into erikj/dictionary_cacheErik Johnston2015-08-061-13/+8
|\| |
| * | Merge branch 'erikj/cached_keyword_args' into erikj/cache_deferredsErik Johnston2015-08-062-5/+5
| |\|
| | * Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-08-062-5/+5
| | |\ | | | | | | | | | | | | erikj/cached_keyword_args
| * | | Make @cached cache deferreds rather than the deferreds' valuesErik Johnston2015-08-061-13/+8
| |/ /
* | | Merge branch 'erikj/cached_keyword_args' of github.com:matrix-org/synapse ↵Erik Johnston2015-08-056-23/+45
|\| | | | | | | | | | | into erikj/dictionary_cache
| * | Add support for using keyword arguments with cached functionsErik Johnston2015-07-276-23/+45
| | |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-08-052-5/+5
|\ \ \ | | |/ | |/| | | | erikj/dictionary_cache
| * | Up the cache size for 'get_joined_hosts_for_room' and 'get_users_in_room'Erik Johnston2015-08-051-2/+2
| | |
| * | Use LRU cache by defaultErik Johnston2015-08-051-3/+3
| |/
* | Use dictionary cache to do group -> state fetchingErik Johnston2015-08-053-80/+153
| |
* | Move DictionaryCacheErik Johnston2015-08-041-94/+0
| |
* | Add basic dictionary cacheErik Johnston2015-08-041-0/+94
| |
* | Add commentErik Johnston2015-08-041-0/+15
| |
* | Speed up event filtering (for ACL) logicErik Johnston2015-08-042-40/+87
|/
* Dodesn't seem to make any difference: guess it does work with the object ↵David Baker2015-07-211-1/+0
| | | | reference
* I think this was what was intended...David Baker2015-07-211-0/+1
|
* s/take/claim/ for end to end key APIsMark Haines2015-07-201-3/+3
|
* Up default cache size for _RoomStreamChangeCacheMatrix2015-07-181-1/+1
|
* Merge pull request #199 from matrix-org/erikj/receiptsErik Johnston2015-07-165-3/+396
|\ | | | | Implement read receipts.
| * DocsErik Johnston2015-07-141-3/+28
| |
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receiptsErik Johnston2015-07-135-21/+253
| |\
| * | CommentsErik Johnston2015-07-131-0/+11
| | |
| * | Handle error slightly betterErik Johnston2015-07-091-2/+2
| | |
| * | Change format of receipts to allow inclusion of dataErik Johnston2015-07-092-29/+26
| | |
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receiptsErik Johnston2015-07-081-2/+4
| |\ \
| * | | Add a cache to fetching of receipt streamsErik Johnston2015-07-081-3/+89
| | | |
| * | | Hook up receipts to v1 initialSyncErik Johnston2015-07-081-9/+20
| | | |
| * | | Wire together receipts and the notifer/federationErik Johnston2015-07-071-9/+60
| | | |
| * | | Fix various typosErik Johnston2015-07-072-6/+10
| | | |
| * | | Add stream_id indexErik Johnston2015-07-021-1/+5
| | | |
| * | | Add basic storage functions for handling of receiptsErik Johnston2015-07-014-17/+186
| | | |
| * | | Add tables for receiptsErik Johnston2015-06-302-1/+36
| | | |
* | | | Merge pull request #193 from matrix-org/erikj/bulk_persist_eventErik Johnston2015-07-146-270/+382
|\ \ \ \ | |_|_|/ |/| | | Add bulk insert events API
| * | | Remove commented out codeErik Johnston2015-07-101-14/+0
| | | |
| * | | Add bulk insert events APIErik Johnston2015-06-256-268/+394
| |/ /
* | | Merge pull request #196 from matrix-org/erikj/room_historyErik Johnston2015-07-101-2/+61
|\ \ \ | | | | | | | | Add ability to restrict room history.
| * | | Add basic impl for room history ACL on GET /messages client APIErik Johnston2015-07-021-2/+61
| |/ /
* | | Merge pull request #194 from matrix-org/erikj/bulk_verify_sigsErik Johnston2015-07-101-19/+31
|\ \ \ | | | | | | | | Implement bulk verify_signed_json API
| * | | Implement bulk verify_signed_json APIErik Johnston2015-06-261-19/+31
| |/ /
* | | Uniquely name unique constraintErik Johnston2015-07-101-2/+2
| | |
* | | Don't bother with a timeout for one time keys on the server.Mark Haines2015-07-092-15/+6
| | |
* | | Only remove one time keys when new one time keys are addedMark Haines2015-07-081-7/+7
| | |
* | | Add store for client end to end keysMark Haines2015-07-063-1/+171
| |/ |/|
* | Don't explode if we don't recognize one of the event_ids in the backfill requestErik Johnston2015-07-061-2/+4
|/
* Batch SELECTs in _get_auth_chain_ids_txnErik Johnston2015-06-231-3/+11
|
* Add a dummy.sql into delta/20 as pip isn't packinging the pushers.pyErik Johnston2015-06-131-0/+1
|
* Bump schema versionErik Johnston2015-06-111-1/+1
|
* pep8David Baker2015-06-041-1/+0
|
* Add script to (re)convert the pushers table to changing the unique key. Also ↵David Baker2015-06-043-2/+79
| | | | give the python db upgrade scripts the database engine so they can convert parameter strings, and add *args **kwargs to the upgrade function so we can add more args in future and previous scripts will ignore them.
* Add cache to get_state_groupsErik Johnston2015-06-031-8/+12
|
* Caches should be bound to instances.Erik Johnston2015-06-031-14/+31
| | | | | Before, caches were global and so different instances of the stores would share caches. This caused problems in the unit tests.
* Don't explode if we don't have the eventErik Johnston2015-06-011-1/+3
|
* Add config option to turn off freezing events. Use new encode_json api and ↵Erik Johnston2015-05-291-10/+13
| | | | ujson.loads
* Merge pull request #163 from matrix-org/markjh/presence_list_cacheMark Haines2015-05-221-8/+27
|\ | | | | Add a cache for the presence list
| * Add a cache for getting the presence list for a userMark Haines2015-05-221-8/+27
| |
* | Merge pull request #164 from matrix-org/markjh/pusher_performance_2Mark Haines2015-05-221-1/+17
|\ \ | | | | | | Add a cache for get_push rules for user, fix cache invalidation
| * | Add a cache for get_push rules for user, fix cache invalidationMark Haines2015-05-221-1/+17
| | |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-227-16/+67
|\ \ \ | | |/ | |/| | | | erikj/backfill_fixes
| * | Merge pull request #156 from matrix-org/erikj/join_perfMark Haines2015-05-221-2/+3
| |\ \ | | | | | | | | Make joining #matrix:matrix.org over federation quicker
| * | | Invalidate the get_latest_event_ids_in_room cache when deleting from ↵Mark Haines2015-05-221-0/+1
| | |/ | |/| | | | | | | event_forward_extremities
| * | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-226-16/+66
| |\ \
| | * | Don't try to use a txn when not in one, remove spurious debug loggingMark Haines2015-05-211-3/+1
| | | |
| | * | Add caches for things requested by the pushersMark Haines2015-05-215-15/+33
| | | |
| | * | Add a cache for get_current_state with state_keyMark Haines2015-05-213-1/+35
| | | |
* | | | Actually return something from lambdaErik Johnston2015-05-211-1/+1
| | | |
* | | | Sort backfill eventsErik Johnston2015-05-211-1/+5
| | | |
* | | | Remove dead codeErik Johnston2015-05-211-5/+0
| | | |
* | | | Only get non-stateErik Johnston2015-05-211-1/+2
| | | |
* | | | Skip events we've already seenErik Johnston2015-05-211-0/+3
| | | |
* | | | Correctly prepopulate queueErik Johnston2015-05-211-2/+10
| | | |
* | | | Don't prepopulate event_resultsErik Johnston2015-05-211-1/+1
| | | |
* | | | Don't readd things that are already in event_resultsErik Johnston2015-05-211-1/+2
| | | |
* | | | PriorityQueue gives lowest firstErik Johnston2015-05-211-2/+2
| | | |
* | | | Correctly capture Queue.Empty exceptionErik Johnston2015-05-211-2/+5
| | | |
* | | | Merge branch 'erikj/join_perf' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-2110-181/+544
|\ \ \ \ | | |_|/ | |/| | | | | | erikj/backfill_fixes
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-2110-181/+544
| |\| |
| | * | Merge pull request #155 from matrix-org/erikj/perfErik Johnston2015-05-2110-181/+544
| | |\ \ | | | | | | | | | | Bulk and batch retrieval of events.
| | | * | s/for events/for requests for events/Erik Johnston2015-05-211-1/+1
| | | | |
| | | * | s/for events/for requests for events/Erik Johnston2015-05-211-1/+1
| | | | |
| | | * | Add commentsErik Johnston2015-05-211-3/+14
| | | | |
| | | * | Split up _get_events into defer and txn versionsErik Johnston2015-05-201-24/+35
| | | | |
| | | * | Make not return a deferred _get_event_from_row_txnErik Johnston2015-05-201-20/+5
| | | | |
| | | * | PEP8Erik Johnston2015-05-201-2/+2
| | | | |
| | | * | Split out _get_event_from_row back into defer and _txn versionErik Johnston2015-05-201-11/+57
| | | | |
| | | * | Comments and shuffle of functionsErik Johnston2015-05-181-38/+42
| | | | |
| | | * | Remove unused metricErik Johnston2015-05-181-1/+0
| | | | |
| | | * | Remove rejected events if we don't want rejected eventsErik Johnston2015-05-181-0/+3
| | | | |
| | | * | Newline, remove debug loggingErik Johnston2015-05-182-2/+1
| | | | |
| | | * | PEP8Erik Johnston2015-05-152-2/+1
| | | | |
| | | * | Revert limiting of fetching, it didn't help perf.Erik Johnston2015-05-151-9/+2
| | | | |
| | | * | init jErik Johnston2015-05-151-0/+1
| | | | |
| | | * | Don't completely drain the listErik Johnston2015-05-151-2/+9
| | | | |
| | | * | Don't fetch prev_content for current_stateErik Johnston2015-05-151-1/+1
| | | | |
| | | * | Make store.get_current_state fetch events asynclyErik Johnston2015-05-152-4/+4
| | | | |
| | | * | 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-152-3/+12
| | | | |
| | | * | 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-153-68/+85
| | | | |
| | | * | Remove race conditionErik Johnston2015-05-144-96/+157
| | | | |
| | | * | Call from right threadErik Johnston2015-05-141-1/+3
| | | | |
| | | * | Count and loopErik Johnston2015-05-142-37/+35
| | | | |
| | | * | Don't start up more fetch_eventsErik Johnston2015-05-141-0/+1
| | | | |
| | | * | Awful idea for speeding up fetching of eventsErik Johnston2015-05-142-36/+135
| | | | |
| | | * | Turn off preemptive transactionsErik Johnston2015-05-141-17/+7
| | | | |
| | | * | PEP8Erik Johnston2015-05-141-2/+1
| | | | |
| | | * | Move from _base to eventsErik Johnston2015-05-142-232/+247
| | | | |
| | | * | Jump out earlyErik Johnston2015-05-141-0/+6
| | | | |
| | | * | Actually, we probably want to run this in a transactionErik Johnston2015-05-141-15/+12
| | | | |
| | | * | Preemptively jump into a transaction if we ask for get_prev_contentErik Johnston2015-05-141-12/+22
| | | | |
| | | * | loop -> gatherResultsErik Johnston2015-05-141-10/+14
| | | | |
| | | * | Err, we probably want a bigger limitErik Johnston2015-05-141-1/+1
| | | | |
| | | * | Move fetching of events into their own transactionsErik Johnston2015-05-144-53/+45
| | | | |
| | | * | Refactor _get_eventsErik Johnston2015-05-142-253/+95
| | | | |
| | | * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/perfErik Johnston2015-05-142-2/+13
| | | |\ \
| | | * | | Add index on eventsErik Johnston2015-05-132-1/+20
| | | | | |
| | | * | | Actually use async methodErik Johnston2015-05-131-3/+1
| | | | | |
| | | * | | Fetch events from events_id in their own transactionsErik Johnston2015-05-133-18/+168
| | | | | |
| | | * | | TypoErik Johnston2015-05-131-1/+1
| | | | | |
| | | * | | Don't insert NoneErik Johnston2015-05-131-1/+4
| | | | | |
| | | * | | Don't return NoneErik Johnston2015-05-131-1/+1
| | | | | |
| | | * | | Limit batch sizeErik Johnston2015-05-131-5/+10
| | | | | |
| | | * | | Fetch events in bulkErik Johnston2015-05-132-34/+63
| | | | | |
| | | * | | Don't fetch redaction and rejection stuff for each event, so we can use ↵Erik Johnston2015-05-132-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | 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-132-5/+11
| | | | | |
* | | | | | Fix _get_backfill_events to return events in the correct orderErik Johnston2015-05-201-27/+28
| | | | | |
* | | | | | Ensure event_results is a setErik Johnston2015-05-191-1/+1
|/ / / / /
* / / / / Fix event_backwards_extrem insertion to ignore outliersErik Johnston2015-05-191-2/+3
|/ / / /
* | | | Merge pull request #152 from matrix-org/notifier_performanceMark Haines2015-05-181-0/+3
|\ \ \ \ | | | | | | | | | | Notifier performance
| * \ \ \ Merge branch 'develop' into notifier_performanceMark Haines2015-05-182-2/+13
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | Merge branch 'notifier_unify' into notifier_performanceMark Haines2015-05-141-0/+1
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines2015-05-131-0/+3
| | | | |
* | | | | Move get_events functions to storage.eventsErik Johnston2015-05-182-155/+132
| |_|/ / |/| | |
* | | | Add ID generator for push_rules_enable to #resolve SYN-378David Baker2015-05-142-2/+13
| |/ / |/| |
* | | You need to call contextmanagerErik Johnston2015-05-121-0/+1
|/ /
* | Merge pull request #144 from matrix-org/erikj/logging_contextMark Haines2015-05-121-5/+6
|\ \ | | | | | | Preserving logging contexts
| * \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-126-82/+115
| |\ \ | | | | | | | | | | | | erikj/logging_context
| * | | Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-081-5/+6
| | | |
* | | | Merge pull request #149 from matrix-org/erikj/backfillMark Haines2015-05-123-116/+103
|\ \ \ \ | |_|/ / |/| | | Backfill support
| * | | Err, delete the right stuffErik Johnston2015-05-121-4/+5
| | | |
| * | | NewlinesErik Johnston2015-05-121-2/+0
| | | |
| * | | We do actually want to delete rows out of event_backward_extremitiesErik Johnston2015-05-121-4/+11
| | | |
| * | | Fix up _handle_prev_events to not try to insert duplicate rowsErik Johnston2015-05-121-23/+13
| | | |
| * | | Do state groups persistence /after/ checking if we have already persisted ↵Erik Johnston2015-05-121-6/+9
| | | | | | | | | | | | | | | | the event
| * | | Make get_current_token accept a direction parameter, which tells whether the ↵Erik Johnston2015-05-121-2/+18
| | | | | | | | | | | | | | | | source whether we want a token for going 'forwards' or 'backwards'
| * | | Initial hack at wiring together pagination and backfillErik Johnston2015-05-111-2/+26
| | | |
| * | | Move storage.stream._StreamToken to types.RoomStreamTokenErik Johnston2015-05-111-85/+33
| | |/ | |/|
* / | SYN-377: Make sure that the StreamIdGenerator.get_next.__exit__ is called ↵Mark Haines2015-05-122-23/+27
|/ / | | | | | | from the main thread after the transaction completes, not from database thread before the transaction completes.
* | Prefer to use _simple_*.Erik Johnston2015-05-111-44/+41
| |
* | push_rules table expects an 'id' fieldErik Johnston2015-05-112-13/+13
| |
* | Fix push rule bug: can't insert bool into small int columnErik Johnston2015-05-101-1/+1
| |
* | Drop the old table not the new tableMark Haines2015-05-081-1/+1
| |
* | Rename unique constraintMark Haines2015-05-081-1/+1
| |
* | Remove unsignedMark Haines2015-05-081-2/+2
| |
* | Bump schema versionMark Haines2015-05-081-1/+1
| |
* | Make the timestamps in server_keys_json bigintsMark Haines2015-05-081-0/+32
|/
* Merge branch 'erikj/executemany' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-055-25/+97
|\ | | | | | | erikj/SYN-371
| * And use buffer(...) there as wellErik Johnston2015-05-051-1/+2
| |
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/executemanyErik Johnston2015-05-055-24/+87
| |\
| | * Use buffer(...) when inserting into bytea columnErik Johnston2015-05-051-1/+2
| | |
| | * Merge pull request #139 from matrix-org/bugs/SYN-369Mark Haines2015-05-054-16/+80
| | |\ | | | | | | | | Fix race with cache invalidation. SYN-369
| | | * Add some doc-stringMark Haines2015-05-051-0/+4
| | | |
| | | * Collect the invalidate callbacks on the transaction object rather than ↵Mark Haines2015-05-057-51/+51
| | | | | | | | | | | | | | | | passing around a separate list
| | | * SYN-369: Add comments to the sequence number logic in the cacheMark Haines2015-05-051-0/+7
| | | |
| | | * Add debug flag in synapse/storage/_base.py for debugging the cache logic by ↵Mark Haines2015-05-051-1/+12
| | | | | | | | | | | | | | | | comparing what is in the cache with what was in the database on every access
| | | * 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-056-29/+46
| | | |
| | | * Sequence the modifications to the cache so that selects don't race with insertsMark Haines2015-05-051-3/+23
| | | |
| * | | Add a comment about the zip(*[zip(sorted(...),...)])Erik Johnston2015-05-051-0/+8
| | | |
* | | | 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
* | | Fix indentationErik Johnston2015-05-051-10/+10
| | |
* | | Add support for using executemanyErik Johnston2015-05-054-59/+97
|/ /
* / Don't call 'encode_parameter' no-opErik Johnston2015-05-053-10/+0
|/
* Correctly name transactionErik Johnston2015-05-051-1/+1
|
* Remove some unused indexesErik Johnston2015-05-011-0/+18
|
* user_id now in user_threepidsDavid Baker2015-05-011-3/+3
|
* Don't use self.execute: it's designed for fetching stuffDavid Baker2015-05-011-3/+8
|
* No id field on userDavid Baker2015-05-011-5/+1
|
* More missed get_user_by_id API changesDavid Baker2015-05-011-3/+3
|
* Cache latest_event_ids_in_roomErik Johnston2015-05-011-1/+4
|
* Don't lock user_ips table for upsert.Erik Johnston2015-05-012-4/+10
|
* Fix bug where we reconnected to the database on every query.Erik Johnston2015-05-012-1/+2
|
* Split a storage function in two so that we don't have to do extra work.Erik Johnston2015-05-011-0/+11
|
* Remove pointless joinErik Johnston2015-04-301-5/+4
|
* Fix broken SQLErik Johnston2015-04-301-1/+1
|
* Need more yieldErik Johnston2015-04-301-1/+1
|
* Add missing paramErik Johnston2015-04-301-1/+1
|
* More join conditionsErik Johnston2015-04-301-2/+6
|
* Add more conditions on JOINs to make postgres go a little faster.Erik Johnston2015-04-302-4/+6
|
* Fix up get_current_state and get_room_name_and_aliases queries to parse ↵Erik Johnston2015-04-302-32/+30
| | | | events in transaction
* Add get_rooms_for_user cacheErik Johnston2015-04-301-0/+2
|
* Don't use sub queries, it makes postgres sadErik Johnston2015-04-301-11/+5
|
* SYN-367: Use upsert rather than insert_or_replaceMark Haines2015-04-301-2/+6
|
* Don't needlessly join on state_eventsErik Johnston2015-04-302-6/+4
|
* Make simple query rather than long one and then throw away half the resultsErik Johnston2015-04-301-0/+10
|
* Correctly decode, for sqlite and postgres, rows from pushers tableErik Johnston2015-04-291-19/+24
|
* pushkey' are also bytes.Erik Johnston2015-04-291-8/+17
|
* TypoErik Johnston2015-04-291-1/+1
|
* Also remove yield from within lock in the other generatorErik Johnston2015-04-291-8/+6
|
* Fix deadlock in id_generators. No idea why this was an actual deadlock.Erik Johnston2015-04-291-14/+16
|
* Actually return rowsErik Johnston2015-04-291-0/+2
|
* Typo, args wrong way roundErik Johnston2015-04-291-4/+1
|
* Decode buffers in same threadErik Johnston2015-04-291-13/+19
|
* We store pusher data as bytesErik Johnston2015-04-291-2/+2
|
* Decode the data json in the storage layer (was moved but this part was missed)David Baker2015-04-291-0/+9
|
* Oops, update the contraint tooDavid Baker2015-04-291-1/+1
|
* Be more postgressiveDavid Baker2015-04-292-4/+4
|
* Be postgressiveDavid Baker2015-04-291-4/+3
|