| Commit message (Expand) | Author | Age | Files | Lines |
... | |
| | * | Use FrozenEvent's reject_reason to decide whether to return it; don't include... | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -10/+14 |
| | * | Store the rejected reason in (Frozen)Event structs | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -2/+8 |
| | * | Indirect invalidations of _get_event_cache via a helper method to keep all us... | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -0/+3 |
* | | | Stream ordering and out of order insertions. | Erik Johnston | 2015-04-09 | 1 | -43/+3 |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-08 | 1 | -1/+2 |
|\| | |
|
| * | | Move database timer logging to seperate logger | Erik Johnston | 2015-04-08 | 1 | -1/+2 |
| |/ |
|
* | | Retry transaction, not SQL query | Erik Johnston | 2015-04-08 | 1 | -21/+25 |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-07 | 1 | -39/+61 |
|\| |
|
| * | Allow a choice of LRU behaviour for Cache() by using LruCache() or OrderedDict() | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -8/+12 |
| * | Pull out the cache logic from the @cached wrapper into its own class we can r... | Paul "LeoNerd" Evans | 2015-03-20 | 1 | -35/+54 |
| * | func(*EXPR) is valid Python syntax, really... | Paul "LeoNerd" Evans | 2015-03-20 | 1 | -2/+1 |
* | | Retry on deadlock | Erik Johnston | 2015-04-07 | 1 | -3/+13 |
* | | Don't use multiple UNIQUE constraints; it will cause deadlocks | Erik Johnston | 2015-04-07 | 1 | -2/+2 |
* | | Implement or_ignore flag on inserts | Erik Johnston | 2015-04-07 | 1 | -4/+9 |
* | | Don't use AUTOINCREMENT, use an in memory version | Erik Johnston | 2015-04-07 | 1 | -6/+48 |
* | | Fix unicode support | Erik Johnston | 2015-04-02 | 1 | -10/+12 |
* | | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -9/+21 |
* | | Fix unicode database support | Erik Johnston | 2015-03-25 | 1 | -0/+4 |
* | | Don't order by rowid | Erik Johnston | 2015-03-24 | 1 | -1/+1 |
* | | Remove uses of REPLACE and ON CONFLICT IGNORE to make the SQL more portable. | Erik Johnston | 2015-03-23 | 1 | -9/+4 |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-03-20 | 1 | -63/+110 |
|\| |
|
| * | PEP8 | 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 | -13/+27 |
| |\ |
|
| | * | Allow @cached-wrapped functions to have more or fewer than 1 argument; assert... | Paul "LeoNerd" Evans | 2015-03-20 | 1 | -13/+27 |
| * | | Give sensible names for '_simple_...' transactions | Erik Johnston | 2015-03-20 | 1 | -16/+21 |
| * | | Tidy up _simple_... methods | Erik Johnston | 2015-03-20 | 1 | -39/+60 |
| * | | Rearrange storage modules | Erik Johnston | 2015-03-20 | 1 | -0/+7 |
| |/ |
|
| * | Be polite and ensure we use @functools.wraps() when creating a function decor... | Paul "LeoNerd" Evans | 2015-03-17 | 1 | -0/+2 |
* | | Rearrange storage modules | Erik Johnston | 2015-03-20 | 1 | -0/+7 |
* | | Convert storage layer to be mysql compatible | Erik Johnston | 2015-03-19 | 1 | -13/+17 |
|/ |
|
* | Add a metric for the scheduling latency of SQL queries | Paul "LeoNerd" Evans | 2015-03-16 | 1 | -0/+5 |
* | Bugfix to sql_txn_timer increment - add only the per-TXN duration, not the to... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -7/+5 |
* | Rename the timer metrics exported by synapse.storage to append _time, so the ... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+3 |
* | Rename TimerMetric to DistributionMetric; as it could count more than just time | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -7/+7 |
* | Pretend the 'getEvent' cache is just another cache in the set of all the othe... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -6/+5 |
* | Use _ instead of . as a metric namespacing separator, for Prometheus | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -5/+13 |
* | Rename Metrics' "keys" to "labels" | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+3 |
* | Add TimerMetrics to shadow the PerformanceCounters in synapse.storage; with t... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+20 |
* | Collect per-SQL-verb timer stats on query execution time | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -5/+11 |
* | Delete a couple of TODO markers of monitoring stats now done | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -1/+0 |
* | Rename CacheCounterMetric to just CacheMetric; add a CallbackMetric component... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+3 |
* | Sprinkle some CacheCounterMetrics around the synapse.storage layer | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -1/+15 |
* | Also give _execute() a description | Paul "LeoNerd" Evans | 2015-03-11 | 1 | -4/+3 |
* | Add a description to storage layer's _execute_and_decode() | Paul "LeoNerd" Evans | 2015-03-11 | 1 | -1/+2 |
* | Modify _simple_select_list to allow an empty WHERE clause. Use it for get_all... | Kegan Dougal | 2015-03-02 | 1 | -7/+15 |
* | Use OrderedDict for @cached backing store, so we can evict the oldest key unb... | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -7/+4 |
* | Use cache.pop() instead of a separate membership test + del [] | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -2/+1 |
* | Fix code style warning | Mark Haines | 2015-02-23 | 1 | -1/+1 |
* | Pull the _get_event_cache.setdefault() call out of the try block, as it doesn... | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -1/+2 |
* | Allow @cached-wrapped functions to have a prefill method for setting entries | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -8/+15 |
* | Remove a TODO note | Paul "LeoNerd" Evans | 2015-02-19 | 1 | -1/+0 |
* | Take named arguments to @cached() decorator, add a 'max_entries' limit | Paul "LeoNerd" Evans | 2015-02-19 | 1 | -15/+24 |
* | Move @cached decorator out into synapse.storage._base; add minimal docs | Paul "LeoNerd" Evans | 2015-02-19 | 1 | -0/+35 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into use-simplejson | Erik Johnston | 2015-02-11 | 1 | -4/+20 |
|\ |
|
| * | Fix formatting | Mark Haines | 2015-02-11 | 1 | -2/+0 |
| * | Add a cache for get_event | Mark Haines | 2015-02-11 | 1 | -3/+21 |
* | | Blunty replace json with simplejson | Erik Johnston | 2015-02-11 | 1 | -1/+1 |
|/ |
|
* | Code-style fixes | Mark Haines | 2015-02-10 | 1 | -3/+3 |
* | Fix pyflakes | Mark Haines | 2015-02-10 | 1 | -3/+3 |
* | Add performance counters for different stages of loading events | Mark Haines | 2015-02-10 | 1 | -24/+60 |
* | Use the transaction 'desc' rather than 'name', increment the txn_ids in | Mark Haines | 2015-02-09 | 1 | -3/+3 |
* | Formatting | Mark Haines | 2015-02-09 | 1 | -1/+0 |
* | Performance counters for database transaction names | Mark Haines | 2015-02-09 | 1 | -1/+31 |
* | Fix typo | Erik Johnston | 2015-02-09 | 1 | -1/+1 |
* | Log database time every 10s and log as percentage | Erik Johnston | 2015-02-09 | 1 | -2/+2 |
* | Time how long we're spending on the database thread | Erik Johnston | 2015-02-09 | 1 | -0/+25 |
* | Be more specific in naming columns in selects. | Erik Johnston | 2015-01-30 | 1 | -1/+1 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into rejections_storage | Erik Johnston | 2015-01-30 | 1 | -2/+46 |
|\ |
|
| * | unnecessary newlines | David Baker | 2015-01-28 | 1 | -2/+0 |
| * | More magic commas (including the place I copied it from...) | David Baker | 2015-01-28 | 1 | -4/+4 |
| * | Google doc style | David Baker | 2015-01-28 | 1 | -4/+5 |
| * | Merge branch 'develop' into pushers | David Baker | 2015-01-13 | 1 | -17/+35 |
| |\ |
|
| * \ | Merge branch 'develop' into pushers | David Baker | 2014-12-18 | 1 | -103/+55 |
| |\ \ |
|
| * | | | after a few rethinks, a working implementation of pushers. | David Baker | 2014-12-18 | 1 | -0/+45 |
* | | | | Add support for storing rejected events in EventContext and data stores | Erik Johnston | 2015-01-22 | 1 | -8/+13 |
| |_|/
|/| | |
|
* | | | Use time.time() instead of time.clock() | Erik Johnston | 2015-01-06 | 1 | -4/+4 |
* | | | Don't include None's in _get_events_txn | Erik Johnston | 2015-01-06 | 1 | -1/+3 |
* | | | Merge pull request #28 from matrix-org/erikj-perf | Mark Haines | 2015-01-06 | 1 | -11/+25 |
|\ \ \ |
|
| * | | | PEP8 | Erik Johnston | 2015-01-06 | 1 | -2/+4 |
| * | | | Don't do batching when getting events. | Erik Johnston | 2015-01-06 | 1 | -35/+4 |
| * | | | Only fetch prev_content when a client is streaming/paginating. Use transactio... | Erik Johnston | 2015-01-06 | 1 | -9/+23 |
| * | | | Temporarily turn off 'redacted_because' and 'prev_content' keys | Erik Johnston | 2015-01-06 | 1 | -0/+2 |
| * | | | More debug logging | Erik Johnston | 2015-01-06 | 1 | -0/+4 |
| * | | | Reformat | Erik Johnston | 2015-01-06 | 1 | -13/+14 |
| * | | | Test some ideas that might help performance a bit | Erik Johnston | 2014-12-17 | 1 | -6/+28 |
* | | | | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
|/ / / |
|
* | / | Don't assume an event exists | Erik Johnston | 2014-12-16 | 1 | -2/+4 |
| |/
|/| |
|
* | | Persist internal_metadata | Erik Johnston | 2014-12-16 | 1 | -3/+4 |
* | | Fix bug where we ignored event_edge_hashes table | Erik Johnston | 2014-12-15 | 1 | -1/+0 |
* | | Pyflakes | Erik Johnston | 2014-12-12 | 1 | -1/+0 |
* | | Fix public room joining by making sure replaces_state never points to itself. | Erik Johnston | 2014-12-11 | 1 | -2/+4 |
* | | Fix prev_content | Erik Johnston | 2014-12-11 | 1 | -0/+6 |
* | | Fix redactions. Fix 'age' key | Erik Johnston | 2014-12-11 | 1 | -24/+36 |
* | | Remove dead code | Erik Johnston | 2014-12-10 | 1 | -25/+0 |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 1 | -1/+1 |
|\ \ |
|
| * | | track replication destination health, and perform exponential back-off when s... | Matthew Hodgson | 2014-12-07 | 1 | -1/+1 |
| |/ |
|
* | | Change the way we implement get_events to be less sucky | Erik Johnston | 2014-12-09 | 1 | -19/+15 |
* | | Remove unused import | Erik Johnston | 2014-12-08 | 1 | -1/+0 |
* | | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 1 | -5/+3 |
* | | Store full JSON of events in db | Erik Johnston | 2014-12-01 | 1 | -56/+21 |
|/ |
|
* | SYN-163: Add an order by rowid to selects. | Erik Johnston | 2014-11-24 | 1 | -5/+10 |
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -0/+1 |
* | Use module loggers rather than the root logger. Exceptions caused by bad clie... | Mark Haines | 2014-11-20 | 1 | -1/+1 |
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext b... | Mark Haines | 2014-11-20 | 1 | -1/+0 |
* | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 1 | -0/+8 |
* | Merge branch 'develop' into request_logging | Mark Haines | 2014-11-14 | 1 | -64/+191 |
|\ |
|
| * | Store all signatures on events rather than just dropping them | Erik Johnston | 2014-11-12 | 1 | -2/+5 |
| * | Add an EventValidator. Fix bugs in auth ++ storage | Erik Johnston | 2014-11-10 | 1 | -1/+1 |
| * | Fix regression where we did not return redacted events. | Erik Johnston | 2014-11-10 | 1 | -1/+2 |
| * | Fix backfill to work. Add auth to backfill request | Erik Johnston | 2014-11-10 | 1 | -0/+12 |
| * | Finish redaction algorithm. | Erik Johnston | 2014-11-10 | 1 | -1/+1 |
| * | Start implementing auth chains | Erik Johnston | 2014-11-07 | 1 | -0/+2 |
| * | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -17/+49 |
| * | Get correct prev_events | Erik Johnston | 2014-11-05 | 1 | -6/+5 |
| * | Remove unused imports | Erik Johnston | 2014-11-04 | 1 | -2/+0 |
| * | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 1 | -6/+27 |
| * | Begin implementing all the PDU storage stuff in Events land | Erik Johnston | 2014-10-28 | 1 | -20/+33 |
| * | Add transaction level logging and timing information. Add a _simple_delete me... | Erik Johnston | 2014-10-28 | 1 | -16/+58 |
| * | Clean up LoggingTransaction | Erik Johnston | 2014-10-28 | 1 | -10/+4 |
| * | Add timer to LoggingTransaction | Erik Johnston | 2014-10-28 | 1 | -3/+10 |
* | | Add a request-id to each log line | Mark Haines | 2014-10-30 | 1 | -4/+12 |
|/ |
|
* | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ... | Mark Haines | 2014-10-17 | 1 | -1/+2 |
* | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 1 | -1/+1 |
* | Respond with more helpful error messages for unsigned requests | Mark Haines | 2014-10-13 | 1 | -4/+7 |
* | Rename deletions to redactions | Erik Johnston | 2014-09-24 | 1 | -9/+9 |
* | Fix bug where we didn't correctly pull out the event_id of the deletion | Erik Johnston | 2014-09-24 | 1 | -2/+3 |
* | Rename 'pruned' to 'pruned_because' | Erik Johnston | 2014-09-23 | 1 | -1/+1 |
* | Add m.room.deletion. If an event is deleted it will be returned to clients 'p... | Erik Johnston | 2014-09-23 | 1 | -3/+27 |
* | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-15 | 1 | -0/+4 |
|\ |
|
| * | Correctly handle the 'age' key in events and pdus | Erik Johnston | 2014-09-15 | 1 | -0/+4 |
* | | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -0/+8 |
|\| |
|
| * | Make the state resolution use actual power levels rather than taking them fro... | Erik Johnston | 2014-09-12 | 1 | -0/+8 |
* | | Now don't need the other logger.debug() call in _execute | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -5/+0 |
* | | Logging of all SQL queries via the 'synapse.storage.SQL' logger | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -2/+43 |
* | | Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_pool | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -8/+12 |
|/ |
|
* | When getting a state event also include the previous content | Erik Johnston | 2014-09-06 | 1 | -0/+19 |
* | Add support to _simple_insert() to do INSERT OR REPLACE | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -4/+6 |
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has... | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 1 | -0/+5 |
|\ |
|
| * | Stop internal keys from getting into SynapseEvents | Erik Johnston | 2014-08-21 | 1 | -0/+5 |
* | | Move the event storage into a single transaction | Mark Haines | 2014-08-26 | 1 | -5/+7 |
|/ |
|
* | PEP8 cleanups | Erik Johnston | 2014-08-15 | 1 | -1/+2 |
* | Start chagning the events stream to work with the new DB schema | Erik Johnston | 2014-08-15 | 1 | -1/+1 |
* | Reimplement the get public rooms api to work with new DB schema | Erik Johnston | 2014-08-15 | 1 | -1/+1 |
* | Fix up typos and correct sql queries | Erik Johnston | 2014-08-14 | 1 | -4/+5 |
* | Start fixing places that use the data store. | Erik Johnston | 2014-08-14 | 1 | -1/+1 |
* | Rename _execute_query | Erik Johnston | 2014-08-14 | 1 | -1/+1 |
* | Fix up RoomMemberStore to work with the new schema. | Erik Johnston | 2014-08-14 | 1 | -1/+5 |
* | Actually encode dicts as json in the DB | Erik Johnston | 2014-08-14 | 1 | -1/+2 |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-14 | 1 | -0/+2 |
|\ |
|
| * | An initial hack at storing presence state-change mtimes in database and prese... | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -0/+1 |
| * | Set datastore's .hs field in SQLBaseStore rather than in the toplevel DataSto... | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -0/+1 |
* | | Initial stab at refactoring the SQL tables, including rejigging some of the s... | Erik Johnston | 2014-08-13 | 1 | -1/+16 |
|/ |
|
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+405 |