Bug 1839216

Summary: osd: do not trim pg log past last_update_ondisk
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Neha Ojha <nojha>
Component: RADOSAssignee: Neha Ojha <nojha>
Status: CLOSED ERRATA QA Contact: Manohar Murthy <mmurthy>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0CC: akupczyk, bhubbard, ceph-eng-bugs, dzafman, hyelloji, kchai, nojha, rzarzyns, sseshasa, tserlin
Target Milestone: z1   
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-14.2.8-68.el8cp, ceph-14.2.8-68.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-20 14:21:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neha Ojha 2020-05-22 18:47:12 UTC
Trimming the pg log past last_update_ondisk can cause the OSDs to assert with FAILED ceph_assert(head.version == 0 || e.version.version > head.version), when the pg log is extremely short.

Comment 7 errata-xmlrpc 2020-07-20 14:21:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:3003