-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
rgw: eradicate dynamic memory allocation in RGWWriteRequest. #11062
Conversation
dispose_processor(processor); | ||
processor = select_processor(*static_cast<RGWObjectCtx *>(s->obj_ctx), | ||
&multipart); | ||
processor = boost::none; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this really needed? does boost::optional
try to call RGWPutObjProcessor_Atomic::operator=()
otherwise?
@rzarzynski have you looked at changing it now would cause conflicts with #10932, but we should get that eventually |
@cbodley: I'm afraid that for |
@cbodley ping |
jenkins test this please (no logs) |
@rzarzynski should be able to use |
@cbodley: yep, we should be perfectly able to do the switch now. I will send the update soon. |
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1dd6a6a
to
25b42cb
Compare
@cbodley, @mattbenjamin: fixed the commit and switched to |
@rzarzynski I'm fine with using this strategy here, will test |
@mattbenjamin: thanks! :-) |
@rzarzynski please rebase |
@rzarzynski what's the status of this one? |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
see #24453 |
It would be really nice to have Boost 1.56 that brought
boost::optional::emplace()
.CC: @mattbenjamin.