mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 20:06:19 +08:00
17 lines
307 B
Go
17 lines
307 B
Go
package topology
|
|
|
|
import (
|
|
"pkg/storage"
|
|
)
|
|
|
|
type Topology struct {
|
|
datacenters map[DataCenterId]*DataCenter
|
|
}
|
|
//FIXME
|
|
func (t *Topology) RandomlyCreateOneVolume() storage.VolumeId{
|
|
return t.findMaxVolumeId()
|
|
}
|
|
func (t *Topology) findMaxVolumeId() storage.VolumeId{
|
|
return storage.VolumeId(0);
|
|
}
|