chrislu
868f7875d7
refactor
2 years ago
chrislu
26eff062c8
refactor
2 years ago
chrislu
464a71a373
add distributed lock manager
2 years ago
chrislu
3fd659df2a
add distributed lock manager
2 years ago
Damiano Albani
0d9ba8c612
Support templating name of files stored via Rclone backend ( #4606 )
2 years ago
chrislu
a82c44972b
refactor
2 years ago
chrislu
14a19170e2
refactor
2 years ago
chrislu
84ced2abf5
add LockRing
2 years ago
chrislu
fe1716ccdf
remove deprecated tests
2 years ago
chrislu
1ce725728d
minor
2 years ago
chrislu
11549706ef
refactor
2 years ago
chrislu
8ec1bc2c99
remove unused cluster node leader
2 years ago
Bai Jie
3b88ab42aa
remove duplicate `fileCount` query ( #4588 )
2 years ago
Bai Jie
44b9d72ef0
doIsEmpty() return error if v.DataBackend is nil ( #4587 )
2 years ago
chrislu
94fbf02ea2
generate jwt token when looking up needle id
fix https://github.com/seaweedfs/seaweedfs/issues/4577
2 years ago
柏杰
0b0fb9b9e4
avoid data race read volume.IsEmpty ( #4574 )
* avoid data race read volume.IsEmpty
- avoid phantom read isEmpty for onlyEmpty
- use `v.DataBackend.GetStat()` in v.dataFileAccessLock scope
* add Destroy(onlyEmpty: true) test
* add Destroy(onlyEmpty: false) test
* remove unused `IsEmpty()`
* change literal `8` to `SuperBlockSize`
2 years ago
Konstantin Lebedev
1e22d5caf2
fix get file stats for IsEmpty ( #4576 )
2 years ago
Konstantin Lebedev
4dd890d4a2
optional https port for s3 ( #4482 )
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2 years ago
chrislu
3fbf4f6189
Revert "Initial patch for redis version 7 support ( #4572 )"
This reverts commit a25bca0692
.
2 years ago
Konstantin Lebedev
4527ead295
fix from comment delete volume is empty ( #4573 )
* fix from coments
https://github.com/seaweedfs/seaweedfs/pull/4561
* fix tests
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2 years ago
Aaron Gipson
a25bca0692
Initial patch for redis version 7 support ( #4572 )
2 years ago
Konstantin Lebedev
25535e9c36
Delete volume is empty ( #4561 )
* use onlyEmpty for deleteVolume
https://github.com/seaweedfs/seaweedfs/issues/4559
* fix IsEmpty
* fix test
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2 years ago
柏杰
68feffa4e6
avoid overwriting non-nil uploadReaderToChunks.uploadErr with nil value ( #4560 )
2 years ago
Konstantin Lebedev
5ee04d20fa
Healthz check for deadlocks ( #4558 )
2 years ago
wusong
d6af3a8eb6
fix 404 not found ( #4536 )
Signed-off-by: wang wusong <wangwusong@virtaitech.com>
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago
Konstantin Lebedev
5caff2c0f0
fix: deletes newly created volumes ( #4551 )
https://github.com/seaweedfs/seaweedfs/issues/4531
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2 years ago
wusong
9bdbf9c880
revert #4491 ( #4550 )
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago
chrislu
0bffb3770f
support TTL when creating folders
related to https://github.com/seaweedfs/seaweedfs/discussions/4549
2 years ago
wusong
26f15d0079
Fix no more writable volumes by delay judgment ( #4548 )
* fix nomore writables volumes while disk free space is sufficient by time delay
* reset
---------
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago
chrislu
fb4b61036c
3.52
2 years ago
Konstantin Lebedev
a0931be0c0
S3 TLS credentials Refreshing ( #4506 )
* S3 TLS credentials Refreshing
* fix: logging
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2 years ago
wusong
5aec6da8a3
fix deadlock for filer upload ( #4527 )
Signed-off-by: wang wusong <wangwusong@virtaitech.com>
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago
chrislu
e23f3d6eca
set df.File to nil after it is closed
possibly fix https://github.com/seaweedfs/seaweedfs/issues/4530
2 years ago
chrislu
ca7cc61319
reduce the window size between unregistering a volume server and creating volumes on that server
fix https://github.com/seaweedfs/seaweedfs/issues/4467
2 years ago
chrislu
d1d1757520
adjust error message
2 years ago
wusong
e7f4418855
add return for error handle ( #4502 )
2 years ago
chrislu
4310e1fac4
3.51
2 years ago
wusong
8fffe3e822
fix no more writables volumes while disk free space is sufficient ( #4491 )
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago
mervynzhang
1ebb549f77
support swift ( #4480 )
2 years ago
Mesar Hameed
a90b777ff4
Feat: etcd filer store keys should have customizable prefix ( #4484 )
An etcd cluster is not necessarily only dedicated to seaweedfs.
This security enhancement adds a customizable key_prefix option to the etcd filer store.
This will allow an etcd cluster administrator to limit the seaweedfs etcd user to only read/write a subset of keys under the
key_prefix, instead of all keys on the etcd cluster.
2 years ago
SmsS4
17e91d2917
Use filerGroup for s3 buckets collection prefix ( #4465 )
* Use filerGroup for s3 buckets collection prefix
* Fix templates
* Remove flags
* Remove s3CollectionPrefix
2 years ago
chrislu
b7f011f777
fix test
2 years ago
Mesar Hameed
65484e80ef
Feat: support username/password authentication for etcd filer store s… ( #4477 )
Feat: support username/password authentication for etcd filer store seaweedfs/seaweedfs#4262
Co-authored-by: Mesar Hameed <mesar.hameed@gmail.com>
2 years ago
chrislu
9204ee2d2d
3.50
2 years ago
chrislu
d999f1f0e2
update raft version
fix #4460
2 years ago
chrislu
25b237b83c
reset wait time on a successful retry
2 years ago
chrislu
59f55c1a66
3.49
2 years ago
chrislu
4511edc871
update raft
2 years ago
themarkchen
7592d013fe
fix shell volume.balance bug ( #4447 )
2 years ago
chrislu
42766bccc8
3.48
2 years ago