Chris Lu
7acebf11ea
Master: volume assignment concurrency ( #7159 )
* volume assginment concurrency
* accurate tests
* ensure uniqness
* reserve atomically
* address comments
* atomic
* ReserveOneVolumeForReservation
* duplicated
* Update weed/topology/node.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update weed/topology/node.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* atomic counter
* dedup
* select the appropriate functions based on the useReservations flag
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 month ago
chrislu
d81ec28146
dedup
1 month ago
Chris Lu
a24a51e3fa
Update weed/topology/node.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 month ago
Chris Lu
9a4825c3f6
Update weed/topology/node.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 month ago
chrislu
99b303a836
ReserveOneVolumeForReservation
1 month ago
chrislu
8b3e480780
atomic
1 month ago
chrislu
4773ed353c
address comments
1 month ago
chrislu
8bfa19852e
reserve atomically
1 month ago
chrislu
602ce24a15
ensure uniqness
1 month ago
chrislu
11baf008ff
volume assginment concurrency
1 month ago
chrislu
35fd1e1c9a
optimize memory usage for large number of volumes
1. unwrap the map to avoid extra map object creation
2. fix ec shard counting in UpdateEcShards
1 year ago
chrislu
654b8210f7
parameter name
1 year ago
chrislu
a4b25a642d
math/rand => math/rand/v2
1 year ago
Konstantin Lebedev
5ee04d20fa
Healthz check for deadlocks ( #4558 )
2 years ago
wusong
9bdbf9c880
revert #4491 ( #4550 )
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
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
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
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
Thomas Anderson
bd70683871
fix(weed/topology/node.go): typo in error message ( #4292 )
3 years ago
Konstantin Lebedev
cca45b02a2
avoid data race on calc freeVolumeSlotCount ( #3594 )
https://github.com/seaweedfs/seaweedfs/issues/3593
3 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
Konstantin Lebedev
fb57aa431c
stats master_replica_placement_mismatch
3 years ago
Chris Lu
b624090398
go fmt
4 years ago
Chris Lu
d2d36a3f9d
master: avoid creating too many volumes
fix https://github.com/chrislusf/seaweedfs/issues/2062
4 years ago
qieqieplus
c4d32f6937
ahead of time volume assignment
4 years ago
Chris Lu
3575d41009
go fmt
5 years ago
Chris Lu
53ca7e66ef
avoid dead lock
5 years ago
Chris Lu
cb9cc29518
volume.list display; fix updating maxVolumeCount for disk
5 years ago
Chris Lu
3fe628f04e
use hdd instead of empty string
5 years ago
Chris Lu
f8446b42ab
this can compile now!!!
5 years ago
Chris Lu
f696a2b2a7
assign volumes based on disk type
5 years ago
Chris Lu
a9db24cd05
master allocate volumes if ssd type runs out
5 years ago
Chris Lu
d156c74ec0
volume server set volume type and heartbeat to the master
5 years ago
Chris Lu
e39e78ea8d
remove println
6 years ago
Chris Lu
35208711e5
logging
6 years ago
Chris Lu
1ae83c2938
go fmt
6 years ago
zhangsong
40f70481cd
schedule new volume by free volume number of nodes
6 years ago
Chris Lu
e426bd541e
grow volumes on volume servers with slots freed by cloud storage
6 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
6 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
6 years ago
Chris Lu
57092d69ac
go fmt
6 years ago
Chris Lu
eaa76f11b7
free volume slots factor in ec shard counts
6 years ago
Wine93
32f93fb09e
style: go fmt for all
7 years ago
Chris Lu
e5506152c0
refactoring
7 years ago
Chris Lu
766396d249
weed master: atomic volume counting
possible fix for https://github.com/chrislusf/seaweedfs/issues/913
7 years ago
bingoohuang
ab6be025d7
go fmt and fix some typo
7 years ago
tengattack
371ad2e397
fix reserve volume on node
8 years ago
Chris Lu
3a8746ca54
better error message
8 years ago
Chris Lu
e767c3ea4f
disable master connection timeout
temporarily disable master connection timeout due to heartbeat
connection timeout
9 years ago
Chris Lu
e46c3415f7
gRpc for master~volume heartbeat
9 years ago