mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix tests
This commit is contained in:
parent
66cd219b15
commit
715b199eeb
|
@ -182,6 +182,9 @@ func (t *Topology) DeleteLayout(collectionName string, rp *super_block.ReplicaPl
|
|||
return
|
||||
}
|
||||
collection.DeleteVolumeLayout(rp, ttl, volumeType)
|
||||
if len(collection.storageType2VolumeLayout.Items()) == 0 {
|
||||
t.DeleteCollection(collectionName)
|
||||
}
|
||||
}
|
||||
|
||||
func (t *Topology) RegisterVolumeLayout(v storage.VolumeInfo, dn *DataNode) {
|
||||
|
|
Loading…
Reference in a new issue