Browse Source

Actually use double-delta encoding for transcoding. :-o

pull/587/head
beorn7 10 years ago
parent
commit
853f971540
  1. 2
      storage/local/doubledelta.go

2
storage/local/doubledelta.go

@ -201,7 +201,7 @@ func (c doubleDeltaEncodedChunk) add(s *metric.SamplePair) []chunk {
if ntb > tb || nvb > vb {
ntb = max(ntb, tb)
nvb = max(nvb, vb)
return transcodeAndAdd(newDeltaEncodedChunk(ntb, nvb, c.isInt(), cap(c)), &c, s)
return transcodeAndAdd(newDoubleDeltaEncodedChunk(ntb, nvb, c.isInt(), cap(c)), &c, s)
}
offset := len(c)

Loading…
Cancel
Save