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

Bug 1818361 - Prevent another test-only issue: The storage going away when the uploader reports back its status #2430

Merged
merged 2 commits into from
Mar 23, 2023

Conversation

badboy
Copy link
Member

@badboy badboy commented Mar 23, 2023

The "No database found" message is unique, so we always know that it
happens in exactly that line.
That's not helpful during debugging though. We want to know which part
requested storage.

track_caller does that.
See https://doc.rust-lang.org/reference/attributes/codegen.html#the-track_caller-attribute


This is more of a workaround than a fix and we should eventually follow this up with properly addressing this in a more holistic way

The "No database found" message is unique, so we _always_ know that it
happens in exactly that line.
That's not helpful during debugging though. We want to know which part
requested storage.

`track_caller` does that.
See https://doc.rust-lang.org/reference/attributes/codegen.html#the-track_caller-attribute
@badboy badboy requested a review from a team as a code owner March 23, 2023 16:26
@badboy badboy requested review from travis79 and removed request for a team March 23, 2023 16:26
…ader reports back its status

We already do this for counters and timing distributions.
Now for memory distributions as well.
All metric types used by the uploader itself.
@badboy badboy force-pushed the gracefully-handling-missing-glean-in-uploader-better branch from ba1165f to 610dbb5 Compare March 23, 2023 16:28
Copy link
Member

@travis79 travis79 left a comment

Choose a reason for hiding this comment

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

LGTM

@badboy badboy merged commit 1ed9a4b into main Mar 23, 2023
@badboy badboy deleted the gracefully-handling-missing-glean-in-uploader-better branch March 23, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants