Project

General

Profile

Actions

Bug #49543

open

scrub a pool which size is 1 but found stat mismatch on objects and bytes

Added by Liu Lan about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Scrub/Repair
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

the pg has only one primary osd:

# ceph pg ls |grep ^2.fff
2.fff        0        0         0       0        0           0          0 1683 active+clean   10h 1113603'126006 1282104:1222675   [25]p25   [25]p25 2021-03-01T01:01:52.386205+0800 2021-02-25T01:03:19.085962+0800

osd.25 logs after execute `ceph pg repair 2.fff`:

ceph-osd.25.log-20210224:4151:2021-02-23T10:28:54.687+0800 7f2d92e70700  0 log_channel(cluster) log [DBG] : 2.fff repair starts
ceph-osd.25.log-20210224:4152:2021-02-23T10:34:12.770+0800 7f2d92e70700 -1 log_channel(cluster) log [ERR] : 2.fff repair : stat mismatch, got 29235/29236 objects, 0/0 clones, 29235/29236 dirty, 0/0 omap, 0/0 pinned, 0/0 hit_set_archive, 0/0 whiteouts, 9712558080/9712689152 bytes, 0/0 manifest objects, 0/0 hit_set_archive bytes.
ceph-osd.25.log-20210224:4153:2021-02-23T10:34:12.770+0800 7f2d92e70700 -1 log_channel(cluster) log [ERR] : 2.fff repair 1 errors, 1 fixed
ceph-osd.25.log-20210224:4328:2021-02-23T10:51:49.893+0800 7f2d92e70700  0 log_channel(cluster) log [DBG] : 2.fff repair starts
ceph-osd.25.log-20210224:4396:2021-02-23T10:57:06.264+0800 7f2d92e70700  0 log_channel(cluster) log [DBG] : 2.fff repair ok, 0 fixed

No data to display

Actions

Also available in: Atom PDF