Project

General

Profile

Actions

Bug #40454

closed

snap_mapper error, scrub gets r -2..repaired

Added by Sage Weil almost 5 years ago. Updated over 3 years ago.

Status:
Can't reproduce
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
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

2019-06-19T18:35:23.157+0000 7f1767ab7700 20 snap_mapper.remove_oid 2:c54cd850:::smithi15416397-271:68
2019-06-19T18:35:23.157+0000 7f1767ab7700 20 snap_mapper._remove_oid 2:c54cd850:::smithi15416397-271:68
2019-06-19T18:35:23.157+0000 7f1767ab7700 20 snap_mapper.get_snaps 2:c54cd850:::smithi15416397-271:68 got.empty()
2019-06-19T18:35:23.157+0000 7f1767ab7700 20 snap_mapper.add_oid 2:c54cd850:::smithi15416397-271:68 65,67
2019-06-19T18:35:23.157+0000 7f1767ab7700 20 snap_mapper.get_snaps 2:c54cd850:::smithi15416397-271:68 got.empty()
2019-06-19T18:35:23.157+0000 7f1767ab7700 20 snap_mapper.set_snaps 2:c54cd850:::smithi15416397-271:68 65,67
...
2019-06-19T18:37:00.923+0000 7f0a594e4700 -1 log_channel(cluster) log [ERR] : osd.3 found snap mapper error on pg 2.3 oid 2:c54cd850:::smithi15416397-271:68 snaps missing in mapper, should be: 65,67 was  r -2...repaired
2019-06-19T18:37:00.923+0000 7f0a594e4700 20 snap_mapper.add_oid 2:c54cd850:::smithi15416397-271:68 65,67
2019-06-19T18:37:00.923+0000 7f0a594e4700 15 bluestore(/var/lib/ceph/osd/ceph-3) omap_get_values meta oid #-1:c0371625:::snapmapper:0#
2019-06-19T18:37:00.923+0000 7f0a594e4700 20 bluestore.onode(0x557150ea2480).flush flush done
2019-06-19T18:37:00.923+0000 7f0a594e4700 10 bluestore(/var/lib/ceph/osd/ceph-3) omap_get_values meta oid #-1:c0371625:::snapmapper:0# = 0
2019-06-19T18:37:00.923+0000 7f0a594e4700 20 snap_mapper.get_snaps 2:c54cd850:::smithi15416397-271:68 got.empty()
2019-06-19T18:37:00.923+0000 7f0a594e4700 20 snap_mapper.set_snaps 2:c54cd850:::smithi15416397-271:68 65,67
2019-06-19T18:37:00.923+0000 7f0a594e4700 20 snap_mapper.set_snaps set OBJ_0000000000000002.3A23B1A0.68.smithi15416397-271..
2019-06-19T18:37:00.923+0000 7f0a594e4700 20 snap_mapper.add_oid set MAP_0000000000000065_0000000000000002.3A23B1A0.68.smithi15416397-271..
2019-06-19T18:37:00.923+0000 7f0a594e4700 20 snap_mapper.add_oid set MAP_0000000000000067_0000000000000002.3A23B1A0.68.smithi15416397-271..

/a/sage-2019-06-19_13:01:10-rados:thrash-wip-sloppy-snaps-distro-basic-smithi/4048465

The earlier variations of this bug appear to have been closed (#38840, #23909), but I don't think there is any racing operation here.


Related issues 3 (0 open3 closed)

Related to RADOS - Bug #23909: snaps missing in mapper, should be: 188,18f,191,195,197,198,199,19d,19e,1a1,1a3 was r -2...repairedResolvedDavid Zafman04/27/2018

Actions
Related to RADOS - Bug #38840: snaps missing in mapper, should be: ca was r -2...repairedResolvedDavid Zafman

Actions
Related to bluestore - Bug #40520: snap_mapper record resurrected: trim_object: Can not trim 3:205afc9d:::smithi13915600-489:124 repair needed (no obc)Can't reproduce

Actions
Actions

Also available in: Atom PDF