Ryan Russell
c4fc007630
refactor(raft_hashicorp): `timeSpeep` -> `timeSleep` ( #3694 )
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2 years ago
Ryan Russell
c202d4c1b0
refactor(master_grpc_server_cluster): `seletedSet` -> `selectedSet` ( #3693 )
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2 years ago
chrislu
896a85d6e4
volume: add "hasSlowRead" option to customize read optimization
2 years ago
Ryan Russell
92658b05a8
refactor(volume_grpc_client_to_master): `grpcConection` -> `grpcConne… ( #3690 )
refactor(volume_grpc_client_to_master): `grpcConection` -> `grpcConnection`
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2 years ago
chrislu
21c0587900
go fmt
2 years ago
chrislu
c8645fd232
master: implement grpc VolumeMarkWritable
fix https://github.com/seaweedfs/seaweedfs/issues/3657
2 years ago
Ryan Russell
3429cbe3fc
refactor(webdav_server): `modifiledTime` -> `modifiedTime` ( #3676 )
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2 years ago
Ryan Russell
d5239ab983
refactor(server): `suppported` -> `supported` ( #3677 )
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2 years ago
chrislu
58d18b68d8
rename variable
2 years ago
Konstantin Lebedev
f8ef25099c
Removing chunks on failed to write to replicas ( #3591 )
* Removing chunks on failed to write to replicas
https://github.com/seaweedfs/seaweedfs/issues/3578
* put with in the util.Retry
* just purge on any errors
2 years ago
chrislu
ce55922884
fixing
2 years ago
Konstantin Lebedev
721c6197f9
skip deltaBeat if dn is zero ( #3630 )
* skip deltaBeat
https://github.com/seaweedfs/seaweedfs/issues/3629
* fix GrpcPort
* skip url :0
* skip empty DataCenter or Rack
* skip empty heartbeat Ip
* dell msg add DataCenter
* comment todo
* fix
2 years ago
chrislu
b9112747b5
volume server: synchronously report volume readonly status to master
fix https://github.com/seaweedfs/seaweedfs/issues/3628
2 years ago
chrislu
9b084d4c88
purge tcp implementation
2 years ago
Konstantin Lebedev
31d2f77ceb
refactor https://github.com/seaweedfs/seaweedfs/pull/3616 ( #3625 )
2 years ago
chrislu
7e52b1e195
return err for processRangeRequest()
2 years ago
famosss
449582343f
fix:Sometimes a nil pointer exception is thrown ( #3618 )
2 years ago
famosss
9678fc2106
fix: volume heartbeat processing error ( #3616 )
2 years ago
famosss
5ff33eb558
fix: volume Deadlock when exception is thrown ( #3613 )
* fix: volume Deadlock when exception is thrown
* adjust log level
2 years ago
Eric Yang
b324a6536c
ADHOC: add read needle meta grpc ( #3581 )
* ADHOC: add read needle meta grpc
* add test
* nit
Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
2 years ago
Konstantin Lebedev
3c3682fcce
more log detail for upload err and deleting ( #3577 )
2 years ago
Konstantin Lebedev
5307cadb32
[s3] Replace code 500 to 499 for upload with ErrUnexpectedEOF ( #3597 )
2 years ago
famosss
7f56a40553
Turn down the 404 log level ( #3585 )
2 years ago
Konstantin Lebedev
90d55cd179
avoid data race read fileChunksSize ( #3570 )
https://github.com/seaweedfs/seaweedfs/issues/3557
2 years ago
Konstantin Lebedev
82c2ce74db
more error details in the log ( #3568 )
* more error details in the log
https://github.com/seaweedfs/seaweedfs/issues/3567
* format message
2 years ago
Konstantin Lebedev
77098de69a
migrate from boltdb to bbolt ( #3554 )
2 years ago
Konstantin Lebedev
105702ebe0
avoid data race access to uploadReaderToChunks.uploadErr ( #3550 )
avoid data race access to uploadErr
https://github.com/seaweedfs/seaweedfs/issues/3549
2 years ago
Rain Li
089446f5b1
Fix reload page before all file uploaded bug ( #3534 )
2 years ago
chrislu
3741779144
minor
2 years ago
chrislu
580a7fa685
adjust for data race
fix https://github.com/seaweedfs/seaweedfs/issues/3512
2 years ago
famosss
dc4037925d
fix: Build DeletedVids before reset dn's children ( #3530 )
2 years ago
chrislu
3f3a1341d8
make CodeQL happy
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
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