# Loki boltdb-shipper resync\_interval

**URL:** <https://community.grafana.com/t/loki-boltdb-shipper-resync-interval/43605>\
**Category:** Grafana Loki\
**Created:** [February 24, 2021, 3:03pm UTC](https://community.grafana.com/t/loki-boltdb-shipper-resync-interval/43605 "2021-02-24T15:03:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nawabb](https://avatars.discourse-cdn.com/v4/letter/n/e79b87/32.png) [@nawabb](https://community.grafana.com/u/nawabb)\
**Post date:** [February 24, 2021, 3:03pm UTC](https://community.grafana.com/t/loki-boltdb-shipper-resync-interval/43605/1 "2021-02-24T15:03:18Z")

</div>

The documentation is not clear on resync\_interval. I can contribute these back if one of the developers can clarify this:

- This article suggests the default is 15 mins ([Single Store (boltdb-shipper) | Grafana Labs](https://grafana.com/docs/loki/latest/operations/storage/boltdb-shipper/))
- Source code suggests the default is 5 mins (loki/pkg/storage/stores/shipper/shipper\_index\_client.go)
- Examples suggest, recommended value to be 5 seconds ([Examples | Grafana Labs](https://grafana.com/docs/loki/latest/configuration/examples/))

Questions:

- What is the recommended value, lets say for a setup with 1TB of logs using S3/Minio?
- What the pros/cons of a small value (5s) vs a large value (15 mins); is it purely performance or can there be any data loss if the loki server restarts and local cache directories are not persistent?

---

<div class="post-metadata">

**Author:** ![nawabb](https://avatars.discourse-cdn.com/v4/letter/n/e79b87/32.png) [@nawabb](https://community.grafana.com/u/nawabb)\
**Post date:** [February 27, 2021, 5:50pm UTC](https://community.grafana.com/t/loki-boltdb-shipper-resync-interval/43605/2 "2021-02-27T17:50:21Z")

</div>

This is solved by devs in [Boltdb shipper doc fixes by sandeepsukhani · Pull Request #3265 · grafana/loki · GitHub](https://github.com/grafana/loki/pull/3265/files) now. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [February 27, 2022, 5:50pm UTC](https://community.grafana.com/t/loki-boltdb-shipper-resync-interval/43605/3 "2022-02-27T17:50:44Z")

</div>

Closed on February 27, 2022, 5:50pm UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
