summary refs log tree commit diff
path: root/synapse/storage/events.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add replication streams for ex outliers and current state resetsMark Haines2016-03-301-1/+59
* Add a entry to current_state_resets table when the current state is resetMark Haines2016-03-301-0/+9
* Add a replication stream for state groupsMark Haines2016-03-301-1/+5
* Use a stream id generator to assign state group idsMark Haines2016-03-301-40/+50
* Merge pull request #665 from matrix-org/erikj/dont_cache_eventsErik Johnston2016-03-231-2/+2
|\
| * Don't cache events in get_current_state_for_keyErik Johnston2016-03-231-2/+2
* | Make StateHandler._state_cache only store event_ids.Erik Johnston2016-03-221-0/+25
|/
* Remove unused backfilled parameter from persist_eventMark Haines2016-03-211-18/+4
* Dedupe requested event list in _get_eventsErik Johnston2016-03-181-14/+12
* Fix relative imports so they work in both py3 and py27Mark Haines2016-03-081-1/+1
* Merge pull request #489 from matrix-org/markjh/replicationMark Haines2016-03-011-0/+45
|\
| * Add a /replication API for extracting the updates that happened onMark Haines2016-03-011-0/+45
* | Load the current id in the IdGenerator constructorMark Haines2016-03-011-3/+3
|/
* Remove unused param from get_max_tokenErik Johnston2016-02-181-1/+1
* Rename functionsErik Johnston2016-02-101-2/+2
* Atomically persit push actions when we persist the eventErik Johnston2016-02-091-10/+16
* Fix up logcontextsErik Johnston2016-02-081-14/+20
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-3/+3
* Cache tags and account dataErik Johnston2016-01-281-1/+1
* Invalidate caches properly. Remove unused argErik Johnston2016-01-281-3/+6
* PEP8Erik Johnston2016-01-271-1/+3
* Use the same path for incremental with gap or without gapErik Johnston2016-01-271-1/+0
* Add cache to room streamErik Johnston2016-01-271-0/+2
* Add a Homeserver.setup method.Erik Johnston2016-01-261-9/+5
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Log when we skip daily messagesDaniel Wagner-Hall2016-01-061-1/+10
* Track the time spent in the database per request.Mark Haines2015-12-071-1/+1
* Allow paginating search ordered by recentsErik Johnston2015-11-301-0/+77
* Implementation of state rollback in /syncRichard van der Hoff2015-11-131-2/+4
* Return world_readable and guest_can_join in /publicRoomsDaniel Wagner-Hall2015-11-101-0/+2
* Open up /events to anonymous users for room events onlyDaniel Wagner-Hall2015-11-051-0/+2
* Keep FTS indexes up to date. Only search through rooms currently joinedErik Johnston2015-10-121-0/+2
* Remove unused functions from synapse/storage/events.pyMark Haines2015-09-231-11/+0
* Add docstringDaniel Wagner-Hall2015-09-221-0/+6
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-221-1/+57
* Merge pull request #281 from matrix-org/erikj/update_extremetiesErik Johnston2015-09-151-0/+2
|\
| * When updating a stored event from outlier to non-outlier, remember to update ...Erik Johnston2015-09-151-0/+2
* | Fix indentMark Haines2015-08-241-1/+1
* | Remove syutil dependency in favour of smaller single-purpose librariesMark Haines2015-08-241-11/+12
|/
* Fix bug where we didn't correctly serialize the redacted_because key over fed...Erik Johnston2015-08-211-0/+2
* Change Cache to not use *args in its interfaceErik Johnston2015-08-071-10/+11
* Remove commented out codeErik Johnston2015-07-101-14/+0
* Add bulk insert events APIErik Johnston2015-06-251-166/+249
* 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 uj...Erik Johnston2015-05-291-10/+13
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-221-7/+18
|\
| * Add caches for things requested by the pushersMark Haines2015-05-211-7/+12
| * Add a cache for get_current_state with state_keyMark Haines2015-05-211-0/+6
* | Merge pull request #155 from matrix-org/erikj/perfErik Johnston2015-05-211-51/+337
|\ \
| * | 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 rejected events if we don't want rejected eventsErik Johnston2015-05-181-0/+3
| * | PEP8Erik Johnston2015-05-151-1/+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
| * | Make store.get_current_state fetch events asynclyErik Johnston2015-05-151-1/+0
| * | 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
* | | Merge pull request #152 from matrix-org/notifier_performanceMark Haines2015-05-181-0/+3
|\ \ \
| * | | 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-181-0/+132
| |/ / |/| |
* | | You need to call contextmanagerErik Johnston2015-05-121-0/+1
|/ /
* | Merge pull request #149 from matrix-org/erikj/backfillMark Haines2015-05-121-6/+9
|\ \
| * | Do state groups persistence /after/ checking if we have already persisted the...Erik Johnston2015-05-121-6/+9
| |/
* / SYN-377: Make sure that the StreamIdGenerator.get_next.__exit__ is called fro...Mark Haines2015-05-121-19/+19
|/
* Merge branch 'erikj/executemany' of github.com:matrix-org/synapse into erikj/...Erik Johnston2015-05-051-11/+21
|\
| * 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 passin...Mark Haines2015-05-051-27/+21
| | * 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 t...Erik Johnston2015-05-051-22/+0
|/ /
* / Add support for using executemanyErik Johnston2015-05-051-20/+26
|/
* Shuffle operations so that locking upsert happens last in the txn. This ensur...Erik Johnston2015-04-271-41/+41
* 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 + va...Erik Johnston2015-04-141-2/+2
* 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 us...Paul "LeoNerd" Evans2015-03-251-2/+2
* | Stream ordering and out of order insertions.Erik Johnston2015-04-091-2/+7
* | 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