b07d81fb08 
								
							
								 
							
						 
						
							
							
								
								follow golint suggestions  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f511b507a5 
								
							
								 
							
						 
						
							
							
								
								Add read only public port on volume server  
							
							
 
							
							
							Add read only public port on volume server 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								853701cb6b 
								
							
								 
							
						 
						
							
							
								
								Avoid wrong way to delete on replication failure  
							
							
 
							
							
							Avoid wrong way to delete on replication failure. This deletion has bug
to write. The better fix is not to use the deletion on failure at all. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a091e6f3bc 
								
							
								 
							
						 
						
							
							
								
								display admin url on /dir/status  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1704e5f1a6 
								
							
								 
							
						 
						
							
							
								
								adjust debug message  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								382c521df7 
								
							
								 
							
						 
						
							
							
								
								Show returned content when can not parse son  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								000c645d45 
								
							
								 
							
						 
						
							
							
								
								Move the redirect url perfer to volume server's PublicUrl (reverted from commit  701bb9af19)  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								701bb9af19 
								
							
								 
							
						 
						
							
							
								
								Move the redirect url perfer to volume server's PublicUrl  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7998f8652 
								
							
								 
							
						 
						
							
							
								
								merge conflicts  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b2ad9a1110 
								
							
								 
							
						 
						
							
							
								
								Fix compilation error.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b4a53b2c1 
								
							
								 
							
						 
						
							
							
								
								Add optional admin port to volume server, to seperate admin operations from normal file operations.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af416189f1 
								
							
								 
							
						 
						
							
							
								
								Cleanup error printing.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								029e3a3822 
								
							
								 
							
						 
						
							
							
								
								fix some typos  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cacfc85869 
								
							
								 
							
						 
						
							
							
								
								add some String() to make codes easier to read and debug  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d56c748fa8 
								
							
								 
							
						 
						
							
							
								
								switch it back to chris's repo  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0dfdf4392 
								
							
								 
							
						 
						
							
							
								
								switch to my forked repo  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								52180f386b 
								
							
								 
							
						 
						
							
							
								
								Add read-write lock to guard topology changes on new collections and ttls.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								179d36ba0e 
								
							
								 
							
						 
						
							
							
								
								formatting code by: goimports -w=true .  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f527fc1d5e 
								
							
								 
							
						 
						
							
							
								
								adjust visibility  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30bcda7136 
								
							
								 
							
						 
						
							
							
								
								fix typo  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bd664def45 
								
							
								 
							
						 
						
							
							
								
								Revert "fix func name HasWriableVolume"  
							
							
 
							
							
							This reverts commit bff7b71389 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bff7b71389 
								
							
								 
							
						 
						
							
							
								
								fix func name HasWriableVolume  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								df2d3ea7c0 
								
							
								 
							
						 
						
							
							
								
								fix old tests that's found not working during travis integration.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								38260fcfb1 
								
							
								 
							
						 
						
							
							
								
								rename to _vacuum.go  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1818a2a2da 
								
							
								 
							
						 
						
							
							
								
								Change to protocol buffer for volume-join-masster message  
							
							
 
							
							
							Reduced size to about 1/5 of the previous json format message 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b5035c468 
								
							
								 
							
						 
						
							
							
								
								1. v0.54  
							
							
 
							
							
							2. go vet found many printing format errors 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								51939efeac 
								
							
								 
							
						 
						
							
							
								
								1. volume server now sends master server its max file key, so that  
							
							
 
							
							
							master server does not need to store the sequence on disk any more
2. fix raft server's failure to init cluster during bootstrapping 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0abd809663 
								
							
								 
							
						 
						
							
							
								
								Correct logic to allocate volume slots  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								47620bb27a 
								
							
								 
							
						 
						
							
							
								
								correct assign logic for rack level. Still need to fix data center  
							
							
 
							
							
							level. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae2ef6e41d 
								
							
								 
							
						 
						
							
							
								
								mostly working correctly, but may have failed volume growing attempts  
							
							
 
							
							
							when slots are tight. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7f582ec86 
								
							
								 
							
						 
						
							
							
								
								1. refactoring, merge "replication" logic into "topology" package  
							
							
 
							
							
							2. when growing volumes, additional preferred "rack" and "dataNode"
paraemters are also provided. Previously only "dataCenter" paraemter is
provided. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								008aee0dc1 
								
							
								 
							
						 
						
							
							
								
								Add retrying logic to wait for other peers during cluster bootstrapping.  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2861275fb6 
								
							
								 
							
						 
						
							
							
								
								working filer server!  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0563773944 
								
							
								 
							
						 
						
							
							
								
								switch to ReadAt() for thread-safe read  
							
							
 
							
							
							fix bugs during volume compaction 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b2e8bfb54e 
								
							
								 
							
						 
						
							
							
								
								adjusting logs  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76bf72e8ef 
								
							
								 
							
						 
						
							
							
								
								adjust log level  
							
							
								
 
							
							
						 
						12 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								eec67d6008 
								
							
								 
							
						 
						
							
							
								
								fix bug on volume growing failure where free space equals what's  
							
							
 
							
							
							required.
more meaningful volume allocation errors 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f0e2f31af 
								
							
								 
							
						 
						
							
							
								
								remove unused parameter pulse  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1888d01fa0 
								
							
								 
							
						 
						
							
							
								
								adding etcd storage support for cluster meta data. Currently just  
							
							
 
							
							
							sequence. More to come... 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								030905714b 
								
							
								 
							
						 
						
							
							
								
								issue 49: unwritable volume become writable after compacting  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55380a014d 
								
							
								 
							
						 
						
							
							
								
								issue 49: unwritable volume become writable after compacting  
							
							
								
 
							
							
						 
						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