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
da7e5aaa65
filer: optimize for less number of directory lookup
bottom up directory lookup
5 years ago
Chris Lu
da87f6b265
remove unused code
5 years ago
Chris Lu
0a7c5f85a9
filer: add namePattern to search in current folder
5 years ago
Chris Lu
0e016bc7bd
hbase add ttl
5 years ago
Chris Lu
9bf6c10505
fix prefix
5 years ago
Chris Lu
2fea8cfa0f
fix compilation
5 years ago
Chris Lu
53bc1ea25b
fix compilation
5 years ago
Chris Lu
b5e2be635a
adjust for directory listing
5 years ago
Chris Lu
c4a202ec41
fix wrong column family
5 years ago
Chris Lu
94e3757c08
fix
5 years ago
Chris Lu
64c48c9724
seems compiling
5 years ago
Chris Lu
a0990b929d
minor
5 years ago
Chris Lu
97e3432dfe
avoid wrong error
fix https://github.com/chrislusf/seaweedfs/issues/1691
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
fe46411cd4
handle directory listing edge cases
5 years ago
Chris Lu
c74bede730
handle listing directories
5 years ago
Chris Lu
adf8cb4000
filer: path-specific stores trim out common prefixes
5 years ago
Chris Lu
0823bde8d8
refactor: split into two files
5 years ago
Chris Lu
8ab70ccf76
refactor
5 years ago
Chris Lu
65cc6dc636
refactor to dedicated function
5 years ago
Chris Lu
488c2680e8
change default filer store root
5 years ago
Chris Lu
f5a19a87be
filer: report error if the path specific store is not found
related https://github.com/chrislusf/seaweedfs/issues/1691
5 years ago
Chris Lu
41c0f3ad24
filer: support path-specific filer store
5 years ago
Chris Lu
0d5683fb0e
todo: load path-specific store from filer.toml
5 years ago
Chris Lu
3269fd7eaf
filer: use store by path
5 years ago
Chris Lu
e605f1e001
refactor, add getActualStore() by path
5 years ago
Chris Lu
23903aa95b
refactoring
5 years ago
Chris Lu
4e6b316913
assert FilerStoreWrapper is VirtualFilerStore
5 years ago
Chris Lu
38fc89d041
filer store: sql update if any insert error happens
fix https://github.com/chrislusf/seaweedfs/issues/1673
5 years ago
Chris Lu
23280257df
sql put kv: avoid unnecessary update
5 years ago
Chris Lu
14910d035c
the pagination size was too big for recursive deletion
5 years ago
Chris Lu
03637d6f57
s3: move "delete-directory-if-empty" to read time
move "delete-directory-if-empty" to read time instead of entry deletion time
the listing speed for a s3 bucket folder will slow down if it has many sub folders
related to 0d345ac97d
fix https://github.com/chrislusf/seaweedfs/issues/1647
fix https://github.com/chrislusf/seaweedfs/issues/1670
5 years ago
Chris Lu
37075a414d
adjust logs
5 years ago
Chris Lu
3fedfec1e7
check cross device rename error
5 years ago
Chris Lu
c2f18a10cb
minor
5 years ago
Chris Lu
4b0c2a846b
add logs
5 years ago
Chris Lu
83078ac6ce
filer: change to /etc/seaweedfs folder on filer
fix https://github.com/chrislusf/seaweedfs/issues/1666
5 years ago
Chris Lu
765b3ef1be
save /etc/iam/identity.json inside filer store
5 years ago
Chris Lu
a9c619c270
added error handling for saving
5 years ago
Chris Lu
8e78187a97
add back last read chunk cache to reader and properly close the reader
5 years ago
Chris Lu
900d22c6ec
mount: avoid memory leaking read buffer
fix https://github.com/chrislusf/seaweedfs/issues/1654
the reader goes together with the file handle, which may stay for a long time.
5 years ago
Chris Lu
fce8803087
break import cycle
5 years ago
Chris Lu
01e2da5782
refactoring
5 years ago
Chris Lu
9acda432fe
fix import cycle
5 years ago
Chris Lu
5931a2f53f
filer conf: support json conf only
5 years ago
Chris Lu
f4abd01adf
filer: cache small file to filer store
5 years ago
Chris Lu
a9c6be5fc3
set creation time
5 years ago