2f1b3d68d7 
								
							
								 
							
						 
						
							
							
								
								pass volume version when creating a volume  
							
							
								
 
							
							
						 
						4 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35f0daa198 
								
							
								 
							
						 
						
							
							
								
								the isFsync parameter is essentially IsAsyncWrite and it needs to be turned off if s.isStopping  
							
							
 
							
							
							d8c574a5ef (r159132764) 
						5 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								ff878a542d 
								
									
								
							
								 
							
						 
						
							
							
								
								correctly report volume with input/output error to master ( #6790 )  
							
							
 
							
							
							* correctly capture io error and report to master
* code fix
* check io error by error.Is
---------
Co-authored-by: dongxu_feng <dongxu_feng@intsig.net> 
							
						 
						6 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8c574a5ef 
								
							
								 
							
						 
						
							
							
								
								fix fsync logic  
							
							
								
 
							
							
						 
						6 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								7eb8257126 
								
									
								
							
								 
							
						 
						
							
							
								
								Update store.go ( #6358 )  
							
							
 
							
							
							Add lock for location.ecVolumes And single delete 
							
						 
						11 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d38456dc06 
								
							
								 
							
						 
						
							
							
								
								do not delete collection metrics when unmount a volume  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/6139  
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4dc33cc143 
								
									
								
							
								 
							
						 
						
							
							
								
								fix unclaimed spaces calculation when volumePreallocate is enabled ( #6063 )  
							
							
 
							
							
							the calculation of `unclaimedSpaces` only needs to subtract `unusedSpace` when `preallocate` is not enabled.
Signed-off-by: LHHDZ <shichanglin5@qq.com> 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								d056c0ddf2 
								
									
								
							
								 
							
						 
						
							
							
								
								fix(volume): don't persist RO state in specific cases ( #6058 )  
							
							
 
							
							
							* fix(volume): don't persist RO state in specific cases
* fix(volume): writable always persist 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ec6eab004 
								
							
								 
							
						 
						
							
							
								
								fix max volume count auto setting  
							
							
 
							
							
							related to https://github.com/seaweedfs/seaweedfs/issues/6041#issuecomment-2360448182  
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f9e141a412 
								
									
								
							
								 
							
						 
						
							
							
								
								persist readonly state to volume info ( #5977 )  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8e4bffc66b 
								
							
								 
							
						 
						
							
							
								
								copy ec shards to disks already having ec volumes  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/5615  
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								0b00706454 
								
									
								
							
								 
							
						 
						
							
							
								
								EC volume supports expiration and displays expiration message when executing volume.list ( #5895 )  
							
							
 
							
							
							* ec volume expire
* volume.list show DestroyTime
* comments
* code optimization
---------
Co-authored-by: xuwenfeng <xuwenfeng1@zto.com> 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1efa502dbb 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								ecc154fa9e 
								
									
								
							
								 
							
						 
						
							
							
								
								Add deleted bytes to total_disk_size ( #5161 )  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								050efe6c08 
								
							
								 
							
						 
						
							
							
								
								factor in existing ec volume count when estimating max volume count  
							
							
 
							
							
							related to https://github.com/seaweedfs/seaweedfs/issues/5191  
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								249c0e06ef 
								
							
								 
							
						 
						
							
							
								
								Revert "fix compilation"  
							
							
 
							
							
							This reverts commit 451ec6504d 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								451ec6504d 
								
							
								 
							
						 
						
							
							
								
								fix compilation  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								3730772e05 
								
									
								
							
								 
							
						 
						
							
							
								
								refresh max volume count after adjust ( #4662 )  
							
							
 
							
							
							Signed-off-by: changlin.shi <changlin.shi@ly.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4527ead295 
								
									
								
							
								 
							
						 
						
							
							
								
								fix from comment delete volume is empty ( #4573 )  
							
							
 
							
							
							* fix from coments
https://github.com/seaweedfs/seaweedfs/pull/4561 
* fix tests
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								25535e9c36 
								
									
								
							
								 
							
						 
						
							
							
								
								Delete volume is empty ( #4561 )  
							
							
 
							
							
							* use onlyEmpty for deleteVolume
https://github.com/seaweedfs/seaweedfs/issues/4559 
* fix IsEmpty
* fix test
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								2f72103c83 
								
									
								
							
								 
							
						 
						
							
							
								
								avoid load volume file with BytesOffset mismatch ( #3841 )  
							
							
 
							
							
							* avoid load volume file with BytesOffset mismatch
https://github.com/seaweedfs/seaweedfs/issues/2966 
* set BytesOffset if has not VolumeInfoFile
* typos fail => failed
* exit if bytesOffset mismatch 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f8d3ff466d 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow parallel volume loading from different dirs during startup. ( #3802 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								301b678147 
								
									
								
							
								 
							
						 
						
							
							
								
								[volume] Add new volumes to HUP(reload) signal ( #3755 )  
							
							
 
							
							
							Add new volumes to HUP(reload) signal 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								277976bd76 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor(storage): readability improvements ( #3703 )  
							
							
 
							
							
							Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								d949a238b8 
								
									
								
							
								 
							
						 
						
							
							
								
								volume: add "readBufSize" option to customize read optimization ( #3702 )  
							
							
 
							
							
							* simplify a bit
* feat: volume: add "readBufSize" option to customize read optimization
* refactor : redbufSIze -> readBufferSize
* simplify a bit
* simplify a bit 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								896a85d6e4 
								
							
								 
							
						 
						
							
							
								
								volume: add "hasSlowRead" option to customize read optimization  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								b324a6536c 
								
									
								
							
								 
							
						 
						
							
							
								
								ADHOC: add read needle meta grpc ( #3581 )  
							
							
 
							
							
							* ADHOC: add read needle meta grpc
* add test
* nit
Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7c6324b114 
								
							
								 
							
						 
						
							
							
								
								adjust log level  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f3a1341d8 
								
							
								 
							
						 
						
							
							
								
								make CodeQL happy  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0f4366f4c 
								
							
								 
							
						 
						
							
							
								
								more detailed error  
							
							
 
							
							
							related to https://github.com/seaweedfs/seaweedfs/issues/3528  
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4f7a1f67cd 
								
									
								
							
								 
							
						 
						
							
							
								
								avoid race conditions for diskLocation.MaxVolumeCount ( #3526 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d72a1ce6e 
								
							
								 
							
						 
						
							
							
								
								s3: remove deleted collection during metrics reporting  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/3453  
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								47c72e6f35 
								
							
								 
							
						 
						
							
							
								
								remove all (currently existing) collection volume metrics  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								709c83716c 
								
							
								 
							
						 
						
							
							
								
								delete disk_size metrics when collection deleted  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								056c480eb0 
								
							
								 
							
						 
						
							
							
								
								volume: checksum remove the hashing step in Value()  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ecef844dfc 
								
							
								 
							
						 
						
							
							
								
								stream read large files  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								8e9ad7db5a 
								
							
								 
							
						 
						
							
							
								
								fix bug deleting volume or unmount volume if a volume server has multiple directories  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a129bda7d9 
								
							
								 
							
						 
						
							
							
								
								sync data first before stopping  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								05a648bb96 
								
							
								 
							
						 
						
							
							
								
								refactor: separating out remote.proto  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								78e8ddf910 
								
							
								 
							
						 
						
							
							
								
								Only when tailing volume, the zero-ed cookie should skip checking.  
							
							
 
							
							
							This only happens when checkCookie == false and fsync == false. 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								734c980040 
								
							
								 
							
						 
						
							
							
								
								volume: support concurrent download data size limit  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								49c66e88a0 
								
							
								 
							
						 
						
							
							
								
								volume: change all writes to fsync during graceful stopping  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2193  
							
						 
						4 years ago