summary refs log tree commit diff
path: root/synapse/replication (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-02-02Bump changelog and version v0.19.0-rc4Erik Johnston2-2/+8
2017-02-02Bump cache sizes for common membership queriesErik Johnston1-3/+3
2017-02-02Measure new device list stuffErik Johnston2-1/+6
2017-02-02Bump version and changelog v0.19.0-rc3Erik Johnston2-5/+14
2017-02-02Use new get_users_who_share_room_with_userErik Johnston1-11/+13
2017-02-02Fix replicationErik Johnston1-0/+3
2017-02-02sets aren't JSON serializableErik Johnston1-1/+1
2017-02-02CommentErik Johnston1-1/+4
2017-02-02Use stream_ordering_to_exterm for /keys/changesErik Johnston1-9/+9
2017-02-02CommentErik Johnston1-0/+2
2017-02-02CommentErik Johnston1-1/+2
2017-02-02Make presence.get_new_events a bit fasterErik Johnston4-29/+33
We do this by caching the set of users a user shares rooms with.
2017-02-02Update changelog v0.19.0-rc2Erik Johnston2-1/+7
2017-02-02Update changelog v0.19.0-rc1Erik Johnston1-1/+1
2017-02-02Fix email push in pusher workerErik Johnston8-57/+70
This was broken when device list updates were implemented, as Mailer could no longer instantiate an AuthHandler due to a dependency on federation sending.
2017-02-02Bump version and changelogErik Johnston2-1/+49
2017-02-01Doc argsErik Johnston2-0/+11
2017-02-01CommentErik Johnston1-0/+3
2017-02-01Include newly joined users in /keys/changes APIErik Johnston3-5/+43
2017-02-01Correctly raise exceptions for ratelimitng. Ratelimit on 401Erik Johnston2-4/+6
2017-02-01Wake sync up for device changesErik Johnston1-1/+2
2017-02-01CommentErik Johnston1-1/+1
2017-02-01Add m.room.member type to queryErik Johnston1-1/+1
2017-02-01Add a small cache get_all_new_eventsErik Johnston1-0/+2
2017-02-01Up get_latest_event_ids_in_room cacheErik Johnston1-1/+1
2017-02-01CommentErik Johnston1-1/+12
2017-02-01Implement /keys/changesErik Johnston2-0/+54
2017-01-31Remote membership tests for replicationErik Johnston1-43/+0
This is because it now relies of the caches stream, which only works on postgres. We are trying to test with sqlite.
2017-01-31Only invalidate membership caches based on the cache streamErik Johnston4-41/+5
Before we completely invalidated get_users_in_room whenever we updated any current_state_events table. This was way too aggressive.
2017-01-31Remove explicit < 400 check as apparently this is confusingErik Johnston1-3/+1
2017-01-31Add an index to make membership queries fasterErik Johnston3-1/+26
2017-01-31CommentErik Johnston1-0/+2
2017-01-31CommentErik Johnston1-0/+4
2017-01-31Better handle 404 response for federation /send/Erik Johnston2-2/+14
2017-01-31Fix deletion of old sent devices correctlyErik Johnston1-5/+17
2017-01-31Only fetch with row ts and count > 1Erik Johnston1-1/+2
2017-01-31Fix clearing out old device list outbound pokesErik Johnston1-2/+7
2017-01-30Stream cache invalidations for room membership storage functionsErik Johnston1-2/+6
2017-01-30Don't have such a large cacheErik Johnston1-1/+1
2017-01-30Fix unit testsErik Johnston3-7/+15
2017-01-30Use DB cache of joined users for presenceErik Johnston1-3/+3
2017-01-30Noop device key changes if they're the sameErik Johnston3-15/+45
2017-01-30Fix queryErik Johnston1-1/+1
2017-01-30Use get_users_in_room and declare it iterableErik Johnston2-2/+2
2017-01-30Rename funcErik Johnston2-2/+2
2017-01-30Remove debug loggingErik Johnston1-1/+0
2017-01-30Clear out old destination pokes.Erik Johnston1-0/+42
2017-01-30Always use the latest stream_id, sent or unsentErik Johnston1-4/+4
2017-01-27Add ts column to device_lists_outbound_pokesErik Johnston2-1/+5
2017-01-27Hook device list updates to replicationErik Johnston7-29/+159
2017-01-27CommentErik Johnston1-0/+2
2017-01-27CommentErik Johnston1-0/+2
2017-01-27SQL param orderingErik Johnston1-1/+1
2017-01-27User if rather than forErik Johnston1-1/+4
2017-01-27Better nameErik Johnston2-2/+4
2017-01-27Remove unused paramErik Johnston1-2/+1
2017-01-26Fix unit testsErik Johnston1-0/+17
2017-01-26Fix on sqlite: use left rather than outer joinErik Johnston1-3/+3
2017-01-26Handle users leaving roomsErik Johnston2-1/+24
2017-01-26Add commentsErik Johnston4-7/+61
2017-01-26Implement device key caching over federationErik Johnston13-57/+381
2017-01-25Fix up sending of m.device_list_update edusErik Johnston3-80/+82
2017-01-25Add basic implementation of local device list changesErik Johnston14-39/+348
2017-01-24Don't clobber a displayname or avatar_url if provided by an m.room.member eventPaul "LeoNerd" Evans1-2/+4
2017-01-23TypoErik Johnston1-1/+1
2017-01-23Refactor to calculate state delta outside transactionErik Johnston1-87/+118
2017-01-20CommentsErik Johnston1-8/+19
2017-01-20Insert delta of current_state_events to be more efficientErik Johnston5-119/+58
2017-01-20SpellingErik Johnston1-1/+1
2017-01-20Update all call sites after renameErik Johnston1-1/+1
2017-01-20CommentsErik Johnston1-0/+11
2017-01-20Calculate the forward extremeties onceErik Johnston2-126/+92
2017-01-20fix doc for purge_media_cacheRichard van der Hoff1-5/+3
purge_media_cache takes its arg from a query-param, not the POST body, for some reason.
2017-01-20Derive current_state_events from state groupsErik Johnston4-99/+138
2017-01-20Make worker listener config backwards compatErik Johnston1-0/+10
2017-01-19Added default config for turn username and passwordMarvin Steadfast1-0/+5
2017-01-19Added username and password for turn serverMarvin Steadfast2-10/+20
It makes it possible to use a turn server that needs a username and password instead of a token.
2017-01-18Update LruCache size estimate on clearErik Johnston1-0/+2
2017-01-18Lowercase all email addresses before querying dbDavid Baker2-1/+12
Since we store all emails in the DB in lowercase (https://github.com/matrix-org/synapse/pull/1170)
2017-01-17Lower loading events log to DEBUGErik Johnston1-2/+2
2017-01-17Lower the not retrying host log line to debugErik Johnston1-1/+1
2017-01-17Change resolve_state_groups call site logging to DEBUGErik Johnston3-6/+6
2017-01-17Measure metrics of string_cacheErik Johnston1-3/+8
2017-01-17PEP8Erik Johnston1-1/+1
2017-01-17Only construct sets when necessaryMark Haines1-14/+19
2017-01-17Use better namesErik Johnston1-9/+7
2017-01-17Fix typo in return typeErik Johnston1-3/+2
2017-01-17Use better variable nameErik Johnston1-3/+3
2017-01-17Get state at event rather than for room in pushErik Johnston1-1/+1
2017-01-17Correctly handle case of rejected events in state resErik Johnston1-10/+16
2017-01-17Check event is in state_mapErik Johnston1-2/+7
2017-01-17Fix couple of federation state bugsErik Johnston2-3/+5
2017-01-17Optimise state resolutionErik Johnston7-72/+229
2017-01-17Tidy up testErik Johnston1-12/+12
2017-01-17Rename and comment tree_to_leaves_iteratorErik Johnston2-5/+8
2017-01-17Remove needless call to evict()Erik Johnston1-1/+0
2017-01-17Increase state_group_cache_sizeErik Johnston1-1/+1
2017-01-17Speed up cache size calculationErik Johnston7-62/+148
Instead of calculating the size of the cache repeatedly, which can take a long time now that it can use a callback, instead cache the size and update that on insertion and deletion. This requires changing the cache descriptors to have two caches, one for pending deferreds and the other for the actual values. There's no reason to evict from the pending deferreds as they won't take up any more memory