Bug #46027
bufferlist c_str() sometimes clears assignment to mempool
% Done:
0%
Source:
Tags:
Backport:
nautilus, octopus
Regression:
No
Severity:
4 - irritation
Reviewed:
Description
Sometimes c_str() needs to rebuild underlying buffer::raw.
It that case original assignment to mempool is lost.
Related issues
History
#1 Updated by Adam Kupczyk almost 4 years ago
- Assignee set to Adam Kupczyk
#2 Updated by Radoslaw Zarzynski almost 4 years ago
#3 Updated by Kefu Chai over 3 years ago
- Status changed from New to Resolved
- Pull request ID set to 35584
#4 Updated by Zac Medico over 3 years ago
It could be beneficial to backport this fix to octypus and nautilus. I suspect that it fixes a rebuild leak to the buffer_anon mempool in the ObjectModDesc trim_bl method shown here:
https://github.com/ceph/ceph/commit/62fd382fbf10f2b78946426644d445549a7ebed1
#5 Updated by Nathan Cutler over 3 years ago
- Status changed from Resolved to Pending Backport
- Backport set to nautilus, octopus
#6 Updated by Nathan Cutler over 3 years ago
- Copied to Backport #48193: nautilus: bufferlist c_str() sometimes clears assignment to mempool added
#7 Updated by Nathan Cutler over 3 years ago
- Copied to Backport #48194: octopus: bufferlist c_str() sometimes clears assignment to mempool added
#8 Updated by Nathan Cutler about 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".