Project

General

Profile

Actions

Bug #10536

closed

_scrub and digests: osd/ReplicatedPG.cc: 7506: FAILED assert(!i->mod_desc.empty())

Added by Samuel Just over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

The problem is that finish_ctx does not really work on snapdirs (snaptrimmer does not use finish_ctx, and make_writeable handles snapdir specially). The repop does not get processed correctly for deep scrubs on snapdir objects. However, do we really want to record the digest on a snapdir object?

6> 2015-01-14 08:39:42.910517 7f28dc883700 10 osd.3 pg_epoch: 526 pg[1.24s0( v 522'189 (0'0,522'189] local-les=513 n=2 ec=9 les/c 513/522 511/511/479) [3,0,4] r=0 lpr=511 crt=499'181 lcod 522'187 mlcod 522'187 active+clean+scrubbing+deep] new_repop rep_tid 1548 (no op)
-5> 2015-01-14 08:39:42.910530 7f28dc883700 20 osd.3 pg_epoch: 526 pg[1.24s0( v 522'189 (0'0,522'189] local-les=513 n=2 ec=9 les/c 513/522 511/511/479) [3,0,4] r=0 lpr=511 crt=499'181 lcod 522'187 mlcod 522'187 active+clean+scrubbing+deep] finish_ctx 2cfc5f24/plana599632-9/snapdir//1 0x94f7600 op modify
-4> 2015-01-14 08:39:42.910543 7f28dc883700 10 osd.3 pg_epoch: 526 pg[1.24s0( v 522'189 (0'0,522'189] local-les=513 n=2 ec=9 les/c 513/522 511/511/479) [3,0,4] r=0 lpr=511 crt=499'181 lcod 522'187 mlcod 522'187 active+clean+scrubbing+deep] set mtime to 2015-01-14 08:39:42.910517
-3> 2015-01-14 08:39:42.910568 7f28dc883700 10 osd.3 pg_epoch: 526 pg[1.24s0( v 522'189 (0'0,522'189] local-les=513 n=2 ec=9 les/c 513/522 511/511/479) [3,0,4] r=0 lpr=511 crt=499'181 lcod 522'187 mlcod 522'187 active+clean+scrubbing+deep] no snapset (this is a clone)
-2> 2015-01-14 08:39:42.910584 7f28dc883700 20 osd.3 pg_epoch: 526 pg[1.24s0( v 522'189 (0'0,522'189] local-les=513 n=2 ec=9 les/c 513/522 511/511/479) [3,0,4] r=0 lpr=511 crt=499'181 lcod 522'187 mlcod 522'187 active+clean+scrubbing+deep] simple_repop_submit 0x6acca80
-1> 2015-01-14 08:39:42.910596 7f28dc883700 7 osd.3 pg_epoch: 526 pg[1.24s0( v 522'189 (0'0,522'189] local-les=513 n=2 ec=9 les/c 513/522 511/511/479) [3,0,4] r=0 lpr=511 crt=499'181 lcod 522'187 mlcod 522'187 active+clean+scrubbing+deep] issue_repop rep_tid 1548 o 2cfc5f24/plana599632-9/snapdir//1
0> 2015-01-14 08:39:42.914300 7f28dc883700 -1 osd/ReplicatedPG.cc: In function 'void ReplicatedPG::issue_repop(ReplicatedPG::RepGather*, utime_t)' thread 7f28dc883700 time 2015-01-14 08:39:42.910612
osd/ReplicatedPG.cc: 7506: FAILED assert(!i
>mod_desc.empty())
ceph version 0.90-967-g77f4ef1 (77f4ef111e82537ebc92f8598b3e258db9ea5f7c)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x7f) [0xadfdcf]
2: (ReplicatedPG::issue_repop(ReplicatedPG::RepGather*, utime_t)+0x36f) [0x809e2f]
3: (ReplicatedPG::simple_repop_submit(ReplicatedPG::RepGather*)+0xcc) [0x80b53c]
4: (ReplicatedPG::_scrub(ScrubMap&)+0x9bb) [0x82f34b]
5: (PG::scrub_compare_maps()+0xfbe) [0x79c28e]
6: (PG::chunky_scrub(ThreadPool::TPHandle&)+0x1c9) [0x79cc29]
7: (PG::scrub(ThreadPool::TPHandle&)+0x33d) [0x79e5fd]
8: (OSD::ScrubWQ::_process(PG*, ThreadPool::TPHandle&)+0x13) [0x6892a3]
9: (ThreadPool::worker(ThreadPool::WorkThread*)+0x48e) [0xad00ae]
10: (ThreadPool::WorkThread::entry()+0x10) [0xad2130]
11: (()+0x7e9a) [0x7f28fb587e9a]
12: (clone()+0x6d) [0x7f28f9d4a31d]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
Actions #1

Updated by Samuel Just over 9 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF