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
Chris Lu
ddc8643ee0
filer: directory listing adds namePatternExclude
fix https://github.com/chrislusf/seaweedfs/issues/2023
4 years ago
Chris Lu
f002e668de
change limit to int64 in case of overflow
4 years ago
Chris Lu
f4d87f8b9d
works
performance seems about the same as leveldb for insert entries
4 years ago
Chris Lu
2c3c2c27d7
separate prefix from namePattern
fix https://github.com/chrislusf/seaweedfs/issues/1722
4 years ago
Konstantin Lebedev
aa30604cec
fix tests
4 years ago
Konstantin Lebedev
fc7baef5bb
fiil serverUrls sorted by data center
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
Chris Lu
ca658a97c5
add signatures to messages to avoid double processing
4 years ago
Chris Lu
8824a9755c
remove directory cache
4 years ago
Устюжанин Антон Александрович
67f134ebd7
test ListDirectoryPrefixedEntries
4 years ago
Chris Lu
31e23e9783
filer: support active<=>active filer replication
5 years ago
Chris Lu
cb3985be70
go fmt
5 years ago
Chris Lu
4642ed565e
fix tests
5 years ago
Chris Lu
d30483d642
re-enable system logs
5 years ago
Chris Lu
e78ee087e9
fix tests
5 years ago
Chris Lu
c0f0fdb3ba
refactoring
5 years ago
Chris Lu
d214cefc2e
filer: list diretory pagination make up for the expired entries
5 years ago
Chris Lu
89eb05b50f
filer: support TTL for all filer stores
5 years ago
Chris Lu
6a8484b4ae
master able to list all master clients by type
5 years ago
Chris Lu
555413d9fc
weed queue starts
5 years ago
Chris Lu
6ab7368ef2
filer: dynamically create bucket under /buckets folder
5 years ago
Chris Lu
d4e75a0d18
filer: option to create file only if it is new, O_EXCL
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
b92122b885
fix test
6 years ago
Chris Lu
36b632ebcb
fix tests
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
db22666a30
add default root directory
6 years ago
Chris Lu
43e3f5724c
use fixed list of masters in both filer and volume servers
7 years ago
Chris Lu
458ada173e
go fmt
7 years ago
Chris Lu
9e77563c99
add leveldb store
1. switch to viper for filer store configuration
2. simplify FindEntry() return values, removing “found”
3. add leveldb store
7 years ago