grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
24k stars 3.46k forks source link

feat(blooms): disk-backed queue for the bloom-planner (backport k227) #14927

Closed loki-gh-app[bot] closed 1 week ago

loki-gh-app[bot] commented 1 week ago

Backport b646861e770e6903538bb22dd551686aaeb7349d from #14874


What this PR does / why we need it: We store chunkrefs for each task. As a result, the queue can grow and not fit into memory. This PR adds a new set of options to configure the queue to store the tasks in the filesystem. As a result, the queue only keeps the task metadata (e.g. results channel, time in queue, retires...) and the path to the task in the disk.

Special notes for your reviewer:

Checklist