1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-09-19 23:40:46 +02:00
seaweedfs/weed/topology
Patrick Schmidt 7413d59750 Fix EC shard count logic
This fixes the calculation of the amount of EC shards a node holds.
Previously a global counter was increased, but also used inside the
loop to apply disk usage deltas. This led to wrong absolute numbers.
The fix is to apply only deltas of single EC shards per iteration.
2021-03-05 12:50:58 +01:00
..
allocate_volume.go
cluster_commands.go
collection.go
configuration.go
data_center.go
data_node.go
data_node_ec.go Fix EC shard count logic 2021-03-05 12:50:58 +01:00
disk.go
disk_ec.go
node.go
rack.go
store_replicate.go
topology.go
topology_ec.go
topology_event_handling.go
topology_map.go
topology_test.go
topology_vacuum.go
volume_growth.go
volume_growth_test.go
volume_layout.go
volume_layout_test.go
volume_location_list.go