Loki boltdb-shipper resync_interval

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

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?

This is solved by devs in Boltdb shipper doc fixes by sandeepsukhani · Pull Request #3265 · grafana/loki · GitHub now. Thanks.