chrislu
12f858b930
filer: add username and keyPrefix support for Redis stores
Addresses https://github.com/seaweedfs/seaweedfs/issues/7299
- Add username config option to redis2, redis_cluster2, redis_lua, and
redis_lua_cluster stores (sentinel stores already had it)
- Add keyPrefix config option to all Redis stores to prefix all keys,
useful for Envoy Redis Proxy or multi-tenant Redis setups
2 days ago
tam-i13
b669607fcd
Add error list each entry func ( #7485 )
* added error return in type ListEachEntryFunc
* return error if errClose
* fix fmt.Errorf
* fix return errClose
* use %w fmt.Errorf
* added entry in messege error
* add callbackErr in ListDirectoryEntries
* fix error
* add log
* clear err when the scanner stops on io.EOF, so returning err doesn’t surface EOF as a failure.
* more info in error
* add ctx to logs, error handling
* fix return eachEntryFunc
* fix
* fix log
* fix return
* fix foundationdb test s
* fix eachEntryFunc
* fix return resEachEntryFuncErr
* Update weed/filer/filer.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update weed/filer/elastic/v7/elastic_store.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update weed/filer/hbase/hbase_store.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update weed/filer/foundationdb/foundationdb_store.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update weed/filer/ydb/ydb_store.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* fix
* add scanErr
---------
Co-authored-by: Roman Tamarov <r.tamarov@kryptonite.ru>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Co-authored-by: chrislu <chris.lu@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 week ago
Aleksey Kosov
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>
5 months ago
chrislu
c59517e284
upgrade to github.com/redis/go-redis/v9
fix https://github.com/seaweedfs/seaweedfs/issues/4532
1 year ago
chrislu
3fbf4f6189
Revert "Initial patch for redis version 7 support ( #4572 )"
This reverts commit a25bca0692 .
3 years ago
Aaron Gipson
a25bca0692
Initial patch for redis version 7 support ( #4572 )
3 years ago
chrislu
70a4c98b00
refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
3 years ago
chrislu
f5d4952d73
filer: redis store reduce from 2 redis operations to 1 for updates.
3 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
Konstantin Lebedev
21033ff4c3
refactor use const CountEntryChunksForGzip
4 years ago
Chris Lu
0c8dea9de8
go fmt
4 years ago
Chris Lu
2e76834e4d
filer store: redis2 fix wrong pagination
4 years ago
Chris Lu
49d971e602
filer: redis store needs to clean up batch deleted sub folders
4 years ago
Chris Lu
182288f860
filer: fix mysql, postgres batch delete error
4 years ago
Konstantin Lebedev
6aa1a56ec8
avoid crashes Galera Cluster
https://github.com/chrislusf/seaweedfs/issues/2125
5 years ago
Chris Lu
a4063a5437
add stream list directory entries
5 years ago
Chris Lu
f002e668de
change limit to int64 in case of overflow
5 years ago
Chris Lu
d2ece29fff
implement redis changes
5 years ago
Chris Lu
4aaa97c789
skip not found error in case of race condition
5 years ago
Chris Lu
acc0d5cd2c
Revert "Revert "filer store: redis module upgrade""
This reverts commit dd0171e35c .
5 years ago
Chris Lu
dd0171e35c
Revert "filer store: redis module upgrade"
This reverts commit 40161c9cec .
5 years ago
Chris Lu
40161c9cec
filer store: redis module upgrade
5 years ago
Chris Lu
4f31c1bb94
go fmt
5 years ago
Chris Lu
6c4f32d173
remove unused code
5 years ago
Chris Lu
90d785a15f
filer: redis, redis cluster, cassandra support super large directory
5 years ago
Chris Lu
44b4ebf0ff
filer: Redis cleanly delete directory
fix https://github.com/chrislusf/seaweedfs/issues/1448
5 years ago
Chris Lu
b8f32bcab9
filer: compress stored metadata
5 years ago
Chris Lu
eb7929a971
rename filer2 to filer
5 years ago
Konstantin Lebedev
22f32e75c4
rename
5 years ago
Konstantin Lebedev
7f013d77d6
add var UnsupportedListDirectoryPrefixedErr
5 years ago
Konstantin Lebedev
60a86cfe04
add const
5 years ago
Konstantin Lebedev
2ea638f865
filer store wrapper can implement the logic to filter by prefi
5 years ago
Устюжанин Антон Александрович
a457c308ad
test ListDirectoryPrefixedEntries
5 years ago
Устюжанин Антон Александрович
33a9e5e2d1
test ListDirectoryPrefixedEntries
5 years ago
Chris Lu
1c2e920fa2
fix compilation error
6 years ago
Chris Lu
b5a713be68
filer store: add redis2 redis_cluster2 as default redis store
6 years ago
Chris Lu
c0f0fdb3ba
refactoring
6 years ago
Chris Lu
bec6ec7db6
go fmt
6 years ago
Chris Lu
7b37178716
filer: close stores if interrupted
6 years ago
Chris Lu
afb20de14c
breaks dependency loop
6 years ago
Chris Lu
465d18930b
filer redis: directory listing follow ttl
fix https://github.com/chrislusf/seaweedfs/issues/1217
6 years ago
Chris Lu
bbb6ebc3c0
filer: DeleteFolderChildren for deleting large folders
6 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
6 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
6 years ago
Chris Lu
78ac2bef3c
go fmt
7 years ago
Chris Lu
97406333a5
support atomic renaming for mysql/postgres filer store
7 years ago
Chris Lu
cece860bfd
add context to all filer APIs
7 years ago
bingoohuang
ab6be025d7
go fmt and fix some typo
7 years ago
byungjo.yoon
58fd2e5a19
Set redis key ttl with entry.TTLSec
7 years ago
Chris Lu
b23883b3b6
fix a bug on error reporting
7 years ago