09cbcb78d3 
								
							
								 
							
						 
						
							
							
								
								Add cache to get_public_room_ids_at_stream_id  
							
							
							
						 
						
							2016-12-12 14:41:51 +00:00  
				
					
						
							
							
								 
						
							
							
								f32fb65552 
								
							
								 
							
						 
						
							
							
								
								Add new API appservice specific public room list  
							
							
							
						 
						
							2016-12-06 16:12:27 +00:00  
				
					
						
							
							
								 
						
							
							
								26072df6af 
								
							
								 
							
						 
						
							
							
								
								Ensure only main or federation_sender process can send federation traffic  
							
							
							
						 
						
							2016-11-23 14:09:47 +00:00  
				
					
						
							
							
								 
						
							
							
								4c79a63fd7 
								
							
								 
							
						 
						
							
							
								
								Explicit federation ack  
							
							
							
						 
						
							2016-11-23 10:40:44 +00:00  
				
					
						
							
							
								 
						
							
							
								90565d015e 
								
							
								 
							
						 
						
							
							
								
								Invalidate retry cache in both directions  
							
							
							
						 
						
							2016-11-22 17:45:44 +00:00  
				
					
						
							
							
								 
						
							
							
								7c9cdb2245 
								
							
								 
							
						 
						
							
							
								
								Store federation stream positions in the database  
							
							
							
						 
						
							2016-11-21 11:33:08 +00:00  
				
					
						
							
							
								 
						
							
							
								f8ee66250a 
								
							
								 
							
						 
						
							
							
								
								Handle sending events and device messages over federation  
							
							
							
						 
						
							2016-11-17 15:48:04 +00:00  
				
					
						
							
							
								 
						
							
							
								ed787cf09e 
								
							
								 
							
						 
						
							
							
								
								Hook up the send queue and create a federation sender worker  
							
							
							
						 
						
							2016-11-16 17:34:44 +00:00  
				
					
						
							
							
								 
						
							
							
								668f91d707 
								
							
								 
							
						 
						
							
							
								
								Fix check of wrong variable  
							
							
							
						 
						
							2016-10-11 13:57:22 +01:00  
				
					
						
							
							
								 
						
							
							
								748d8fdc7b 
								
							
								 
							
						 
						
							
							
								
								Reduce DB hits for replication  
							
							... 
							
							
							
							Some streams will occaisonally advance their positions without actually
having any new rows to send over federation. Currently this means that
the token will not advance on the workers, leading to them repeatedly
sending a slightly out of date token. This in turns requires the master
to hit the DB to check if there are any new rows, rather than hitting
the no op logic where we check if the given token matches the current
token.
This commit changes the API to always return an entry if the position
for a stream has changed, allowing workers to advance their tokens
correctly. 
							
						 
						
							2016-09-23 16:49:21 +01:00  
				
					
						
							
							
								 
						
							
							
								995f2f032f 
								
							
								 
							
						 
						
							
							
								
								Fix public room pagination for client_reader app  
							
							
							
						 
						
							2016-09-16 14:48:21 +01:00  
				
					
						
							
							
								 
						
							
							
								418bcd4309 
								
							
								 
							
						 
						
							
							
								
								Add new storage function to slave store  
							
							
							
						 
						
							2016-09-16 08:37:39 +01:00  
				
					
						
							
							
								 
						
							
							
								cb3edec6af 
								
							
								 
							
						 
						
							
							
								
								Use stream_change cache to make get_forward_extremeties_for_room cache more effective  
							
							
							
						 
						
							2016-09-15 14:28:13 +01:00  
				
					
						
							
							
								 
						
							
							
								55e6fc917c 
								
							
								 
							
						 
						
							
							
								
								Add cache to get_forward_extremeties_for_room  
							
							
							
						 
						
							2016-09-15 14:04:28 +01:00  
				
					
						
							
							
								 
						
							
							
								211786ecd6 
								
							
								 
							
						 
						
							
							
								
								Stream public room changes down replication  
							
							
							
						 
						
							2016-09-15 11:47:23 +01:00  
				
					
						
							
							
								 
						
							
							
								a4339de9de 
								
							
								 
							
						 
						
							
							
								
								Correctly handle typing stream id resetting  
							
							
							
						 
						
							2016-09-09 16:44:26 +01:00  
				
					
						
							
							
								 
						
							
							
								ab80d5e0a9 
								
							
								 
							
						 
						
							
							
								
								Drop replication log levels  
							
							
							
						 
						
							2016-09-09 14:56:50 +01:00  
				
					
						
							
							
								 
						
							
							
								6a6cbfcf1e 
								
							
								 
							
						 
						
							
							
								
								Track the max_stream_device_id in a separate table, since we delete from the inbox table  
							
							
							
						 
						
							2016-09-09 11:48:23 +01:00  
				
					
						
							
							
								 
						
							
							
								fa9d36e050 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into markjh/direct_to_device_federation  
							
							
							
						 
						
							2016-09-08 13:43:43 +01:00  
				
					
						
							
							
								 
						
							
							
								2a0159b8ae 
								
							
								 
							
						 
						
							
							
								
								Fix the stream change cache to work over replication  
							
							
							
						 
						
							2016-09-07 15:58:00 +01:00  
				
					
						
							
							
								 
						
							
							
								a99e933550 
								
							
								 
							
						 
						
							
							
								
								Add upgrade script that will slowly prune state_groups_state entries  
							
							
							
						 
						
							2016-09-05 10:05:36 +01:00  
				
					
						
							
							
								 
						
							
							
								44982606ee 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1060  from matrix-org/erikj/state_ids  
							
							... 
							
							
							
							Assign state groups in state handler. 
							
						 
						
							2016-09-01 14:20:42 +01:00  
				
					
						
							
							
								 
						
							
							
								826ca61745 
								
							
								 
							
						 
						
							
							
								
								Add storage function to SlaveStore  
							
							
							
						 
						
							2016-08-31 14:45:04 +01:00  
				
					
						
							
							
								 
						
							
							
								1aa3e1d287 
								
							
								 
							
						 
						
							
							
								
								Add a replication stream for direct to device messages  
							
							
							
						 
						
							2016-08-31 10:38:58 +01:00  
				
					
						
							
							
								 
						
							
							
								3e784eff74 
								
							
								 
							
						 
						
							
							
								
								Remove state replication stream  
							
							
							
						 
						
							2016-08-30 16:51:36 +01:00  
				
					
						
							
							
								 
						
							
							
								55fc17cf4b 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1049  from matrix-org/erikj/presence_users_in_room  
							
							... 
							
							
							
							Use state handler instead of get_users_in_room/get_joined_hosts 
							
						 
						
							2016-08-30 10:50:37 +01:00  
				
					
						
							
							
								 
						
							
							
								41788bba50 
								
							
								 
							
						 
						
							
							
								
								Add to slave store  
							
							
							
						 
						
							2016-08-30 09:55:17 +01:00  
				
					
						
							
							
								 
						
							
							
								873f870e5a 
								
							
								 
							
						 
						
							
							
								
								Add new direct message storage functions to slave store  
							
							
							
						 
						
							2016-08-30 09:40:32 +01:00  
				
					
						
							
							
								 
						
							
							
								bed10f9880 
								
							
								 
							
						 
						
							
							
								
								Use state handler instead of get_users_in_room/get_joined_hosts  
							
							
							
						 
						
							2016-08-26 14:54:30 +01:00  
				
					
						
							
							
								 
						
							
							
								4daa397a00 
								
							
								 
							
						 
						
							
							
								
								Add is_host_joined to slave storage  
							
							
							
						 
						
							2016-08-26 13:10:56 +01:00  
				
					
						
							
							
								 
						
							
							
								50943ab942 
								
							
								 
							
						 
						
							
							
								
								Add new state storage funcs to replication  
							
							
							
						 
						
							2016-08-26 09:57:32 +01:00  
				
					
						
							
							
								 
						
							
							
								07229bbdae 
								
							
								 
							
						 
						
							
							
								
								Add appservice worker  
							
							
							
						 
						
							2016-08-18 14:59:55 +01:00  
				
					
						
							
							
								 
						
							
							
								a2427981b7 
								
							
								 
							
						 
						
							
							
								
								Use cached get_user_by_access_token in slaves  
							
							
							
						 
						
							2016-08-16 11:24:32 +01:00  
				
					
						
							
							
								 
						
							
							
								d9664344ec 
								
							
								 
							
						 
						
							
							
								
								Rename table. Add docs.  
							
							
							
						 
						
							2016-08-15 11:45:57 +01:00  
				
					
						
							
							
								 
						
							
							
								0be963472b 
								
							
								 
							
						 
						
							
							
								
								Use cached version of get_aliases_for_room  
							
							
							
						 
						
							2016-08-15 11:24:12 +01:00  
				
					
						
							
							
								 
						
							
							
								64e7e11853 
								
							
								 
							
						 
						
							
							
								
								Implement cache replication stream  
							
							
							
						 
						
							2016-08-15 11:16:45 +01:00  
				
					
						
							
							
								 
						
							
							
								5aa024e501 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into erikj/fed_reader  
							
							
							
						 
						
							2016-07-29 11:24:56 +01:00  
				
					
						
							
							
								 
						
							
							
								0a7d3cd00f 
								
							
								 
							
						 
						
							
							
								
								Create separate methods for getting messages to push  
							
							... 
							
							
							
							for the email and http pushers rather than trying to make a single
method that will work with their conflicting requirements.
The http pusher needs to get the messages in ascending stream order, and
doesn't want to miss a message.
The email pusher needs to get the messages in descending timestamp order,
and doesn't mind if it misses messages. 
							
						 
						
							2016-07-28 20:24:24 +01:00  
				
					
						
							
							
								 
						
							
							
								ec8b217722 
								
							
								 
							
						 
						
							
							
								
								Add destination retry to slave store  
							
							
							
						 
						
							2016-07-28 17:35:53 +01:00  
				
					
						
							
							
								 
						
							
							
								76b89d0edb 
								
							
								 
							
						 
						
							
							
								
								Add slace storage functions for public room list  
							
							
							
						 
						
							2016-07-28 17:03:40 +01:00  
				
					
						
							
							
								 
						
							
							
								0fcbca531f 
								
							
								 
							
						 
						
							
							
								
								Add get_auth_chain to slave store  
							
							
							
						 
						
							2016-07-28 16:36:28 +01:00  
				
					
						
							
							
								 
						
							
							
								6ede23ff1b 
								
							
								 
							
						 
						
							
							
								
								Add more key storage funcs into slave store  
							
							
							
						 
						
							2016-07-28 15:41:26 +01:00  
				
					
						
							
							
								 
						
							
							
								aede7248ab 
								
							
								 
							
						 
						
							
							
								
								Split out a FederationReader process  
							
							
							
						 
						
							2016-07-21 17:37:44 +01:00  
				
					
						
							
							
								 
						
							
							
								46b7362304 
								
							
								 
							
						 
						
							
							
								
								pep8  
							
							
							
						 
						
							2016-06-24 11:44:57 +01:00  
				
					
						
							
							
								 
						
							
							
								870c45913e 
								
							
								 
							
						 
						
							
							
								
								Use similar naming we use in email notifs for push  
							
							... 
							
							
							
							Fixes https://github.com/vector-im/vector-web/issues/1654  
							
						 
						
							2016-06-24 11:41:11 +01:00  
				
					
						
							
							
								 
						
							
							
								05e01f21d7 
								
							
								 
							
						 
						
							
							
								
								Remove event fetching from DB threads  
							
							
							
						 
						
							2016-06-03 17:22:13 +01:00  
				
					
						
							
							
								 
						
							
							
								20eccd84d4 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #827  from matrix-org/markjh/more_slaved_methods  
							
							... 
							
							
							
							Add methods to events, account data and receipt slaves 
							
						 
						
							2016-06-03 11:46:21 +01:00  
				
					
						
							
							
								 
						
							
							
								b09f348530 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #824  from matrix-org/markjh/slaved_presence_store  
							
							... 
							
							
							
							Add a slaved store for presence 
							
						 
						
							2016-06-03 11:26:33 +01:00  
				
					
						
							
							
								 
						
							
							
								81cf449daa 
								
							
								 
							
						 
						
							
							
								
								Add methods to events, account data and receipt slaves  
							
							... 
							
							
							
							Adds the methods needed by /sync to the slaved events,
account data and receipt stores. 
							
						 
						
							2016-06-03 11:19:27 +01:00  
				
					
						
							
							
								 
						
							
							
								3ae915b27e 
								
							
								 
							
						 
						
							
							
								
								Add a slaved store for presence  
							
							
							
						 
						
							2016-06-03 11:05:53 +01:00