| Commit message (Expand) | Author | Age | Files | Lines |
* | Documentation | Erik Johnston | 2019-02-19 | 1 | -4/+4 |
* | Batch cache invalidation over replication | Erik Johnston | 2019-02-18 | 1 | -1/+56 |
* | Fix 'no unique or exclusion constraint' error (#4591) | Richard van der Hoff | 2019-02-08 | 1 | -6/+21 |
* | Fix typo in upserts code (#4505) | Amber Brown | 2019-01-29 | 1 | -1/+1 |
* | Fix UPSERTs on SQLite 3.24+ (#4477) | Amber Brown | 2019-01-28 | 1 | -2/+8 |
* | Fix UPSERT check (#4459) | Amber Brown | 2019-01-24 | 1 | -5/+28 |
* | Use native UPSERTs where possible (#4306) | Amber Brown | 2019-01-24 | 1 | -11/+137 |
* | Fix adding new rows instead of updating them if one of the key values is a NU... | Amber Brown | 2019-01-09 | 1 | -1/+9 |
* | add more detail to logging regarding "More than one row matched" error (#4234) | Ben Parsons | 2018-12-04 | 1 | -6/+6 |
* | Fix UnicodeDecodeError when postgres is not configured in english (#4253) | Richard van der Hoff | 2018-12-04 | 1 | -7/+8 |
* | Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on... | Amber Brown | 2018-10-20 | 1 | -2/+2 |
* | Port storage/ to Python 3 (#3725) | Amber Brown | 2018-08-31 | 1 | -1/+31 |
* | initial cut at a room summary API (#3574) | Matthew Hodgson | 2018-08-16 | 1 | -4/+3 |
* | Fix another logcontext leak in _persist_events | Richard van der Hoff | 2018-07-25 | 1 | -0/+6 |
* | revert 00bc979 | Richard van der Hoff | 2018-07-19 | 1 | -4/+3 |
* | Disable logcontext warning | Richard van der Hoff | 2018-07-19 | 1 | -3/+4 |
* | Attempt to include db threads in cpu usage stats (#3496) | Richard van der Hoff | 2018-07-10 | 1 | -17/+15 |
* | run isort | Amber Brown | 2018-07-09 | 1 | -10/+9 |
* | update metrics to be in seconds | Amber Brown | 2018-05-28 | 1 | -15/+15 |
* | Merge remote-tracking branch 'origin/develop' into 3218-official-prom | Amber Brown | 2018-05-28 | 1 | -18/+29 |
|\ |
|
| * | Merge pull request #3278 from NotAFile/py3-storage-base | Amber Brown | 2018-05-24 | 1 | -17/+22 |
| |\ |
|
| | * | Py3 storage/_base.py | Adrian Tschira | 2018-05-24 | 1 | -17/+22 |
| * | | use stand-in value if maxint is not available | Adrian Tschira | 2018-05-19 | 1 | -1/+7 |
| |/ |
|
* / | rest of the changes | Amber Brown | 2018-05-21 | 1 | -10/+7 |
|/ |
|
* | Use psycopg2cffi module instead of psycopg2 if running on pypy | Vincent Breitmoser | 2018-04-10 | 1 | -1/+1 |
* | Fix bug with delayed cache invalidation stream | Erik Johnston | 2018-03-02 | 1 | -12/+14 |
* | Track DB scheduling delay per-request | Richard van der Hoff | 2018-01-16 | 1 | -1/+3 |
* | rework runInteraction in terms of runConnection | Richard van der Hoff | 2018-01-16 | 1 | -20/+31 |
* | Merge branch 'develop' into matthew/search-all-local-users | Matthew Hodgson | 2017-11-30 | 1 | -9/+14 |
|\ |
|
| * | Merge pull request #2697 from matrix-org/rav/fix_urlcache_index_error | Richard van der Hoff | 2017-11-27 | 1 | -9/+7 |
| |\ |
|
| | * | fix sql fails | Richard van der Hoff | 2017-11-22 | 1 | -1/+1 |
| | * | Check database in has_completed_background_updates | Richard van der Hoff | 2017-11-22 | 1 | -9/+7 |
| * | | Avoid retrying forever on IntegrityError | Richard van der Hoff | 2017-11-27 | 1 | -0/+7 |
| |/ |
|
* / | untested WIP but might actually work | Matthew Hodgson | 2017-11-29 | 1 | -1/+1 |
|/ |
|
* | Fix broken ref to IntegrityError | Richard van der Hoff | 2017-11-16 | 1 | -1/+1 |
* | _simple_upsert: retry on IntegrityError | Richard van der Hoff | 2017-11-16 | 1 | -6/+29 |
* | Cleanup in _simple_upsert_txn | Richard van der Hoff | 2017-11-16 | 1 | -16/+17 |
* | Revert "Revert "move _state_group_cache to statestore"" | Richard van der Hoff | 2017-11-14 | 1 | -6/+0 |
* | Make __init__ consitstent across Store heirarchy | Richard van der Hoff | 2017-11-13 | 1 | -1/+1 |
* | Revert "move _state_group_cache to statestore" | Erik Johnston | 2017-11-13 | 1 | -0/+6 |
* | move _state_group_cache to statestore | Richard van der Hoff | 2017-11-07 | 1 | -6/+0 |
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -1/+1 |
* | Add _simple_update | Erik Johnston | 2017-08-25 | 1 | -19/+32 |
* | Define CACHE_SIZE_FACTOR once | Erik Johnston | 2017-07-04 | 1 | -4/+1 |
* | Merge pull request #2259 from matrix-org/erikj/fix_state_woes | Erik Johnston | 2017-06-07 | 1 | -8/+21 |
|\ |
|
| * | Fix bug where state_group tables got corrupted | Erik Johnston | 2017-06-07 | 1 | -8/+21 |
* | | Split the table in two | Erik Johnston | 2017-06-01 | 1 | -0/+5 |
|/ |
|
* | Prefill state caches | Erik Johnston | 2017-05-15 | 1 | -4/+4 |
* | Revert "Prefill state caches" | Erik Johnston | 2017-05-04 | 1 | -4/+4 |
* | Prefill state caches | Erik Johnston | 2017-05-02 | 1 | -4/+4 |
* | Use iter(items|values) | Erik Johnston | 2017-03-24 | 1 | -6/+6 |
* | User Cursor.__iter__ instead of fetchall | Erik Johnston | 2017-03-23 | 1 | -5/+8 |
* | Implement _simple_delete_many_txn, use it to delete devices | Luke Barnard | 2017-03-13 | 1 | -0/+41 |
* | Remove spurious SQL logging (#1972) | Richard van der Hoff | 2017-03-08 | 1 | -8/+0 |
* | Intern table column names once | Erik Johnston | 2017-02-28 | 1 | -3/+2 |
* | Strip newlines from SQL queries | Erik Johnston | 2017-02-23 | 1 | -0/+6 |
* | admin,storage: added more administrator functionalities | Morteza Araby | 2017-02-02 | 1 | -0/+159 |
* | Add basic implementation of local device list changes | Erik Johnston | 2017-01-25 | 1 | -0/+6 |
* | Increase state_group_cache_size | Erik Johnston | 2017-01-17 | 1 | -1/+1 |
* | Limit number of entries to prefill from cache | Erik Johnston | 2017-01-10 | 1 | -2/+3 |
* | Fix tests | Erik Johnston | 2016-11-21 | 1 | -2/+2 |
* | Store federation stream positions in the database | Erik Johnston | 2016-11-21 | 1 | -4/+14 |
* | Refactor test_filter to use real DataStore | pik | 2016-10-18 | 1 | -1/+0 |
* | Remove lru option | Erik Johnston | 2016-08-19 | 1 | -1/+1 |
* | Do it in storage function | Erik Johnston | 2016-08-16 | 1 | -0/+3 |
* | Use cached get_user_by_access_token in slaves | Erik Johnston | 2016-08-16 | 1 | -0/+1 |
* | Doc get_next() context manager usage | Erik Johnston | 2016-08-15 | 1 | -0/+4 |
* | Rename table. Add docs. | Erik Johnston | 2016-08-15 | 1 | -2/+10 |
* | Implement cache replication stream | Erik Johnston | 2016-08-15 | 1 | -12/+35 |
* | Add some invalidations to a cache_stream | Erik Johnston | 2016-08-15 | 1 | -0/+18 |
* | Always run txn.after_callbacks | Erik Johnston | 2016-08-15 | 1 | -7/+8 |
* | More doc-comments | Richard van der Hoff | 2016-07-20 | 1 | -7/+12 |
* | Feature: Add deactivate account admin API | Erik Johnston | 2016-06-30 | 1 | -0/+5 |
* | Fix setting the _clock in SQLBaseStore | Mark Haines | 2016-06-02 | 1 | -0/+1 |
* | Make deleting push actions more efficient | David Baker | 2016-05-20 | 1 | -1/+0 |
* | Spelling | Erik Johnston | 2016-05-13 | 1 | -1/+1 |
* | Fixup add_pusher | Erik Johnston | 2016-05-13 | 1 | -1/+7 |
* | Remove some unused functions (#711) | Mark Haines | 2016-04-08 | 1 | -6/+0 |
* | Move _get_cache_dict into the SQLBaseStore | Mark Haines | 2016-04-06 | 1 | -0/+34 |
* | Intern all the things | Erik Johnston | 2016-03-23 | 1 | -1/+2 |
* | Make stateGroupCache honour CACHE_SIZE_FACTOR | Erik Johnston | 2016-03-22 | 1 | -1/+7 |
* | Add a stream for push rule updates | Mark Haines | 2016-03-01 | 1 | -7/+18 |
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 1 | -9/+9 |
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -2/+5 |
* | Add a Homeserver.setup method. | Erik Johnston | 2016-01-26 | 1 | -26/+23 |
* | Guard against empty iterables | Erik Johnston | 2016-01-25 | 1 | -0/+6 |
* | Correct docstring | Erik Johnston | 2016-01-25 | 1 | -1/+0 |
* | Implement a _simple_select_many_batch | Erik Johnston | 2016-01-25 | 1 | -0/+67 |
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
* | Track the time spent in the database per request. | Mark Haines | 2015-12-07 | 1 | -2/+7 |
* | Add basic full text search impl. | Erik Johnston | 2015-10-09 | 1 | -1/+1 |
* | synapse/storage/_base.py:_simple_max_id was unused | Mark Haines | 2015-09-23 | 1 | -18/+0 |
* | synapse/storage/_base.py:_simple_delete was unused | Mark Haines | 2015-09-23 | 1 | -10/+0 |
* | synapse/storage/_base.py:_simple_selectupdate_one was unused | Mark Haines | 2015-09-23 | 1 | -31/+0 |
* | synapse/storage/_base.py:_execute_and_decode was unused | Mark Haines | 2015-09-22 | 1 | -3/+0 |
* | synapse/storage/_base.py:Table was unused | Mark Haines | 2015-09-22 | 1 | -128/+0 |
* | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-09-01 | 1 | -1/+1 |
|\ |
|
| * | Lower size of 'stateGroupCache' now that we have data from matrix.org to supp... | Erik Johnston | 2015-09-01 | 1 | -1/+1 |
* | | /tokenrefresh POST endpoint | Daniel Wagner-Hall | 2015-08-20 | 1 | -0/+1 |
|/ |
|
* | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 1 | -332/+3 |
* | Comments | Erik Johnston | 2015-08-11 | 1 | -0/+2 |
* | Comment | Erik Johnston | 2015-08-11 | 1 | -0/+2 |
* | Docs | Erik Johnston | 2015-08-11 | 1 | -0/+9 |
* | Comments | Erik Johnston | 2015-08-10 | 1 | -0/+6 |
* | Merge branch 'erikj/cache_varargs_interface' of github.com:matrix-org/synapse... | Erik Johnston | 2015-08-10 | 1 | -5/+5 |
|\ |
|
| * | Rename keyargs to args in CacheDescriptor | Erik Johnston | 2015-08-10 | 1 | -5/+5 |
* | | Merge branch 'erikj/cache_varargs_interface' of github.com:matrix-org/synapse... | Erik Johnston | 2015-08-10 | 1 | -9/+9 |
|\| |
|
| * | Rename keyargs to args in Cache | Erik Johnston | 2015-08-10 | 1 | -9/+9 |
| * | Merge branch 'erikj/cache_deferreds' of github.com:matrix-org/synapse into er... | Erik Johnston | 2015-08-07 | 1 | -3/+3 |
| |\ |
|
| * \ | Merge branch 'erikj/cache_deferreds' of github.com:matrix-org/synapse into er... | Erik Johnston | 2015-08-07 | 1 | -3/+4 |
| |\ \ |
|
| * | | | Change Cache to not use *args in its interface | Erik Johnston | 2015-08-07 | 1 | -30/+31 |
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/dictionary... | Erik Johnston | 2015-08-07 | 1 | -3/+4 |
|\ \ \ \
| | |_|/
| |/| | |
|
| * | | | s/observed/observer/ | Erik Johnston | 2015-08-07 | 1 | -3/+3 |
| | |/
| |/| |
|
| * | | Propogate stale cache errors to calling functions | Erik Johnston | 2015-08-07 | 1 | -3/+4 |
| |/ |
|
* | | Implement a CacheListDescriptor | Erik Johnston | 2015-08-07 | 1 | -0/+106 |
* | | Change Cache to not use *args in its interface | Erik Johnston | 2015-08-07 | 1 | -50/+35 |
* | | Merge branch 'erikj/cache_deferreds' into erikj/dictionary_cache | Erik Johnston | 2015-08-06 | 1 | -3/+27 |
|\| |
|
| * | Docs | Erik Johnston | 2015-08-06 | 1 | -0/+3 |
| * | Remove failed deferreds from cache | Erik Johnston | 2015-08-06 | 1 | -1/+7 |
| * | Re-implement DEBUG_CACHES flag | Erik Johnston | 2015-08-06 | 1 | -2/+17 |
* | | Merge branch 'erikj/cache_deferreds' into erikj/dictionary_cache | Erik Johnston | 2015-08-06 | 1 | -13/+8 |
|\| |
|
| * | Merge branch 'erikj/cached_keyword_args' into erikj/cache_deferreds | Erik Johnston | 2015-08-06 | 1 | -3/+3 |
| |\ |
|
| | * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/cached_key... | Erik Johnston | 2015-08-06 | 1 | -3/+3 |
| | |\ |
|
| * | | | Make @cached cache deferreds rather than the deferreds' values | Erik Johnston | 2015-08-06 | 1 | -13/+8 |
| |/ / |
|
* | | | Merge branch 'erikj/cached_keyword_args' of github.com:matrix-org/synapse int... | Erik Johnston | 2015-08-05 | 1 | -6/+34 |
|\| | |
|
| * | | Add support for using keyword arguments with cached functions | Erik Johnston | 2015-07-27 | 1 | -6/+34 |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/dictionary... | Erik Johnston | 2015-08-05 | 1 | -3/+3 |
|\ \ \
| | |/
| |/| |
|
| * | | Use LRU cache by default | Erik Johnston | 2015-08-05 | 1 | -3/+3 |
| |/ |
|
* | | Use dictionary cache to do group -> state fetching | Erik Johnston | 2015-08-05 | 1 | -13/+26 |
* | | Speed up event filtering (for ACL) logic | Erik Johnston | 2015-08-04 | 1 | -2/+8 |
|/ |
|
* | Add basic storage functions for handling of receipts | Erik Johnston | 2015-07-01 | 1 | -1/+2 |
* | Caches should be bound to instances. | Erik Johnston | 2015-06-03 | 1 | -14/+31 |
* | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-05-22 | 1 | -0/+6 |
|\ |
|
| * | Add caches for things requested by the pushers | Mark Haines | 2015-05-21 | 1 | -0/+1 |
| * | Add a cache for get_current_state with state_key | Mark Haines | 2015-05-21 | 1 | -0/+5 |
* | | Remove unused metric | Erik Johnston | 2015-05-18 | 1 | -1/+0 |
* | | Newline, remove debug logging | Erik Johnston | 2015-05-18 | 1 | -1/+0 |
* | | PEP8 | Erik Johnston | 2015-05-15 | 1 | -1/+0 |
* | | Add a wait | Erik Johnston | 2015-05-15 | 1 | -1/+1 |
* | | Fix daedlock | Erik Johnston | 2015-05-15 | 1 | -16/+10 |
* | | Remove race condition | Erik Johnston | 2015-05-14 | 1 | -61/+107 |
* | | Count and loop | Erik Johnston | 2015-05-14 | 1 | -1/+1 |
* | | Awful idea for speeding up fetching of events | Erik Johnston | 2015-05-14 | 1 | -0/+4 |
* | | Move from _base to events | Erik Johnston | 2015-05-14 | 1 | -232/+1 |
* | | Jump out early | Erik Johnston | 2015-05-14 | 1 | -0/+6 |
* | | Actually, we probably want to run this in a transaction | Erik Johnston | 2015-05-14 | 1 | -15/+12 |
* | | Preemptively jump into a transaction if we ask for get_prev_content | Erik Johnston | 2015-05-14 | 1 | -12/+22 |
* | | loop -> gatherResults | Erik Johnston | 2015-05-14 | 1 | -10/+14 |
* | | Err, we probably want a bigger limit | Erik Johnston | 2015-05-14 | 1 | -1/+1 |
* | | Refactor _get_events | Erik Johnston | 2015-05-14 | 1 | -252/+94 |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/perf | Erik Johnston | 2015-05-14 | 1 | -0/+1 |
|\ \ |
|
| * | | Add ID generator for push_rules_enable to #resolve SYN-378 | David Baker | 2015-05-14 | 1 | -0/+1 |
* | | | Actually use async method | Erik Johnston | 2015-05-13 | 1 | -3/+1 |
* | | | Fetch events from events_id in their own transactions | Erik Johnston | 2015-05-13 | 1 | -3/+151 |
* | | | Typo | Erik Johnston | 2015-05-13 | 1 | -1/+1 |
* | | | Don't insert None | Erik Johnston | 2015-05-13 | 1 | -1/+4 |
* | | | Don't return None | Erik Johnston | 2015-05-13 | 1 | -1/+1 |
* | | | Limit batch size | Erik Johnston | 2015-05-13 | 1 | -5/+10 |
* | | | Fetch events in bulk | Erik Johnston | 2015-05-13 | 1 | -13/+62 |
* | | | Don't fetch redaction and rejection stuff for each event, so we can use index... | Erik Johnston | 2015-05-13 | 1 | -4/+19 |
* | | | Load events for state group seperately | Erik Johnston | 2015-05-13 | 1 | -2/+2 |
|/ / |
|
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/logging_co... | Erik Johnston | 2015-05-12 | 1 | -0/+1 |
|\| |
|
| * | push_rules table expects an 'id' field | Erik Johnston | 2015-05-11 | 1 | -0/+1 |
* | | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 1 | -5/+6 |
|/ |
|
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/executemany | Erik Johnston | 2015-05-05 | 1 | -9/+59 |
|\ |
|
| * | Merge pull request #139 from matrix-org/bugs/SYN-369 | Mark Haines | 2015-05-05 | 1 | -9/+59 |
| |\ |
|
| | * | Add some doc-string | Mark Haines | 2015-05-05 | 1 | -0/+4 |
| | * | Collect the invalidate callbacks on the transaction object rather than passin... | Mark Haines | 2015-05-05 | 1 | -5/+13 |
| | * | SYN-369: Add comments to the sequence number logic in the cache | Mark Haines | 2015-05-05 | 1 | -0/+7 |
| | * | Add debug flag in synapse/storage/_base.py for debugging the cache logic by c... | Mark Haines | 2015-05-05 | 1 | -1/+12 |
| | * | Sequence the modifications to the cache so that selects don't race with inserts | Mark Haines | 2015-05-05 | 1 | -3/+23 |
* | | | Add a comment about the zip(*[zip(sorted(...),...)]) | Erik Johnston | 2015-05-05 | 1 | -0/+8 |
* | | | Add support for using executemany | Erik Johnston | 2015-05-05 | 1 | -13/+41 |
|/ / |
|
* / | Don't call 'encode_parameter' no-op | Erik Johnston | 2015-05-05 | 1 | -4/+0 |
|/ |
|
* | Don't lock user_ips table for upsert. | Erik Johnston | 2015-05-01 | 1 | -4/+7 |
* | Fix bug where we reconnected to the database on every query. | Erik Johnston | 2015-05-01 | 1 | -0/+1 |
* | Shuffle operations so that locking upsert happens last in the txn. This ensur... | Erik Johnston | 2015-04-27 | 1 | -0/+3 |
* | Handle the fact that postgres databases can be restarted from under us | Erik Johnston | 2015-04-27 | 1 | -1/+27 |
* | Go back to storing JSON in TEXT | Erik Johnston | 2015-04-16 | 1 | -3/+0 |
* | Remove debug logging | Erik Johnston | 2015-04-15 | 1 | -2/+0 |
* | pushers table requires a unique id. | Erik Johnston | 2015-04-15 | 1 | -3/+7 |
* | Don't pass in removed flag | Erik Johnston | 2015-04-15 | 1 | -1/+0 |
* | Postgres does not allow you to continue using a cursor after a DB exception h... | Erik Johnston | 2015-04-15 | 1 | -11/+14 |
* | Add support for postgres instead of mysql. Change sql accourdingly. blob + va... | Erik Johnston | 2015-04-14 | 1 | -1/+1 |
* | Handle the fact that in sqlite binary data might be stored as unicode or bytes | Erik Johnston | 2015-04-10 | 1 | -2/+5 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-09 | 1 | -19/+28 |
|\ |
|
| * | Merge pull request #114 from matrix-org/improve_get_event_cache | Mark Haines | 2015-04-08 | 1 | -19/+28 |
| |\ |
|
| | * | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-26 | 1 | -1/+2 |
| | * | Implement the main getEvent cache using Cache() instead of a custom applicati... | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -12/+7 |
| | * | 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 |