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

Comment unsafe memory usage in ingester push path #2004

Merged
merged 2 commits into from
Feb 28, 2020

Conversation

bboreham
Copy link
Contributor

@bboreham bboreham commented Jan 20, 2020

This is roughly what I was suggesting at #2000 to warn future maintainers.

I have left (what I assume is) the bug unchanged.

I have changed the way errors are wrapped to make it clearer how we avoid retaining references to unsafe data inside errors.

Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

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

These are great and useful comments for future reviewers!

Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

Very well explained. Thanks!

May you rebase, given I've merged #2000 please?

@bboreham
Copy link
Contributor Author

See #2006

@bboreham bboreham force-pushed the comment-unsafe-labels branch 2 times, most recently from 0e897dc to d52556a Compare January 22, 2020 10:31
Signed-off-by: Bryan Boreham <bryan@weave.works>
…data

Signed-off-by: Bryan Boreham <bryan@weave.works>
@bboreham bboreham force-pushed the comment-unsafe-labels branch from d52556a to e31ea09 Compare January 22, 2020 12:43
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM. @bboreham do you feel comfortable to merge it or plan further improvements?

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.

3 participants