Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Add retry loop for metarecord load #2044

Merged
merged 1 commit into from
Dec 26, 2022

Conversation

shanson7
Copy link
Collaborator

We had an issue where if there is a timeout when loading metarecords, they will not be loaded until the next batch is created. This is because m.status.Update() will update the internal stats, but then the records are never swapped out on CQL error. This adds an (infinite) retry loop to load those records.

@robert-milan robert-milan merged commit dbeaff9 into grafana:master Dec 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants