8aae82dd71 
								
									
								
							
								 
							
						 
						
							
							
								
								Added context for the MasterClient's methods to avoid endless loops ( #5628 )  
							
							
 
							
							
							* Added context for the MasterClient's methods to avoid endless loops
* Returned WithClient function. Added WithClientCustomGetMaster function
* Hid unused ctx arguments
* Using a common context for the KeepConnectedToMaster and WaitUntilConnected functions
* Changed the context termination check in the tryConnectToMaster function
* Added a child context to the tryConnectToMaster function
* Added a common context for KeepConnectedToMaster and WaitUntilConnected functions in benchmark 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d218fe54fa 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								53d1d2b78a 
								
							
								 
							
						 
						
							
							
								
								save schema when configuring topic  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ccdd9cd8de 
								
							
								 
							
						 
						
							
							
								
								refactor  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f37c0d0d7a 
								
							
								 
							
						 
						
							
							
								
								comment out println  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d935f70e3c 
								
							
								 
							
						 
						
							
							
								
								shutdown follower when leader stops  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f07875e8e1 
								
							
								 
							
						 
						
							
							
								
								send flush message to follower before shutting down logBuffer  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e568e742c9 
								
							
								 
							
						 
						
							
							
								
								renaming  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66a878af39 
								
							
								 
							
						 
						
							
							
								
								add control message to data message  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9df613b6b 
								
							
								 
							
						 
						
							
							
								
								add publisher name for debugging  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d55bddc75 
								
							
								 
							
						 
						
							
							
								
								logs  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab9fc0ad70 
								
							
								 
							
						 
						
							
							
								
								simplify  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dab5454332 
								
							
								 
							
						 
						
							
							
								
								publish and send to follower  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								059a120708 
								
							
								 
							
						 
						
							
							
								
								refactor  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7d87c1d2bb 
								
							
								 
							
						 
						
							
							
								
								refactor  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5cc94a05b9 
								
							
								 
							
						 
						
							
							
								
								separate goroutine to send ack to publisher  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17806cde2a 
								
							
								 
							
						 
						
							
							
								
								separate context  
							
							
 
							
							
							If using the same context, the downstream grpc would be cancelled when the parent grpc is cancelled. 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f67c8309d8 
								
							
								 
							
						 
						
							
							
								
								rename  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d6a066495b 
								
							
								 
							
						 
						
							
							
								
								adjust logs  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b1b96ea1e 
								
							
								 
							
						 
						
							
							
								
								close local partition if no more publishers and subscribers  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4f5c4c3388 
								
							
								 
							
						 
						
							
							
								
								refactor  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d558a58946 
								
							
								 
							
						 
						
							
							
								
								refactor  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								205d2285f3 
								
							
								 
							
						 
						
							
							
								
								setup follower by publisher  
							
							
 
							
							
							* the subscriber would getOrGen a local partition and wait
* the publisher would getOrGen a local partition. If localPartition follower is not setup, and init message has follower info, it would create followers based on init.Messages. 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7003ce7425 
								
							
								 
							
						 
						
							
							
								
								publisher is able to fully send data and receive acks  
							
							
 
							
							
							still needs to close the pipes cleanly 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								516cba7053 
								
							
								 
							
						 
						
							
							
								
								remove FollowInMemoryMessages  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a8b73296d7 
								
							
								 
							
						 
						
							
							
								
								fix test3  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8e5068fd2f 
								
							
								 
							
						 
						
							
							
								
								notify  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44ab42d03c 
								
							
								 
							
						 
						
							
							
								
								unnecessary  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f2dd8cc3e 
								
							
								 
							
						 
						
							
							
								
								add follower id info  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								529fa8c4c8 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b5c547cfe 
								
							
								 
							
						 
						
							
							
								
								logs  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55714f54ab 
								
							
								 
							
						 
						
							
							
								
								local partition is generated or not  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								549455c30d 
								
							
								 
							
						 
						
							
							
								
								streaming mode  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f653838f34 
								
							
								 
							
						 
						
							
							
								
								follower receive a hello message before actual data  
							
							
 
							
							
							the leader can ensure the follower has connected 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f75a0af55 
								
							
								 
							
						 
						
							
							
								
								ask follower to follow  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7823ee967 
								
							
								 
							
						 
						
							
							
								
								retry connecting to broker leader  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								28f8f33d6a 
								
							
								 
							
						 
						
							
							
								
								include key in LogEntry  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34f2b600ac 
								
							
								 
							
						 
						
							
							
								
								each log function adds a "done" return parameter  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62397f2371 
								
							
								 
							
						 
						
							
							
								
								adjust error  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7598922b41 
								
							
								 
							
						 
						
							
							
								
								assign followers  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b4484bf0a 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								16b4f9d9ab 
								
							
								 
							
						 
						
							
							
								
								subscriber find broker leader first  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								656b78d1af 
								
							
								 
							
						 
						
							
							
								
								proxy to broker leader  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4dc6681833 
								
							
								 
							
						 
						
							
							
								
								proxy requests to lock owner  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f9131de43f 
								
							
								 
							
						 
						
							
							
								
								fix lock TTL  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a12301b3d 
								
							
								 
							
						 
						
							
							
								
								avoid too large expiration time  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d41792461c 
								
							
								 
							
						 
						
							
							
								
								lock returns host and owner  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d30150dde1 
								
							
								 
							
						 
						
							
							
								
								use a short-lived lock  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac50d8a822 
								
							
								 
							
						 
						
							
							
								
								re-lock if the lock owner is not found  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b2e5ddc7c 
								
							
								 
							
						 
						
							
							
								
								wait 3 seconds before shutting down publish client, to wait for all messages to be received  
							
							
								
 
							
							
						 
						2 years ago