76148ce0f7 
								
							
								 
							
						 
						
							
							
								
								use storage_class for backend configuration  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/3008  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1aae7a3f1b 
								
							
								 
							
						 
						
							
							
								
								volume.tier.upload progress starts negative  #2992  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2992  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								192983b464 
								
							
								 
							
						 
						
							
							
								
								s3 backend support customizing storage class  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70e5a1b632 
								
							
								 
							
						 
						
							
							
								
								volume close should wait for committing compaction  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37ab8909b0 
								
							
								 
							
						 
						
							
							
								
								use two flags: v.isCompacting and v.isCommitCompacting  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94f824e1ce 
								
							
								 
							
						 
						
							
							
								
								volume: sync to disk before copying volume files  
							
							
 
							
							
							address https://github.com/chrislusf/seaweedfs/issues/2976  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7315d1d039 
								
							
								 
							
						 
						
							
							
								
								waite volume being closed during compression idx  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8e9ad7db5a 
								
							
								 
							
						 
						
							
							
								
								fix bug deleting volume or unmount volume if a volume server has multiple directories  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e35b4929f 
								
							
								 
							
						 
						
							
							
								
								shell vacuum volume by collection and volume id  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9438738693 
								
							
								 
							
						 
						
							
							
								
								avoid invalid memory address or nil pointer dereference  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3551ca2fcf 
								
							
								 
							
						 
						
							
							
								
								enhancement: replace sort.Slice with slices.SortFunc to reduce reflection  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d51a724101 
								
							
								 
							
						 
						
							
							
								
								fix: encode small chunk return error maybe have some bug.  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f53cff045f 
								
							
								 
							
						 
						
							
							
								
								checks disk file exist  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e7aa1caf5 
								
							
								 
							
						 
						
							
							
								
								fix return value in storage/volume_vacuum.go:444  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c29bc9a367 
								
							
								 
							
						 
						
							
							
								
								fix error handling  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d68c27f82d 
								
							
								 
							
						 
						
							
							
								
								fix another return value bug  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f9aa0cddd 
								
							
								 
							
						 
						
							
							
								
								fix bugs in return value  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a129bda7d9 
								
							
								 
							
						 
						
							
							
								
								sync data first before stopping  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								b92df1654c 
								
									
								
							
								 
							
						 
						
							
							
								
								test: use `T.TempDir` to create temporary test directory  
							
							
 
							
							
							The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir 
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef541972f8 
								
							
								 
							
						 
						
							
							
								
								updated needle with fsync  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb97e234c9 
								
							
								 
							
						 
						
							
							
								
								skips compact if store is stopping  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								433fde4b18 
								
							
								 
							
						 
						
							
							
								
								move error to a separate file  
							
							
 
							
							
							This file contains metric names for all errors
The naming convention is ErrorSomeThing = "error.some.thing" 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76e297d64f 
								
							
								 
							
						 
						
							
							
								
								sync call to write file, avoid vif loading error  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2633  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f4e17aa24 
								
							
								 
							
						 
						
							
							
								
								error metrics for filer and store  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f9ef1340c 
								
							
								 
							
						 
						
							
							
								
								use streaming mode for long poll grpc calls  
							
							
 
							
							
							streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed. 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50ddd8c8e2 
								
							
								 
							
						 
						
							
							
								
								remove debug messages  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2514  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								488afa5002 
								
							
								 
							
						 
						
							
							
								
								volume: load volume can optionally be skipped, if ec volume exists  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2489  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59e58c4b23 
								
							
								 
							
						 
						
							
							
								
								volume: fix loading old volume format  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2487  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0c8dea9de8 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c857cc7286 
								
							
								 
							
						 
						
							
							
								
								cloud tier: remove tagging since not all s3 vendors support this  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d04cdcf40d 
								
							
								 
							
						 
						
							
							
								
								s3 header add user agent  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3be3c17f59 
								
							
								 
							
						 
						
							
							
								
								volume vacuum: avoid timeout with streaming progress report  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2396  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								a23bcbb7ec 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor: move from io/ioutil to io and os package  
							
							
 
							
							
							The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0b928ff5e 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3afa451cdc 
								
							
								 
							
						 
						
							
							
								
								volume: find a non-empty offset when binary searching by timestamp  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b530f12327 
								
							
								 
							
						 
						
							
							
								
								volume: find a non-empty offset when binary searching by timestamp  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2364  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce1efeb0eb 
								
							
								 
							
						 
						
							
							
								
								adds more error message  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d688e10ed1 
								
							
								 
							
						 
						
							
							
								
								do not try to compress if not sure about the file content  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								332f5ad3a8 
								
							
								 
							
						 
						
							
							
								
								revert temporary changes that disabled compression  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2362  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0d1e7bd05 
								
							
								 
							
						 
						
							
							
								
								skip ec volumes when loading normal volumes  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f58ea6a2ee 
								
							
								 
							
						 
						
							
							
								
								add source name to error message  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2e9372dcf7 
								
							
								 
							
						 
						
							
							
								
								volume stream read skips deleted content  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5956a8b05a 
								
							
								 
							
						 
						
							
							
								
								adjust comment  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5fc35ed0c 
								
							
								 
							
						 
						
							
							
								
								change server address from string to a type  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c6ff55226 
								
							
								 
							
						 
						
							
							
								
								add volume not found error type, to reduce error log  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b942dfa3c 
								
							
								 
							
						 
						
							
							
								
								add error message  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ce97b59d8 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f811fd0903 
								
							
								 
							
						 
						
							
							
								
								fix build  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5adfdd7982 
								
							
								 
							
						 
						
							
							
								
								change to a new bloom filter library  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								05a648bb96 
								
							
								 
							
						 
						
							
							
								
								refactor: separating out remote.proto  
							
							
								
 
							
							
						 
						4 years ago