Actions
Bug #14686
closedOSDMap: reset osd_primary_affinity shared_ptr when deepish_copy_from
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
infernalis,hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Base on current logic, OSDMonitor may call create_pending and
encode_pending twice for the some epoch.
In encode_pending:
tmp.deepish_copy_from(osdmap);
tmp.apply_incremental(pending_inc);
This Op would change the tmp osd_primary_affinity, but the osd_primary_affinity
is declared as ceph::shared_ptr, so this would change the osdmap too. When this
round encode_pending is proposed fail. We may call encode_pending again, but the
osdmap is changed last round, so the pending_inc would be wrong.
Updated by Kefu Chai about 8 years ago
- Status changed from New to Fix Under Review
- Assignee set to Xinze Chi
- Source changed from other to Community (dev)
Updated by Sage Weil about 8 years ago
- Priority changed from High to Urgent
- Backport set to infernalis,hammer
Updated by Sage Weil about 8 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Loïc Dachary about 8 years ago
- Copied to Backport #14719: infernalis: OSDMap: reset osd_primary_affinity shared_ptr when deepish_copy_from added
Updated by Loïc Dachary about 8 years ago
- Copied to Backport #14720: hammer: OSDMap: reset osd_primary_affinity shared_ptr when deepish_copy_from added
Updated by Loïc Dachary over 7 years ago
- Status changed from Pending Backport to Resolved
Actions