Commit Graph

152 Commits (4c2feb32b55dc0431aff659607b67e4ac078325e)

Author SHA1 Message Date
Cyril Tovena 4c2feb32b5
Fixes test helper `newChunk` in the storage pkg. (#4056) 4 years ago
Sandeep Sukhani 8a9abdfe16
Compactor improvements (#4018) 4 years ago
Sandeep Sukhani 1ed19f7380
add a metric for counting number of failures in opening existing files while loading tables from active index in uploads package (#3977) 4 years ago
Sandeep Sukhani 1cca922e6d
fix flaky retention tests (#3976) 4 years ago
Nick Pillitteri b830d65bdd
Use the Cortex wrapper for getting tenant ID from a context (#3973) 4 years ago
Sandeep Sukhani 0cd8f31831
log name of the file failed to open during startup by ingester (#3970) 4 years ago
Sandeep Sukhani 6a36cf6745
add some tests in compactor and fix a bug in IntervalHasExpiredChunks check in retention with tests (#3969) 4 years ago
Sandeep Sukhani 39ac2e58ad
fix a panic in compactor when retention is not enabled (#3967) 4 years ago
Sandeep Sukhani ae3e49973e
fix panic in compactor when retention is not enabled (#3966) 4 years ago
Cyril Tovena bee456737e
Shards Series API. (#3856) 4 years ago
Cyril Tovena 5be93e0480
Improve marker file current time metrics. (#3946) 4 years ago
Sandeep Sukhani 7a7eeb0d63
skip applying retention when data in table is still within retention period and there are no overlapping delete requests (#3934) 4 years ago
Sandeep Sukhani 43c16ed8a1
remove boltdb files from ingesters on startup which do not have a index bucket (#3929) 4 years ago
Cyril Tovena 22dcfcde33
Add retention label to loki_distributor_bytes_received_total metrics (#3840) 4 years ago
Sandeep Sukhani 2c5ce2ce63
feat: index-gateway for boltdb-shipper index store (#3865) 4 years ago
Sandeep Sukhani d362df7a98
ignore download of missing boltdb files possibly removed during compaction (#3563) 4 years ago
Cyril Tovena 7e658e8766
Fixes a flaky retention test. (#3833) 4 years ago
Sandeep Sukhani cd38e987d8
Logs deletion fixes (#3827) 4 years ago
Sandeep Sukhani c90366dbe7
just log a warning when a store type other than boltdb-shipper is detected when custom retention is enabled (#3785) 4 years ago
Sandeep Sukhani 61b60092af
initialize retention and deletion components only when they are enabled (#3772) 4 years ago
Sandeep Sukhani 966bed72d3
reduce allocs in delete requests manager by reusing slice for tracing non-deleted intervals for chunks (#3769) 4 years ago
Cyril Tovena 89b32835c2
Improve mark file processing. (#3762) 4 years ago
Sandeep Sukhani 3b26c63c82
Boltdb shipper deletion fixes (#3746) 4 years ago
Cyril Tovena e1a3ab841c
Improve retention mark files. (#3706) 4 years ago
Sandeep Sukhani 2b7a6f201c
Logs deletion support for boltdb-shipper store (#3688) 4 years ago
Cyril Tovena 210dc355cb
Fixes a goroutine leak in the store when doing cancellation. (#3733) 4 years ago
Cyril Tovena 14fa7d8f3a
Removes file sync syscall for compaction. (#3693) 4 years ago
Cyril Tovena 5c4ba10fb9
Use model.Duration for easy yaml/json marshalling. (#3687) 4 years ago
Cyril Tovena 1995eaa426
Pass in the now value to the retention. (#3673) 4 years ago
Sandeep Sukhani aa544a9dff
cleanup boltdb files failing to open during loading tables which are possibly corrupt (#3605) 4 years ago
Cyril Tovena 490c19e38c
Deprecate max_look_back_period in the chunk storage. (#3677) 4 years ago
Cyril Tovena a454f7edb7
Use pgzip in the compactor. (#3672) 4 years ago
Cyril Tovena 43184298b2
Trigger compaction prior retention. (#3665) 4 years ago
Cyril Tovena 806d6a503e
Custom Retention (#3642) 4 years ago
Kaviraj 6bcd9807d6
replace `time.Duration` -> `model.Duration` for `Limits`. (#3632) 4 years ago
Ed Welch 6e67d1ea5d
Loki/Promtail: Client Refactor (#3623) 4 years ago
Cyril Tovena a22bce7286
Add a chunk filter hook in the store. (#3569) 4 years ago
Sandeep Sukhani 835f710bc9
make prefix for keys of objects created by boltdb-shipper configurable (#3491) 4 years ago
Ed Welch 877f524c36
Loki: Revert reduce list operations and crash after timeout (#3396) 4 years ago
Ed Welch cf8be4a55e
remove directories from object store list operation (#3394) 4 years ago
zhanghjster a3a2c1a079
boltdbshipper: fix crash of "timeout" panic when boltdbshipper do init (#3369) 4 years ago
Sandeep Sukhani ba25b0fc80
increase db retain period in ingesters to cover index cache validity period as well (#3300) 4 years ago
Sandeep Sukhani 3ff088173f
dedupe index on all the queries for a table instead of query batches (#3338) 4 years ago
Sandeep Sukhani 76e713f57d
reduce number of list calls on shared object store when using boltdb-shipper (#3283) 4 years ago
Jacob Lisi 923671a17e
chore: update cortex to latest and fix refs (#3295) 4 years ago
Jacob Lisi c3d1937eab
update vendored cortex and add new replace overrides (#3256) 4 years ago
Sandeep Sukhani db14ff193c
limit query range in async store for ingesters when query-ingesters-within flag is set (#3201) 4 years ago
Cyril Tovena c98dfa0da1
Fixes a swallowed context err in the batch storage. (#3025) 5 years ago
Sandeep Sukhani ae9c4b82ec
fix table deletion in table client for boltdb-shipper (#2960) 5 years ago
Ed Welch 9ba5753e25
Loki: handle faults when opening boltdb files (#2988) 5 years ago