Commit Graph

205 Commits (c31793a784059d3c90c1a81396fa832fa9efebac)

Author SHA1 Message Date
Richard van der Hoff 0ca459ea33 Basic support for room versioning 6 years ago
Matthew Hodgson bc7944e6d2 switch missing_types to be a bool 6 years ago
Matthew Hodgson 7d9fb88617 incorporate more review. 6 years ago
Matthew Hodgson cb5c37a57c handle the edge case for _get_some_state_from_cache where types is [] 6 years ago
Matthew Hodgson e22700c3dd consider non-filter_type types as wildcards, thus missing from the state-group-cache 6 years ago
Matthew Hodgson cd241d6bda incorporate more review 6 years ago
Matthew Hodgson efcdacad7d handle case where types is [] on postgres correctly 6 years ago
Matthew Hodgson 254fb430d1 incorporate review 6 years ago
Matthew Hodgson 2f558300cc fix thinkos; unbreak tests 6 years ago
Matthew Hodgson bcaec2915a incorporate review 6 years ago
Matthew Hodgson 924eb34d94 add a filtered_types param to limit filtering to specific types 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Richard van der Hoff 43e02c409d Disable partial state group caching for wildcard lookups 7 years ago
Richard van der Hoff eb32b2ca20 Optimise state_group_cache update 7 years ago
Richard van der Hoff d3a8c9c55e Fix sql error in _get_state_groups_from_groups 7 years ago
Erik Johnston 042eedfa2b Add hacky cache factor override system 7 years ago
Amber Brown c936a52a9e
Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy (#3307) 7 years ago
Matthew Hodgson a6c8f7c875 add pydoc 7 years ago
Matthew Hodgson 9f77001e27 pep8 7 years ago
Matthew Hodgson d144ed6ffb
fix bug #2926 (loading all state for a given type from the DB if the state_key is None) (#2990) 7 years ago
Matthew Hodgson ccca02846d make it work 7 years ago
Matthew Hodgson f0f9a0605b remove comment now #2969 is fixed 7 years ago
Matthew Hodgson afbf4d3dcc typoe 7 years ago
Matthew Hodgson 865377a70d disable optimisation for searching for state groups 7 years ago
Matthew Hodgson b2aba9e430 build where_clause sanely 7 years ago
Matthew Hodgson 52f7e23c72 PR feedbackz 7 years ago
Matthew Hodgson 1b1c137771 fix bug #2926 7 years ago
Matthew Hodgson fdedcd1f4d correctly handle None state_keys 7 years ago
Matthew Hodgson 97c0496cfa fix sqlite where clause 7 years ago
Matthew Hodgson 8713365265 typos 7 years ago
Matthew Hodgson 9b334b3f97 WIP experiment in lazyloading room members 7 years ago
Erik Johnston 106906a65e Don't serialize current state over replication 7 years ago
Erik Johnston fd1601c596 Fix state group storage bug in workers 7 years ago
Erik Johnston 3d33eef6fc
Store state groups separately from events (#2784) 7 years ago
Richard van der Hoff 35a4b63240 Pull out bits of StateStore to a mixin 7 years ago
Richard van der Hoff 4dd1bfa8c1 Revert "Revert "move _state_group_cache to statestore"" 7 years ago
Richard van der Hoff 6cfee09be9 Make __init__ consitstent across Store heirarchy 7 years ago
Erik Johnston ab335edb02 Revert "move _state_group_cache to statestore" 7 years ago
Richard van der Hoff f5cf3638e9 move _state_group_cache to statestore 7 years ago
Erik Johnston 5946aa0877 Prefill forward extrems and event to state groups 8 years ago
Erik Johnston 8060974344 Fix replication 8 years ago
Erik Johnston b0d975e216 Comments 8 years ago
Erik Johnston e54d7d536e Cache state deltas 8 years ago
Erik Johnston ea11ee09f3 Ensure we don't use unpersisted state group as prev group 8 years ago
Erik Johnston 6ba21bf2b8 Comments 8 years ago
Erik Johnston dfbda5e025 Faster cache for get_joined_hosts 8 years ago
Erik Johnston bbfe4e996c Make get_state_groups_from_groups faster. 8 years ago
Erik Johnston 608b5a6317 Take a copy before prefilling, as it may be a frozendict 8 years ago
Erik Johnston e4435b014e Update comment 8 years ago
Erik Johnston 871605f4e2 Comments 8 years ago