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>
4 days ago
Chris Lu
69553e5ba6
convert error fromating to %w everywhere ( #6995 )
5 months 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
Nikita Borzykh
9ca871af53
Move ListDirectoryEntries logic to ListDirectoryPrefixedEntries in etcd meta storage backend ( #5416 )
Move ListDirectoryEntries logic to ListDirectoryPrefixedEntries
2 years ago
Nikita Borzykh
1f3742850d
Add TLS support, initial etcd connection check, fix key_prefix handling for etcd backend meta storage ( #5403 )
2 years ago
chrislu
81f11883e3
go fmt
2 years ago
Mesar Hameed
a90b777ff4
Feat: etcd filer store keys should have customizable prefix ( #4484 )
An etcd cluster is not necessarily only dedicated to seaweedfs.
This security enhancement adds a customizable key_prefix option to the etcd filer store.
This will allow an etcd cluster administrator to limit the seaweedfs etcd user to only read/write a subset of keys under the
key_prefix, instead of all keys on the etcd cluster.
3 years ago
chrislu
b7f011f777
fix test
3 years ago
Mesar Hameed
65484e80ef
Feat: support username/password authentication for etcd filer store s… ( #4477 )
Feat: support username/password authentication for etcd filer store seaweedfs/seaweedfs#4262
Co-authored-by: Mesar Hameed <mesar.hameed@gmail.com>
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
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
chrislu
10207a48a4
how to setup local test env
4 years ago
chrislu
db33b03735
add comments
4 years ago
chrislu
71e0bcc5d5
a bit optimization
4 years ago
chrislu
d5fe5d12b7
filer: etcd fix pagination
fix https://github.com/chrislusf/seaweedfs/issues/3016
4 years ago
Konstantin Lebedev
21033ff4c3
refactor use const CountEntryChunksForGzip
4 years ago
Chris Lu
8ec357b3d3
go mod
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
314dc1c957
filer: etcd store fix listing
fix https://github.com/chrislusf/seaweedfs/issues/1767
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
5ef43b9b09
implement etcd changes
5 years ago
Chris Lu
361043e6c1
filer store: leveldb2 fix nil entry error if not found
5 years ago
Chris Lu
2a0925590c
filer: etcd store avoid read with nil option
fix https://github.com/chrislusf/seaweedfs/issues/1463
5 years ago
Chris Lu
b8f32bcab9
filer: compress stored metadata
5 years ago
Chris Lu
37234bf3f8
filer store adds kv support
can compile now, need to implement those unimplemented
5 years ago
Chris Lu
eb7929a971
rename filer2 to filer
5 years ago