GetRef() now returns the label set (#8641)
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>pull/8642/head
parent
b524ca8447
commit
c7a62b95ce
Loading…
Reference in new issue