Project

General

Profile

Bug #10150

osd/ReplicatedPG.cc: 10853: FAILED assert(r >= 0) (in _scan_range)

Added by Sage Weil over 9 years ago. Updated about 9 years ago.

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

0%

Source:
Q/A
Tags:
Backport:
giant,firefly
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

     0> 2014-11-19 23:57:56.840585 7f1665bce700 -1 osd/ReplicatedPG.cc: In function 'void ReplicatedPG::scan_range(int, int, PG::BackfillInterval*, ThreadPool::TPHandle&)' thread 7f1665bce700 time 2014-11-19 23:57:56.813118
osd/ReplicatedPG.cc: 10853: FAILED assert(r >= 0)

 ceph version 0.87-27-gccfd241 (ccfd2414c68afda55bf4cefa2441ea6d53d87cc6)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x8b) [0xb8249b]
 2: (ReplicatedPG::scan_range(int, int, PG::BackfillInterval*, ThreadPool::TPHandle&)+0xd5f) [0x82d92f]
 3: (ReplicatedPG::do_scan(std::tr1::shared_ptr<OpRequest>, ThreadPool::TPHandle&)+0x93d) [0x837e5d]
 4: (ReplicatedPG::do_request(std::tr1::shared_ptr<OpRequest>&, ThreadPool::TPHandle&)+0x546) [0x81f796]
 5: (OSD::dequeue_op(boost::intrusive_ptr<PG>, std::tr1::shared_ptr<OpRequest>, ThreadPool::TPHandle&)+0x3d5) [0x686b95]
 6: (OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)+0x37b) [0x68712b]
 7: (ShardedThreadPool::shardedthreadpool_worker(unsigned int)+0x821) [0xb725a1]
 8: (ShardedThreadPool::WorkThreadSharded::entry()+0x10) [0xb746b0]
 9: (()+0x8182) [0x7f1682cd2182]
 10: (clone()+0x6d) [0x7f168123e30d]

ubuntu@teuthology:/var/lib/teuthworker/archive/teuthology-2014-11-17_02:32:01-rados-giant-distro-basic-multi/604706

Related issues

Related to Ceph - Bug #10117: OSD crashes if xattr "_" is absent for the file when doing backfill scanning (ReplicatedPG::scan_range) Won't Fix 11/16/2014

History

#1 Updated by Samuel Just over 9 years ago

Hah, that assert isn't valid. The object in question might be in the process of being removed if it is at the start of the interval (last_backfill is usually included in the scan request).

#2 Updated by Samuel Just over 9 years ago

  • Assignee set to Samuel Just

#3 Updated by Samuel Just over 9 years ago

  • Status changed from New to 7

#4 Updated by Samuel Just over 9 years ago

  • Status changed from 7 to Pending Backport
  • Backport set to giant,firefly

#7 Updated by Loïc Dachary about 9 years ago

4d4eb9f ReplicatedPG::scan_range: an object can disappear between the list and the attr get (in giant), b0d0d44 ReplicatedPG::scan_range: an object can disappear between the list and the attr get (in firefly),

#8 Updated by Loïc Dachary about 9 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF