83e29faa55 
								
									
								
							
								 
							
						 
						
							
							
								
								use time.NewTicker instead of time.Tick. ( #4119 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								23f3aea4cf 
								
							
								 
							
						 
						
							
							
								
								adjust logs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								92658b05a8 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor(volume_grpc_client_to_master): `grpcConection` -> `grpcConne… ( #3690 )  
							
							
 
							
							
							refactor(volume_grpc_client_to_master): `grpcConection` -> `grpcConnection`
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								721c6197f9 
								
									
								
							
								 
							
						 
						
							
							
								
								skip deltaBeat if dn is zero ( #3630 )  
							
							
 
							
							
							* skip deltaBeat
https://github.com/seaweedfs/seaweedfs/issues/3629 
* fix GrpcPort
* skip url :0
* skip empty DataCenter or Rack
* skip empty heartbeat Ip
* dell msg add DataCenter
* comment todo
* fix 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								2e78a522ab 
								
									
								
							
								 
							
						 
						
							
							
								
								remove old raft servers if they don't answer to pings for too long ( #3398 )  
							
							
 
							
							
							* remove old raft servers if they don't answer to pings for too long
add ping durations as options
rename ping fields
fix some todos
get masters through masterclient
raft remove server from leader
use raft servers to ping them
CheckMastersAlive for hashicorp raft only
* prepare blocking ping
* pass waitForReady as param
* pass waitForReady through all functions
* waitForReady works
* refactor
* remove unneeded params
* rollback unneeded changes
* fix 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eabf4d4e64 
								
							
								 
							
						 
						
							
							
								
								fix typo  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f8b72a54d 
								
							
								 
							
						 
						
							
							
								
								Revert "Merge pull request  #3159  from shichanglin5/_duplicateUUID"  
							
							
 
							
							
							This reverts commit 37da68931900d53c34c4 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5b0c04b14 
								
							
								 
							
						 
						
							
							
								
								perf: Optimized volume handling duplicateUUID logic to avoid quitting when volume is actualy normal  
							
							
 
							
							
							Under normal circumstances, there will be no problems, but when the
master is debugged in the local environment, the volume client cannot
communicate with the master normally, so the sendHeartBeat logic is
restarted, and a new connection is created to report the heartbeat. If
the master has not cleared the uuid of the volume at this time, then The
master will respond to volume duplicateUUIDS, and the volume service
will exit, but in fact the uuid of the volume is not duplicated 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b12944f9c6 
								
							
								 
							
						 
						
							
							
								
								fix naming convention  
							
							
 
							
							
							notify volume server of duplicate directoris
improve searching efficiency 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								076595fbdd 
								
							
								 
							
						 
						
							
							
								
								just exit in case of duplicated volume directories were loaded  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de6aa9cce8 
								
							
								 
							
						 
						
							
							
								
								avoid duplicated volume directory  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f9ef1340c 
								
							
								 
							
						 
						
							
							
								
								use streaming mode for long poll grpc calls  
							
							
 
							
							
							streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed. 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5fc35ed0c 
								
							
								 
							
						 
						
							
							
								
								change server address from string to a type  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e600bff5f 
								
							
								 
							
						 
						
							
							
								
								adjust log level  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7f01ac209 
								
							
								 
							
						 
						
							
							
								
								return if error  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59cb6146a3 
								
							
								 
							
						 
						
							
							
								
								refactor  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3575d41009 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8446b42ab 
								
							
								 
							
						 
						
							
							
								
								this can compile now!!!  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0dafcf1f5a 
								
							
								 
							
						 
						
							
							
								
								volume: detect max volume count changes based on disk usage  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1594  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2a4ffdd60 
								
							
								 
							
						 
						
							
							
								
								glog  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								46303c36bf 
								
							
								 
							
						 
						
							
							
								
								When the volume server is stopped, the master server immediately sees the deletion of volumes  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec08a1670b 
								
							
								 
							
						 
						
							
							
								
								volume: avoid hanging when stopping a volume server  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c21eb1971 
								
							
								 
							
						 
						
							
							
								
								volume: get metrics configuration from master  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1354  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be54eeb364 
								
							
								 
							
						 
						
							
							
								
								passing value by checkWithMaster() instead  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								913a16268d 
								
							
								 
							
						 
						
							
							
								
								volume: load configuration from master at the start  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1469  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d6753fb98 
								
							
								 
							
						 
						
							
							
								
								shell: add volumeServer.leave command  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								daf0a449f7 
								
							
								 
							
						 
						
							
							
								
								properly cancel context for streaming grpc  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a41588279a 
								
							
								 
							
						 
						
							
							
								
								change log level 5 to 4  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								464d4c82ec 
								
							
								 
							
						 
						
							
							
								
								stop send heartbeat before stop volume server  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67348e7b15 
								
							
								 
							
						 
						
							
							
								
								less noisy heartbeat logs  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								3137777d83 
								
							
								 
							
						 
						
							
							
								
								volume: automatically detect max volume count  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f90c43635d 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97ab8a1976 
								
							
								 
							
						 
						
							
							
								
								remove ctx if possible  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d335f04de6 
								
							
								 
							
						 
						
							
							
								
								support env variables to overwrite toml file  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0da7b894cc 
								
							
								 
							
						 
						
							
							
								
								pass backend config from master to volume servers  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fc6322c90 
								
							
								 
							
						 
						
							
							
								
								Change joeslay paths to chrislusf paths  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								595a1beff0 
								
							
								 
							
						 
						
							
							
								
								Swap imports to use joeslay  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8ed73926d 
								
							
								 
							
						 
						
							
							
								
								volume servers get metrics address and interval from the master  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								713596e781 
								
							
								 
							
						 
						
							
							
								
								caching ec shard locations  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								03b9291e5d 
								
							
								 
							
						 
						
							
							
								
								volum server passes grpc option and master location to store  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a4f3d82c57 
								
							
								 
							
						 
						
							
							
								
								convert needle id to ec intervals to read from  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f4b09b6a4 
								
							
								 
							
						 
						
							
							
								
								pb shard info uses ShardBits instead one message for one shard  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17ac1290c0 
								
							
								 
							
						 
						
							
							
								
								volume: load ec shards during heartbeats to master  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								017d0957c3 
								
							
								 
							
						 
						
							
							
								
								avoid switching master node if same ip and host name  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/955  
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								32f93fb09e 
								
							
								 
							
						 
						
							
							
								
								style: go fmt for all  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								108d0fb08d 
								
							
								 
							
						 
						
							
							
								
								adjust log level  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0302b9496c 
								
							
								 
							
						 
						
							
							
								
								volume: also check cookie for possible duplicates  
							
							
								
 
							
							
						 
						7 years ago