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)
}
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())