addressed feedback

Signed-off-by: bwplotka <bwplotka@gmail.com>
This commit is contained in:
bwplotka 2026-01-14 13:57:48 +00:00
parent 49c3aea56d
commit 8a2921e385
2 changed files with 3 additions and 2 deletions

View File

@ -289,7 +289,7 @@ func (f *fanoutAppender) Rollback() (err error) {
f.logger.Error("Squashed rollback error on rollback", "err", rollbackErr)
}
}
return nil
return err
}
type fanoutAppenderV2 struct {
@ -340,5 +340,5 @@ func (f *fanoutAppenderV2) Rollback() (err error) {
f.logger.Error("Squashed rollback error on rollback", "err", rollbackErr)
}
}
return nil
return err
}

View File

@ -382,6 +382,7 @@ type timestampTrackerV2 struct {
baseTimestampTracker
}
// Append implements storage.AppenderV2.
func (t *timestampTrackerV2) Append(ref storage.SeriesRef, _ labels.Labels, _, ts int64, _ float64, h *histogram.Histogram, fh *histogram.FloatHistogram, opts storage.AOptions) (storage.SeriesRef, error) {
switch {
case fh != nil, h != nil: