Chris Lu
8e78187a97
add back last read chunk cache to reader and properly close the reader
4 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.
4 years ago
Chris Lu
fce8803087
break import cycle
4 years ago
Chris Lu
01e2da5782
refactoring
4 years ago
Chris Lu
9acda432fe
fix import cycle
4 years ago
Chris Lu
5931a2f53f
filer conf: support json conf only
4 years ago
Chris Lu
f4abd01adf
filer: cache small file to filer store
4 years ago
Chris Lu
a9c6be5fc3
set creation time
4 years ago
Chris Lu
0d345ac97d
s3: remove empty parent folder on delete
fix https://github.com/chrislusf/seaweedfs/issues/1637
4 years ago
Chris Lu
cc2bd97ad9
refactor
4 years ago
Chris Lu
0da7ecfd29
go fmt
4 years ago
Chris Lu
effa00ed08
refactor
4 years ago
Chris Lu
513bcd6e0d
filer: avoid duplicated FindEntry for deletion
4 years ago
Chris Lu
eab53ea80d
filer leveldb store: a bit more efficient directory listing with prefix
4 years ago
Chris Lu
290b5e2cd0
directly delete file chunks
keeping current async deletions for now
4 years ago
Chris Lu
dc304342b2
fs.configure: configurable volume growth
4 years ago
Chris Lu
5f19e81dab
filer confi: support hierachical configuration
4 years ago
Chris Lu
c0d279c54e
filere.conf: prefer to use json format
4 years ago
Chris Lu
ee2fa14dbe
filer conf: delete location specific configuration
4 years ago
Chris Lu
71056dae07
fs.configure: read and local add filer configuration
4 years ago
Chris Lu
0ea5c087ce
go fmt
4 years ago
Chris Lu
95c0de285d
refactoring
4 years ago
Chris Lu
500bcab953
refactoring
4 years ago
Chris Lu
590f02179d
filer: load filer conf when starting
4 years ago
Chris Lu
0a406f652e
load filer conf and match by prefix
4 years ago
Chris Lu
0fc9ffc603
able to read filer.conf if updated
4 years ago
Chris Lu
442e092995
filer watch "/etc" folder for configuration changes
4 years ago
Konstantin Lebedev
aa30604cec
fix tests
4 years ago
Konstantin Lebedev
1eec5c8d5d
gen pb
4 years ago
Konstantin Lebedev
fc7baef5bb
fiil serverUrls sorted by data center
4 years ago
Chris Lu
8750cac090
move to util.RetryWaitTime
4 years ago
Chris Lu
df8d976bb0
refactoring
4 years ago
Chris Lu
16fae84414
fix format error
4 years ago
Chris Lu
e9d40b80b2
less verbose logs
4 years ago
Chris Lu
b81359823f
postgres: support empty user
4 years ago
Chris Lu
d75bc62196
to read files that are quickly changing
4 years ago
Chris Lu
5179e559f7
skip empty logs
4 years ago
Chris Lu
bd103c143a
add lock for vidCache
4 years ago
Chris Lu
68d39c86f1
mysql, postgres, cassandra: change kv key to base64 encoding
The exisitng key-value operation for stores using mysql, postgres, and maybe cassandra are already broken.
The kv is used to store hardlink, filer store signature and replication progress.
So users using hardlink and also uses mysql, postgres, or cassandra will have broken hard links.
Users using filer.sync will need to re-sync the files.
4 years ago
Chris Lu
c95d3d9dff
adjust tests
4 years ago
Chris Lu
93bcf56514
file read report EOF
fix https://github.com/chrislusf/seaweedfs/issues/1344
4 years ago
Chris Lu
0542911e29
go fmt
4 years ago
Chris Lu
58fa506491
minor
4 years ago
Chris Lu
aac4cb1f0c
adds errror on read and write
4 years ago
Chris Lu
3f7d1d1bf1
Only wait on retryable requests
4 years ago
Chris Lu
723ae11db4
refactoring in order to adjust volume server url later
4 years ago
Chris Lu
d155f907c2
mount: configurable read wait time
4 years ago
Chris Lu
8a52379ecb
add retry if volume can not be found
4 years ago
Chris Lu
70af0ec24c
filer: fix hanging on read
4 years ago
Chris Lu
cff8bb6554
return proper error
4 years ago