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 allocate volume by disk type 2020-12-13 23:08:21 -08:00
cluster_commands.go Change joeslay paths to chrislusf paths 2019-09-12 14:18:21 +01:00
collection.go this can compile now!!! 2021-02-16 02:47:02 -08:00
configuration.go also remove volumeLayout if collection is empty 2018-07-11 02:01:33 -07:00
data_center.go volume.list display; fix updating maxVolumeCount for disk 2021-02-16 03:55:24 -08:00
data_node.go Update data_node.go 2021-02-19 14:22:36 -08:00
data_node_ec.go Fix EC shard count logic 2021-03-05 12:50:58 +01:00
disk.go fix volume server display for volumes 2021-02-19 01:38:56 -08:00
disk_ec.go use hdd instead of empty string 2021-02-16 03:03:00 -08:00
node.go go fmt 2021-02-17 20:57:08 -08:00
rack.go volume.list display; fix updating maxVolumeCount for disk 2021-02-16 03:55:24 -08:00
store_replicate.go refactoring to get master function, instead of passing master values directly 2021-02-17 20:55:55 -08:00
topology.go this can compile now!!! 2021-02-16 02:47:02 -08:00
topology_ec.go this can compile now!!! 2021-02-16 02:47:02 -08:00
topology_event_handling.go use hdd instead of empty string 2021-02-16 03:03:00 -08:00
topology_map.go volume.list display; fix updating maxVolumeCount for disk 2021-02-16 03:55:24 -08:00
topology_test.go fix tests 2021-02-16 10:51:03 -08:00
topology_vacuum.go volume: avoid fixed vacuum timeout for large volumes 2021-02-22 12:52:37 -08:00
volume_growth.go add descriptive error if no free volumes 2021-02-18 19:10:20 -08:00
volume_growth_test.go fix tests 2021-02-16 10:51:03 -08:00
volume_layout.go Show the real disk usage in stats calls 2021-02-26 13:58:40 +01:00
volume_layout_test.go Correct the oversized state of volume after compaction 2020-09-23 20:27:42 +08:00
volume_location_list.go Show the real disk usage in stats calls 2021-02-26 13:58:40 +01:00