69553e5ba6 
								
									
								
							
								 
							
						 
						
							
							
								
								convert error fromating to %w everywhere ( #6995 )  
							
							
								
 
							
							
						 
						3 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								90802cb201 
								
									
								
							
								 
							
						 
						
							
							
								
								revert part of  d8c574a5ef ( #6829 )  
							
							
								
 
							
							
						 
						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> 
							
						 
						5 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8c574a5ef 
								
							
								 
							
						 
						
							
							
								
								fix fsync logic  
							
							
								
 
							
							
						 
						6 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f3dde99796 
								
							
								 
							
						 
						
							
							
								
								adjust error message  
							
							
								
 
							
							
						 
						11 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								1e13b6879c 
								
									
								
							
								 
							
						 
						
							
							
								
								fix(volume): to avoid duplicate write a same needle ( #6138 )  
							
							
 
							
							
							fix WriteNeedleBlob to avoid duplicate write a same needle
Co-authored-by: 邓书东 <shudong_deng@hhnb2024010108.intsig.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								0e8a54f6f6 
								
									
								
							
								 
							
						 
						
							
							
								
								fix write volume over size MaxPossibleVolumeSize ( #5190 )  
							
							
 
							
							
							Co-authored-by: Yang Wang <yangwang@weride.ai> 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c278bac263 
								
							
								 
							
						 
						
							
							
								
								avoid nil needle map  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/4640  
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								d880fc2bb3 
								
							
								 
							
						 
						
							
							
								
								fix merge  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								6253058d9d 
								
									
								
							
								 
							
						 
						
							
							
								
								ensure monotonic n.AppendAtNs in each place ( #3880 )  
							
							
 
							
							
							https://github.com/seaweedfs/seaweedfs/issues/3852 
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f2d9049e6a 
								
							
								 
							
						 
						
							
							
								
								fix size variable  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								184fbb6c50 
								
							
								 
							
						 
						
							
							
								
								volume server: remote tier volumes only soft delete in local index  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/3889  
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9c8678ded9 
								
							
								 
							
						 
						
							
							
								
								ensure monotonic n.AppendAtNs  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/3852  
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37ab8909b0 
								
							
								 
							
						 
						
							
							
								
								use two flags: v.isCompacting and v.isCommitCompacting  
							
							
								
 
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								a8617c1a39 
								
							
								 
							
						 
						
							
							
								
								tail volume: fix zero cookie problem from batch deletion  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b465095db1 
								
							
								 
							
						 
						
							
							
								
								shell: add volume.check.disk to fix inconsistency for replicated volumes  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1923  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								102a951377 
								
							
								 
							
						 
						
							
							
								
								refactor, split into 2 files  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6e2566ee5 
								
							
								 
							
						 
						
							
							
								
								better logs for cookie mismatch  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								737bde5ab7 
								
							
								 
							
						 
						
							
							
								
								refactoring, remove duplicated code  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ee082ae402 
								
							
								 
							
						 
						
							
							
								
								revert comment temporarily  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ee7cdf3668 
								
							
								 
							
						 
						
							
							
								
								revert ErrXyz to ErrorXyz temporarily.  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6d421508a 
								
							
								 
							
						 
						
							
							
								
								revert ErrXyz to ErrorXyz temporarily.  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ffe736d20 
								
							
								 
							
						 
						
							
							
								
								renaming to ErrXyz  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7256902fb0 
								
							
								 
							
						 
						
							
							
								
								fix typo offset.ToAcutalOffset to offset.ToActualOffset  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94ea3bd3a5 
								
							
								 
							
						 
						
							
							
								
								renaming NeedleMapType to NeedleMapKind  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d986c7196d 
								
							
								 
							
						 
						
							
							
								
								use append time instead of filer's own modification time  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1669  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c913dde04 
								
							
								 
							
						 
						
							
							
								
								volume: detect and drop volumes with disk IO error  
							
							
 
							
							
							from Jethro in slack:
is it possible to make the assign request a bit smarter? Currently I’m in the state that a disk failed but all assign request are being send to this volume. It would be cool if the master sees this and stopped using this volume.
e=HTTP(http://x:8089/913,045a782b63176edf ) not 200 but 500 Internal Server Error
Body={"size":740167,"error":"failed to write to local disk: write /mnt/v9/913.dat: input/output error","eTag":"ee4381e202212ff3aee647704c036689"}
e=HTTP(http://x:8089/913,045a782c90240077 ) not 200 but 500 Internal Server Error
Body={"size":792779,"error":"failed to write to local disk: write /mnt/v9/913.dat: input/output error","eTag":"c43463ccc11eb6eb2fc306f407a6a953"}
e=HTTP(http://x:8089/913,045a782e6b7901ea ) not 200 but 500 Internal Server Error
Body={"size":3962392,"error":"failed to write to local disk: write /mnt/v9/913.dat: input/output error","eTag":"04c91198e9b276c81f11dbf189af5d28"} 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d30b21b10 
								
							
								 
							
						 
						
							
							
								
								volume: add "-dir.idx" option for separate index storage  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1265  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0fb4a3766 
								
							
								 
							
						 
						
							
							
								
								add comments  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de86945aeb 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								53c3aad875 
								
							
								 
							
						 
						
							
							
								
								volume: add a note file to avoid incomplete volume files  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1567  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								06c15ab35c 
								
							
								 
							
						 
						
							
							
								
								volume: add special handling for .dat larger than 32GB  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9d40b80b2 
								
							
								 
							
						 
						
							
							
								
								less verbose logs  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bd8b9b0c2e 
								
							
								 
							
						 
						
							
							
								
								some changes to prepare fix after failed reads  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								103fafe00b 
								
							
								 
							
						 
						
							
							
								
								weed export: print out [start,stop) content range  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f2723c1bc8 
								
							
								 
							
						 
						
							
							
								
								do not idx file format  
							
							
 
							
							
							revert c9ab8d05fa 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9ab8d05fa 
								
							
								 
							
						 
						
							
							
								
								fixes for reading deleted fid  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed4b43b419 
								
							
								 
							
						 
						
							
							
								
								adjust logs  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe01191b5b 
								
							
								 
							
						 
						
							
							
								
								support read option readDeleted=true  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ccd7f0a4d 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e91ae592c 
								
							
								 
							
						 
						
							
							
								
								pass in option to read deleted entries  
							
							
 
							
							
							not working yet 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ee11d98650 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a92f0bc7a 
								
							
								 
							
						 
						
							
							
								
								refactoring to typed Size  
							
							
 
							
							
							Go is amazing with refactoring! 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bdbe5ddbe9 
								
							
								 
							
						 
						
							
							
								
								volume server: add a fix for dead lock  
							
							
 
							
							
							https://github.com/chrislusf/seaweedfs/issues/1353  
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5568395edd 
								
							
								 
							
						 
						
							
							
								
								Revert "Revert "Merge pull request  #1299  from song-zhang/master""  
							
							
 
							
							
							This reverts commit afb6a1dbb4 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3703c7e176 
								
							
								 
							
						 
						
							
							
								
								write request keep compatible with before  
							
							
								
 
							
							
						 
						6 years ago