da4edf3651 
								
							
								 
							
						 
						
							
							
								
								master: check peers for existing leader before starting a leader election  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1509  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91e4eca1e9 
								
							
								 
							
						 
						
							
							
								
								Fix deadlock with KeepConnected and SendHeartbeat  
							
							
 
							
							
							There's the potential where we're writing to a clientConn and it goes away
and we're stuck keeping a read lock on clientChansLock. This causes
KeepConnected to not be able to remove the client since it requires a write
lock on clientChansLock. This ends up backing up SendHeartbeat because it
can't get a read lock. 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41d508edfd 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be54eeb364 
								
							
								 
							
						 
						
							
							
								
								passing value by checkWithMaster() instead  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97733c3dff 
								
							
								 
							
						 
						
							
							
								
								typo  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a41588279a 
								
							
								 
							
						 
						
							
							
								
								change log level 5 to 4  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bee0d7e5eb 
								
							
								 
							
						 
						
							
							
								
								lower log priority for noisy heartbeat  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93ea0801ea 
								
							
								 
							
						 
						
							
							
								
								volume: the variable for the master node may be stale?  
							
							
 
							
							
							related to https://github.com/chrislusf/seaweedfs/issues/1414  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								31583b5d6c 
								
							
								 
							
						 
						
							
							
								
								master and volume server: avoid race condition  
							
							
 
							
							
							The volume server may disconnect and reconnect to the same master.
The master's unregistration may happen after the reconnection. Thus the volume server will disappear. 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								69eda558ef 
								
							
								 
							
						 
						
							
							
								
								reduce the connections  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1277 
this avoids sending error to wdclients, and clients retry the connections 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								826f96b6f3 
								
							
								 
							
						 
						
							
							
								
								fix unreachable code  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8e23dc078b 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5361f999ed 
								
							
								 
							
						 
						
							
							
								
								shell: only one shell is allowed to connect to the cluster  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1266  
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c16dc57a58 
								
							
								 
							
						 
						
							
							
								
								fix max volume count reporting  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3137777d83 
								
							
								 
							
						 
						
							
							
								
								volume: automatically detect max volume count  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc40413847 
								
							
								 
							
						 
						
							
							
								
								fix error  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a8484b4ae 
								
							
								 
							
						 
						
							
							
								
								master able to list all master clients by type  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c1da71402 
								
							
								 
							
						 
						
							
							
								
								remove dead code  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0da7b894cc 
								
							
								 
							
						 
						
							
							
								
								pass backend config from master to volume servers  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ea9a7e61d0 
								
							
								 
							
						 
						
							
							
								
								only send metrics address during on the first response  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71eb8efd20 
								
							
								 
							
						 
						
							
							
								
								fix error logs  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55a2221eba 
								
							
								 
							
						 
						
							
							
								
								master: add logging for volume server disconnection  
							
							
 
							
							
							add logging for https://github.com/chrislusf/seaweedfs/issues/1093  
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fc6322c90 
								
							
								 
							
						 
						
							
							
								
								Change joeslay paths to chrislusf paths  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								595a1beff0 
								
							
								 
							
						 
						
							
							
								
								Swap imports to use joeslay  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca2b81a944 
								
							
								 
							
						 
						
							
							
								
								fix test error  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								19360ab10a 
								
							
								 
							
						 
						
							
							
								
								master: redirect clients to the new leader  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0264a7f50a 
								
							
								 
							
						 
						
							
							
								
								set the max file key when ever possible  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f16375621f 
								
							
								 
							
						 
						
							
							
								
								big refactoring  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8ed73926d 
								
							
								 
							
						 
						
							
							
								
								volume servers get metrics address and interval from the master  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								450f4733ce 
								
							
								 
							
						 
						
							
							
								
								report empty volume or ec shards  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ede876cfdb 
								
							
								 
							
						 
						
							
							
								
								periodic scripts exeuction from leader master  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac1ba3b667 
								
							
								 
							
						 
						
							
							
								
								remove comments  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								92f9c7b1aa 
								
							
								 
							
						 
						
							
							
								
								adjust ec shard status on disconnect  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b58e25e588 
								
							
								 
							
						 
						
							
							
								
								broadcast vid->location map to master clients for ec chards  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af67d99ca4 
								
							
								 
							
						 
						
							
							
								
								incrementally update master ec shards state  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24b8ad9a14 
								
							
								 
							
						 
						
							
							
								
								push the ec shard info to master  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4659d80035 
								
							
								 
							
						 
						
							
							
								
								prepare to register ec shard info in master  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17ac1290c0 
								
							
								 
							
						 
						
							
							
								
								volume: load ec shards during heartbeats to master  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								32f93fb09e 
								
							
								 
							
						 
						
							
							
								
								style: go fmt for all  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								108d0fb08d 
								
							
								 
							
						 
						
							
							
								
								adjust log level  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								132921ad41 
								
							
								 
							
						 
						
							
							
								
								adjust log or error  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fc1f53018 
								
							
								 
							
						 
						
							
							
								
								shell: add command volume.move  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								766396d249 
								
							
								 
							
						 
						
							
							
								
								weed master: atomic volume counting  
							
							
 
							
							
							possible fix for https://github.com/chrislusf/seaweedfs/issues/913  
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f233bbe9c0 
								
							
								 
							
						 
						
							
							
								
								Fix  https://github.com/chrislusf/seaweedfs/issues/825#issuecomment-469097375  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ff4a147b2 
								
							
								 
							
						 
						
							
							
								
								cleanup security.Secret  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b71d6f4b88 
								
							
								 
							
						 
						
							
							
								
								Fix  https://github.com/chrislusf/seaweedfs/issues/830  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76cbe8bf33 
								
							
								 
							
						 
						
							
							
								
								instant notification of new volumes added or deleted  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5ccf8e8078 
								
							
								 
							
						 
						
							
							
								
								reformat  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3205a0070 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1ab8232b55 
								
							
								 
							
						 
						
							
							
								
								filer only talk to the master leader  
							
							
								
 
							
							
						 
						7 years ago