Repository navigation
Conversation
MOSDPGPush has no clear_buffers(), so a push kept in the op history keeps its object data alive for osd_op_history_duration (600 s). Clear each PushOp's data, omap and xattrs, as MOSDOp and MOSDECSubOpWrite do; dump_historic_ops still shows the push. Fixes: https://tracker.ceph.com/issues/82303 Signed-off-by: Ming Lei <[email protected]>
|
Thanks Ming, this is the same change as #72885 (tracker 81945), which I opened on Oct 20. It clears the same four fields in Could you close this one in favour of #72885, and mark tracker 82303 as a duplicate of 81945? Your measurement is a nice confirmation (the pushed data is freed at once instead of after 606 s), so I'll add it to #72885's description, if that's OK with you. |
sure, will close it soon. |
MOSDPGPushhas noclear_buffers(), so a recovery push kept in the op history keeps the object data it carried: up to 20 pushes of up to 8 MiB per OSD, forosd_op_history_duration(600 s). Clear eachPushOp's data, omap and xattrs, asMOSDOpandMOSDECSubOpWritedo;dump_historic_opsstill shows the push.Tested on a vstart cluster: after one 4 MiB object is recovered, the target holds it (
bluestore_writingindump_mempools) for 606 s without the change and frees it at once with it.Fixes: https://tracker.ceph.com/issues/82303
Checklist