mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
bac9cbed2e
closes https://github.com/prometheus/prometheus/issues/4643 Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
959 B
959 B
master / unreleased
LastCheckpoint
used to return just the segment name and now it returns the full relative path.NewSegmentsRangeReader
can now read over miltiple wal ranges by using the newSegmentRange
struct.CorruptionErr
now also exposes the SegmentDir
which is added when displaying any errors.Head.Init()
is changed toHead.Init(minValidTime int64)
whereminValidTime
is taken from the maxt of the last persisted block and any samples belowminValidTime
will not be loaded from the wal in the head. The same value is used when using theHeah.Appender()
to disallow adding samples below theminValidTime
timestamp. This change was nececary to fix a bug where aSnapshot()
with the head included would create a block with custom time range(not bound to the default time ranges) and the next block population from the head would create an overlapping block.