0b0fb9b9e4 
								
									
								
							
								 
							
						 
						
							
							
								
								avoid data race read volume.IsEmpty ( #4574 )  
							
							
 
							
							
							* avoid data race read volume.IsEmpty
-   avoid phantom read isEmpty for onlyEmpty
-   use `v.DataBackend.GetStat()` in v.dataFileAccessLock scope
* add Destroy(onlyEmpty: true) test
* add Destroy(onlyEmpty: false) test
* remove unused `IsEmpty()`
* change literal `8` to `SuperBlockSize` 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								5b905fb2b7 
								
									
								
							
								 
							
						 
						
							
							
								
								Lazy loading ( #3958 )  
							
							
 
							
							
							* types packages is imported more than onece
* lazy-loading
* fix bugs
* fix bugs
* fix unit tests
* fix test error
* rename function
* unload ldb after initial startup
* Don't load ldb when starting volume server if ldbtimeout is set.
* remove uncessary unloadldb
* Update weed/command/server.go
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
* Update weed/command/volume.go
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Co-authored-by: guol-fnst <goul-fnst@fujitsu.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								735038b2c1 
								
							
								 
							
						 
						
							
							
								
								backup do not need to use preallocation  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/3044  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3be3c17f59 
								
							
								 
							
						 
						
							
							
								
								volume vacuum: avoid timeout with streaming progress report  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2396  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5fc35ed0c 
								
							
								 
							
						 
						
							
							
								
								change server address from string to a type  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d1d1fc772c 
								
							
								 
							
						 
						
							
							
								
								move some volume lookup operations to grpc  
							
							
 
							
							
							jwt related lookup will come in next commit 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3575d41009 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6daa932f5c 
								
							
								 
							
						 
						
							
							
								
								refactoring to get master function, instead of passing master values directly  
							
							
 
							
							
							this will enable retrying later 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d30b21b10 
								
							
								 
							
						 
						
							
							
								
								volume: add "-dir.idx" option for separate index storage  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1265  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f43146b237 
								
							
								 
							
						 
						
							
							
								
								resolve directories if containing home directory  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d439d83772 
								
							
								 
							
						 
						
							
							
								
								volume: follow compactionBytePerSecond  
							
							
 
							
							
							related to https://github.com/chrislusf/seaweedfs/issues/1108  
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d335f04de6 
								
							
								 
							
						 
						
							
							
								
								support env variables to overwrite toml file  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								efd2f50ede 
								
							
								 
							
						 
						
							
							
								
								compaction changed to .idx based deletion  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								09ca936c78 
								
							
								 
							
						 
						
							
							
								
								shell: add ec.decode command  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								19b6a16003 
								
							
								 
							
						 
						
							
							
								
								changed from os.file to backend.DataStorageBackend  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fc6322c90 
								
							
								 
							
						 
						
							
							
								
								Change joeslay paths to chrislusf paths  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a878c0006 
								
							
								 
							
						 
						
							
							
								
								Changed the InMemory bool to a uint32 so that it can be used to alter how much space to reserve  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1f01eb78e8 
								
							
								 
							
						 
						
							
							
								
								Rename mem_map to mMap, remove some in_memory variables being passed around, added MemoryMapped member to volume struct  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d637d86d22 
								
							
								 
							
						 
						
							
							
								
								Changes to try and pass the URL parameters through - in memory flag not working still  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								595a1beff0 
								
							
								 
							
						 
						
							
							
								
								Swap imports to use joeslay  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5904d78bd4 
								
							
								 
							
						 
						
							
							
								
								weed backup: add ttl and replication parameter  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ede876cfdb 
								
							
								 
							
						 
						
							
							
								
								periodic scripts exeuction from leader master  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b335f81a4f 
								
							
								 
							
						 
						
							
							
								
								volume: add option to limit compaction speed  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b3651dea3 
								
							
								 
							
						 
						
							
							
								
								volume: atomic copying file, adds version and stopOffset  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac2727853f 
								
							
								 
							
						 
						
							
							
								
								fix needle map entry size  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5506152c0 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								13ad5c1966 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								361912224d 
								
							
								 
							
						 
						
							
							
								
								typo: remove blank  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a14cdc90c 
								
							
								 
							
						 
						
							
							
								
								refactoring, go fmt  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70815e9124 
								
							
								 
							
						 
						
							
							
								
								WIP  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77b9af531d 
								
							
								 
							
						 
						
							
							
								
								adding grpc mutual tls  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								aa5ccff6d2 
								
									
								
							
								 
							
						 
						
							
							
								
								fixing of typos  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab6be025d7 
								
							
								 
							
						 
						
							
							
								
								go fmt and fix some typo  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fda771c83f 
								
							
								 
							
						 
						
							
							
								
								migrate volume sync status to grpc API on volume server  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed44f12f6d 
								
							
								 
							
						 
						
							
							
								
								support Fallocate on linux  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								86cd40fba8 
								
							
								 
							
						 
						
							
							
								
								Add "weed backup" command.  
							
							
 
							
							
							This is a pre-cursor for asynchronous replication. 
							
						 
						11 years ago