Project

General

Profile

Actions

Bug #49136

closed

osd/PGLog.h: FAILED ceph_assert(miter == missing.get_items().end() || (miter->second.need == i->version && miter->second.have == eversion_t()))

Added by Neha Ojha about 3 years ago. Updated about 3 years ago.

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

0%

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

Description

2021-01-30T21:31:16.097+0000 7fbc26ab6200 20 bluestore(/var/lib/ceph/osd/ceph-2).collection(3.4_head 0x5557763d7c20)  r -2 v.len 0
2021-01-30T21:31:16.097+0000 7fbc26ab6200 10 bluestore(/var/lib/ceph/osd/ceph-2) getattr 3.4_head #3:213ad94e:::benchmark_data_smithi167_38812_object108666:head# _ = -2
2021-01-30T21:31:16.097+0000 7fbc26ab6200 15 read_log_and_missing  missing 206'13552 (100'6773) delete   3:213ad94e:::benchmark_data_smithi167_38812_object108666:head by client.4531.0:217449 2021-01-30T21:29:38.107220+0000 0 ObjectCleanRegions clean_offsets: [65536~18446744073709486079], clean_omap: 0, new_object: 0
2021-01-30T21:31:16.098 INFO:tasks.ceph.osd.2.smithi167.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/16.1.0-155-g2ea23ffd/rpm/el8/BUILD/ceph-16.1.0-155-g2ea23ffd/src/osd/PGLog.h: In function 'static void PGLog::read_log_and_missing(ObjectStore*, ObjectStore::CollectionHandle&, ghobject_t, const pg_info_t&, PGLog::IndexedLog&, missing_type&, std::ostringstream&, bool, bool*, const DoutPrefixProvider*, std::set<std::__cxx11::basic_string<char> >*, bool) [with missing_type = pg_missing_set<true>; ObjectStore::CollectionHandle = boost::intrusive_ptr<ObjectStore::CollectionImpl>; std::ostringstream = std::__cxx11::basic_ostringstream<char>]' thread 7fbc26ab6200 time 2021-01-30T21:31:16.098407+0000
2021-01-30T21:31:16.099 INFO:tasks.ceph.osd.2.smithi167.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/16.1.0-155-g2ea23ffd/rpm/el8/BUILD/ceph-16.1.0-155-g2ea23ffd/src/osd/PGLog.h: 1555: FAILED ceph_assert(miter == missing.get_items().end() || (miter->second.need == i->version && miter->second.have == eversion_t()))
2021-01-30T21:31:16.100 INFO:tasks.ceph.osd.2.smithi167.stderr: ceph version 16.1.0-155-g2ea23ffd (2ea23ffdc6ff6147a50bb28b82553b92e4da3224) pacific (rc)
2021-01-30T21:31:16.100 INFO:tasks.ceph.osd.2.smithi167.stderr: 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x158) [0x5557689ef02a]
2021-01-30T21:31:16.100 INFO:tasks.ceph.osd.2.smithi167.stderr: 2: ceph-osd(+0x568244) [0x5557689ef244]
2021-01-30T21:31:16.100 INFO:tasks.ceph.osd.2.smithi167.stderr: 3: (void PGLog::read_log_and_missing<pg_missing_set<true> >(ObjectStore*, boost::intrusive_ptr<ObjectStore::CollectionImpl>&, ghobject_t, pg_info_t const&, PGLog::IndexedLog&, pg_missing_set<true>&, std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&, bool, bool*, DoutPrefixProvider const*, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, bool)+0x2526) [0x555768bbe766]
2021-01-30T21:31:16.101 INFO:tasks.ceph.osd.2.smithi167.stderr: 4: (PG::read_state(ObjectStore*)+0x13e7) [0x555768baa807]
2021-01-30T21:31:16.101 INFO:tasks.ceph.osd.2.smithi167.stderr: 5: (OSD::load_pgs()+0xa47) [0x555768af8d37]
2021-01-30T21:31:16.101 INFO:tasks.ceph.osd.2.smithi167.stderr: 6: (OSD::init()+0x26f7) [0x555768b259a7]
2021-01-30T21:31:16.101 INFO:tasks.ceph.osd.2.smithi167.stderr: 7: main()
2021-01-30T21:31:16.102 INFO:tasks.ceph.osd.2.smithi167.stderr: 8: __libc_start_main()
2021-01-30T21:31:16.102 INFO:tasks.ceph.osd.2.smithi167.stderr: 9: _start()

/a/yuriw-2021-01-29_17:59:49-rados-wip-yuri-testing-2021-01-29-0819-pacific-distro-basic-smithi/5840862


Related issues 1 (1 open0 closed)

Is duplicate of RADOS - Bug #45702: PGLog::read_log_and_missing: ceph_assert(miter == missing.get_items().end() || (miter->second.need == i->version && miter->second.have == eversion_t()))Fix Under ReviewNitzan Mordechai

Actions
Actions #1

Updated by Neha Ojha about 3 years ago

  • Related to Bug #45702: PGLog::read_log_and_missing: ceph_assert(miter == missing.get_items().end() || (miter->second.need == i->version && miter->second.have == eversion_t())) added
Actions #2

Updated by Neha Ojha about 3 years ago

  • Description updated (diff)
Actions #3

Updated by Neha Ojha about 3 years ago

I don't think this is new issue, just reoccurrence of https://tracker.ceph.com/issues/20874. Also, we only hit this is in tests because of debug_verify_stored_missing.

Actions #4

Updated by Neha Ojha about 3 years ago

  • Status changed from New to Duplicate
Actions #5

Updated by Neha Ojha about 3 years ago

  • Related to deleted (Bug #45702: PGLog::read_log_and_missing: ceph_assert(miter == missing.get_items().end() || (miter->second.need == i->version && miter->second.have == eversion_t())))
Actions #6

Updated by Neha Ojha about 3 years ago

  • Is duplicate of Bug #45702: PGLog::read_log_and_missing: ceph_assert(miter == missing.get_items().end() || (miter->second.need == i->version && miter->second.have == eversion_t())) added
Actions

Also available in: Atom PDF