Commit Graph

1634 Commits (598317927cb8f741528d639f3ce875299fde478e)

Author SHA1 Message Date
Erik Johnston 598317927c Limit the length of state chains 8 years ago
Erik Johnston 9e25443db8 Move to storing state_groups_state as deltas 8 years ago
Erik Johnston 0cfd6c3161 Use state_groups table to test existence 8 years ago
Erik Johnston c10cb581c6 Correctly handle the difference between prev and current state 8 years ago
Erik Johnston 1bb8ec296d Generate state group ids in state layer 8 years ago
Erik Johnston 5dc2a702cf Make _state_groups_id_gen a normal IdGenerator 8 years ago
Erik Johnston bed10f9880 Use state handler instead of get_users_in_room/get_joined_hosts 8 years ago
Erik Johnston 4daa397a00 Add is_host_joined to slave storage 8 years ago
Erik Johnston 1ccdc1e93a Cache check_host_in_room 8 years ago
Erik Johnston 778fa85f47 Make sync not pull out full state 8 years ago
Mark Haines 641efb6a39 Fix the deduplication of incoming direct-to-device messages 8 years ago
Erik Johnston 721414d98a Add desc 8 years ago
Mark Haines e993925279 Add store-and-forward direct-to-device messaging 8 years ago
Erik Johnston a3dc1e9cbe Replace context.current_state with context.current_state_ids 8 years ago
Erik Johnston 17f4f14df7 Pull out event ids rather than full events for state 8 years ago
Erik Johnston 9219139351 Preserve some logcontexts 8 years ago
Erik Johnston aad8a1a825 Delete old received_transactions 8 years ago
Erik Johnston 37adde32dc Move defer.returnValue out of Measure 8 years ago
Erik Johnston 47dd8f02a1 Measure _get_event_from_row 8 years ago
Erik Johnston c0d7d9d642 Rename to on_invalidate 8 years ago
Erik Johnston dc76a3e909 Make cache_context an explicit option 8 years ago
Erik Johnston f164fd9220 Move _bulk_get_push_rules_for_room to storage layer 8 years ago
Erik Johnston ba214a5e32 Remove lru option 8 years ago
Erik Johnston b770435389 Make get_new_events_for_appservice use indices 8 years ago
David Baker 1e4217c90c Explicit join 8 years ago
Erik Johnston 07229bbdae Add appservice worker 8 years ago
Erik Johnston 9da84a9a1e Make AppserviceHandler stream events from database 8 years ago
Erik Johnston 732cf72b86 Fix push_display_name_rename schema update 8 years ago
Erik Johnston 949629291c Do it in storage function 8 years ago
David Baker ad42322257 Add migration script 8 years ago
Erik Johnston a2427981b7 Use cached get_user_by_access_token in slaves 8 years ago
Erik Johnston dc3a00f24f Refactor user_delete_access_tokens. Invalidate get_user_by_access_token to slaves. 8 years ago
Erik Johnston 89e786bd85 Doc get_next() context manager usage 8 years ago
Erik Johnston d9664344ec Rename table. Add docs. 8 years ago
Erik Johnston 64e7e11853 Implement cache replication stream 8 years ago
Erik Johnston 4d70d1f80e Add some invalidations to a cache_stream 8 years ago
Erik Johnston 99bbd90b0d Always run txn.after_callbacks 8 years ago
Benjamin Saunders 8a57cc3123 Add missing database corruption recovery case 8 years ago
Erik Johnston a8b946decb Raise 404 when couldn't find event 8 years ago
Erik Johnston f0fa66f495 Delete more tables 8 years ago
Benjamin Saunders a2b7102eea Tweak integrity error recovery to work as intended 8 years ago
Erik Johnston 8ad8490cff Fix typo 8 years ago
Erik Johnston 59fa91fe88 Retry event persistence on IntegrityError 8 years ago
Richard van der Hoff 98385888b8 PEP8 8 years ago
Richard van der Hoff 68264d7404 Include device name in /keys/query response 8 years ago
Erik Johnston 80ad710217 Remove other bit of deduplication 8 years ago
Richard van der Hoff 4fec5e57be Default device_display_name to null 8 years ago
Erik Johnston a8a32d2714 Ensure we only persist an event once at a time 8 years ago
Mark Haines 8dad08a950 Fix SQL to supply arguments in the same order 8 years ago
Mark Haines 0a7d3cd00f Create separate methods for getting messages to push 8 years ago