Project

General

Profile

Actions

Bug #20331

closed

osd/PGLog.h: 770: FAILED assert(i->prior_version == last)

Added by Sage Weil almost 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Immediate
Assignee:
-
Category:
Peering
Target version:
-
% Done:

0%

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

Description

     0> 2017-06-16 19:06:37.978345 7f9a3b519700 -1 /build/ceph-12.0.3-1799-g611dd45/src/osd/PGLog.h: In function 'static void PGLog::_merge_object_divergent_entries(const PGLog::IndexedLog&, const hobject_t&, mempool::osd_pglog::list<pg_log_entry_t>&, const pg_info_t&, eversion_t, missing_type&, PGLog::LogEntryHand
ler*, const DoutPrefixProvider*) [with missing_type = pg_missing_set<true>; mempool::osd_pglog::list<pg_log_entry_t> = std::list<pg_log_entry_t, mempool::pool_allocator<(mempool::pool_index_t)14u, pg_log_entry_t> >]' thread 7f9a3b519700 time 2017-06-16 19:06:37.974661
/build/ceph-12.0.3-1799-g611dd45/src/osd/PGLog.h: 770: FAILED assert(i->prior_version == last)

 ceph version 12.0.3-1799-g611dd45 (611dd45c182088ee57205d732a65c26a784e1296) luminous (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x10e) [0x7f9a57cac19e]
 2: (void PGLog::_merge_object_divergent_entries<pg_missing_set<true> >(PGLog::IndexedLog const&, hobject_t const&, std::list<pg_log_entry_t, mempool::pool_allocator<(mempool::pool_index_t)14, pg_log_entry_t> > const&, pg_info_t const&, eversion_t, pg_missing_set<true>&, PGLog::LogEntryHandler*, DoutPrefixProvider 
const*)+0x5dd) [0x7f9a5789fb0d]
 3: (void PGLog::_merge_divergent_entries<pg_missing_set<true> >(PGLog::IndexedLog const&, std::list<pg_log_entry_t, mempool::pool_allocator<(mempool::pool_index_t)14, pg_log_entry_t> >&, pg_info_t const&, eversion_t, pg_missing_set<true>&, PGLog::LogEntryHandler*, DoutPrefixProvider const*)+0x1af) [0x7f9a578a1acf]
 4: (PGLog::rewind_divergent_log(eversion_t, pg_info_t&, PGLog::LogEntryHandler*, bool&, bool&)+0x328) [0x7f9a57899378]
 5: (PGLog::merge_log(pg_info_t&, pg_log_t&, pg_shard_t, pg_info_t&, PGLog::LogEntryHandler*, bool&, bool&)+0xc24) [0x7f9a5789a144]
 6: (PG::merge_log(ObjectStore::Transaction&, pg_info_t&, pg_log_t&, pg_shard_t)+0x5c) [0x7f9a578045cc]
 7: (PG::proc_master_log(ObjectStore::Transaction&, pg_info_t&, pg_log_t&, pg_missing_set<false>&, pg_shard_t)+0x1ac) [0x7f9a5784aeac]
 8: (PG::RecoveryState::GetLog::react(PG::RecoveryState::GotLog const&)+0xc1) [0x7f9a5784b191]
 9: (boost::statechart::simple_state<PG::RecoveryState::GetLog, PG::RecoveryState::Peering, boost::mpl::list<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>, (boost
::statechart::history_mode)0>::react_impl(boost::statechart::event_base const&, void const*)+0x222) [0x7f9a57893782]
 10: (boost::statechart::state_machine<PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial, std::allocator<void>, boost::statechart::null_exception_translator>::send_event(boost::statechart::event_base const&)+0x5b) [0x7f9a5786fc5b]
 11: (boost::statechart::state_machine<PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial, std::allocator<void>, boost::statechart::null_exception_translator>::process_queued_events()+0x91) [0x7f9a5786fd91]
 12: (PG::handle_peering_event(std::shared_ptr<PG::CephPeeringEvt>, PG::RecoveryCtx*)+0x1df) [0x7f9a5783cfff]
 13: (OSD::process_peering_events(std::list<PG*, std::allocator<PG*> > const&, ThreadPool::TPHandle&)+0x212) [0x7f9a57793802]

/a/sage-2017-06-16_18:45:23-rados-wip-sage-testing-distro-basic-smithi/1293414

logs in base dir (job did not complete)


Related issues 1 (0 open1 closed)

Related to RADOS - Bug #20274: rewind divergent deletes head whiteoutResolvedSage Weil06/12/2017

Actions
Actions #1

Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to RADOS
  • Category set to Peering
  • Component(RADOS) OSD added
Actions #2

Updated by Sage Weil almost 7 years ago

  • Related to Bug #20274: rewind divergent deletes head whiteout added
Actions #3

Updated by Sage Weil almost 7 years ago

This is fallout from 986a31f02e11d915a630cab17234ec4b8040609c, the #20274 fix. When we skip error entries the prior_version may not match.

Actions #4

Updated by Sage Weil almost 7 years ago

  • Status changed from 12 to Rejected

#20274 isn't merged yet, fixing it there.

Actions

Also available in: Atom PDF