summary refs log tree commit diff
path: root/synapse/storage (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove add_in_list_sql_clauseErik Johnston2019-10-104-34/+25
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/postgres_anyErik Johnston2019-10-101-3/+4
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/patch_innerErik Johnston2019-10-102-35/+61
| |\
| * \ Merge branch 'develop' of github.com:matrix-org/synapse into erikj/patch_innerErik Johnston2019-10-0923-706/+1180
| |\ \
| * | | Patch inlinecallbacks for log contextsErik Johnston2019-09-272-4/+5
* | | | Replace IN usage with helper funcsErik Johnston2019-10-1011-97/+138
* | | | Add helper funcs to use postgres ANYErik Johnston2019-10-101-8/+56
| |_|/ |/| |
* | | Fix races in room stats (and other) updates. (#6187)Richard van der Hoff2019-10-101-9/+29
* | | Rewrite the user_filter migration again (#6184)Richard van der Hoff2019-10-101-26/+32
| |/ |/|
* | Merge pull request #6185 from matrix-org/erikj/fix_censored_evnetsErik Johnston2019-10-092-4/+28
|\ \
| * | Fix existing hex encoded json values in DBErik Johnston2019-10-081-0/+26
| * | Fix inserting bytes as textErik Johnston2019-10-081-4/+2
* | | Fix RegistrationStoreBrendan Abolivier2019-10-081-1/+1
* | | Cleanup client_ipsBrendan Abolivier2019-10-081-7/+0
* | | Don't end up with 4 classes in registrationBrendan Abolivier2019-10-081-52/+50
* | | LintBrendan Abolivier2019-10-073-3/+3
* | | Move roommember's bg updates to a dedicated storeBrendan Abolivier2019-10-071-108/+114
* | | Move user_directory's bg updates to a dedicated storeBrendan Abolivier2019-10-071-84/+94
* | | Move state's bg updates to a dedicated storeBrendan Abolivier2019-10-071-190/+204
* | | Move search's bg updates to a dedicated storeBrendan Abolivier2019-10-071-25/+31
* | | Move registration's bg updates to a dedicated storeBrendan Abolivier2019-10-071-95/+103
* | | Move media_repository's bg updates to a dedicated storeBrendan Abolivier2019-10-071-3/+9
* | | Move devices's bg updates to a dedicated storeBrendan Abolivier2019-10-071-22/+27
* | | Move deviceinbox's bg updates to a dedicated storeBrendan Abolivier2019-10-071-15/+22
* | | Move client_ips's bg updates to a dedicated storeBrendan Abolivier2019-10-071-94/+106
* | | add some logging to the rooms stats updates, to try to track down a flaky tes...Richard van der Hoff2019-10-071-0/+3
* | | Merge pull request #6175 from matrix-org/babolivier/fix_unique_user_filter_indexBrendan Abolivier2019-10-071-2/+2
|\ \ \
| * | | Fix unique_user_filter_index schema updateBrendan Abolivier2019-10-071-2/+2
* | | | Merge pull request #6159 from matrix-org/erikj/cache_membershipsErik Johnston2019-10-071-19/+45
|\ \ \ \ | |/ / / |/| | |
| * | | Fix bug where we didn't pull out event IDErik Johnston2019-10-071-1/+1
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/cache_memb...Erik Johnston2019-10-031-6/+15
| |\ \ \
| * | | | Use the right error....Erik Johnston2019-10-031-1/+1
| * | | | pep8Erik Johnston2019-10-031-1/+0
| * | | | Fixup names and commentsErik Johnston2019-10-031-6/+7
| * | | | cachedList descriptor doesn't like typingErik Johnston2019-10-031-2/+2
| * | | | Cache room membership lookups in _get_joined_users_from_contextErik Johnston2019-10-031-19/+45
* | | | | Update `user_filters` table to have a unique index, and non-null columns (#1172)Alexander Maznev2019-10-041-0/+46
| |/ / / |/| | |
* | | | add some metrics on the federation sender (#6160)Richard van der Hoff2019-10-031-6/+15
|/ / /
* | | Merge pull request #6154 from matrix-org/erikj/fix_appservice_paginationErik Johnston2019-10-021-18/+18
|\ \ \
| * | | Fix appservice room list paginationErik Johnston2019-10-021-18/+18
* | | | Merge pull request #6153 from matrix-org/erikj/fix_room_list_non_federatableErik Johnston2019-10-021-0/+3
|\ \ \ \
| * | | | Fix not showing non-federatable rooms to remote room list queriesErik Johnston2019-10-021-0/+3
| |/ / /
* | | | Merge pull request #6148 from matrix-org/erikj/find_next_generatedErik Johnston2019-10-021-1/+3
|\ \ \ \ | |/ / / |/| | |
| * | | Bound find_next_generated_user_id DB query.Erik Johnston2019-10-021-1/+3
* | | | Fix public room list pagination.Erik Johnston2019-10-021-17/+36
* | | | Land improved room list based on room stats (#6019)Erik Johnston2019-10-022-77/+167
* | | | Fix yields and copy instead of move push rules on room upgrade (#6144)Andrew Morgan2019-10-021-10/+6
|/ / /
* | | Merge branch 'release-v1.4.0' of github.com:matrix-org/synapse into developErik Johnston2019-10-025-18/+142
|\| |
| * | Merge pull request #6146 from matrix-org/erikj/fix_destination_retry_timingsErik Johnston2019-10-021-0/+18
| |\ \
| | * | Fix errors storing large retry intervals.Erik Johnston2019-10-021-0/+18
| * | | Merge pull request #6145 from matrix-org/erikj/fix_censored_redactionsErik Johnston2019-10-021-0/+14
| |\ \ \ | | |/ / | |/| |
| | * | Fix fetching censored redactions from DBErik Johnston2019-10-021-0/+14
| * | | Use `received_ts` to find uncensored redacted eventsErik Johnston2019-10-011-14/+7
| * | | Add received_ts column to redactions.Erik Johnston2019-10-013-9/+92
| * | | Don't repeatedly attempt to censor events we don't have.Erik Johnston2019-10-011-1/+17
| |/ /
* | | Merge branch 'erikj/fixup_devices_last_seen_query' of github.com:matrix-org/s...Erik Johnston2019-10-013-7/+54
|\| |
| * | Fix `devices_last_seen` background update.Erik Johnston2019-09-303-7/+54
| |/
* / Drop unused tables (#6115)Richard van der Hoff2019-09-301-0/+20
|/
* Fix dummy event insertion consent bug (#6053)Neil Johnson2019-09-261-3/+15
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/cleanup_us...Erik Johnston2019-09-254-9/+94
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/cleanup_us...Erik Johnston2019-09-253-8/+93
| |\
| | * Merge pull request #6092 from matrix-org/babolivier/background_update_deactiv...Brendan Abolivier2019-09-242-6/+6
| | |\
| | | * Incorporate reviewBrendan Abolivier2019-09-241-3/+3
| | | * Fix loggingBrendan Abolivier2019-09-241-1/+1
| | | * TypoBrendan Abolivier2019-09-231-1/+1
| | | * Fix the return value in the users_set_deactivated_flag background jobBrendan Abolivier2019-09-231-4/+4
| | * | Merge remote-tracking branch 'origin/develop' into rav/saml_mapping_workRichard van der Hoff2019-09-241-1/+1
| | |\ \
| | | * | remove unused parameter to get_user_id_by_threepid (#6099)Richard van der Hoff2019-09-241-1/+1
| | | |/
| | * | Merge remote-tracking branch 'origin/develop' into rav/saml_mapping_workRichard van der Hoff2019-09-242-28/+45
| | |\|
| | | * Implement MSC2290 (#6043)Andrew Morgan2019-09-231-1/+21
| | * | Merge branch 'develop' into rav/saml_mapping_workRichard van der Hoff2019-09-1928-552/+1649
| | |\ \
| | * | | Record mappings from saml users in an external tableRichard van der Hoff2019-09-132-0/+65
| * | | | Use if `is not None`Erik Johnston2019-09-251-1/+1
* | | | | Review commentsErik Johnston2019-09-252-5/+2
* | | | | Prune rows in user_ips older than configured periodErik Johnston2019-09-241-8/+54
* | | | | Add has_completed_background_updateErik Johnston2019-09-241-1/+24
|/ / / /
* | | | Query devices table for last seen info.Erik Johnston2019-09-231-49/+8
* | | | Add BG update to populate devices last seen infoErik Johnston2019-09-232-0/+55
* | | | Add last seen info to devices table.Erik Johnston2019-09-232-0/+36
| |_|/ |/| |
* | | Allow HS to send emails when adding an email to the HS (#6042)Andrew Morgan2019-09-201-7/+24
* | | Undo the deletion of some tables (#6047)Richard van der Hoff2019-09-191-20/+0
| |/ |/|
* | Add 'failure_ts' column to 'destinations' table (#6016)Richard van der Hoff2019-09-172-7/+41
* | Clean up some code in the retry logic (#6017)Richard van der Hoff2019-09-111-20/+0
* | Merge pull request #6004 from matrix-org/jaywink/autojoin-create-real-usersJason Robinson2019-09-091-0/+37
|\ \
| * | Fix code style, againJason Robinson2019-09-091-3/+1
| * | Simplify count_real_users SQL to only count user_type is null rowsJason Robinson2019-09-091-1/+1
| * | Simplify is_real_user_txn check to trust user_type is null if real userJason Robinson2019-09-091-1/+1
| * | Auto-fix a few code style issuesJason Robinson2019-09-091-4/+4
| * | Only count real users when checking for auto-creation of auto-join roomJason Robinson2019-09-091-0/+39
* | | Merge pull request #5934 from matrix-org/erikj/censor_redactionsErik Johnston2019-09-092-1/+119
|\ \ \ | |/ / |/| |
| * | Fix commentsErik Johnston2019-09-091-2/+3
| * | Use better names in SQLErik Johnston2019-09-091-5/+8
| * | Fixup commentErik Johnston2019-09-091-4/+12
| * | Don't start looping call unless enabledErik Johnston2019-09-091-1/+2
| * | Handle setting retention period to 0Erik Johnston2019-09-091-1/+1
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/censor_red...Erik Johnston2019-09-0516-378/+959
| |\ \
| * | | Make redaction retention period configurableErik Johnston2019-09-051-2/+4
| * | | Censor redactions in DB after a monthErik Johnston2019-08-302-1/+104
* | | | Servers-known-about statistic (#5981)Amber Brown2019-09-071-0/+59
* | | | Merge pull request #5998 from matrix-org/erikj/fixup_federate_flagErik Johnston2019-09-061-1/+3
|\ \ \ \
| * | | | Correctly handle non-bool m.federate flagErik Johnston2019-09-061-1/+3
| | |/ / | |/| |
* | | | Move delete_threepid_session into RegistrationWorkerStoreAndrew Morgan2019-09-061-25/+25
* | | | Move get_threepid_validation_session into RegistrationWorkerStoreAndrew Morgan2019-09-061-54/+54
|/ / /
* | | Opentracing context cannot be noneJorik Schellekens2019-09-051-1/+1
* | | Fix and refactor room and user stats (#5971)Erik Johnston2019-09-045-345/+904
* | | Remove double return statements (#5962)Andrew Morgan2019-09-033-4/+0
* | | Opentrace device lists (#5853)Jorik Schellekens2019-09-032-0/+26
* | | Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-3010-28/+28
|/ /
* | Merge pull request #5902 from matrix-org/hs/exempt-support-users-from-consentWill Hunt2019-08-281-0/+1
|\ \
| * | Ignore consent for support usersHalf-Shot2019-08-231-0/+1
* | | Fix a cache-invalidation bug for worker-based deployments (#5920)Richard van der Hoff2019-08-281-8/+16
* | | Allow schema deltas to be engine-specific (#5911)reivilibre2019-08-271-5/+19
|\ \ \
| * | | Code style (Black)Olivier Wilkinson (reivilibre)2019-08-271-3/+1
| * | | Allow schema deltas to be engine-specificOlivier Wilkinson (reivilibre)2019-08-271-5/+21
| |/ /
* / / Add Admin API capability to set adminship of a user (#5878)reivilibre2019-08-271-0/+23
|/ /
* | Propagate opentracing contexts through EDUs (#5852)Jorik Schellekens2019-08-222-6/+53
* | Opentrace e2e keys (#5855)Jorik Schellekens2019-08-222-3/+49
* | Add missing index on users_in_public_rooms. (#5894)Richard van der Hoff2019-08-221-0/+17
* | Servlet to purge old rooms (#5845)Richard van der Hoff2019-08-221-0/+137
* | Drop some unused tables. (#5893)Richard van der Hoff2019-08-213-47/+22
* | Merge pull request #5857 from matrix-org/uhoreg/fix_e2e_room_keys_indexHubert Chathi2019-08-162-1/+19
|\ \ | |/ |/|
| * update set_e2e_room_key to agree with fixed indexHubert Chathi2019-08-141-1/+1
| * add the version field to the index for e2e_room_keysHubert Chathi2019-08-141-0/+18
* | Merge pull request #5809 from matrix-org/erikj/handle_pusher_stopErik Johnston2019-08-131-8/+22
|\ \
| * | Clarify docstringErik Johnston2019-08-131-1/+1
| * | Handle pusher being deleted during processing.Erik Johnston2019-08-011-8/+22
* | | Merge pull request #5826 from matrix-org/erikj/reduce_event_pausesErik Johnston2019-08-131-128/+142
|\ \ \
| * | | Don't unnecessarily block notifying of new events.Erik Johnston2019-08-061-128/+142
| | |/ | |/|
* | | Merge pull request #5788 from matrix-org/rav/metaredactionsRichard van der Hoff2019-08-121-101/+112
|\ \ \ | |/ / |/| |
| * | Handle loops in redaction eventsRichard van der Hoff2019-07-301-60/+36
| * | recursively fetch redactionsRichard van der Hoff2019-07-301-32/+36
| * | split _get_events_from_db out of _enqueue_eventsRichard van der Hoff2019-07-291-32/+51
| * | Return dicts from _fetch_event_listRichard van der Hoff2019-07-291-15/+27
* | | Have ClientReaderSlavedStore inherit RegistrationStore (#5806)Andrew Morgan2019-08-011-21/+21
| |/ |/|
* | Don't recreate columnErik Johnston2019-07-302-1/+22
* | Fix current_state_events membership background update.Erik Johnston2019-07-302-1/+1
|/
* Merge pull request #5774 from matrix-org/erikj/fix_rejected_membershipErik Johnston2019-07-291-0/+6
|\
| * Fix room summary when rejected events are in stateErik Johnston2019-07-261-0/+6
* | Merge pull request #5752 from matrix-org/erikj/forgotten_userErik Johnston2019-07-292-35/+123
|\ \
| * | Expand commentErik Johnston2019-07-291-0/+5
| * | Remove lost commentErik Johnston2019-07-291-7/+0
| |/
| * Remove join when calculating room summaries.Erik Johnston2019-07-241-13/+21
| * Remove join on room_memberships when fetching rooms for user.Erik Johnston2019-07-241-22/+36
| * Add function to get all forgotten rooms for userErik Johnston2019-07-242-0/+68
* | Fix current_state bg update to work on old SQLiteErik Johnston2019-07-291-2/+2
* | Merge branch 'master' into developRichard van der Hoff2019-07-261-0/+4
|\ \
| * | Fix DoS when there is a cycle in redaction eventsRichard van der Hoff2019-07-261-0/+4
* | | Merge pull request #5767 from matrix-org/rav/redactions/cross_room_idRichard van der Hoff2019-07-251-0/+27
|\| |
| * | log when a redaction attempts to redact an event in a different roomRichard van der Hoff2019-07-251-0/+27
* | | Stop trying to fetch events with event_id=None. (#5753)Richard van der Hoff2019-07-242-10/+15
* | | Replace returnValue with return (#5736)Amber Brown2019-07-2337-362/+321
| |/ |/|
* | Speed up current state background update.Erik Johnston2019-07-231-18/+30
* | Add `user_type` to returned fields in admin API user list endpointsJason Robinson2019-07-221-3/+3
* | Merge pull request #5720 from matrix-org/erikj/transactions_upsertErik Johnston2019-07-191-0/+20
|\ \
| * | Use upsert when updating destination retry intervalErik Johnston2019-07-191-0/+20
| |/
* | Merge pull request #5713 from matrix-org/erikj/use_cache_for_filtered_stateErik Johnston2019-07-191-2/+6
|\ \
| * | Delegate to cached version when using get_filtered_current_state_idsErik Johnston2019-07-181-2/+6
| |/
* | Merge pull request #5706 from matrix-org/erikj/add_memberships_to_current_stateErik Johnston2019-07-197-41/+194
|\ \ | |/ |/|
| * LoggingTransaction accepts None for callback lists.Erik Johnston2019-07-193-6/+16
| * Update comment for new columnErik Johnston2019-07-191-0/+3
| * Use the current_state_events.membership columnErik Johnston2019-07-181-17/+37
| * Track if current_state_events.membership is up to dateErik Johnston2019-07-181-0/+45
| * Add background update for current_state_events.membership columnErik Johnston2019-07-182-0/+54
| * Add membership column to current_state_events table.Erik Johnston2019-07-185-20/+41
* | Ignore redactions of m.room.create events (#5701)Richard van der Hoff2019-07-171-0/+12
* | More refactoring in `get_events_as_list` (#5707)Richard van der Hoff2019-07-171-27/+37
* | Fix redaction authentication (#5700)Richard van der Hoff2019-07-171-85/+129
* | Refactor `get_events_as_list` (#5699)Richard van der Hoff2019-07-171-48/+74
|/
* Merge pull request #5589 from matrix-org/erikj/admin_exfiltrate_dataErik Johnston2019-07-152-6/+28
|\
| * Fixup docstringsErik Johnston2019-07-121-7/+5
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_exfi...Erik Johnston2019-07-056-39/+25
| |\
| * | Assume key existence. Update docstringsErik Johnston2019-07-051-6/+10
| * | Add basic function to get all data for a user out of synapseErik Johnston2019-07-021-0/+20
* | | Implement access token expiry (#5660)Richard van der Hoff2019-07-122-5/+32
* | | fix typo: backgroud -> backgroundAndrew Morgan2019-07-121-4/+4
* | | small typo fix (#5655)Andrew Morgan2019-07-111-1/+1
* | | Remove access-token support from RegistrationStore.register (#5642)Richard van der Hoff2019-07-101-20/+4
* | | Include the original event in /relations (#5626)Andrew Morgan2019-07-091-1/+1
* | | Remove support for invite_3pid_guest. (#5625)Richard van der Hoff2019-07-051-47/+0
| |/ |/|
* | remove dead transaction persist code (#5622)Richard van der Hoff2019-07-051-28/+0
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-044-7/+7
* | Fix a number of "Starting txn from sentinel context" warnings (#5605)Richard van der Hoff2019-07-032-4/+18
|/
* Review commentsErik Johnston2019-06-271-3/+1
* Use batch_iter and correct docstringErik Johnston2019-06-261-15/+12
* Rename get_users_whose_devices_changedErik Johnston2019-06-261-3/+3
* Refactor get_user_ids_changed to pull less from DBErik Johnston2019-06-261-10/+41
* Merge pull request #5499 from matrix-org/rav/cleanup_metricsRichard van der Hoff2019-06-241-22/+13
|\
| * blackRichard van der Hoff2019-06-241-6/+2
| * Merge branch 'develop' into rav/cleanup_metricsRichard van der Hoff2019-06-2433-254/+306
| |\
| * | Simplify PerformanceCounters.update interfaceRichard van der Hoff2019-06-191-11/+12
| * | Remove unused _get_event_countersRichard van der Hoff2019-06-191-7/+1
* | | Merge pull request #5498 from matrix-org/rav/fix_clock_reversalRichard van der Hoff2019-06-241-6/+14
|\ \ \ | |_|/ |/| |
| * | Use monotonic clock where possible for metricsRichard van der Hoff2019-06-191-6/+14
* | | Fix "Unexpected entry in 'full_schemas'" log warning (#5509)Richard van der Hoff2019-06-211-1/+1
* | | BlackErik Johnston2019-06-201-2/+2
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/histogram_...Erik Johnston2019-06-2034-276/+286
|\ \ \
| * | | Run Black. (#5482)Amber Brown2019-06-2033-253/+252
| * | | Merge pull request #5480 from matrix-org/erikj/extremities_dummy_eventsErik Johnston2019-06-191-0/+29
| |\ \ \
| | * | | Add experimental option to reduce extremities.Erik Johnston2019-06-181-0/+29
| * | | | Fix typo in deactivation background jobBrendan Abolivier2019-06-191-1/+1
| | |_|/ | |/| |
| * | | Remove Postgres 9.4 support (#5448)Amber Brown2019-06-182-24/+6
| |/ /
* | | Add descriptions and remove redundant set(..)Erik Johnston2019-06-191-3/+5
* | | Add metrics for len of new extremities persisted.Erik Johnston2019-06-171-1/+23
|/ /
* | Merge pull request #5461 from matrix-org/erikj/histograms_are_cumalitiveErik Johnston2019-06-141-1/+2
|\ \
| * | Prometheus histograms are cumalativeErik Johnston2019-06-141-1/+2
* | | Fix background job for deactivated flagBrendan Abolivier2019-06-141-2/+4
* | | Don't send renewal emails to deactivated usersBrendan Abolivier2019-06-142-2/+16
|/ /
* | Track deactivated accounts in the database (#5378)Brendan Abolivier2019-06-142-0/+133
* | Expose statistics on extrems to prometheus (#5384)Amber Brown2019-06-131-13/+31
* | Merge branch 'release-v1.0.0' of github.com:matrix-org/synapse into developErik Johnston2019-06-112-1/+5
|\|
| * Fix defaults on checking threepidsErik Johnston2019-06-101-1/+1
| * Fix bug sending federation transactions with lots of EDUsErik Johnston2019-06-101-0/+4
* | add monthly active users to phonehome stats (#5252)Neil Johnson2019-06-101-15/+29
|/
* Fix key verification when key stored with null valid_until_msErik Johnston2019-06-101-0/+8
* Prevent multiple device list updates from breaking a batch send (#5156)Andrew Morgan2019-06-061-29/+123
* Merge pull request #5320 from matrix-org/hawkowl/full-schema-v1Erik Johnston2019-06-065-2/+2352
|\
| * fix maybeAmber H. Brown2019-06-071-20/+2
| * just user dir?Amber H. Brown2019-06-071-1/+19
| * remove background updates that arent neededAmber H. Brown2019-06-071-33/+1
| * add more commentsAmber Brown2019-06-061-0/+5
| * add stuff in bg updatesAmber Brown2019-06-041-10/+62
| * WHY IS THIS CALLED A SLIGHTLY DIFFERENT THINGAmber Brown2019-06-031-0/+1
| * more fixAmber Brown2019-06-031-0/+38
| * fix schemasAmber Brown2019-06-034-61/+20
| * full schemaAmber Brown2019-06-033-0/+2315
| * prepareAmber Brown2019-06-031-2/+14
* | Add ability to perform password reset via email without trusting the identity...Andrew Morgan2019-06-064-5/+324
* | Merge pull request #5221 from matrix-org/erikj/fix_worker_sytestErik Johnston2019-06-061-1/+11
|\ \
| * | Better wordsErik Johnston2019-06-061-1/+1
| * | Fix get_max_topological_token to never return NoneErik Johnston2019-05-211-1/+11
* | | Fix background updates to handle redactions/rejections (#5352)Erik Johnston2019-06-061-0/+37
* | | FixErik Johnston2019-06-031-1/+2
* | | Ignore room state with null bytes in for room statsErik Johnston2019-06-031-0/+15
| |/ |/|
* | Merge pull request #5276 from matrix-org/babolivier/account_validity_job_deltaErik Johnston2019-05-311-2/+20
|\ \
| * | Move delta from +10% to -10%Brendan Abolivier2019-05-311-2/+2
| * | Make max_delta equal to period * 10%Brendan Abolivier2019-05-311-4/+3
| * | Allow configuring a range for the account validity startup jobBrendan Abolivier2019-05-281-2/+21
* | | Merge pull request #5294 from matrix-org/erikj/speed_up_room_statsErik Johnston2019-05-314-87/+111
|\ \ \
| * | | Add indices. Remove room_ids accidentally addedErik Johnston2019-05-312-13/+56
| * | | Join against events to use its room_id indexErik Johnston2019-05-301-1/+6
| * | | Move deletion from table inside txnErik Johnston2019-05-301-2/+5
| * | | Fetch membership counts all at onceErik Johnston2019-05-302-38/+18
| * | | Get events all at onceErik Johnston2019-05-301-33/+26
* | | | Add index to temp tableErik Johnston2019-05-301-0/+1
|/ / /
* | | Merge pull request #5278 from matrix-org/erikj/cleanup_bad_extremitiesErik Johnston2019-05-305-181/+436
|\ \ \
| * | | Update synapse/storage/events_bg_updates.pyErik Johnston2019-05-301-1/+1
| * | | Rename constantErik Johnston2019-05-301-3/+3
| * | | Move event background updates to a separate fileErik Johnston2019-05-303-369/+405
| * | | Fixup comments and loggingErik Johnston2019-05-302-9/+15
| * | | Log actual number of entries deletedErik Johnston2019-05-292-5/+13