Browse Source

fmt

pull/7396/head
chrislu 1 month ago
parent
commit
c47932713b
  1. 2
      weed/topology/topology_ec.go

2
weed/topology/topology_ec.go

@ -11,7 +11,7 @@ import (
type EcShardLocations struct {
Collection string
// Use MaxShardCount (32) to support custom EC ratios
Locations [erasure_coding.MaxShardCount][]*DataNode
Locations [erasure_coding.MaxShardCount][]*DataNode
}
func (t *Topology) SyncDataNodeEcShards(shardInfos []*master_pb.VolumeEcShardInformationMessage, dn *DataNode) (newShards, deletedShards []*erasure_coding.EcVolumeInfo) {

Loading…
Cancel
Save