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
Patrick Schmidt
7b424a54dc
Add raft server access mutex to avoid races ( #3503 )
2 years ago
Konstantin Lebedev
f7aeb06544
s3: report metadata if the directory is explicitly created ( #3498 )
* replace mkdir to mkFile
* ContentLength must be zero
* revert mkDir
* Seaweedfs-Is-Directory-Key return metadata
2 years ago
chrislu
10414fd81c
ping timeout at 15 seconds
this 72 minute timeout setting seems unreasonably long
15 seconds is around the time when a new raft leader should be elected.
2 years ago
askeipx
2e78a522ab
remove old raft servers if they don't answer to pings for too long ( #3398 )
* remove old raft servers if they don't answer to pings for too long
add ping durations as options
rename ping fields
fix some todos
get masters through masterclient
raft remove server from leader
use raft servers to ping them
CheckMastersAlive for hashicorp raft only
* prepare blocking ping
* pass waitForReady as param
* pass waitForReady through all functions
* waitForReady works
* refactor
* remove unneeded params
* rollback unneeded changes
* fix
2 years ago
chrislu
9fce75607d
s3: report http.StatusOK if the directory is explicitly created
fix https://github.com/seaweedfs/seaweedfs/issues/3457
2 years ago
chrislu
601ba5fb68
master: disable locking if not leader
2 years ago
chrislu
f4b52d4c52
fix format
2 years ago
qzh
74b53729e1
feat(weed.move): add a speed limit parameter of moving files ( #3478 )
* feat(weed.move): add a speed limit parameter of moving files
* fix(weed.move): set the default value of ioBytePerSecond to vs.compactionBytePerSecond
Co-authored-by: zhihao.qu <zhihao.qu@ly.com>
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
chrislu
2762154130
fix compilation
2 years ago
chrislu
fb5808e0c3
EC: with multiple volume locations, the ec rebuilding may fail
2 years ago
chrislu
5790d01c6f
EC: after ec encoding, the source ec shards may fail to purge if the volume server has multiple disk locations
related to https://github.com/seaweedfs/seaweedfs/issues/3459
2 years ago
chrislu
65ff7198fe
adjust type
2 years ago
chrislu
28b862f45f
use util.Retry to retry
2 years ago
chrislu
3bf8e772f8
webdav: retryable data chunk upload
2 years ago
chrislu
f8fa430257
filer: retryable data chunk upload
2 years ago
chrislu
689b4ecdcc
remove unused collection and replication from upload result
2 years ago
chrislu
fdd8c5d5e0
Filer if-modified-since check doesn't fire on "exact" #3467
fix https://github.com/seaweedfs/seaweedfs/issues/3467
2 years ago
chrislu
aac45f3e89
filer: retryable when error is not found
2 years ago
Eric Yang
b6f99c4d83
fix naming typo ( #3465 )
Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
2 years ago
chrislu
eaeb141b09
move proto package
2 years ago
chrislu
e259052a70
volume: fix metrics for volume request time
2 years ago
chrislu
789d9dbfe1
webdav: fix nil
fix https://github.com/seaweedfs/seaweedfs/issues/3440
2 years ago
Konstantin Lebedev
4d4cd0948d
avoid infinite loop WaitUntilConnected() ( #3431 )
https://github.com/seaweedfs/seaweedfs/issues/3421
2 years ago
Eric Yang
986daecbfe
add upload response ( #3428 )
* add upload response
* fixing comments
Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
2 years ago
chrislu
ae93c966d9
ensure memory is aligned
fix https://github.com/seaweedfs/seaweedfs/issues/3427
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
22181dd018
refactor FilerRequest metrics ( #3402 )
* refactor FilerRequest metrics
* avoid double count proxy
* defer to
2 years ago
Konstantin Lebedev
df9cc31a0a
refactor
2 years ago
Konstantin Lebedev
fc65122766
rename to LoadAvg_1M
2 years ago
Konstantin Lebedev
5209ebbeef
remove percent
2 years ago
Konstantin Lebedev
cd5c7ad052
move to github.com/seaweedfs/seaweedfs
2 years ago
Konstantin Lebedev
1d29f67c02
revert disk stats
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
Patrick Schmidt
1a4a36d510
Add healthy indicator for raft status
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
Konstantin Lebedev
2f0dda384d
vacuum show LA
2 years ago
chrislu
9f479aab98
allocate brokers to serve segments
2 years ago
chrislu
bb01b68fa0
refactor
2 years ago
chrislu
8060fdcac5
remove old code
2 years ago
chrislu
f25e273e32
display data center and rack in cluster.ps
3 years ago
chrislu
68065128b8
add dc and rack
3 years ago
chrislu
3828b8ce87
"github.com/chrislusf/raft" => "github.com/seaweedfs/raft"
2 years ago
Konstantin Lebedev
c88ea31f62
fix RUnlock of unlocked RWMutex
2 years ago
chrislu
64f3d6fb6e
metadata subscription uses client epoch
2 years ago
ningfd
58f2dd6740
change topology mapping definition, improve spelling
2 years ago
Konstantin Lebedev
3c42814b58
avoid deadlock
2 years ago