72af97162f 
								
									
								
							
								 
							
						 
						
							
							
								
								[shell] feat:stop vacuum immediately once volume.vacuum.disable was executed ( #6375 )  
							
							
 
							
							
							stop vacuum immediately once volume.vacuum.disable was executed
Co-authored-by: dsd <dsd2019@foxmail.com> 
							
						 
						11 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								a4b25a642d 
								
							
								 
							
						 
						
							
							
								
								math/rand => math/rand/v2  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4463296811 
								
							
								 
							
						 
						
							
							
								
								add parallel vacuuming  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								73baf82f05 
								
									
								
							
								 
							
						 
						
							
							
								
								bugfix: unregister ec shards when volume server disconnected ( #5697 )  
							
							
 
							
							
							bugfix unregister ec shards when volume server disconnected
Co-authored-by: liguowei <liguowei@xinye.com> 
							
						 
						1 year 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  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								d8cfa1552b 
								
									
								
							
								 
							
						 
						
							
							
								
								support enable/disable vacuum ( #4087 )  
							
							
 
							
							
							* stop vacuum
* suspend/resume vacuum
* remove unused code
* rename
* rename param 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								6199d9b923 
								
									
								
							
								 
							
						 
						
							
							
								
								rand start garbageThreshold and reset metric ReplicaPlacementMismatch ( #3396 )  
							
							
 
							
							
							* rand start garbageThreshold
reset metrics MasterReplicaPlacementMismatch
* vacuum through sleep 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e35b4929f 
								
							
								 
							
						 
						
							
							
								
								shell vacuum volume by collection and volume id  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c20e1edd99 
								
							
								 
							
						 
						
							
							
								
								fix: master lose some volumes  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d36a3f9d 
								
							
								 
							
						 
						
							
							
								
								master: avoid creating too many volumes  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2062  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9a6aa00e9d 
								
							
								 
							
						 
						
							
							
								
								avoid nil locations  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2059  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4d32f6937 
								
							
								 
							
						 
						
							
							
								
								ahead of time volume assignment  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3fe628f04e 
								
							
								 
							
						 
						
							
							
								
								use hdd instead of empty string  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8446b42ab 
								
							
								 
							
						 
						
							
							
								
								this can compile now!!!  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4bd8a692d8 
								
							
								 
							
						 
						
							
							
								
								disk type can be generic tags  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d2ec832e2 
								
							
								 
							
						 
						
							
							
								
								rename from volumeType to diskType  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d156c74ec0 
								
							
								 
							
						 
						
							
							
								
								volume server set volume type and heartbeat to the master  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9cd798bd3 
								
							
								 
							
						 
						
							
							
								
								adding volume type  
							
							
								
 
							
							
						 
						5 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								77b9af531d 
								
							
								 
							
						 
						
							
							
								
								adding grpc mutual tls  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								201c24c110 
								
							
								 
							
						 
						
							
							
								
								add locking to volume layout vacuum  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b1daede91b 
								
							
								 
							
						 
						
							
							
								
								move volume vacuum to gRpc  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58344980e4 
								
							
								 
							
						 
						
							
							
								
								preallocate disk space during compaction also, add cleanup for failed compaction  
							
							
								
 
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c7dad589d 
								
							
								 
							
						 
						
							
							
								
								stop when dn.parent is nil  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/473  
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								96d2f11f81 
								
							
								 
							
						 
						
							
							
								
								adjust log  
							
							
								
 
							
							
						 
						10 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								57c85adc53 
								
							
								 
							
						 
						
							
							
								
								lock dn.volumes  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3626ec5cf7 
								
							
								 
							
						 
						
							
							
								
								do not forget to vacuum if cluster changes  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0c2a2dcb3 
								
							
								 
							
						 
						
							
							
								
								Change all chrislusf/weed-fs links to point to chrislu/seaweedfs  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								4126280d55 
								
							
								 
							
						 
						
							
							
								
								use github.com/chrislusf instead of github.com/aszxqw  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1cd19447e3 
								
							
								 
							
						 
						
							
							
								
								use github.com/aszxqw instead of code.google.com/p  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9aee2defb 
								
							
								 
							
						 
						
							
							
								
								add TTL support  
							
							
 
							
							
							The volume TTL and file TTL are not necessarily the same. as long as
file TTL is smaller than volume TTL, it'll be fine.
volume TTL is used when assigning file id, e.g.
http://.../dir/assign?ttl=3h 
file TTL is used when uploading 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41143b3b78 
								
							
								 
							
						 
						
							
							
								
								toughen weedfs clustering, adding synchronizing max volume id among  
							
							
 
							
							
							peers in order to avoid the same volume id being assigned twice
1. moving raft.Server to topology
2. adding max volume id command for raft 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd10c277b2 
								
							
								 
							
						 
						
							
							
								
								can now delete a collection! Is this a dangerous feature? Only enabling  
							
							
 
							
							
							deleting "benchmark" collections for now. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								27c74a7e66 
								
							
								 
							
						 
						
							
							
								
								Major:  
							
							
 
							
							
							change replication_type to ReplicaPlacement, hopefully cleaner code
works for 9 possible ReplicaPlacement
xyz
x : number of copies on other data centers
y : number of copies on other racks
z : number of copies on current rack
x y z each can be 0,1,2
Minor:
weed server "-mdir" default to "-dir" if empty 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef4c2c0d1e 
								
							
								 
							
						 
						
							
							
								
								cleaner cluster messages  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b68711139 
								
							
								 
							
						 
						
							
							
								
								support for collections!  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								82b74c7940 
								
							
								 
							
						 
						
							
							
								
								issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>  
							
							
 
							
							
							some basic changes to parse upload url 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed154053c8 
								
							
								 
							
						 
						
							
							
								
								switching to temporarily use glog library  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac15868694 
								
							
								 
							
						 
						
							
							
								
								clean up log fmt usage. Move to log for important data changes,  
							
							
 
							
							
							warnings. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db8e27be6e 
								
							
								 
							
						 
						
							
							
								
								add lots of error checking by GThomas  
							
							
								
 
							
							
						 
						13 years ago