chrislu
388f82f322
minor
2 years ago
chrislu
77e4b1376e
refactoring
2 years ago
Patrick Schmidt
3f758820c1
Fix FUSE server buffer leaks in file gaps ( #3472 )
* Fix FUSE server buffer leaks in file gaps
This change zeros read buffers when encountering file gaps during
file/chunk reads in FUSE mounts.
It prevents leaking internal buffers of the FUSE server which could
otherwise reveal metadata, directory listings, file contents and
other data related to FUSE API calls.
The issue was that buffers are reused, but when a file gap was found
the buffer was not zeroed accordingly and the existing data of the
buffer was kept and returned.
* Move zero logic into its own method
2 years ago
chrislu
689b4ecdcc
remove unused collection and replication from upload result
2 years ago
Guo Lei
3172c33fa6
fix redundant type from array ( #3462 )
2 years ago
chrislu
4573c99ae3
fix tests
2 years ago
chrislu
2b580a7566
also migrate jsonpb
2 years ago
chrislu
eaeb141b09
move proto package
2 years ago
chrislu
96caf21d09
less verbose log
2 years ago
chrislu
0aeec04c31
quicker to adapt to pattern change
2 years ago
chrislu
928d29af9e
fix wrong logic about reader isRandomMode()
2 years ago
John W Higgins
3afda0c89c
Allow postgresql to use standard environment variables for connection ( #3413 )
2 years ago
LHHDZ
84ec68e11a
Add download speed limit support ( #3408 )
2 years ago
Konstantin Lebedev
4d08393b7c
filer prefer volume server in same data center ( #3405 )
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404
* GetDataCenter
* prefer same data center for ReplicationSource
* GetDataCenterId
* remove glog
2 years ago
Konstantin Lebedev
a98f6d66a3
rollback over onPeerupdate implementation of automatic clean-up of failed servers in favor of synchronous ping
2 years ago
chrislu
036566629a
filer.sync: fix synchronization logic in active-active mode
fix https://github.com/seaweedfs/seaweedfs/issues/3328
2 years ago
chrislu
303bd067b5
Revert "rename: delete source entry metadata only, skipping hard links"
This reverts commit 03466f955e
.
fix https://github.com/seaweedfs/seaweedfs/issues/3386
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
74f60f246f
dynamically connect to a filer
2 years ago
chrislu
68065128b8
add dc and rack
3 years ago
zzq09494
01b7aa79fa
fix: Buckets are not created and deleted correctly on the filer with the same signature when they are created and deleted
2 years ago
Konstantin Lebedev
da9d3e8f6c
refactor
2 years ago
Konstantin Lebedev
046c3d5ad4
fix logic else brake
2 years ago
chrislu
ec0edb1ac4
filer: fix wrong logic during read
2 years ago
chrislu
64f3d6fb6e
metadata subscription uses client epoch
2 years ago
chrislu
fc8241fb5e
leveldb3: add instant dropping bucket
2 years ago
chrislu
c93f7ffa44
explicit bucket aware declaration
2 years ago
Konstantin Lebedev
b6471ecd75
err msg with duplicated local subscription detected move to log level 1
https://github.com/chrislusf/seaweedfs/issues/3320
2 years ago
Konstantin Lebedev
11e393dbe7
err msg with duplicated local subscription detected move to log level 1
https://github.com/chrislusf/seaweedfs/issues/3320
2 years ago
Konstantin Lebedev
7b1497ee63
Use BackoffSchedule for getLookupFileId
2 years ago
Konstantin Lebedev
01996bccf8
Use fallback if urls are not found
2 years ago
chrislu
1db012485f
mount: fix bug during busy writes
fix https://github.com/chrislusf/seaweedfs/issues/3315
2 years ago
chrislu
aca20cd9f4
more logging related to filer metadata subscription
2 years ago
chrislu
fa61074513
add clientId logging
2 years ago
guosj
354b7bdff0
replace errors.New(fmt.Sprintf(...)) with fmt.Errorf()
2 years ago
guosj
ab1b9697e6
supplement check duplicate accesskey
2 years ago
chrislu
6e90f7bdd0
detect sequential mode with a counter
2 years ago
chrislu
1451b389a4
Avoid fatal error: sync: Unlock of unlocked RWMutex
fix https://github.com/chrislusf/seaweedfs/issues/3306
2 years ago
chrislu
860c207c94
typo
2 years ago
chrislu
11d79615c8
dynamically connect to a filer
2 years ago
guosj
5469efa336
close SkipCheckParentDirectory flag
2 years ago
chrislu
28add5a534
mount: fix racing conditions
prevent wrong reading when the SingleChunkCacher is started, but not finished yet
2 years ago
duanhongyi
1ceab96aba
filer tikv support tls
2 years ago
chrislu
a85ed3fe8f
minor
2 years ago
chrislu
2ea18cdcc8
remove dead code
2 years ago
chrislu
f2f0482dd3
mount: random read also try to use the local cache first
2 years ago
chrislu
9f20d3ebd1
add dc and rack
3 years ago
石昌林
2b5b37231b
Make sure that onChangeEvent is called successfully before updating lastTsNs
3 years ago
石昌林
e17e6ed542
Avoid synchronizing from scratch due to err
3 years ago
yulai.li
824cbe32be
Make tikv filer enable/disable by build tags
3 years ago