Actions
Bug #60055
opencrash: void PeeringState::add_log_entry(const pg_log_entry_t&, bool): assert(e.version > info.last_update)
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Telemetry
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
7f7e6b77cc8ca23e16f616566b72cc5c1bbe385a8fe5d5131beffdc7650d39b2
Crash signature (v2):
Description
Assert condition: e.version > info.last_update
Assert function: void PeeringState::add_log_entry(const pg_log_entry_t&, bool)
Sanitized backtrace:
PeeringState::add_log_entry(pg_log_entry_t const&, bool) PeeringState::append_log(std::vector<pg_log_entry_t, std::allocator<pg_log_entry_t> >&&, eversion_t, eversion_t, eversion_t, ceph::os::Transaction&, bool, bool) PrimaryLogPG::log_operation(std::vector<pg_log_entry_t, std::allocator<pg_log_entry_t> >&&, std::optional<pg_hit_set_history_t> const&, eversion_t const&, eversion_t const&, eversion_t const&, bool, ceph::os::Transaction&, bool) ReplicatedBackend::do_repop(boost::intrusive_ptr<OpRequest>) ReplicatedBackend::_handle_message(boost::intrusive_ptr<OpRequest>) PGBackend::handle_message(boost::intrusive_ptr<OpRequest>) PrimaryLogPG::do_request(boost::intrusive_ptr<OpRequest>&, ThreadPool::TPHandle&) OSD::dequeue_op(boost::intrusive_ptr<PG>, boost::intrusive_ptr<OpRequest>, ThreadPool::TPHandle&) ceph::osd::scheduler::PGOpItem::run(OSD*, OSDShard*, boost::intrusive_ptr<PG>&, ThreadPool::TPHandle&) OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*) ShardedThreadPool::shardedthreadpool_worker(unsigned int) ShardedThreadPool::WorkThreadSharded::entry()
Crash dump sample:
{ "assert_condition": "e.version > info.last_update", "assert_file": "osd/PeeringState.cc", "assert_func": "void PeeringState::add_log_entry(const pg_log_entry_t&, bool)", "assert_line": 4097, "assert_msg": "osd/PeeringState.cc: In function 'void PeeringState::add_log_entry(const pg_log_entry_t&, bool)' thread 7f116dc69700 time 2022-12-05T17:25:47.057833+0000\nosd/PeeringState.cc: 4097: FAILED ceph_assert(e.version > info.last_update)", "assert_thread_name": "tp_osd_tp", "backtrace": [ "/lib64/libpthread.so.0(+0x12cf0) [0x7f118f0b1cf0]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x18f) [0x5634ae61768b]", "ceph-osd(+0x5977f7) [0x5634ae6177f7]", "(PeeringState::add_log_entry(pg_log_entry_t const&, bool)+0x1cc) [0x5634aea5ac0c]", "(PeeringState::append_log(std::vector<pg_log_entry_t, std::allocator<pg_log_entry_t> >&&, eversion_t, eversion_t, eversion_t, ceph::os::Transaction&, bool, bool)+0x117) [0x5634aea5ad37]", "(PrimaryLogPG::log_operation(std::vector<pg_log_entry_t, std::allocator<pg_log_entry_t> >&&, std::optional<pg_hit_set_history_t> const&, eversion_t const&, eversion_t const&, eversion_t const&, bool, ceph::os::Transaction&, bool)+0xb4) [0x5634ae90cd74]", "(ReplicatedBackend::do_repop(boost::intrusive_ptr<OpRequest>)+0x9e7) [0x5634aeb31d17]", "(ReplicatedBackend::_handle_message(boost::intrusive_ptr<OpRequest>)+0x194) [0x5634aeb42c44]", "(PGBackend::handle_message(boost::intrusive_ptr<OpRequest>)+0x56) [0x5634ae9302c6]", "(PrimaryLogPG::do_request(boost::intrusive_ptr<OpRequest>&, ThreadPool::TPHandle&)+0x512) [0x5634ae8c29f2]", "(OSD::dequeue_op(boost::intrusive_ptr<PG>, boost::intrusive_ptr<OpRequest>, ThreadPool::TPHandle&)+0x1c0) [0x5634ae718900]", "(ceph::osd::scheduler::PGOpItem::run(OSD*, OSDShard*, boost::intrusive_ptr<PG>&, ThreadPool::TPHandle&)+0x6d) [0x5634aea172ad]", "(OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)+0x115f) [0x5634ae72bdbf]", "(ShardedThreadPool::shardedthreadpool_worker(unsigned int)+0x435) [0x5634aee898c5]", "(ShardedThreadPool::WorkThreadSharded::entry()+0x14) [0x5634aee8bfe4]", "/lib64/libpthread.so.0(+0x81ca) [0x7f118f0a71ca]", "clone()" ], "ceph_version": "17.2.5", "crash_id": "2022-12-05T17:25:47.100663Z_74accede-398f-4889-a543-6806c7e40c18", "entity_name": "osd.e0c9d771901fdada10f4dfe4eaa32a32593d07fc", "os_id": "centos", "os_name": "CentOS Stream", "os_version": "8", "os_version_id": "8", "process_name": "ceph-osd", "stack_sig": "7f7e6b77cc8ca23e16f616566b72cc5c1bbe385a8fe5d5131beffdc7650d39b2", "timestamp": "2022-12-05T17:25:47.100663Z", "utsname_machine": "x86_64", "utsname_release": "5.4.0-131-generic", "utsname_sysname": "Linux", "utsname_version": "#147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022" }
Actions