e446234e9c 
								
									
								
							
								 
							
						 
						
							
							
								
								remove spoof-able request header ( #7103 )  
							
							
 
							
							
							* remove spoof-able request header
https://github.com/seaweedfs/seaweedfs/issues/7094#issuecomment-3158320497 
* Update weed/security/guard.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> 
							
						 
						3 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								0703308270 
								
									
								
							
								 
							
						 
						
							
							
								
								remote address parsing should handle special cases ( #7101 )  
							
							
 
							
							
							* remote address parsing should handle special cases
* handling ipv6
* simplify
* Update weed/security/guard.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/security/guard.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* x-real-ip
* Update guard.go
* fixes
 Hostname Whitelisting: Fully restored - supports localhost, example.com, etc.
 IP Whitelisting: Still works - supports exact IPs and CIDR ranges
 Header Support: Consistent handling of X-Forwarded-For, X-Real-IP
* simplify
* Update weed/security/guard.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update weed/security/guard.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update guard.go
* adjust function signature
* Update weed/security/guard.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* indention
* skip empty host
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> 
							
						 
						3 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								798f797158 
								
							
								 
							
						 
						
							
							
								
								use float for sleep seconds  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/pull/6795  
							
						 
						4 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1733d0ce68 
								
							
								 
							
						 
						
							
							
								
								remove features and deployments fields  
							
							
								
 
							
							
						 
						4 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								a1aab8a083 
								
									
								
							
								 
							
						 
						
							
							
								
								add telemetry ( #6926 )  
							
							
 
							
							
							* add telemetry
* fix go mod
* add default telemetry server url
* Update README.md
* replace with broker count instead of s3 count
* Update telemetry.pb.go
* github action to deploy 
							
						 
						4 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								5182d46e22 
								
									
								
							
								 
							
						 
						
							
							
								
								Added middleware for processing request_id grpc and http requests ( #6805 )  
							
							
								
 
							
							
						 
						5 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								fc4df944a0 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove rate limit semaphore on master's leader selection logic. ( #6494 )  
							
							
 
							
							
							This was introduced by 054374c7 
							
						 
						9 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								b65eb2ec45 
								
									
								
							
								 
							
						 
						
							
							
								
								[security] reload whiteList on http seerver ( #6302 )  
							
							
 
							
							
							* reload whiteList
* white_list add to scaffold 
							
						 
						11 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								fec88e64eb 
								
									
								
							
								 
							
						 
						
							
							
								
								[master] update LastLeaderChangeTime for hashicorp raft ( #6292 )  
							
							
								
 
							
							
						 
						11 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ccf1795e6f 
								
							
								 
							
						 
						
							
							
								
								wait a bit before getting the next volume id if the leader is recently elected  
							
							
								
 
							
							
						 
						11 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6564ceda91 
								
							
								 
							
						 
						
							
							
								
								skip resource heavy commands from running on master nodes  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4463296811 
								
							
								 
							
						 
						
							
							
								
								add parallel vacuuming  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								6fe8639504 
								
									
								
							
								 
							
						 
						
							
							
								
								add http endpoint to get the size of a collection ( #5910 )  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4b1f539ab8 
								
									
								
							
								 
							
						 
						
							
							
								
								fix allocate reduplicated volumeId to different volume ( #5811 )  
							
							
 
							
							
							* fix allocate reduplicated volumeId to different volume
* only check barrier when read
---------
Co-authored-by: Yang Wang <yangwang@weride.ai> 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								86d92a42b4 
								
									
								
							
								 
							
						 
						
							
							
								
								Added tls for http clients ( #5766 )  
							
							
 
							
							
							* Added global http client
* Added Do func for global http client
* Changed the code to use the global http client
* Fix http client in volume uploader
* Fixed pkg name
* Fixed http util funcs
* Fixed http client for bench_filer_upload
* Fixed http client for stress_filer_upload
* Fixed http client for filer_server_handlers_proxy
* Fixed http client for command_fs_merge_volumes
* Fixed http client for command_fs_merge_volumes and command_volume_fsck
* Fixed http client for s3api_server
* Added init global client for main funcs
* Rename global_client to client
* Changed:
- fixed NewHttpClient;
- added CheckIsHttpsClientEnabled func
- updated security.toml in scaffold
* Reduce the visibility of some functions in the util/http/client pkg
* Added the loadSecurityConfig function
* Use util.LoadSecurityConfiguration() in NewHttpClient func 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								67edf1d014 
								
									
								
							
								 
							
						 
						
							
							
								
								[master] Do Automatic Volume Grow in background ( #5781 )  
							
							
 
							
							
							* Do Automatic Volume Grow in backgound
* pass lastGrowCount to master
* fix build
* fix count to uint64 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								8aae82dd71 
								
									
								
							
								 
							
						 
						
							
							
								
								Added context for the MasterClient's methods to avoid endless loops ( #5628 )  
							
							
 
							
							
							* Added context for the MasterClient's methods to avoid endless loops
* Returned WithClient function. Added WithClientCustomGetMaster function
* Hid unused ctx arguments
* Using a common context for the KeepConnectedToMaster and WaitUntilConnected functions
* Changed the context termination check in the tryConnectToMaster function
* Added a child context to the tryConnectToMaster function
* Added a common context for KeepConnectedToMaster and WaitUntilConnected functions in benchmark 
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								ee25ada732 
								
									
								
							
								 
							
						 
						
							
							
								
								reduce ambiguity about use memory_sequencer ( #5555 )  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55976ae04a 
								
							
								 
							
						 
						
							
							
								
								avoid repeated calls to heavy-weighted viper  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9490c5e1f 
								
							
								 
							
						 
						
							
							
								
								rename  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								796b7508f3 
								
									
								
							
								 
							
						 
						
							
							
								
								Implement SRV lookups for filer ( #4767 )  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a315490f7d 
								
							
								 
							
						 
						
							
							
								
								proxy to master uses http address  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/4607  
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adb90bd252 
								
							
								 
							
						 
						
							
							
								
								avoid lower casing the command  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/pull/4321  
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								b9933d5589 
								
									
								
							
								 
							
						 
						
							
							
								
								master server graceful stop ( #3797 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								e90ab4ac60 
								
									
								
							
								 
							
						 
						
							
							
								
								avoid race conditions for OnPeerUpdate ( #3525 )  
							
							
 
							
							
							https://github.com/seaweedfs/seaweedfs/issues/3524  
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								7b424a54dc 
								
									
								
							
								 
							
						 
						
							
							
								
								Add raft server access mutex to avoid races ( #3503 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								10414fd81c 
								
							
								 
							
						 
						
							
							
								
								ping timeout at 15 seconds  
							
							
 
							
							
							this 72 minute timeout setting seems unreasonably long
15 seconds is around the time when a new raft leader should be elected. 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								2e78a522ab 
								
									
								
							
								 
							
						 
						
							
							
								
								remove old raft servers if they don't answer to pings for too long ( #3398 )  
							
							
 
							
							
							* remove old raft servers if they don't answer to pings for too long
add ping durations as options
rename ping fields
fix some todos
get masters through masterclient
raft remove server from leader
use raft servers to ping them
CheckMastersAlive for hashicorp raft only
* prepare blocking ping
* pass waitForReady as param
* pass waitForReady through all functions
* waitForReady works
* refactor
* remove unneeded params
* rollback unneeded changes
* fix 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4d4cd0948d 
								
									
								
							
								 
							
						 
						
							
							
								
								avoid infinite loop WaitUntilConnected() ( #3431 )  
							
							
 
							
							
							https://github.com/seaweedfs/seaweedfs/issues/3421  
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a98f6d66a3 
								
							
								 
							
						 
						
							
							
								
								rollback over onPeerupdate implementation of automatic clean-up of failed servers in favor of synchronous ping  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb01b68fa0 
								
							
								 
							
						 
						
							
							
								
								refactor  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								68065128b8 
								
							
								 
							
						 
						
							
							
								
								add dc and rack  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3828b8ce87 
								
							
								 
							
						 
						
							
							
								
								"github.com/chrislusf/raft" => "github.com/seaweedfs/raft"  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c88ea31f62 
								
							
								 
							
						 
						
							
							
								
								fix RUnlock of unlocked RWMutex  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c42814b58 
								
							
								 
							
						 
						
							
							
								
								avoid deadlock  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93ca87b7cb 
								
							
								 
							
						 
						
							
							
								
								use safe onPeerUpdateDoneCns  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7875470e74 
								
							
								 
							
						 
						
							
							
								
								onPeerUpdateGoroutineCount use int32  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c390851e7 
								
							
								 
							
						 
						
							
							
								
								fix design  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6a966b4fc 
								
							
								 
							
						 
						
							
							
								
								add waiting log message  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6cfbfb0849 
								
							
								 
							
						 
						
							
							
								
								check for ping before deleting raft server  
							
							
 
							
							
							https://github.com/chrislusf/seaweedfs/issues/3083  
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f419d5643a 
								
							
								 
							
						 
						
							
							
								
								fix typo  
							
							
 
							
							
							add remove logs 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24291e23eb 
								
							
								 
							
						 
						
							
							
								
								refactor  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f20d3ebd1 
								
							
								 
							
						 
						
							
							
								
								add dc and rack  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6adc42147f 
								
							
								 
							
						 
						
							
							
								
								fresh filer store bootstrap from the oldest peer  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b201edb9df 
								
							
								 
							
						 
						
							
							
								
								fix wrong assignment  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9271866d1e 
								
							
								 
							
						 
						
							
							
								
								fix segmentation violation  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/3000  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94635e9b5c 
								
							
								 
							
						 
						
							
							
								
								filer: add filer group  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2fdb3e277 
								
							
								 
							
						 
						
							
							
								
								fix master ui  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35bc67f030 
								
							
								 
							
						 
						
							
							
								
								fix conflicts  
							
							
								
 
							
							
						 
						4 years ago