Project

General

Profile

Bug #24588

osd: may get empty info at recovery

Added by tao ning almost 6 years ago. Updated over 5 years ago.

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

0%

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

Description

2018-06-15 20:34:16.421720 7f89d2c24700 -1 /home/zzr/ceph.sf/src/osd/PG.cc: In function 'void PG::start_peering_interval(OSDMapRef, const std::vector<int>&, int, const std::vector<int>&, int, ObjectStore::Transaction*)' thread 7f89d2c24700 time 2018-06-15 20:34:16.418445
/home/zzr/ceph.sf/src/osd/PG.cc: 5483: FAILED assert(info.history.same_interval_since != 0)

ceph version Development (no_version) luminous (stable)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x5652554cc122]
2: (PG::start_peering_interval(std::shared_ptr&lt;OSDMap const&gt;, std::vector&lt;int, std::allocator&lt;int&gt; > const&, int, std::vector&lt;int, std::allocator&lt;int&gt; > const&, int, ObjectStore::Transaction*)+0x1768) [0x565254fa2618]
3: (PG::RecoveryState::Reset::react(PG::AdvMap const&)+0x473) [0x565254fa2bd3]
4: (boost::statechart::simple_state&lt;PG::RecoveryState::Reset, PG::RecoveryState::RecoveryMachine, boost::mpl::list&lt;mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na&gt;, (boost::statechart::history_mode)0>::react_impl(boost::statechart::event_base const&, void const*)+0x166) [0x565254fee7a6]
5: (boost::statechart::state_machine&lt;PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial, std::allocator&lt;void&gt;, boost::statechart::null_exception_translator>::process_queued_events()+0x109) [0x565254fc44f9]
6: (boost::statechart::state_machine&lt;PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial, std::allocator&lt;void&gt;, boost::statechart::null_exception_translator>::process_event(boost::statechart::event_base const&)+0x82) [0x565254fc4712]
7: (PG::handle_advance_map(std::shared_ptr&lt;OSDMap const&gt;, std::shared_ptr&lt;OSDMap const&gt;, std::vector&lt;int, std::allocator&lt;int&gt; >&, int, std::vector&lt;int, std::allocator&lt;int&gt; >&, int, PG::RecoveryCtx*)+0x496) [0x565254f86e66]
8: (OSD::advance_pg(unsigned int, PG*, ThreadPool::TPHandle&, PG::RecoveryCtx*, std::set&lt;boost::intrusive_ptr&lt;PG&gt;, std::less&lt;boost::intrusive_ptr&lt;PG&gt; >, std::allocator&lt;boost::intrusive_ptr&lt;PG&gt; > >)+0x2e4) [0x565254ec9f64]
9: (OSD::process_peering_events(std::__cxx11::list&lt;PG
, std::allocator&lt;PG*&gt; > const&, ThreadPool::TPHandle&)+0x1e4) [0x565254ecae94]
10: (ThreadPool::BatchWorkQueue&lt;PG&gt;::_void_process(void*, ThreadPool::TPHandle&)+0x27) [0x565254f3f187]
11: (ThreadPool::worker(ThreadPool::WorkThread*)+0xdb9) [0x5652554d3029]
12: (ThreadPool::WorkThread::entry()+0x10) [0x5652554d4130]
13: (()+0x76ba) [0x7f89eb7af6ba]
14: (clone()+0x6d) [0x7f89ea82682d]
NOTE: a copy of the executable, or `objdump -rdS &lt;executable&gt;` is needed to interpret this.

PR:https://github.com/ceph/ceph/pull/22362


Related issues

Related to RADOS - Bug #21142: OSD crashes when loading pgs with "FAILED assert(interval.last > last)" Won't Fix 08/26/2017
Copied to RADOS - Backport #24771: mimic: osd: may get empty info at recovery Resolved
Copied to RADOS - Backport #24772: luminous: osd: may get empty info at recovery Resolved

History

#1 Updated by John Spray almost 6 years ago

  • Status changed from New to Fix Under Review

#2 Updated by John Spray almost 6 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (OSD)

#3 Updated by Sage Weil over 5 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to mimic,luminous

#4 Updated by Sage Weil over 5 years ago

  • Related to Bug #21142: OSD crashes when loading pgs with "FAILED assert(interval.last > last)" added

#6 Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #24771: mimic: osd: may get empty info at recovery added

#7 Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #24772: luminous: osd: may get empty info at recovery added

#8 Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF