app/vmselect/netstorage: remove unused code

This commit is contained in:
Aliaksandr Valialkin 2020-09-29 11:54:56 +03:00
parent c47972d843
commit 0d082cdf53

View File

@ -1047,22 +1047,6 @@ func ExportBlocks(at *auth.Token, sq *storage.SearchQuery, deadline searchutils.
return isPartialResult, nil return isPartialResult, nil
} }
type exportWork struct {
mn storage.MetricName
b storage.Block
}
func (xw *exportWork) reset() {
xw.mn.Reset()
xw.b.Reset()
}
var exportWorkPool = &sync.Pool{
New: func() interface{} {
return &exportWork{}
},
}
// ProcessSearchQuery performs sq until the given deadline. // ProcessSearchQuery performs sq until the given deadline.
// //
// Results.RunParallel or Results.Cancel must be called on the returned Results. // Results.RunParallel or Results.Cancel must be called on the returned Results.