Project

General

Profile

Actions

Bug #53753

closed

mds: crash (assert hit) when merging dirfrags

Added by Venky Shankar over 2 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
pacific,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
multimds, task(medium)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This run: https://pulpito.ceph.com/vshankar-2021-12-22_07:37:44-fs-wip-vshankar-testing-20211216-114012-testing-default-smithi/6578024/

ceph version 17.0.0-9669-gc9f46754 (c9f46754c17c9bc381091a4ebba4aff4ddaf306f) quincy (dev)
 1: /lib64/libpthread.so.0(+0x12c20) [0x7f1a8114cc20]
 2: gsignal()
 3: abort()
 4: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1b0) [0x7f1a82169d12]
 5: /usr/lib64/ceph/libceph-common.so.2(+0x281ed5) [0x7f1a82169ed5]
 6: ceph-mds(+0x27c0d3) [0x56475e67c0d3]
 7: (MDCache::dispatch_fragment_dir(boost::intrusive_ptr<MDRequestImpl>&)+0x4f9) [0x56475e70abe9]
 8: (MDCache::fragment_frozen(boost::intrusive_ptr<MDRequestImpl>&, int)+0x2d8) [0x56475e70ba28]
 9: (MDCache::fragment_mark_and_complete(boost::intrusive_ptr<MDRequestImpl>&)+0xa3c) [0x56475e71c78c]
 10: (MDCache::merge_dir(CInode*, frag_t)+0x5ab) [0x56475e71d5cb]
 11: ceph-mds(+0x3ff592) [0x56475e7ff592]
 12: (Context::complete(int)+0xd) [0x56475e5be5bd]
 13: (CommonSafeTimer<ceph::fair_mutex>::timer_thread()+0x18b) [0x7f1a8227c07b]
 14: (CommonSafeTimerThread<ceph::fair_mutex>::entry()+0x11) [0x7f1a8227e081]
 15: /lib64/libpthread.so.0(+0x817a) [0x7f1a8114217a]
 16: clone()

suite intersection:

fs/thrash/workloads/{begin clusters/1a5s-mds-1c-client conf/{client mds mon osd} distro/{ubuntu_latest} mount/kclient/{mount-syntax/{v1} mount overrides/{distro/testing/{flavor/centos_latest k-testing} ms-die-on-skipped}} msgr-failures/osd-mds-delay objectstore-ec/bluestore-comp overrides/{frag prefetch_dirfrags/yes races session_timeout thrashosds-health whitelist_health whitelist_wrongly_marked_down} ranks/3 tasks/{1-thrash/mds 2-workunit/fs/snaps}}

The branch covers tests with `prefetch dirfrags: true` - https://github.com/ceph/ceph/pull/44067 - which was enabled in the above test run. We could have probably run into a bug with this config enabled.


Related issues 1 (1 open0 closed)

Related to CephFS - Bug #51278: mds: "FAILED ceph_assert(!segments.empty())"TriagedVenky Shankar

Actions
Actions #1

Updated by Patrick Donnelly over 2 years ago

mds_oft_prefetch_dirfrags is by default true which means we were already testing it in the past

Thanks. This is duplicate of https://tracker.ceph.com/issues/51278

Actions #2

Updated by Venky Shankar over 2 years ago

  • Status changed from New to Duplicate
Actions #3

Updated by Venky Shankar over 2 years ago

  • Related to Bug #51278: mds: "FAILED ceph_assert(!segments.empty())" added
Actions

Also available in: Atom PDF