return"",0,nil,shouldGrow,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)
}
ifvolumeLocationList.Length()==0{
return"",0,nil,shouldGrow,fmt.Errorf("no writable volumes available for collection:%s replication:%s ttl:%s",option.Collection,option.ReplicaPlacement.String(),option.Ttl.String())
return"",0,nil,shouldGrow,fmt.Errorf("%s available for collection:%s replication:%s ttl:%s",noWritableVolumes,option.Collection,option.ReplicaPlacement.String(),option.Ttl.String())
returnvid,count,locationList,true,fmt.Errorf("No writable volumes in DataCenter:%v Rack:%v DataNode:%v",option.DataCenter,option.Rack,option.DataNode)
returnvid,count,locationList,true,fmt.Errorf("%s in DataCenter:%v Rack:%v DataNode:%v",noWritableVolumes,option.DataCenter,option.Rack,option.DataNode)