1. 16 7月, 2015 1 次提交
    • B
      storage: ensure timestamp monotonicity within series. · ff08f0b6
      beorn7 提交于
      Fixes https://github.com/prometheus/prometheus/issues/481
      
      While doing so, clean up and fix a few other things:
      
      - Fix `go vet` warnings (@fabxc to blame ;).
      
      - Fix a racey problem with unarchiving: Whenever we unarchive a
        series, we essentially want to do something with it. However, until
        we have done something with it, it appears like a series that is
        ready to be archived or even purged. So e.g. it would be ignored
        during checkpointing. With this fix, we always load the chunkDescs
        upon unarchiving. This is wasteful if we only want to add a new
        sample to an archived time series, but the (presumably more common)
        case where we access an archived time series in a query doesn't
        become more expensive.
      
      - The change above streamlined the getOrCreateSeries ond
        newMemorySeries flow. Also, the modTime is now always set correctly.
      
      - Fix the leveldb-backed implementation of KeyValueStore.Delete. It
        had the wrong behavior of still returning true, nil if a
        non-existing key has been passed in.
      ff08f0b6
  2. 13 7月, 2015 2 次提交
  3. 10 7月, 2015 5 次提交
  4. 09 7月, 2015 2 次提交
  5. 08 7月, 2015 3 次提交
  6. 07 7月, 2015 3 次提交
  7. 06 7月, 2015 6 次提交
  8. 03 7月, 2015 7 次提交
  9. 02 7月, 2015 5 次提交
  10. 01 7月, 2015 4 次提交
  11. 30 6月, 2015 2 次提交