wusong
2e240704ab
Writables inconsistency ( #4417 )
fix: inconsistent read and write permissions between master and volume server
Signed-off-by: Wusong Wang <wangwusong@virtaitech.com>
Co-authored-by: Wusong Wang <wangwusong@virtaitech.com>
2 years ago
chrislu
784daea1fa
fix volume not found if marked as read only
fix https://github.com/seaweedfs/seaweedfs/issues/4088
2 years ago
Stewart Miles
264be0d2d4
Retry until a leader is selected. ( #4318 )
Fixes regression introduced in
https://github.com/seaweedfs/seaweedfs/pull/4313
Related to #4307
2 years ago
Stewart Miles
57ab1f8516
Use exponential backoff to query leader. ( #4313 )
`topology.Leader()` was using a backoff that typically
resulted in at least a 5s delay when initially starting
a master and raft server. This changes the backoff
algorithm to use exponential backoff starting with 100ms
and waiting up to 20s for leader selection.
Related to #4307
2 years ago
Thomas Anderson
bd70683871
fix(weed/topology/node.go): typo in error message ( #4292 )
2 years ago
zemul
0bf56298d5
fix chunk.ModifiedTsNs ( #4264 )
* fix
* fix mtime s > ns
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
2 years ago
Guo Lei
d8cfa1552b
support enable/disable vacuum ( #4087 )
* stop vacuum
* suspend/resume vacuum
* remove unused code
* rename
* rename param
2 years ago
Konstantin Lebedev
409c9328de
[master] avoid vacuum if not enough replica copies ( #3924 )
avoid vacuum if not enough replica copies
2 years ago
chrislu
1e0d64c048
master: delete partially created replicated volumes during volume growth
fix https://github.com/seaweedfs/seaweedfs/discussions/3792#discussioncomment-3973120
2 years ago
liubaojiang
25471d579a
add md5 header when UploadData to replication in ReplicatedWrite ( #3881 )
2 years ago
Ryan Russell
a635973847
docs(topology): readability improvements ( #3688 )
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
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
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
6690236754
rename variables
2 years ago
chrislu
3cb914f7e1
avoid dead lock
2 years ago
chrislu
576c113c59
replace PR https://github.com/seaweedfs/seaweedfs/pull/3621
replace https://github.com/seaweedfs/seaweedfs/pull/3621
2 years ago
Konstantin Lebedev
695e3a909c
avoid data race on currentDiskUsage.maxVolumeCount ( #3592 )
https://github.com/seaweedfs/seaweedfs/issues/3590
2 years ago
Konstantin Lebedev
cca45b02a2
avoid data race on calc freeVolumeSlotCount ( #3594 )
https://github.com/seaweedfs/seaweedfs/issues/3593
2 years ago
chrislu
570b488572
ensure memory alignment on different CPUs
2 years ago
Konstantin Lebedev
4966a3abc7
avoid race conditions access to growRequestCount ( #3537 )
https://github.com/seaweedfs/seaweedfs/issues/3511
2 years ago
chrislu
6f483a4d36
atomic add
fix https://github.com/seaweedfs/seaweedfs/issues/3514
2 years ago
Patrick Schmidt
7b424a54dc
Add raft server access mutex to avoid races ( #3503 )
2 years ago
Konstantin Lebedev
6199d9b923
rand start garbageThreshold and reset metric ReplicaPlacementMismatch ( #3396 )
* rand start garbageThreshold
reset metrics MasterReplicaPlacementMismatch
* vacuum through sleep
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
2a5629dd28
align
2 years ago
Konstantin Lebedev
df9cc31a0a
refactor
2 years ago
Konstantin Lebedev
0a5d3c3cf6
rename to localWrite and replicatedWrite
2 years ago
Konstantin Lebedev
fc65122766
rename to LoadAvg_1M
2 years ago
Konstantin Lebedev
ab50f21ad9
Detailed metrics VolumeServerRequestHistogram for writing to disk and replication
2 years ago
Konstantin Lebedev
5209ebbeef
remove percent
2 years ago
Konstantin Lebedev
78cbd8002f
revert Sleep
2 years ago
Konstantin Lebedev
cd5c7ad052
move to github.com/seaweedfs/seaweedfs
2 years ago
Konstantin Lebedev
c0d92f61a1
comment
2 years ago
Konstantin Lebedev
1d29f67c02
revert disk stats
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
3828b8ce87
"github.com/chrislusf/raft" => "github.com/seaweedfs/raft"
2 years ago
ningfd
58f2dd6740
change topology mapping definition, improve spelling
2 years ago
ningfd
6f882eb354
optimiz: master ui will render data in order
2 years ago
chrislu
48382676d2
fix filtering by volume id
2 years ago
chrislu
a79f5bd0d5
adjust used size reporting
3 years ago
chrislu
3142e77eca
mount: stats report physical size instead of logical size
3 years ago
chrislu
96496d5286
master: broadcast new volume locations to clients to avoid possible racing condition
fix https://github.com/chrislusf/seaweedfs/issues/3220
3 years ago
zzq09494
9df5ad5309
fix: vacuum create a lot of connections quickly
3 years ago
Konstantin Lebedev
fb57aa431c
stats master_replica_placement_mismatch
3 years ago
guol-fnst
b12944f9c6
fix naming convention
notify volume server of duplicate directoris
improve searching efficiency
3 years ago
guol-fnst
de6aa9cce8
avoid duplicated volume directory
3 years ago
qiang.zeng
06cb337b82
fix typo
3 years ago
chrislu
00c1dfec4f
go fmt
3 years ago
Konstantin Lebedev
36c5a59ed8
add help
3 years ago