7acebf11ea 
								
									
								
							
								 
							
						 
						
							
							
								
								Master: volume assignment concurrency ( #7159 )  
							
							
 
							
							
							* volume assginment concurrency
* accurate tests
* ensure uniqness
* reserve atomically
* address comments
* atomic
* ReserveOneVolumeForReservation
* duplicated
* Update weed/topology/node.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update weed/topology/node.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* atomic counter
* dedup
* select the appropriate functions based on the useReservations flag
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> 
							
						 
						2 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35fd1e1c9a 
								
							
								 
							
						 
						
							
							
								
								optimize memory usage for large number of volumes  
							
							
 
							
							
							1. unwrap the map to avoid extra map object creation
2. fix ec shard counting in UpdateEcShards 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								654b8210f7 
								
							
								 
							
						 
						
							
							
								
								parameter name  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a4b25a642d 
								
							
								 
							
						 
						
							
							
								
								math/rand => math/rand/v2  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								5ee04d20fa 
								
									
								
							
								 
							
						 
						
							
							
								
								Healthz check for deadlocks ( #4558 )  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								9bdbf9c880 
								
									
								
							
								 
							
						 
						
							
							
								
								revert  #4491  ( #4550 )  
							
							
 
							
							
							Co-authored-by: wang wusong <wangwusong@virtaitech.com> 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								26f15d0079 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix no more writable volumes by delay judgment ( #4548 )  
							
							
 
							
							
							* fix nomore writables volumes while disk free space is sufficient by time delay
* reset
---------
Co-authored-by: wang wusong <wangwusong@virtaitech.com> 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca7cc61319 
								
							
								 
							
						 
						
							
							
								
								reduce the window size between unregistering a volume server and creating volumes on that server  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/4467  
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								8fffe3e822 
								
									
								
							
								 
							
						 
						
							
							
								
								fix no more writables volumes while disk free space is sufficient ( #4491 )  
							
							
 
							
							
							Co-authored-by: wang wusong <wangwusong@virtaitech.com> 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								bd70683871 
								
									
								
							
								 
							
						 
						
							
							
								
								fix(weed/topology/node.go): typo in error message ( #4292 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								cca45b02a2 
								
									
								
							
								 
							
						 
						
							
							
								
								avoid data race on calc freeVolumeSlotCount ( #3594 )  
							
							
 
							
							
							https://github.com/seaweedfs/seaweedfs/issues/3593  
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb57aa431c 
								
							
								 
							
						 
						
							
							
								
								stats master_replica_placement_mismatch  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b624090398 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d36a3f9d 
								
							
								 
							
						 
						
							
							
								
								master: avoid creating too many volumes  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2062  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4d32f6937 
								
							
								 
							
						 
						
							
							
								
								ahead of time volume assignment  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3575d41009 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								53ca7e66ef 
								
							
								 
							
						 
						
							
							
								
								avoid dead lock  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb9cc29518 
								
							
								 
							
						 
						
							
							
								
								volume.list display; fix updating maxVolumeCount for disk  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3fe628f04e 
								
							
								 
							
						 
						
							
							
								
								use hdd instead of empty string  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8446b42ab 
								
							
								 
							
						 
						
							
							
								
								this can compile now!!!  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f696a2b2a7 
								
							
								 
							
						 
						
							
							
								
								assign volumes based on disk type  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9db24cd05 
								
							
								 
							
						 
						
							
							
								
								master allocate volumes if ssd type runs out  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d156c74ec0 
								
							
								 
							
						 
						
							
							
								
								volume server set volume type and heartbeat to the master  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e39e78ea8d 
								
							
								 
							
						 
						
							
							
								
								remove println  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35208711e5 
								
							
								 
							
						 
						
							
							
								
								logging  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1ae83c2938 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								40f70481cd 
								
							
								 
							
						 
						
							
							
								
								schedule new volume by free volume number of nodes  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e426bd541e 
								
							
								 
							
						 
						
							
							
								
								grow volumes on volume servers with slots freed by cloud storage  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fc6322c90 
								
							
								 
							
						 
						
							
							
								
								Change joeslay paths to chrislusf paths  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								595a1beff0 
								
							
								 
							
						 
						
							
							
								
								Swap imports to use joeslay  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								57092d69ac 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eaa76f11b7 
								
							
								 
							
						 
						
							
							
								
								free volume slots factor in ec shard counts  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								32f93fb09e 
								
							
								 
							
						 
						
							
							
								
								style: go fmt for all  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5506152c0 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								766396d249 
								
							
								 
							
						 
						
							
							
								
								weed master: atomic volume counting  
							
							
 
							
							
							possible fix for https://github.com/chrislusf/seaweedfs/issues/913  
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab6be025d7 
								
							
								 
							
						 
						
							
							
								
								go fmt and fix some typo  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								371ad2e397 
								
							
								 
							
						 
						
							
							
								
								fix reserve volume on node  
							
							
								
 
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a8746ca54 
								
							
								 
							
						 
						
							
							
								
								better error message  
							
							
								
 
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e767c3ea4f 
								
							
								 
							
						 
						
							
							
								
								disable master connection timeout  
							
							
 
							
							
							temporarily disable master connection timeout due to heartbeat
connection timeout 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e46c3415f7 
								
							
								 
							
						 
						
							
							
								
								gRpc for master~volume heartbeat  
							
							
								
 
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5ce6bbf076 
								
							
								 
							
						 
						
							
							
								
								directory structure change to work with glide  
							
							
 
							
							
							glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4734efa9a1 
								
							
								 
							
						 
						
							
							
								
								lock node.children  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								57c85adc53 
								
							
								 
							
						 
						
							
							
								
								lock dn.volumes  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a7f4cecbb 
								
							
								 
							
						 
						
							
							
								
								[MOD] fix a bug.if node is nil will get an panic.  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0c2a2dcb3 
								
							
								 
							
						 
						
							
							
								
								Change all chrislusf/weed-fs links to point to chrislu/seaweedfs  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b07d81fb08 
								
							
								 
							
						 
						
							
							
								
								follow golint suggestions  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d56c748fa8 
								
							
								 
							
						 
						
							
							
								
								switch it back to chris's repo  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0dfdf4392 
								
							
								 
							
						 
						
							
							
								
								switch to my forked repo  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								179d36ba0e 
								
							
								 
							
						 
						
							
							
								
								formatting code by: goimports -w=true .  
							
							
								
 
							
							
						 
						11 years ago