aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/redis3
AgeCommit message (Collapse)AuthorFilesLines
2025-07-16convert error fromating to %w everywhere (#6995)Chris Lu1-2/+2
2025-06-24Changes logging function (#6919)Aleksey Kosov2-3/+4
* 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>
2025-05-04feat(redis): add mTLS support for Redis connection initialization (#6738)Jade Devin Cabatlao1-6/+51
* 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>
2025-02-26update redis support statuschrislu1-0/+4
2024-12-19"golang.org/x/exp/slices" => "slices" and go fmtchrislu3-3/+3
2024-07-11fix testchrislu1-3/+3
2024-07-11upgrade to github.com/redis/go-redis/v9chrislu10-15/+15
fix https://github.com/seaweedfs/seaweedfs/issues/4532
2023-06-12Revert "Initial patch for redis version 7 support (#4572)"chrislu10-20/+16
This reverts commit a25bca06927a171ba1d8d459e573bc083ca8c1a8.
2023-06-12Initial patch for redis version 7 support (#4572)Aaron Gipson10-16/+20
2022-11-15refactor filer_pb.Entry and filer.Entry to use GetChunks()chrislu1-1/+1
for later locking on reading chunks
2022-10-12filer: redis store reduce from 2 redis operations to 1 for updates.chrislu1-11/+18
2022-09-14go fmtchrislu1-13/+22
2022-09-14refactor(ItemList): `Incluseive` -> `Inclusive` (#3673)Ryan Russell1-3/+3
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-08-17move proto packagechrislu2-2/+2
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu9-17/+17
2022-05-01refactor use const CountEntryChunksForGzipKonstantin Lebedev1-1/+1
2021-11-29redis3 supports sentinelChris Lu1-0/+49
2021-10-10fix test code compilationChris Lu1-2/+2
2021-10-10disable testing with redis serverChris Lu1-2/+2
--- 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
2021-10-09fix redis3 deletionChris Lu1-2/+10
2021-10-07go fmtChris Lu4-22/+22
2021-10-06reduce one redis lookup on hot pathChris Lu1-18/+13
2021-10-06use pipeline to save some timeChris Lu2-10/+31
2021-10-06redis3 using redis native sorted setChris Lu5-25/+632
2021-10-06test with real redisChris Lu1-0/+41
cpu: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz BenchmarkNameList-12 1789 760599 ns/op BenchmarkRedis-12 17539 64122 ns/op PASS
2021-10-06add benchmark testChris Lu1-5/+49
2021-10-06redis3 adds distributed lockingChris Lu5-12/+123
2021-10-04clean up *SkipListElementReference loaded from RedisChris Lu1-0/+10
2021-10-04use 1000 per batchChris Lu1-1/+1
2021-10-04add redis3Chris Lu3-29/+145
2021-09-18wipChris Lu5-0/+344