vendor: update tsdb

This commit is contained in:
Simon Pasquier 2018-01-24 16:11:34 +01:00
parent 8a01a0fbed
commit eb11d912bd
2 changed files with 4 additions and 4 deletions

View file

@ -428,10 +428,10 @@ func (c *LeveledCompactor) write(dest string, meta *BlockMeta, blocks ...BlockRe
} }
indexw, err := index.NewWriter(filepath.Join(tmp, indexFilename)) indexw, err := index.NewWriter(filepath.Join(tmp, indexFilename))
meta.Version = indexw.Version
if err != nil { if err != nil {
return errors.Wrap(err, "open index writer") return errors.Wrap(err, "open index writer")
} }
meta.Version = indexw.Version
if err := c.populateBlock(blocks, meta, indexw, chunkw); err != nil { if err := c.populateBlock(blocks, meta, indexw, chunkw); err != nil {
return errors.Wrap(err, "write compaction") return errors.Wrap(err, "write compaction")

6
vendor/vendor.json vendored
View file

@ -800,10 +800,10 @@
"revisionTime": "2016-04-11T19:08:41Z" "revisionTime": "2016-04-11T19:08:41Z"
}, },
{ {
"checksumSHA1": "XHNJVYnIBaFpQOOA4wTqjDbMkUo=", "checksumSHA1": "errrSfk16j274D3QY61bWODd56c=",
"path": "github.com/prometheus/tsdb", "path": "github.com/prometheus/tsdb",
"revision": "467948f3c3f2f6f4ed9881afba27dd3ae24393eb", "revision": "ad0fdaf436fc99828bce60f81984dcfa3a282a44",
"revisionTime": "2018-01-18T08:32:54Z" "revisionTime": "2018-01-24T14:58:35Z"
}, },
{ {
"checksumSHA1": "XTirmk6Pq5TBGIZEaN5VL4k3i1s=", "checksumSHA1": "XTirmk6Pq5TBGIZEaN5VL4k3i1s=",