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.
4 years ago
Chris Lu
3097b9a9b7
fix existence checking
4 years ago
Chris Lu
3fe628f04e
use hdd instead of empty string
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
6b08db65b0
fix shard count reporting
6 years ago
Chris Lu
eaa76f11b7
free volume slots factor in ec shard counts
6 years ago
Chris Lu
2215e81be7
ui add ec shard statuses
6 years ago
Chris Lu
b58e25e588
broadcast vid->location map to master clients for ec chards
6 years ago
Chris Lu
af67d99ca4
incrementally update master ec shards state
6 years ago
Chris Lu
f0e6574d5e
allocate ec shards to volume servers
6 years ago
Chris Lu
8838176d82
register ec shards to topology
6 years ago
Chris Lu
8a96445f40
register ec shards to each data node
6 years ago
Chris Lu
4659d80035
prepare to register ec shard info in master
6 years ago
Chris Lu
7180520889
ec shard info can be queried via VolumeList()
6 years ago