Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused functions from synapse/storage/events.py | Mark Haines | 2015-09-23 | 1 | -11/+0 |
| | |||||
* | Add docstring | Daniel Wagner-Hall | 2015-09-22 | 1 | -0/+6 |
| | |||||
* | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 1 | -1/+57 |
| | | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set. | ||||
* | Merge pull request #281 from matrix-org/erikj/update_extremeties | Erik Johnston | 2015-09-15 | 1 | -0/+2 |
|\ | | | | | When updating a stored event from outlier to non-outlier, remember to update the extremeties | ||||
| * | When updating a stored event from outlier to non-outlier, remember to update ↵ | Erik Johnston | 2015-09-15 | 1 | -0/+2 |
| | | | | | | | | the extremeties | ||||
* | | Fix indent | Mark Haines | 2015-08-24 | 1 | -1/+1 |
| | | |||||
* | | Remove syutil dependency in favour of smaller single-purpose libraries | Mark Haines | 2015-08-24 | 1 | -11/+12 |
|/ | |||||
* | Fix bug where we didn't correctly serialize the redacted_because key over ↵ | Erik Johnston | 2015-08-21 | 1 | -0/+2 |
| | | | | federation | ||||
* | Change Cache to not use *args in its interface | Erik Johnston | 2015-08-07 | 1 | -10/+11 |
| | |||||
* | Remove commented out code | Erik Johnston | 2015-07-10 | 1 | -14/+0 |
| | |||||
* | Add bulk insert events API | Erik Johnston | 2015-06-25 | 1 | -166/+249 |
| | |||||
* | Don't explode if we don't have the event | Erik Johnston | 2015-06-01 | 1 | -1/+3 |
| | |||||
* | Add config option to turn off freezing events. Use new encode_json api and ↵ | Erik Johnston | 2015-05-29 | 1 | -10/+13 |
| | | | | ujson.loads | ||||
* | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-05-22 | 1 | -7/+18 |
|\ | |||||
| * | Add caches for things requested by the pushers | Mark Haines | 2015-05-21 | 1 | -7/+12 |
| | | |||||
| * | Add a cache for get_current_state with state_key | Mark Haines | 2015-05-21 | 1 | -0/+6 |
| | | |||||
* | | Merge pull request #155 from matrix-org/erikj/perf | Erik Johnston | 2015-05-21 | 1 | -51/+337 |
|\ \ | | | | | | | Bulk and batch retrieval of events. | ||||
| * | | s/for events/for requests for events/ | Erik Johnston | 2015-05-21 | 1 | -1/+1 |
| | | | |||||
| * | | s/for events/for requests for events/ | Erik Johnston | 2015-05-21 | 1 | -1/+1 |
| | | | |||||
| * | | Add comments | Erik Johnston | 2015-05-21 | 1 | -3/+14 |
| | | | |||||
| * | | Split up _get_events into defer and txn versions | Erik Johnston | 2015-05-20 | 1 | -24/+35 |
| | | | |||||
| * | | Make not return a deferred _get_event_from_row_txn | Erik Johnston | 2015-05-20 | 1 | -20/+5 |
| | | | |||||
| * | | PEP8 | Erik Johnston | 2015-05-20 | 1 | -2/+2 |
| | | | |||||
| * | | Split out _get_event_from_row back into defer and _txn version | Erik Johnston | 2015-05-20 | 1 | -11/+57 |
| | | | |||||
| * | | Comments and shuffle of functions | Erik Johnston | 2015-05-18 | 1 | -38/+42 |
| | | | |||||
| * | | Remove rejected events if we don't want rejected events | Erik Johnston | 2015-05-18 | 1 | -0/+3 |
| | | | |||||
| * | | PEP8 | Erik Johnston | 2015-05-15 | 1 | -1/+1 |
| | | | |||||
| * | | Revert limiting of fetching, it didn't help perf. | Erik Johnston | 2015-05-15 | 1 | -9/+2 |
| | | | |||||
| * | | init j | Erik Johnston | 2015-05-15 | 1 | -0/+1 |
| | | | |||||
| * | | Don't completely drain the list | Erik Johnston | 2015-05-15 | 1 | -2/+9 |
| | | | |||||
| * | | Make store.get_current_state fetch events asyncly | Erik Johnston | 2015-05-15 | 1 | -1/+0 |
| | | | |||||
| * | | Remove more debug logging | Erik Johnston | 2015-05-15 | 1 | -2/+0 |
| | | | |||||
| * | | Remove debug logging | Erik Johnston | 2015-05-15 | 1 | -11/+3 |
| | | | |||||
| * | | preserve log context | Erik Johnston | 2015-05-15 | 1 | -1/+2 |
| | | | |||||
| * | | Add a wait | Erik Johnston | 2015-05-15 | 1 | -2/+11 |
| | | | |||||
| * | | Srsly. Don't use closures. Baaaaaad | Erik Johnston | 2015-05-15 | 1 | -10/+8 |
| | | | |||||
| * | | Correctly pass through params | Erik Johnston | 2015-05-15 | 1 | -3/+3 |
| | | | |||||
| * | | Sort out error handling | Erik Johnston | 2015-05-15 | 1 | -25/+22 |
| | | | |||||
| * | | Fix daedlock | Erik Johnston | 2015-05-15 | 1 | -52/+73 |
| | | | |||||
| * | | Remove race condition | Erik Johnston | 2015-05-14 | 1 | -35/+46 |
| | | | |||||
| * | | Call from right thread | Erik Johnston | 2015-05-14 | 1 | -1/+3 |
| | | | |||||
| * | | Count and loop | Erik Johnston | 2015-05-14 | 1 | -36/+34 |
| | | | |||||
| * | | Don't start up more fetch_events | Erik Johnston | 2015-05-14 | 1 | -0/+1 |
| | | | |||||
| * | | Awful idea for speeding up fetching of events | Erik Johnston | 2015-05-14 | 1 | -36/+131 |
| | | | |||||
| * | | Turn off preemptive transactions | Erik Johnston | 2015-05-14 | 1 | -17/+7 |
| | | | |||||
| * | | PEP8 | Erik Johnston | 2015-05-14 | 1 | -2/+1 |
| | | | |||||
| * | | Move from _base to events | Erik Johnston | 2015-05-14 | 1 | -0/+246 |
| | | | |||||
* | | | Merge pull request #152 from matrix-org/notifier_performance | Mark Haines | 2015-05-18 | 1 | -0/+3 |
|\ \ \ | | | | | | | | | Notifier performance | ||||
| * | | | Merge branch 'notifier_unify' into notifier_performance | Mark Haines | 2015-05-14 | 1 | -0/+1 |
| |\| | | |||||
| * | | | Don't bother checking for updates if the stream token hasn't advanced for a user | Mark Haines | 2015-05-13 | 1 | -0/+3 |
| | | | | |||||
* | | | | Move get_events functions to storage.events | Erik Johnston | 2015-05-18 | 1 | -0/+132 |
| |/ / |/| | | |||||
* | | | You need to call contextmanager | Erik Johnston | 2015-05-12 | 1 | -0/+1 |
|/ / | |||||
* | | Merge pull request #149 from matrix-org/erikj/backfill | Mark Haines | 2015-05-12 | 1 | -6/+9 |
|\ \ | | | | | | | Backfill support | ||||
| * | | Do state groups persistence /after/ checking if we have already persisted ↵ | Erik Johnston | 2015-05-12 | 1 | -6/+9 |
| |/ | | | | | | | the event | ||||
* / | SYN-377: Make sure that the StreamIdGenerator.get_next.__exit__ is called ↵ | Mark Haines | 2015-05-12 | 1 | -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 Johnston | 2015-05-05 | 1 | -11/+21 |
|\ | | | | | | | erikj/SYN-371 | ||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/executemany | Erik Johnston | 2015-05-05 | 1 | -11/+21 |
| |\ | |||||
| | * | Collect the invalidate callbacks on the transaction object rather than ↵ | Mark Haines | 2015-05-05 | 1 | -27/+21 |
| | | | | | | | | | | | | passing around a separate list | ||||
| | * | Invalidate the room_member cache if the current state events updates | Mark Haines | 2015-05-05 | 1 | -0/+5 |
| | | | |||||
| | * | Missing return for when the event was already persisted | Mark Haines | 2015-05-05 | 1 | -1/+1 |
| | | | |||||
| | * | Invalidate the caches from the correct thread | Mark Haines | 2015-05-05 | 1 | -13/+26 |
| | | | |||||
* | | | Don't insert without deduplication. In this case we never actually use this ↵ | Erik Johnston | 2015-05-05 | 1 | -22/+0 |
|/ / | | | | | | | table, so simply remove the insert entirely | ||||
* / | Add support for using executemany | Erik Johnston | 2015-05-05 | 1 | -20/+26 |
|/ | |||||
* | Shuffle operations so that locking upsert happens last in the txn. This ↵ | Erik Johnston | 2015-04-27 | 1 | -41/+41 |
| | | | | ensures the lock is held for the least amount of time possible. | ||||
* | Go back to storing JSON in TEXT | Erik Johnston | 2015-04-16 | 1 | -8/+8 |
| | |||||
* | Use True for True rather than 1 | Erik Johnston | 2015-04-15 | 1 | -5/+7 |
| | |||||
* | Add support for postgres instead of mysql. Change sql accourdingly. blob + ↵ | Erik Johnston | 2015-04-14 | 1 | -2/+2 |
| | | | | varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS. | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-09 | 1 | -2/+2 |
|\ | |||||
| * | Indirect invalidations of _get_event_cache via a helper method to keep all ↵ | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -2/+2 |
| | | | | | | | | uses of the cache lexically within one .py file | ||||
* | | Stream ordering and out of order insertions. | Erik Johnston | 2015-04-09 | 1 | -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 deadlocks | Erik Johnston | 2015-04-07 | 1 | -7/+7 |
| | | |||||
* | | Don't use AUTOINCREMENT, use an in memory version | Erik Johnston | 2015-04-07 | 1 | -6/+7 |
| | | |||||
* | | Fix unicode database support | Erik Johnston | 2015-03-25 | 1 | -3/+5 |
| | | |||||
* | | Don't reinsert into event_edges | Erik Johnston | 2015-03-24 | 1 | -8/+8 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-03-20 | 1 | -1/+1 |
|\| | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into store_rearrangement | Erik Johnston | 2015-03-20 | 1 | -0/+1 |
| | | |||||
| * | Rearrange storage modules | Erik Johnston | 2015-03-20 | 1 | -0/+394 |
| | |||||
* | Rearrange storage modules | Erik Johnston | 2015-03-20 | 1 | -0/+387 |