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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								eec67d6008 
								
							
								 
							
						 
						
							
							
								
								fix bug on volume growing failure where free space equals what's  
							
							
 
							
							
							required.
more meaningful volume allocation errors 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								50269b74ce 
								
							
								 
							
						 
						
							
							
								
								add dataCenter option when assign file keys  
							
							
 
							
							
							add dataCenter option when starting volume servers
some work related to freeze a volume. Not tested yet. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db8e27be6e 
								
							
								 
							
						 
						
							
							
								
								add lots of error checking by GThomas  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5071f528f6 
								
							
								 
							
						 
						
							
							
								
								testing compilation with remove package  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55f2627fcf 
								
							
								 
							
						 
						
							
							
								
								testing new directory structure  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab6fb13ad7 
								
							
								 
							
						 
						
							
							
								
								avoid the "src" folder  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb4e8ec16b 
								
							
								 
							
						 
						
							
							
								
								re-organize code directory structure  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e83a75fba 
								
							
								 
							
						 
						
							
							
								
								correctly count volumes, to ensure proper capacity management  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e19edccf3a 
								
							
								 
							
						 
						
							
							
								
								ensure properly make volume unwritable. Previously passing volumeInfo  
							
							
 
							
							
							reference, causing make wrong volumes unwritable! 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94dbe60233 
								
							
								 
							
						 
						
							
							
								
								periodically compact volumes  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b1e60582c 
								
							
								 
							
						 
						
							
							
								
								adding file count and deletion count  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73dbb3aed9 
								
							
								 
							
						 
						
							
							
								
								load configuration file, with topology configured  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e19fd68f18 
								
							
								 
							
						 
						
							
							
								
								working now to start/stop volume servers  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f3da0906ed 
								
							
								 
							
						 
						
							
							
								
								channel based visitor pattern  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b0e250d437 
								
							
								 
							
						 
						
							
							
								
								adjusting refresh topology writable volumes(not finished yet)  
							
							
 
							
							
							Need to refreshWritableVolumes for each replication type 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6671f576cb 
								
							
								 
							
						 
						
							
							
								
								adjusting log messages  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b99240584 
								
							
								 
							
						 
						
							
							
								
								can auto grow 00 and 01 replication volumes  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6daf221937 
								
							
								 
							
						 
						
							
							
								
								volume layout for each replication level  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f4630736d 
								
							
								 
							
						 
						
							
							
								
								rename Server to DataNode  
							
							
 
							
							
							formatting 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cdd64a8099 
								
							
								 
							
						 
						
							
							
								
								dc and rack aware volume allocation  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b95c9860ed 
								
							
								 
							
						 
						
							
							
								
								interface and default implementation for node  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a84f50d24 
								
							
								 
							
						 
						
							
							
								
								interface and default implementation for node  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1760dd083d 
								
							
								 
							
						 
						
							
							
								
								remove reservedVolumeCount to simplify volume allocation logic  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c48bda0232 
								
							
								 
							
						 
						
							
							
								
								return the node during assigning free volume  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a30a48027 
								
							
								 
							
						 
						
							
							
								
								assign a free volume randomly  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d0ea07f5f 
								
							
								 
							
						 
						
							
							
								
								loading from json setup in tests  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								317e12644a 
								
							
								 
							
						 
						
							
							
								
								reserve a volume  
							
							
 
							
							
							add VolumeId.Next() 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7adf1687f 
								
							
								 
							
						 
						
							
							
								
								reduce duplicated code by using a tree of Node  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97e4a1d6eb 
								
							
								 
							
						 
						
							
							
								
								add code to randomly select one new volume to grow  
							
							
								
 
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2dceb44ae4 
								
							
								 
							
						 
						
							
							
								
								add more for volume placement  
							
							
 
							
							
							fix possible nil volume cases 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f92f2779d 
								
							
								 
							
						 
						
							
							
								
								adjusting for types  
							
							
								
 
							
							
						 
						13 years ago