Goutham Veeramachaneni b51a05044e
Fix race condition for 2 appenders having same ts
Race:
Suppose we have 100 existing series inside a HeadBlock.
Now we open two appenders in two routines A1, A2 and append 30 new series and
60 new series respectively with some common series.

Both try to commit at the same time and the following happens in the given order:

A2 executes createSeries()
A1 executes createSeries() (with its common series referencing the ids from A2)
A1 persists its newlabels, samples
A2 persists its newlabels, samples

Now when reading it back, we read A1's samples which reference A2's id and
thereby fail.

Ref: prometheus/promtheus#2795

Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-06-08 16:26:25 +05:30
2017-04-28 16:01:37 +02:00
2017-04-10 20:59:45 +02:00
2017-05-26 21:26:31 +05:30
2017-06-06 20:23:20 +05:30
2017-05-22 16:42:36 +05:30
2017-05-23 18:13:30 +05:30
2017-04-10 20:59:45 +02:00
2017-04-10 20:59:45 +02:00
2017-05-26 21:26:31 +05:30
2017-04-30 10:10:18 +02:00
2017-06-06 18:15:54 +05:30
2017-04-10 21:02:42 +02:00
2017-05-24 11:24:24 +05:30
2017-05-26 21:26:31 +05:30
2017-04-10 13:29:46 +02:00
2017-05-26 21:26:31 +05:30
2017-05-26 21:26:31 +05:30
2017-05-26 21:26:31 +05:30
2017-05-26 21:26:31 +05:30

TSDB

This repository contains the new Prometheus storage layer that will be used in its 2.0 release.

A writeup of its design can be found here.

Languages
Go 86.3%
TypeScript 12.4%
Yacc 0.5%
Shell 0.2%
SCSS 0.2%
Other 0.2%