Bug 1330023

Summary: The content of deep-scrub is overwritten by shallow-scrub
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Tanay Ganguly <tganguly>
Component: RADOSAssignee: David Zafman <dzafman>
Status: CLOSED ERRATA QA Contact: Vidushi Mishra <vimishra>
Severity: high Docs Contact: Erin Donnelly <edonnell>
Priority: unspecified    
Version: 2.0CC: ceph-eng-bugs, dzafman, edonnell, hnallurv, kchai, kdreyer, kurs, sjust, uboppana
Target Milestone: rc   
Target Release: 2.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL: ceph-10.2.7-2.el7cp Ubuntu: ceph_10.2.7-3redhat1xenial Doc Type: Bug Fix
Doc Text:
.Results from deep scrubbing are no longer overwritten by shallow scrubbing Previously, when performing shallow scrubbing after deep scrubbing, results from deep scrubbing were overwritten by results from shallow scrubbing. As a consequence, the deep scrubbing results were lost. Now, unless the `nodeep_scrub` flag is set, no shallow scrubbing is performed regularly, so the information from deep scrubbing is regenerated.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-19 13:25:30 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:
Bug Depends On:    
Bug Blocks: 1322504, 1383917, 1412948, 1437916    

Description Tanay Ganguly 2016-04-25 10:07:07 UTC
Description of problem:
The content of deep-scrub is overwritten by shallow-scrub

Version-Release number of selected component (if applicable):
10.1.1.1

How reproducible:
NA

Steps to Reproduce:
For a PG which have deep scrub output, but later shallow scrub is run over it.
Then we are losing out on the output.

rados list-inconsistent-obj 4.10
[]

Actual results:
Overwriting the deep-scrub output

Expected results:
Should not overwrite

Additional info:

Comment 2 Samuel Just 2016-04-26 14:53:54 UTC
Kefu: I thought it always deep scrubs if the stats listed a deep scrub error.

Comment 4 Kefu Chai 2016-05-10 07:40:34 UTC
Not a blocker - recommend moving to 2.z

Comment 7 Kefu Chai 2016-06-14 11:07:23 UTC
> When performing shallow scrubbing after deep scrubbing, statistics from deep scrubbing are overwritten by statistics from shallow scrubbing. As a consequence, the deep scrubbing statistics are lost.

they are not statistics, they are scrub results which document the inconsistent object and related information. other than this, looks good.

> Also, is there any workaround?

not yet.

Comment 34 errata-xmlrpc 2017-06-19 13:25:30 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/RHBA-2017:1497