Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore download of missing boltdb files possibly removed during compaction #3563

Conversation

sandeepsukhani
Copy link
Contributor

What this PR does / why we need it:
We fail the sync operation when we encounter an error while downloading any of the files from the tables. When a file goes missing we fail the sync and retry it next time. A file only goes missing when it gets compacted away by the compactor so we do not want to fail the sync when a file goes missing in the middle of the sync operation.

Checklist

  • Tests updated

@CLAassistant
Copy link

CLAassistant commented Apr 20, 2021

CLA assistant check
All committers have signed the CLA.

@stale
Copy link

stale bot commented Jun 2, 2021

This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale A stale issue or PR that will automatically be closed. label Jun 2, 2021
@sandeepsukhani sandeepsukhani added the keepalive An issue or PR that will be kept alive and never marked as stale. label Jun 2, 2021
@stale stale bot removed the stale A stale issue or PR that will automatically be closed. label Jun 2, 2021
@sandeepsukhani sandeepsukhani force-pushed the boltdb-shipper-ignore-missing-object-download-failure branch from 769dc8e to 6e70fa4 Compare June 10, 2021 10:58
Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sandeepsukhani sandeepsukhani merged commit d362df7 into grafana:main Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keepalive An issue or PR that will be kept alive and never marked as stale. size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants