You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Urgh, I see what's going wrong. It has to do with the legacy format conversion.
To fix properly, I'll first write a test for the conversion.
To get your PGW running, you need to start from an empty state. If I understand the problem correctly, the failed legacy conversion has thrown away your metric data now anyway. (With the upcoming fixed version, you could start it from a pre-0.5 backup.)
We're ok with losing data here (on rare occasions such as this one). We've already rolled back to 0.4.0, expecting to lose the metrics or to have to delete the file but the rollback seems to have worked just fine with no data loss.
Right, that makes sense (now that I think about it). The new version will still gob the unconverted legacy metric to the storage. Cool. So rollback is the way to go.
beorn7
changed the title
5.0 panics with invalid memory address or nil pointer dereference
v0.5.0 panics with invalid memory address or nil pointer dereference
May 29, 2018
Error message from the log:
This seems to reliably occur with every request to /metrics since upgrading to 0.5.0 from 0.4.0.
The text was updated successfully, but these errors were encountered: