Project

General

Profile

Actions

Bug #671

closed

mds: fragstat problem after mds restart

Added by Sage Weil over 13 years ago. Updated over 7 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

CEPH_NUM_MDS=1 ./vstart.sh -d -n -x
./init-ceph restart mds
./csyn --syn makedirs 2 2 2

mds crashes with
2010-12-24 08:57:54.180478 7fd804af1700 mds0.cache predirty_journal_parents     gives f(v0 m2010-12-24 08:57:54.179137 1=0+1) on [inode 1 [...2,head] / auth v1 pv2 ap=1 snaprealm=0x7fd7fc00a900 f()->f(v0 m2010-12-24 08:57:54.179137 1=0+1) n()->n() (iauth sync r=1) (isnap sync r=1) (inest mix w=1) (ifile mix w=1) (iversion lock w=1 last_client=4111) caps={4111=pAsLsXs/-@1} | lock dirfrag caps authpin 0x7fd7fc00ad10]
2010-12-24 08:57:54.180595 7fd804af1700 log [ERR] : unmatched fragstat size on single dirfrag 1, inode has f(v0 m2010-12-24 08:57:54.179137 1=0+1), dirfrag has f(v0 m2010-12-24 08:57:54.179137 2=0+2)
mds/MDCache.cc: In function 'void MDCache::predirty_journal_parents(Mutation*, EMetaBlob*, CInode*, CDir*, int, int, snapid_t)':
mds/MDCache.cc:1920: FAILED assert(!"unmatched fragstat size" == g_conf.mds_verify_scatter)
 ceph version 0.24 (commit:afc6bb0827df2d649dc813bca9d4c6b12b224147)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x39) [0xa0e2ae]
 2: (MDCache::predirty_journal_parents(Mutation*, EMetaBlob*, CInode*, CDir*, int, int, snapid_t)+0x12bb) [0x8170bf]
 3: (Server::handle_client_mkdir(MDRequest*)+0x5ca) [0x7ac75c]
 4: (Server::dispatch_client_request(MDRequest*)+0x48e) [0x79e5be]
 5: (Server::handle_client_request(MClientRequest*)+0x942) [0x79e11a]
 6: (Server::dispatch(Message*)+0x358) [0x796a42]
 7: (MDS::_dispatch(Message*)+0x1393) [0x76ba01]
 8: (MDS::ms_dispatch(Message*)+0x38) [0x76a4f4]
 9: (Messenger::ms_deliver_dispatch(Message*)+0x70) [0x74588e]
 10: (SimpleMessenger::dispatch_entry()+0x6d5) [0x735683]
 11: (SimpleMessenger::DispatchThread::entry()+0x2c) [0x72bd5e]
 12: (Thread::_entry_func(void*)+0x23) [0x744907]
 13: (()+0x69ca) [0x7fd806ce79ca]
 14: (clone()+0x6d) [0x7fd805bda70d]

Actions #1

Updated by Sage Weil over 13 years ago

  • Assignee set to Sage Weil
Actions #2

Updated by Sage Weil over 13 years ago

fixed by commit:b40e7dc0f73bc24631e8cd79d68d790733aafb99

Actions #3

Updated by Sage Weil over 13 years ago

  • Status changed from New to Resolved
Actions #4

Updated by John Spray over 7 years ago

  • Project changed from Ceph to CephFS
  • Category deleted (1)
  • Target version deleted (v0.24.1)

Bulk updating project=ceph category=mds bugs so that I can remove the MDS category from the Ceph project to avoid confusion.

Actions

Also available in: Atom PDF