return"",0,nil,fmt.Errorf("failed to find writable volumes for collectio:%s replication:%s ttl:%s error: %v",option.Collection,option.ReplicaPlacement.String(),option.Ttl.String(),err)
return"",0,nil,fmt.Errorf("failed to find writable volumes for collection:%s replication:%s ttl:%s error: %v",option.Collection,option.ReplicaPlacement.String(),option.Ttl.String(),err)
}
ifdatanodes.Length()==0{
return"",0,nil,fmt.Errorf("no writable volumes available for for collectio:%s replication:%s ttl:%s",option.Collection,option.ReplicaPlacement.String(),option.Ttl.String())
return"",0,nil,fmt.Errorf("no writable volumes available for collection:%s replication:%s ttl:%s",option.Collection,option.ReplicaPlacement.String(),option.Ttl.String())