58344980e4 
								
							
								 
							
						 
						
							
							
								
								preallocate disk space during compaction also, add cleanup for failed compaction  
							
							
								
 
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e46c3415f7 
								
							
								 
							
						 
						
							
							
								
								gRpc for master~volume heartbeat  
							
							
								
 
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed44f12f6d 
								
							
								 
							
						 
						
							
							
								
								support Fallocate on linux  
							
							
								
 
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce99bb927d 
								
							
								 
							
						 
						
							
							
								
								Revert "Adding HTTP verb whitelisting options."  
							
							
 
							
							
							This reverts commit 34837afc7a 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34837afc7a 
								
							
								 
							
						 
						
							
							
								
								Adding HTTP verb whitelisting options.  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								6df18a9181 
								
							
								 
							
						 
						
							
							
								
								rwlock concurrent read map  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db1ac7b3eb 
								
							
								 
							
						 
						
							
							
								
								master: redirect handler accept collection parameter  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62074c7653 
								
							
								 
							
						 
						
							
							
								
								adjust reading ip address  
							
							
 
							
							
							adjust reading ip address 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c9ef6245e 
								
							
								 
							
						 
						
							
							
								
								fix bug : master cann't redirect urlquery string  
							
							
 
							
							
							There is a bug that master can not redirect urlquery to slave volumn.
so i fix it, and it run good now. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b8f8f4bb9 
								
							
								 
							
						 
						
							
							
								
								add logging  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b2645979d 
								
							
								 
							
						 
						
							
							
								
								Use request host info for master url if possible  
							
							
 
							
							
							Fix https://github.com/chrislusf/seaweedfs/issues/148  
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f96862662 
								
							
								 
							
						 
						
							
							
								
								FIXED: When RaftServer cannot find a leader, Return a more readable error.  
							
							
 
							
							
							Before:
curl -F "file=1234" "http://127.0.0.1:9333/submit "
{"error":"Post http:///dir/assign : http: no Host in request URL"}
After:
curl -F "file=1234" "http://127.0.0.1:9333/submit "
{"error":"Raft Server not initialized!"} 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0c2a2dcb3 
								
							
								 
							
						 
						
							
							
								
								Change all chrislusf/weed-fs links to point to chrislu/seaweedfs  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								087b839354 
								
							
								 
							
						 
						
							
							
								
								Nomalize url before redirecting.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b07d81fb08 
								
							
								 
							
						 
						
							
							
								
								follow golint suggestions  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0d8259d98 
								
							
								 
							
						 
						
							
							
								
								Randomize http redirect.  
							
							
 
							
							
							Randomize http redirect.
Also remove unnecessary empty string checking. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e0c080581 
								
							
								 
							
						 
						
							
							
								
								Move the redirect url perfer to volume server's PublicUrl  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2e0d0046c4 
								
							
								 
							
						 
						
							
							
								
								Move the redirect url to volume server's PublicUrl (reverted from commit  2df72001b2)  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2df72001b2 
								
							
								 
							
						 
						
							
							
								
								Move the redirect url to volume server's PublicUrl  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7998f8652 
								
							
								 
							
						 
						
							
							
								
								merge conflicts  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc724305b6 
								
							
								 
							
						 
						
							
							
								
								Using Url instead of PublicUrl for volume server  
							
							
 
							
							
							Originally there are only url(ip + port), and publicUrl. Because ip was
used to listen for http service, it has less flexibility and volume
server has to be accessed via publicUrl.
Recently we added ip.bind, for binding http service.
With this change, url can be used to connect to volume servers. And
publicUrl becomes a free style piece of url information, it does not
even need to be unique. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f72a1965f 
								
							
								 
							
						 
						
							
							
								
								Fix go vet warnings.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b5d6341e5 
								
							
								 
							
						 
						
							
							
								
								Set http status after modifying response headers.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b7628cf08 
								
							
								 
							
						 
						
							
							
								
								use github.com/golang/protobuf/proto instead of code.google.com/p/goprotobuf/proto  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f527fc1d5e 
								
							
								 
							
						 
						
							
							
								
								adjust visibility  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30bcda7136 
								
							
								 
							
						 
						
							
							
								
								fix typo  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02ae8b98a5 
								
							
								 
							
						 
						
							
							
								
								Revert "change wriable to writeable"  
							
							
 
							
							
							This reverts commit 626b896448 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								626b896448 
								
							
								 
							
						 
						
							
							
								
								change wriable to writeable  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								77fd5ecd98 
								
							
								 
							
						 
						
							
							
								
								Add /admin/mv to move a file or a folder  
							
							
								
 
							
							
						 
						11 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								9653a54766 
								
							
								 
							
						 
						
							
							
								
								added typed join result  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								85894160c6 
								
							
								 
							
						 
						
							
							
								
								refactor: split master handler into 2 files  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5878f7c3a1 
								
							
								 
							
						 
						
							
							
								
								refactor lookup result types into package "operation"  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f20ef922fd 
								
							
								 
							
						 
						
							
							
								
								1. add batched volume lookup handler  
							
							
 
							
							
							2. working-in-progress batch delete 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								39b774a131 
								
							
								 
							
						 
						
							
							
								
								1. adding statistics reporting  
							
							
 
							
							
							2. refactor version to util package 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								946aa6d1e7 
								
							
								 
							
						 
						
							
							
								
								error message change  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd10c277b2 
								
							
								 
							
						 
						
							
							
								
								can now delete a collection! Is this a dangerous feature? Only enabling  
							
							
 
							
							
							deleting "benchmark" collections for now. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab9206c38e 
								
							
								 
							
						 
						
							
							
								
								spelling error with parameter name!  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								69a7de1ad8 
								
							
								 
							
						 
						
							
							
								
								optimize for submission from clustered master nodes  
							
							
								
 
							
							
						 
						12 years ago