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

storage: remote segment acquires raii gate holder in non-coroutine without capturing it #15696

Closed
dotnwat opened this issue Dec 15, 2023 · 0 comments · Fixed by #15697
Closed
Labels
area/storage kind/bug Something isn't working sev/low Bugs which are non-functional paper cuts, e.g. typos, issues in log messages

Comments

@dotnwat
Copy link
Member

dotnwat commented Dec 15, 2023

Looks like it needs to be captured in the returned continuation, or turned into a coroutine.

auto g = _gate.hold();

@dotnwat dotnwat added area/storage kind/bug Something isn't working sev/low Bugs which are non-functional paper cuts, e.g. typos, issues in log messages labels Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/storage kind/bug Something isn't working sev/low Bugs which are non-functional paper cuts, e.g. typos, issues in log messages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant