Ryan Russell
d54eb9966f
refactor: `Directory` readability ( #3665 )
2 years ago
gfx
48db56ddad
arangodb s3 bucket name compatibility ( #3588 )
* Update arangodb_store.go
* update readme, properly escape queries, add name patching
* use underscore
* use underscore
* better comment
* fix readme
Co-authored-by: a <a@a.a>
2 years ago
Konstantin Lebedev
3c3682fcce
more log detail for upload err and deleting ( #3577 )
2 years ago
famosss
131d389fc4
adjust log level ( #3589 )
2 years ago
gfx
bf844d8e46
Fix crash in arangodb filer when attempting to access a deleted bucket ( #3587 )
* Update helpers.go
* Update arangodb_store_bucket.go
2 years ago
gfx
3621987727
Correctly pass arangodb driver Transaction ID into the context ( #3586 )
Update arangodb_store.go
2 years ago
chrislu
a112cbe44c
filer: rocksdb store report not found correctly
fix https://github.com/seaweedfs/seaweedfs/discussions/3555
2 years ago
chrislu
10efdc7aab
align memory
2 years ago
Konstantin Lebedev
803ca3c958
avoid data race on doSubscribeToOneFiler/ma.filer.UniqueFilerEpoch ( #3566 )
https://github.com/seaweedfs/seaweedfs/issues/3565
2 years ago
chrislu
d81db3c703
s3: fix configuring IAM for the same user
hi, how can I add bucket permission to a user now?
Previously, if I needed to add permission to an existing credential, I simply repeated the s3.configure command with a different bucket name.
Now I am getting error:
duplicate accessKey[ХХХХ], already configured in user[YYYY]
s3.configure -access_key key -actions Read,Write,List -buckets bucket1 -secret_key secr -user user1
s3.configure -access_key key -actions Read,Write,List -buckets bucket2 -secret_key secr -user user1
2 years ago
chrislu
57a46f46a0
nano level precision
2 years ago
Patrick Schmidt
5df105b1f9
Fix a few data races when reading files in mount ( #3527 )
2 years ago
Konstantin Lebedev
e90ab4ac60
avoid race conditions for OnPeerUpdate ( #3525 )
https://github.com/seaweedfs/seaweedfs/issues/3524
2 years ago
Patrick Schmidt
2930263dfd
Fix race conditions during in-flight size checks ( #3505 )
2 years ago
chrislu
fef9c6a520
filer: do not always save files in "/etc" folder to filer store
fix https://github.com/seaweedfs/seaweedfs/issues/3476
2 years ago
Patrick Schmidt
f49a9297c2
Fix hanging reads in chunk cacher ( #3473 )
Sometimes when an unexpected error occurs the cacher would set an
error and return. However, it would not broadcast the condition
signal in that case, therefore leaving the goroutine that runs
readChunkAt stuck forever.
I figured that the condition is unnecessary because readChunkAt is
acquiring a lock that is still held by the cacher goroutine anyway.
Callees of startCaching have to wait for a WaitGroup which makes sure
that readChunkAt can't acquire the lock before startCaching.
This way readChunkAt can execute normally and check for the error.
2 years ago
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