Peter Cai
bff678770b
filer: Fix prefix matching ( #1722 )
* `ListDirectoryEntries` takes a pattern, not a prefix, thus to match a
prefix we have to include a wildcard character `*`
* In the prefix match implementations in leveldb and leveldb2, we should
continue instead of stop if the current entry does not match the
prefix.
5 years ago
Chris Lu
eab53ea80d
filer leveldb store: a bit more efficient directory listing with prefix
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
Устюжанин Антон Александрович
dc9fc01254
test ListDirectoryPrefixedEntries
5 years ago
Устюжанин Антон Александрович
33a9e5e2d1
test ListDirectoryPrefixedEntries
5 years ago
Chris Lu
ef2b3a0801
leveldb recover error handling
6 years ago
Chris Lu
e5a0787653
filer: leveldb store add auto recovery, report correct error
fix https://github.com/chrislusf/seaweedfs/issues/1326
6 years ago
Chris Lu
c0f0fdb3ba
refactoring
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
d335f04de6
support env variables to overwrite toml file
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
8123a488cd
filer: optimize leveldb parameters
7 years ago
Chris Lu
0fe286a6ca
filer: optimization for leveldb, add leveldb2
large filer db may see high CPU and disk usage due to background compaction
7 years ago
Chris Lu
35aba35c07
Revert "weed volume: disable block cache on leveldb"
This reverts commit a55e708d36 .
7 years ago
Chris Lu
a55e708d36
weed volume: disable block cache on leveldb
saving 8MB for each volume, but at the cost of slower (offset,size) lookup
7 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
Chris Lu
52b24a9902
default "weed server -filer" to same directory as -mdir
7 years ago
Chris Lu
f827ada811
merge notification config with filer.toml
7 years ago
Chris Lu
eb2acd11c2
decouple from viper for filer store
8 years ago
Chris Lu
0301504184
add mime, use simple insert and update filer store API
1. add mime type to file in filer
2. purge old chunks if overwrite during insert
8 years ago
Chris Lu
458ada173e
go fmt
8 years ago
Chris Lu
603de2d5db
skip deletion if entry not found
8 years ago
Chris Lu
c1e353491a
refactoring variable names
8 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
8 years ago