aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/data_node_ec.go
AgeCommit message (Collapse)AuthorFilesLines
2024-10-10optimize memory usage for large number of volumeschrislu1-9/+9
1. unwrap the map to avoid extra map object creation 2. fix ec shard counting in UpdateEcShards
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-3/+3
2022-04-05erasure coding: tracking encoded/decoded volumeschrislu1-2/+2
If an EC shard is created but not spread to other servers, the masterclient would think this shard is not located here.
2021-03-05Fix EC shard count logicPatrick Schmidt1-9/+8
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-02-16fix existence checkingChris Lu1-1/+1
2021-02-16use hdd instead of empty stringChris Lu1-2/+2
2021-02-16this can compile now!!!Chris Lu1-58/+66
2019-06-05fix shard count reportingChris Lu1-1/+6
2019-06-04free volume slots factor in ec shard countsChris Lu1-11/+10
2019-06-04ui add ec shard statusesChris Lu1-0/+11
2019-05-26broadcast vid->location map to master clients for ec chardsChris Lu1-0/+26
2019-05-26incrementally update master ec shards stateChris Lu1-0/+37
2019-05-25allocate ec shards to volume serversChris Lu1-2/+2
2019-05-23register ec shards to topologyChris Lu1-5/+5
2019-05-23register ec shards to each data nodeChris Lu1-2/+39
2019-05-23prepare to register ec shard info in masterChris Lu1-1/+7
2019-05-22ec shard info can be queried via VolumeList()Chris Lu1-0/+14