7b4a53b2c1 
								
							
								 
							
						 
						
							
							
								
								Add optional admin port to volume server, to seperate admin operations from normal file operations.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a86042e413 
								
							
								 
							
						 
						
							
							
								
								fix the  #59  and  #56  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af416189f1 
								
							
								 
							
						 
						
							
							
								
								Cleanup error printing.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								029e3a3822 
								
							
								 
							
						 
						
							
							
								
								fix some typos  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7481b7376d 
								
							
								 
							
						 
						
							
							
								
								Fix the first form multi-part item is not a  "file type part" problem in "ParseUpload()"  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cacfc85869 
								
							
								 
							
						 
						
							
							
								
								add some String() to make codes easier to read and debug  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b7628cf08 
								
							
								 
							
						 
						
							
							
								
								use github.com/golang/protobuf/proto instead of code.google.com/p/goprotobuf/proto  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a40f539f2 
								
							
								 
							
						 
						
							
							
								
								fix bug: upload a file which already existed return a wrong file size.  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								089eb8ad39 
								
							
								 
							
						 
						
							
							
								
								add String function for needle to print  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9a8999f63 
								
							
								 
							
						 
						
							
							
								
								print error the correct way.  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								7920b4685e 
								
							
								 
							
						 
						
							
							
								
								Adding unit tests for volume ttl.  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								69343c5951 
								
							
								 
							
						 
						
							
							
								
								adding ttl field to volume super block  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								57a4549d86 
								
							
								 
							
						 
						
							
							
								
								wrap etag value with double quotes  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c58cef24a 
								
							
								 
							
						 
						
							
							
								
								a bit refactoring to prepare for volume format change and backward  
							
							
 
							
							
							compatibility. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								530927db64 
								
							
								 
							
						 
						
							
							
								
								Add Etag support  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5f19af8fce 
								
							
								 
							
						 
						
							
							
								
								compress *.htm file  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4b7b439be9 
								
							
								 
							
						 
						
							
							
								
								Reduce memory usage for "weed fix"  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								faf497feb8 
								
							
								 
							
						 
						
							
							
								
								Important Fix: Avoid overwriting the index file!!!  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e5b4da361 
								
							
								 
							
						 
						
							
							
								
								fix compilation error  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								625f880b15 
								
							
								 
							
						 
						
							
							
								
								Adjust "weed server" parameters.  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe3f06435e 
								
							
								 
							
						 
						
							
							
								
								Refactor out volume vacuum.  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7aaa24da8 
								
							
								 
							
						 
						
							
							
								
								Refactor out volume vacuum.  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8e8d11bd3 
								
							
								 
							
						 
						
							
							
								
								Refactor out weedfs vacuum.  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c1307103b2 
								
							
								 
							
						 
						
							
							
								
								fix orientation for all jpg files  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34e03e7cf6 
								
							
								 
							
						 
						
							
							
								
								iphone usually has upper cased .JPG extension  
							
							
 
							
							
							refactor 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c04c5ed5f 
								
							
								 
							
						 
						
							
							
								
								remove the println  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								637469e656 
								
							
								 
							
						 
						
							
							
								
								log the volume server connected to which master server  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								9653a54766 
								
							
								 
							
						 
						
							
							
								
								added typed join result  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								56a3d30e75 
								
							
								 
							
						 
						
							
							
								
								batch delete on volume servers  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6084e7670a 
								
							
								 
							
						 
						
							
							
								
								fix bug when reading back the replica settings!  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59f6a13609 
								
							
								 
							
						 
						
							
							
								
								adding lots of different stats  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0955aa4dd 
								
							
								 
							
						 
						
							
							
								
								refactor functions  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0563773944 
								
							
								 
							
						 
						
							
							
								
								switch to ReadAt() for thread-safe read  
							
							
 
							
							
							fix bugs during volume compaction 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37dd41ab91 
								
							
								 
							
						 
						
							
							
								
								print out log message  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3dbebfd1e1 
								
							
								 
							
						 
						
							
							
								
								Thread-safe fixes:  
							
							
 
							
							
							1. avoid sharing []byte
2. switch to use ReadAt() 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af32b52727 
								
							
								 
							
						 
						
							
							
								
								1. no locks for all read operations! Switching to pread for all reads.  
							
							
 
							
							
							2. prevent heartbeat lost when vacuuming, by removing locks on Size()
function 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3fec41b911 
								
							
								 
							
						 
						
							
							
								
								remove unnecessary code  
							
							
								
 
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd10c277b2 
								
							
								 
							
						 
						
							
							
								
								can now delete a collection! Is this a dangerous feature? Only enabling  
							
							
 
							
							
							deleting "benchmark" collections for now. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6e85a6b2c 
								
							
								 
							
						 
						
							
							
								
								truncate file content during creating  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								edae676913 
								
							
								 
							
						 
						
							
							
								
								1. volume server auto detect clustered master nodes  
							
							
 
							
							
							2. remove operation package dependency on storage 
							
						 
						12 years ago