vendor: update prometheus/tsdb

This commit is contained in:
Fabian Reinartz 2017-07-12 14:01:45 +02:00
parent 6861b3d03d
commit 6aee36ac3b
3 changed files with 5 additions and 4 deletions

View file

@ -710,7 +710,7 @@ func (db *DB) ensureHead(t int64) error {
}
// Create another block of buffer in front if the DB is initialized or retrieving
// new data after a long gap.
// This ensures we always have a full block width if append window.
// This ensures we always have a full block width of append window.
if addBuffer {
if _, err := db.createHeadBlock(mint-int64(db.opts.MinBlockDuration), mint); err != nil {
return err

View file

@ -302,6 +302,7 @@ func (h *HeadBlock) Snapshot(snapshotDir string) error {
return errors.Wrap(err, "write snapshot")
}
meta.ULID = uid
meta.MaxTime = h.highTimestamp
if err = writeMetaFile(tmp, meta); err != nil {
return errors.Wrap(err, "write merged meta")

6
vendor/vendor.json vendored
View file

@ -853,10 +853,10 @@
"revisionTime": "2016-04-11T19:08:41Z"
},
{
"checksumSHA1": "kT9X/dKXjFCoxV48N2C9NZhPRvA=",
"checksumSHA1": "GgHaU/6pJjJ7I8aTfaZXnV/OWxA=",
"path": "github.com/prometheus/tsdb",
"revision": "d492bfd973c24026ab784c1c1821af426bc80e90",
"revisionTime": "2017-06-30T13:17:34Z"
"revision": "969c407335d68cbd8154dcd1bca6259786b27f53",
"revisionTime": "2017-07-12T11:54:31Z"
},
{
"checksumSHA1": "9EH3v+JdbikCUJAgD4VEOPIaWfs=",