grafana / metrictank

metrics2.0 based, multi-tenant timeseries store for Graphite and friends.
GNU Affero General Public License v3.0
623 stars 104 forks source link

Add retry loop for metarecord load #2044

Closed shanson7 closed 1 year ago

shanson7 commented 1 year ago

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.