766396d249 
								
							
								 
							
						 
						
							
							
								
								weed master: atomic volume counting  
							
							
 
							
							
							possible fix for https://github.com/chrislusf/seaweedfs/issues/913  
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e108688990 
								
							
								 
							
						 
						
							
							
								
								avoid grpc 5 seconds timeout  
							
							
 
							
							
							some operations may take longer than 5 seconds.
only keep the timeout for raft operations 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77b9af531d 
								
							
								 
							
						 
						
							
							
								
								adding grpc mutual tls  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a3e83a36a 
								
							
								 
							
						 
						
							
							
								
								Set timeout for master and volume non-streaming rpc  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b423bb9e2d 
								
							
								 
							
						 
						
							
							
								
								migrate assign volume to grpc API on volume server  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8301519fb0 
								
							
								 
							
						 
						
							
							
								
								migrate delete collection to grpc API on volume server  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b1daede91b 
								
							
								 
							
						 
						
							
							
								
								move volume vacuum to gRpc  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff66269b62 
								
							
								 
							
						 
						
							
							
								
								use grpc to replace http APIs for batch volume id lookup and batch delete  
							
							
 
							
							
							1. remove batch volume id lookup http API /vol/lookup
2. remove batch delete http API /delete 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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