216c52e377 
								
									
								
							
								 
							
						 
						
							
							
								
								chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0 ( #6679 )  
							
							
 
							
							
							* chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0
Bumps [gocloud.dev](https://github.com/google/go-cloud ) from 0.40.0 to 0.41.0.
- [Release notes](https://github.com/google/go-cloud/releases )
- [Commits](https://github.com/google/go-cloud/compare/v0.40.0...v0.41.0 )
---
updated-dependencies:
- dependency-name: gocloud.dev
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix error
* fix printing errors
* Update go.mod
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chrislu <chris.lu@gmail.com> 
							
						 
						7 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								ef4eda0761 
								
									
								
							
								 
							
						 
						
							
							
								
								added re-generating and writing the Volume UUID if it is empty ( #6568 )  
							
							
								
 
							
							
						 
						8 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								bd54669d58 
								
									
								
							
								 
							
						 
						
							
							
								
								Detect underflow when calculating unused space ( #5758 )  
							
							
 
							
							
							* Detect underflow when calculating unused space
* Detect underflow when calculating unused space 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4d0bf6ddd4 
								
									
								
							
								 
							
						 
						
							
							
								
								fixed fail to initialize existing ec volume when volume server has separate index dictory ( #5723 )  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								249c0e06ef 
								
							
								 
							
						 
						
							
							
								
								Revert "fix compilation"  
							
							
 
							
							
							This reverts commit 451ec6504d 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								451ec6504d 
								
							
								 
							
						 
						
							
							
								
								fix compilation  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4b1ba7f5b2 
								
									
								
							
								 
							
						 
						
							
							
								
								Save disk space metrics immediately ( #4740 )  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								e6a49dc533 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix resource leaks ( #4737 )  
							
							
 
							
							
							* Fix division by zero
* Fix file handle leak
* Fix file handle leak
* Fix file handle leak
* Fix goroutine leak 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								1f7e52c63e 
								
									
								
							
								 
							
						 
						
							
							
								
								vacuum metrics and force sync dst files ( #3832 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4f7a1f67cd 
								
									
								
							
								 
							
						 
						
							
							
								
								avoid race conditions for diskLocation.MaxVolumeCount ( #3526 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9256e0b34 
								
							
								 
							
						 
						
							
							
								
								optimiz  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bec9f79659 
								
							
								 
							
						 
						
							
							
								
								use snapshot  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								300b383cdf 
								
							
								 
							
						 
						
							
							
								
								use 10 or numCPU workers if env is not found  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								308a48c0c2 
								
							
								 
							
						 
						
							
							
								
								optimiz concurrency  
							
							
 
							
							
							user can customize number of workers via env "GOMAXPROCS" 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26313060a3 
								
							
								 
							
						 
						
							
							
								
								speeding up loading volumes  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8aa19577f4 
								
							
								 
							
						 
						
							
							
								
								fix 3238: handle errors for GenerateDirUuid method  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b12944f9c6 
								
							
								 
							
						 
						
							
							
								
								fix naming convention  
							
							
 
							
							
							notify volume server of duplicate directoris
improve searching efficiency 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8fab39e775 
								
							
								 
							
						 
						
							
							
								
								rename UUID file  
							
							
 
							
							
							fix typo
move locationUUID  into DiskLocation 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de6aa9cce8 
								
							
								 
							
						 
						
							
							
								
								avoid duplicated volume directory  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37ab8909b0 
								
							
								 
							
						 
						
							
							
								
								use two flags: v.isCompacting and v.isCommitCompacting  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a129bda7d9 
								
							
								 
							
						 
						
							
							
								
								sync data first before stopping  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0d1e7bd05 
								
							
								 
							
						 
						
							
							
								
								skip ec volumes when loading normal volumes  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c6ff55226 
								
							
								 
							
						 
						
							
							
								
								add volume not found error type, to reduce error log  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cf552417a7 
								
							
								 
							
						 
						
							
							
								
								minFreeSpace refactored  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								31f1cdeac2 
								
							
								 
							
						 
						
							
							
								
								minFreeSpace argument allows size like 10GiB  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								283d703d50 
								
							
								 
							
						 
						
							
							
								
								adjust text  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8446b42ab 
								
							
								 
							
						 
						
							
							
								
								this can compile now!!!  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ce647f27e 
								
							
								 
							
						 
						
							
							
								
								support customizable disk type  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94ea3bd3a5 
								
							
								 
							
						 
						
							
							
								
								renaming NeedleMapType to NeedleMapKind  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e2076201d7 
								
							
								 
							
						 
						
							
							
								
								volume: avoid reprocessing the same volume  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1682  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								986cbdf7d9 
								
							
								 
							
						 
						
							
							
								
								Revert "Merge pull request  #1683  from qieqieplus/master"  
							
							
 
							
							
							This reverts commit 8cb67952db200e56215a 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f56e6d231e 
								
							
								 
							
						 
						
							
							
								
								Revert "Merge pull request  #1683  from qieqieplus/master"  
							
							
 
							
							
							This reverts commit 8cb67952db200e56215a 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1bf22c0b5b 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45f902a9b7 
								
							
								 
							
						 
						
							
							
								
								smaller critical section  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e58a4f24e 
								
							
								 
							
						 
						
							
							
								
								fix race condition when loading volumes concurrently  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2e8dba571b 
								
							
								 
							
						 
						
							
							
								
								adjust volume server UI  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d2ec832e2 
								
							
								 
							
						 
						
							
							
								
								rename from volumeType to diskType  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d156c74ec0 
								
							
								 
							
						 
						
							
							
								
								volume server set volume type and heartbeat to the master  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d30b21b10 
								
							
								 
							
						 
						
							
							
								
								volume: add "-dir.idx" option for separate index storage  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1265  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c229eb677 
								
							
								 
							
						 
						
							
							
								
								refactor  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6783ae5f8f 
								
							
								 
							
						 
						
							
							
								
								rename  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97f706f35b 
								
							
								 
							
						 
						
							
							
								
								just refactoring  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b11449f955 
								
							
								 
							
						 
						
							
							
								
								pass in dir.idx parameter to DiskLocation  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0dafcf1f5a 
								
							
								 
							
						 
						
							
							
								
								volume: detect max volume count changes based on disk usage  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1594  
							
						 
						5 years ago