yuxiaobo
7850f1b35c
new world spelling mistake
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
5 years ago
Jean-Baptiste Le Duigou
1f9eb09e8e
Improve unit tests for target group
...
Signed-off-by: Jean-Baptiste Le Duigou <jb.leduigou@gmail.com>
5 years ago
Goutham Veeramachaneni
b035c55a96
Step down and propose Ganesh as TSDB maintainer
...
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
5 years ago
Krasi Georgiev
b05b5f9a30
remove debug fmt.Println in tombstones. ( #6135 )
...
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
5 years ago
yuxiaobo
47e51c8b2b
Correct spelling mistakes
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
5 years ago
Krasi Georgiev
81d284f806
Merge the 2.13 release branch to master ( #6117 )
5 years ago
Ganesh Vernekar
4dfc7a2e77
Remove unnecessary lock in loadWAL ( #6107 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Chris Marchbanks
8df4bca470
Garbage collect asynchronously in the WAL Watcher
...
The WAL Watcher replays a checkpoint after it is created in order to
garbage collect series that no longer exist in the WAL. Currently the
garbage collection process is done serially with reading from the tip of
the WAL which can cause large delays in writing samples to remote
storage just after compaction occurs.
This also fixes a memory leak where dropped series are not cleaned up as
part of the SeriesReset process.
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
5 years ago
Ganesh Vernekar
53ea6d6390
Allocate the shards only once while reading WAL ( #6093 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Ganesh Vernekar
493ef2f771
Benchmark for loading WAL ( #6081 )
...
* Benchmark for loading WAL
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Add more cases
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
陈谭军
103f26d188
fix the wrong word ( #6069 )
...
Signed-off-by: chentanjun <2799194073@qq.com>
5 years ago
AllenZMC
1e62435960
fix wrong spells in live_reader.go ( #5899 )
...
* fix wrong spells in live_reader.go
* fix wrong spells in lex.go
Signed-off-by: czm <zhongming.chang@daocloud.io>
5 years ago
johncming
612f9cb361
tsdb/wal: pull out wal metrics separately as tsdb.DB ( #5957 )
...
Signed-off-by: johncming <johncming@yahoo.com>
5 years ago
zhulongcheng
e081406b5b
tsdb: update chunks format ( #6033 )
...
Signed-off-by: zhulongcheng <zhulongcheng.dev@gmail.com>
5 years ago
Callum Styan
3344bb5c33
Move WAL watcher code to tsdb/wal package. ( #5999 )
...
* Move WAL watcher code to tsdb/wal package.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Fix tests after moving WAL watcher code.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Lint fixes.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
5 years ago
Yao Zengzeng
d1f21552b9
some refactor to make PostingsForMatchers more readable ( #5897 )
...
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
5 years ago
Lucas Servén Marín
8ab628b354
tsdb: allow readonly DB to create flush WAL ( #6006 )
...
This PR gives the readonly DB the ability to create blocks from the WAL.
In order to implement this, we modify DBReadOnly.Blocks() to return an
empty slice and no error if no blocks are found.
xref: https://github.com/prometheus/tsdb/issues/346#issuecomment-520786524
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
5 years ago
zhulongcheng
937cc1a52a
tsdb: add block meta version constant ( #5994 )
...
Signed-off-by: zhulongcheng <zhulongcheng.dev@gmail.com>
5 years ago
Erfan Besharat
9336c01dfd
Add methods to fetch page's buf data in tsdb WAL ( #5967 )
...
* move the WAL page buf reset in its own func
Signed-off-by: Erfan Besharat <erbesharat@gmail.com>
5 years ago
陈谭军
50d453b3c3
fix-up tsdb-typo ( #5954 )
...
Signed-off-by: chentanjun <2799194073@qq.com>
5 years ago
li mengyang
1c6d2194c4
fix spelling mistakes in docs ( #5952 )
...
Signed-off-by: hwdef <hwdef97@gmail.com>
5 years ago
johncming
7d43feb03f
tsdb/wal: some small refactoring for easier reading ( #5930 )
...
Signed-off-by: johncming <johncming@yahoo.com>
5 years ago
Chris Marchbanks
5e36aa1491
Add test for MemPostings.Delete ( #5910 )
...
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
5 years ago
Bartek Plotka
f0863a604e
Removed extra tsdb/testutil after merge.
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
5 years ago
Ganesh Vernekar
5ecef3542d
Cleanup after merging tsdb into prometheus
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Ganesh Vernekar
7cf09b0395
Moving tsdb into its own subdirectory
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago