Konstantin Lebedev
8836fa19b6
use ShouldGrowVolumesByDcAndRack ( #6280 )
4 weeks ago
Konstantin Lebedev
a49d9e020c
[master] avoid crowded more writable for auto grow ( #6214 )
avoid crowded more writable
https://github.com/seaweedfs/seaweedfs/issues/6121
1 month ago
dsd
3b840c20e3
change math/rand => math/rand/v2 in volume_layout.go where is a perfo… ( #6006 )
3 months ago
Konstantin Lebedev
34bbaa2cdd
[master] process grow request with must grow ( #5999 )
process grow request with must grow
3 months ago
chrislu
ff3d46637d
better logging for volume growth
4 months ago
Konstantin Lebedev
67a252ee8a
[master] refactor func ShouldGrowVolumes ( #5884 )
4 months ago
chrislu
3c0854e986
unnecessary skipping
4 months ago
chrislu
a4b25a642d
math/rand => math/rand/v2
4 months ago
chrislu
ded5e084ea
ensure none zero lastGrowCount
4 months ago
Konstantin Lebedev
b2ffcdaab2
[master] do sync grow request only if absolutely necessary ( #5821 )
* do sync grow request only if absolutely necessary
https://github.com/seaweedfs/seaweedfs/pull/5819
* remove check VolumeGrowStrategy Threshold on PickForWrite
* fix fmt.Errorf
5 months ago
chrislu
9265be43c0
avoid nil
5 months ago
Konstantin Lebedev
67edf1d014
[master] Do Automatic Volume Grow in background ( #5781 )
* Do Automatic Volume Grow in backgound
* pass lastGrowCount to master
* fix build
* fix count to uint64
5 months ago
Konstantin Lebedev
a53e406c99
[master] refactor HasGrowRequest to atomic bool ( #5782 )
refactor HasGrowRequest to atomit bool
5 months ago
Konstantin Lebedev
33964fa292
metrics stats of volume layout depends on the data center ( #5775 )
stats volume layout depends on the data center
5 months ago
chrislu
d218fe54fa
go fmt
7 months ago
chrislu
55976ae04a
avoid repeated calls to heavy-weighted viper
8 months ago
chrislu
31f1f96038
improve perf a bit
8 months ago
Konstantin Lebedev
d5d8b8e2ae
fix panic at isAllWritable ( #5457 )
fix panic
https://github.com/seaweedfs/seaweedfs/issues/5456
9 months ago
Konstantin Lebedev
9c1e0f5811
[master] grow volumes if no writable volumes in current dataCenter ( #5434 )
* grow volumes if no writable volumes in current dataCenter
https://github.com/seaweedfs/seaweedfs/issues/3886
* fix tests with volume grow
* automatic volume grow one volume
* add ErrorChunkAssign metrics
9 months ago
Konstantin Lebedev
df40908e57
fix panic 5435 ( #5436 )
9 months ago
Konstantin Lebedev
dc9568fc0d
[master] add test for PickForWrite add metrics for volume layout ( #5413 )
9 months ago
chrislu
025f8eb37b
return dir assign counter
fix https://github.com/seaweedfs/seaweedfs/issues/5231
11 months ago
chrislu
d4e66cc140
return dir assign counter
fix https://github.com/seaweedfs/seaweedfs/issues/5231
11 months ago
chrislu
bebbc9fe44
create volume grow request if the selected volume is close to full
1 year ago
chrislu
b62066d38f
adding DiskType to /dir/status output
1 year 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
784daea1fa
fix volume not found if marked as read only
fix https://github.com/seaweedfs/seaweedfs/issues/4088
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
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
ningfd
58f2dd6740
change topology mapping definition, improve spelling
2 years ago
chrislu
3142e77eca
mount: stats report physical size instead of logical size
3 years ago
chrislu
4524ceae6b
less verbose logs
fix https://github.com/chrislusf/seaweedfs/discussions/2925#discussioncomment-2584085
3 years ago
chrislu
ae558fa073
log reasons volumes became unwritable
3 years ago
chrislu
57c6eddd22
avoid possible deadlock if volume layout is used in some logs
3 years ago
banjiaojuhao
dda6b90d25
assign fileId according to DataNode with empty DataCenter and Rack
3 years ago
Chris Lu
e4830bd93d
go fmt
3 years ago
Chris Lu
332d49432d
reduce concurrent volume grow requests
3 years ago
Chris Lu
96119eab00
refactor
3 years ago
Chris Lu
a067deaabc
avoid possible modified location list
fix issue 1 of https://github.com/chrislusf/seaweedfs/issues/2345
3 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
Patrick Schmidt
5f7b024891
Show the real disk usage in stats calls
Currently the file size of only one volume location is taken into
account in the stats. This commit multiplies the disk usages by the
amount of nodes holding a replica of the volume.
This will yield the expected amount of disk usage and matches the
total size calculations from before.
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
1102ae32c4
fix concurrent map reads
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
Chris Lu
0d2ec832e2
rename from volumeType to diskType
4 years ago
Chris Lu
e9cd798bd3
adding volume type
4 years ago
Chris Lu
c7ebadc25d
avoid possible concurrent access inside ensureCorrectWritables()
4 years ago
Chris Lu
8cb8cd4cc5
add locks
4 years ago