Konstantin Lebedev
1cac5d983d
fix: disallow file name too long when writing a file ( #4881 )
* fix: disallow file name too long when writing a file
* bool LongerName to MaxFilenameLength
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
1 year ago
Nico D'Cotta
796b7508f3
Implement SRV lookups for filer ( #4767 )
1 year ago
chrislu
70a4c98b00
refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
94635e9b5c
filer: add filer group
3 years ago
Konstantin Lebedev
21033ff4c3
refactor use const CountEntryChunksForGzip
3 years ago
chrislu
4042fdf3bb
rename to skipCheckParentDir
related to https://github.com/chrislusf/seaweedfs/pull/2761
It's better to default to false.
3 years ago
zzq09494
40b0033fa7
go fmt
3 years ago
zzq09494
ee5417a5b3
fix: ut test error
3 years ago
Eng Zer Jun
b92df1654c
test: use `T.TempDir` to create temporary test directory
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Chris Lu
96514f0f00
fix tests
3 years ago
joshuafc
5654d0d60d
CompactionTableSizeMultiplier of leveldb use default value. #2325
To improve performance of leveldb find key in condition of large directory(millions of files) which use uuid as filename.
3 years ago
qieqieplus
2b46df13f8
add bloom filter for filer leveldb/rocksdb
3 years ago
Chris Lu
182288f860
filer: fix mysql, postgres batch delete error
3 years ago
Konstantin Lebedev
6aa1a56ec8
avoid crashes Galera Cluster
https://github.com/chrislusf/seaweedfs/issues/2125
4 years ago
Chris Lu
ddc8643ee0
filer: directory listing adds namePatternExclude
fix https://github.com/chrislusf/seaweedfs/issues/2023
4 years ago
Chris Lu
2d4c2db81d
filer: leveldb, rocksdb auto create store directory
fix https://github.com/chrislusf/seaweedfs/issues/1901
4 years ago
Chris Lu
4be51c0701
filer: leveldb and hbase may miss files when listing large directories more than 1024
fix https://github.com/chrislusf/seaweedfs/issues/1768
4 years ago
Chris Lu
a4063a5437
add stream list directory entries
4 years ago
Chris Lu
f002e668de
change limit to int64 in case of overflow
4 years ago
Chris Lu
b5ceffe188
implement leveldb changes
4 years ago
Chris Lu
361043e6c1
filer store: leveldb2 fix nil entry error if not found
4 years ago
Chris Lu
2c3c2c27d7
separate prefix from namePattern
fix https://github.com/chrislusf/seaweedfs/issues/1722
4 years ago
Chris Lu
eab53ea80d
filer leveldb store: a bit more efficient directory listing with prefix
4 years ago
Konstantin Lebedev
aa30604cec
fix tests
4 years ago
Chris Lu
8acd714600
apply meta changes only if store is different
4 years ago
Chris Lu
b8f32bcab9
filer: compress stored metadata
4 years ago
Chris Lu
37234bf3f8
filer store adds kv support
can compile now, need to implement those unimplemented
4 years ago
Chris Lu
2b14ae5819
fix tests
4 years ago
Chris Lu
d91ec535b3
fix tests
4 years ago
Chris Lu
eb7929a971
rename filer2 to filer
4 years ago