69553e5ba6 
								
									
								
							
								 
							
						 
						
							
							
								
								convert error fromating to %w everywhere ( #6995 )  
							
							
								
 
							
							
						 
						4 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4511c2cc1f 
								
									
								
							
								 
							
						 
						
							
							
								
								Changes logging function ( #6919 )  
							
							
 
							
							
							* updated logging methods for stores
* updated logging methods for stores
* updated logging methods for filer
* updated logging methods for uploader and http_util
* updated logging methods for weed server
---------
Co-authored-by: akosov <a.kosov@kryptonite.ru> 
							
						 
						4 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								21514e1fea 
								
									
								
							
								 
							
						 
						
							
							
								
								feat(redis): add mTLS support for Redis connection initialization ( #6738 )  
							
							
 
							
							
							* feat(redis): add mTLS support for Redis connection initialization
- Enhanced the Redis2Store initialization to support mutual TLS (mTLS) by adding configuration options for CA certificate, client certificate, and client key paths.
- Updated the Redis client setup to use TLS configuration when mTLS is enabled, ensuring secure connections to the Redis server.
* feat(redis): extend Redis3Store initialization to support mTLS
- Added configuration options for enabling mutual TLS (mTLS) in Redis3Store.
- Implemented logic to load client certificates and CA certificates for secure Redis connections.
- Updated the Redis client setup to utilize TLS configuration when mTLS is enabled.
---------
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> 
							
						 
						6 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9bd4c47299 
								
							
								 
							
						 
						
							
							
								
								update redis support status  
							
							
								
 
							
							
						 
						8 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec155022e7 
								
							
								 
							
						 
						
							
							
								
								"golang.org/x/exp/slices" => "slices" and go fmt  
							
							
								
 
							
							
						 
						10 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2addcd1623 
								
							
								 
							
						 
						
							
							
								
								fix test  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c59517e284 
								
							
								 
							
						 
						
							
							
								
								upgrade to github.com/redis/go-redis/v9  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/4532  
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3fbf4f6189 
								
							
								 
							
						 
						
							
							
								
								Revert "Initial patch for redis version 7 support ( #4572 )"  
							
							
 
							
							
							This reverts commit a25bca0692 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								a25bca0692 
								
									
								
							
								 
							
						 
						
							
							
								
								Initial patch for redis version 7 support ( #4572 )  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70a4c98b00 
								
							
								 
							
						 
						
							
							
								
								refactor filer_pb.Entry and filer.Entry to use GetChunks()  
							
							
 
							
							
							for later locking on reading chunks 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5d4952d73 
								
							
								 
							
						 
						
							
							
								
								filer: redis store reduce from 2 redis operations to 1 for updates.  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21c0587900 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f2dde2b1da 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor(ItemList): `Incluseive` -> `Inclusive` ( #3673 )  
							
							
 
							
							
							Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eaeb141b09 
								
							
								 
							
						 
						
							
							
								
								move proto package  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21033ff4c3 
								
							
								 
							
						 
						
							
							
								
								refactor use const CountEntryChunksForGzip  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								689f5513a9 
								
							
								 
							
						 
						
							
							
								
								redis3 supports sentinel  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f4676824a7 
								
							
								 
							
						 
						
							
							
								
								fix test code compilation  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8205166009 
								
							
								 
							
						 
						
							
							
								
								disable testing with redis server  
							
							
 
							
							
							--- FAIL: TestNameList (0.00s)
panic: exec: "redis-server": executable file not found in $PATH [recovered]
	panic: exec: "redis-server": executable file not found in $PATH
goroutine 37 [running]:
testing.tRunner.func1.2({0xde2f80, 0xc0003da160})
	/opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1209 +0x24e
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1212 +0x218
panic({0xde2f80, 0xc0003da160})
	/opt/hostedtoolcache/go/1.17.1/x64/src/runtime/panic.go:1038 +0x215
github.com/chrislusf/seaweedfs/weed/filer/redis3.TestNameList(0x407c59)
	/home/runner/work/seaweedfs/seaweedfs/weed/filer/redis3/kv_directory_children_test.go:45 +0x376
testing.tRunner(0xc0003e2680, 0xf57f48)
	/opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1259 +0x102
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1306 +0x35a 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17e08a16f4 
								
							
								 
							
						 
						
							
							
								
								fix redis3 deletion  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e4830bd93d 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f3d8232e14 
								
							
								 
							
						 
						
							
							
								
								reduce one redis lookup on hot path  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2336a397dc 
								
							
								 
							
						 
						
							
							
								
								use pipeline to save some time  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								371fead8a5 
								
							
								 
							
						 
						
							
							
								
								redis3 using redis native sorted set  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8668d49c9d 
								
							
								 
							
						 
						
							
							
								
								test with real redis  
							
							
 
							
							
							cpu: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
BenchmarkNameList-12    	    1789	    760599 ns/op
BenchmarkRedis-12       	   17539	     64122 ns/op
PASS 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b31f3c97a 
								
							
								 
							
						 
						
							
							
								
								add benchmark test  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								893f0587b1 
								
							
								 
							
						 
						
							
							
								
								redis3 adds distributed locking  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								947add39e6 
								
							
								 
							
						 
						
							
							
								
								clean up *SkipListElementReference loaded from Redis  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2b9aab3442 
								
							
								 
							
						 
						
							
							
								
								use 1000 per batch  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								366f522a2d 
								
							
								 
							
						 
						
							
							
								
								add redis3  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f2e4be074 
								
							
								 
							
						 
						
							
							
								
								wip  
							
							
								
 
							
							
						 
						4 years ago