mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 15:04:13 +00:00
c7a62b95ce
The purpose of GetRef() is to allow Append() to be called without the caller needing to copy the labels. To avoid a race where a series is removed from TSDB between the calls to GetRef() and Append(), we return TSDB's copy of the labels. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
---|---|---|
.. | ||
remote | ||
buffer_test.go | ||
buffer.go | ||
fanout_test.go | ||
fanout.go | ||
generic.go | ||
interface.go | ||
lazy.go | ||
memoized_iterator_test.go | ||
memoized_iterator.go | ||
merge_test.go | ||
merge.go | ||
noop.go | ||
secondary.go | ||
series.go |