Simon Pasquier
ee5fe8ea9f
chunks: fix potential "index out of range" error
...
When binary.Uvarint() fails, the returned number of bytes is less than
or equal to zero.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-06-08 10:28:27 +02:00
Fabian Reinartz
c848349f07
Merge pull request #341 from codesome/delete-new-blocks-on-error
...
Cleanup new blocks on 'CleanTombstones' faliure
2018-06-05 11:24:13 +02:00
Fabian Reinartz
9a96bc46de
Merge pull request #342 from prometheus/superq/promcon
...
Add link to PromCon 2017 video.
2018-06-05 10:10:43 +02:00
Ganesh Vernekar
0c93850cd5
Merge pull request #1 from krasi-georgiev/pr/341
...
Add Test for Tombstone Cleaning after a failure
2018-06-04 17:20:15 -04:00
Krasi Georgiev
6094f35aa2
simplify if-else,test before the tombstone failure, more comments
...
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
2018-06-04 20:18:44 +01:00
Krasi Georgiev
f31a0d6457
add Test for Tombstone Cleaning after a failure
...
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
2018-06-04 18:34:30 +01:00
Ben Kochie
d5250f9673
Add link to PromCon 2017 video.
...
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-06-04 14:41:43 +02:00
Ganesh Vernekar
528439aa93
Cleanup new blocks on 'CleanTombstones' faliure.
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2018-06-01 15:48:38 -04:00
Simon Pasquier
eab78875fe
repair: improve error message
...
This change adds the directory path to the error message in case the
repair process fails.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-05-30 10:23:27 +02:00
Fabian Reinartz
ae33d7873d
Merge pull request #337 from prometheus/flock
...
Move to flock lockfile
2018-05-29 15:14:13 -04:00
Fabian Reinartz
7b578dea32
Move to flock lockfile
...
Signed-off-by: Fabian Reinartz <freinartz@google.com>
2018-05-29 14:35:48 -04:00
Fabian Reinartz
3cf059159e
Merge pull request #335 from prometheus/blockorder
...
Ensure correct block order on reload
2018-05-28 16:41:47 -04:00
Fabian Reinartz
76c1b2cdb6
Ensure correct block order on reload
...
Due to a regression blocks were no longer ordered by time before
being stored in memory. This made data intermittently become unavailable
for queries.
Signed-off-by: Fabian Reinartz <freinartz@google.com>
2018-05-28 16:00:36 -04:00
Krasi Georgiev
2aae939d6c
Merge pull request #256 from mattbostock/fix_bench_default_file
...
bench: Fix path to default sample file
2018-05-15 10:25:56 +03:00
Goutham Veeramachaneni
f5a7e43384
Merge pull request #325 from FUSAKLA/fus-cmd-human-readable-timestamps
...
feat cmd/tsdb: added human readable print for timestamps on block list
2018-05-10 10:40:14 +02:00
Martin Chodur
30ca799ca7
feat cmd/tsdb: added human readable print for timestamps on block list
2018-05-08 13:35:06 +02:00
Goutham Veeramachaneni
d298c5a939
Merge pull request #308 from oiooj/pr-fix-test
...
Fix labels bench test
2018-05-07 16:16:15 +02:00
Goutham Veeramachaneni
24a9f278d4
Merge pull request #323 from AlekSi/small-fixes
...
Small fixes
2018-05-07 16:15:44 +02:00
Alexey Palazhchenko
9283c68e7d
Fix ineffective assignment.
...
Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2018-05-07 16:02:49 +03:00
Alexey Palazhchenko
64cce683cc
gofmt -s.
...
Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2018-05-07 15:39:54 +03:00
Goutham Veeramachaneni
900eb53ee7
Merge pull request #321 from AlekSi/patch-1
...
Update README, add badges
2018-05-07 12:43:13 +02:00
Goutham Veeramachaneni
d47357b95d
Merge pull request #322 from AlekSi/patch-2
...
Test with Go 1.10.x too.
2018-05-07 12:42:19 +02:00
Alexey Palazhchenko
19a47b620d
Test with Go 1.10.x too.
...
Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2018-05-07 12:12:58 +03:00
Alexey Palazhchenko
3644792640
Update README, add badges.
...
Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2018-05-07 12:10:31 +03:00
Matt Bostock
def6e5a574
db: Match comment case to function name ( #316 )
...
`validateBlockSequence` is not exported, make the letter case in the comment match the function name.
Signed-off-by: Matt Bostock <matt@mattbostock.com>
2018-04-13 16:50:15 +01:00
Mario Trangoni
b7173eb0e5
fix some comments typos ( #315 )
2018-04-08 10:28:30 +01:00
Fabian Reinartz
bd832fc827
Merge pull request #314 from Bplotka/overlap-log-improvement
...
db: Made overlap String() prettier and more readable.
2018-04-05 18:20:54 +02:00
Bartek Plotka
00594b85cd
db: Addressed comments.
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-04-05 16:53:24 +01:00
Bartek Plotka
03e94365e1
db: Made overlap String() prettier and more readable.
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-04-05 16:01:16 +01:00
Fabian Reinartz
00e13f519a
Merge pull request #310 from Bplotka/overlap-detection-fix
...
db: Fixed validateBlockSequence, exported it and added tests.
2018-04-05 15:30:22 +02:00
Bartek Plotka
15b5d89222
db: Addressed comments.
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-04-05 14:15:24 +01:00
Bartek Plotka
cc306ef0d5
Added grouping by overlap range.
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-04-05 13:51:33 +01:00
Goutham Veeramachaneni
90d55672d1
Merge pull request #286 from mattbostock/rename_high_timestamp
...
head: Rename highTimestamp to maxt
2018-04-05 17:41:48 +05:30
Goutham Veeramachaneni
d610390427
Merge pull request #312 from gouthamve/nit-1
...
Simplify stones counting.
2018-04-05 17:37:47 +05:30
Goutham Veeramachaneni
f82a1fe4f2
Simplify stones counting.
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2018-04-03 18:17:02 +05:30
Goutham Veeramachaneni
8748f33c54
Merge pull request #259 from mattbostock/add_benchout_to_gitignore
...
Add default benchmark output dir to .gitignore
2018-04-03 12:39:13 +05:30
Goutham Veeramachaneni
8a301b126a
Merge pull request #307 from mjtrangoni/fixes
...
Fix some megacheck and unconvert issues
2018-04-03 12:27:27 +05:30
Goutham Veeramachaneni
2f37e1eddc
Merge pull request #277 from simonpasquier/delete-series-without-samples
...
Fix crash when a series has no block
2018-04-03 12:24:12 +05:30
Goutham Veeramachaneni
3733f14dc5
Merge pull request #250 from simonpasquier/update-doc
...
Update doc
2018-04-03 12:19:29 +05:30
Bartek Plotka
7412e2b44b
Added more cases and modified one var name.
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-03-29 12:50:46 +01:00
Bartek Plotka
f07d829946
db: Tiny tuning of algo + added proper print.
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-03-28 23:50:42 +01:00
Bartek Plotka
1e60f02066
db: Simplified tests.
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-03-28 23:19:22 +01:00
Bartek Plotka
c8b4a7b839
db: Simplified algorithm.
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-03-28 23:18:24 +01:00
Bartek Plotka
51ce1cc7ff
db: Fixed validateBlockSequence.
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-03-28 18:33:41 +01:00
Bartek Plotka
a9b28a6aa0
db: Added tests for validateBlockSequence to confirm a bug.
...
(That's why test fails)
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-03-28 15:50:52 +01:00
Matt Bostock
793c1078dd
bench: Fix path to default sample file
...
The sample file used for benchmarking was renamed in 8326e410d0
but
the `--file` flag default was not updated.
2018-03-25 23:24:30 +08:00
kun
5f929254a3
Fix labels bench test
...
Signed-off-by: kun <oiooj@qq.com>
2018-03-22 12:28:09 +08:00
Mario Trangoni
e5dabad1d7
fix megacheck issue: simplified return err
2018-03-21 22:39:15 +01:00
Mario Trangoni
c2182820ed
fix megacheck issue: should omit values from range
2018-03-21 22:39:15 +01:00
Mario Trangoni
c0e888e82b
fix megacheck issues: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd.
2018-03-21 22:39:15 +01:00