From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stratos Psomadakis Subject: Re: os/FileJournal.cc: 1011: FAILED assert(seq >= last_committed_seq) Date: Tue, 29 Nov 2011 13:56:47 +0200 Message-ID: <4ED4C87F.6010505@grnet.gr> References: <4ED4C68A.9060606@tuxadero.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig57A126C5AB7B6AD6BCFB27FF" Return-path: Received: from averel.grnet-hq.admin.grnet.gr ([195.251.29.3]:5980 "EHLO averel.grnet-hq.admin.grnet.gr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753052Ab1K2L45 (ORCPT ); Tue, 29 Nov 2011 06:56:57 -0500 In-Reply-To: <4ED4C68A.9060606@tuxadero.com> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Martin Mailand Cc: ceph-devel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig57A126C5AB7B6AD6BCFB27FF Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 11/29/2011 01:48 PM, Martin Mailand wrote: > Hi > I hit this assertion a few times. I use ext4 as the osd fs, so I think > we have to replay the whole journal, maybe that triggers it. > I've hit that too with v0.38 (with OSD on ext4), but when I built ceph from the master branch, the issue seemed to be resolved. > > -martin > > 2011-11-29 11:37:55.393296 7fab45dbc7a0 FileStore is up to date. > os/FileJournal.cc: In function 'virtual void > FileJournal::committed_thru(uint64_t)', in thread '7fab434cf700' > os/FileJournal.cc: 1011: FAILED assert(seq >=3D last_committed_seq) > ceph version 0.38-244-g30def38 > (commit:30def38d21b217f244db74e6c469598d794fa8a1) > 1: (FileJournal::committed_thru(unsigned long)+0xcd) [0x72e7cd] > 2: (JournalingObjectStore::commit_finish()+0xb9) [0x714d79] > 3: (FileStore::sync_entry()+0xec7) [0x70aae7] > 4: (FileStore::SyncThread::entry()+0xd) [0x7139bd] > 5: (()+0x6d8c) [0x7fab45993d8c] > 6: (clone()+0x6d) [0x7fab43fd004d] > ceph version 0.38-244-g30def38 > (commit:30def38d21b217f244db74e6c469598d794fa8a1) > 1: (FileJournal::committed_thru(unsigned long)+0xcd) [0x72e7cd] > 2: (JournalingObjectStore::commit_finish()+0xb9) [0x714d79] > 3: (FileStore::sync_entry()+0xec7) [0x70aae7] > 4: (FileStore::SyncThread::entry()+0xd) [0x7139bd] > 5: (()+0x6d8c) [0x7fab45993d8c] > 6: (clone()+0x6d) [0x7fab43fd004d] > *** Caught signal (Aborted) ** > in thread 7fab434cf700 > ceph version 0.38-244-g30def38 > (commit:30def38d21b217f244db74e6c469598d794fa8a1) > 1: /usr/bin/ceph-osd() [0x5a7ba2] > 2: (()+0xfc60) [0x7fab4599cc60] > 3: (gsignal()+0x35) [0x7fab43f1dd05] > 4: (abort()+0x186) [0x7fab43f21ab6] > 5: (__gnu_cxx::__verbose_terminate_handler()+0x11d) [0x7fab447d46dd] > 6: (()+0xb9926) [0x7fab447d2926] > 7: (()+0xb9953) [0x7fab447d2953] > 8: (()+0xb9a5e) [0x7fab447d2a5e] > 9: (ceph::__ceph_assert_fail(char const*, char const*, int, char > const*)+0x396) [0x5cd9e6] > 10: (FileJournal::committed_thru(unsigned long)+0xcd) [0x72e7cd] > 11: (JournalingObjectStore::commit_finish()+0xb9) [0x714d79] > 12: (FileStore::sync_entry()+0xec7) [0x70aae7] > 13: (FileStore::SyncThread::entry()+0xd) [0x7139bd] > 14: (()+0x6d8c) [0x7fab45993d8c] > 15: (clone()+0x6d) [0x7fab43fd004d] > > > Thread 1 (Thread 2491): > #0 0x00007fab4599cb3b in raise () from > /lib/x86_64-linux-gnu/libpthread.so.0 > #1 0x00000000005a77f2 in reraise_fatal (signum=3D6) at > global/signal_handler.cc:59 > #2 0x00000000005a7dea in handle_fatal_signal (signum=3D6) at > global/signal_handler.cc:106 > #3 > #4 0x00007fab43f1dd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6= > #5 0x00007fab43f21ab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6= > #6 0x00007fab447d46dd in __gnu_cxx::__verbose_terminate_handler() () > from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 > #7 0x00007fab447d2926 in ?? () from > /usr/lib/x86_64-linux-gnu/libstdc++.so.6 > ---Type to continue, or q to quit--- > #8 0x00007fab447d2953 in std::terminate() () from > /usr/lib/x86_64-linux-gnu/libstdc++.so.6 > #9 0x00007fab447d2a5e in __cxa_throw () from > /usr/lib/x86_64-linux-gnu/libstdc++.so.6 > #10 0x00000000005cd9e6 in ceph::__ceph_assert_fail (assertion=3D optimized out>, file=3D, line=3D out>, func=3D) > at common/assert.cc:70 > #11 0x000000000072e7cd in FileJournal::committed_thru (this=3D0x1410000= , > seq=3D4145693) at os/FileJournal.cc:1011 > #12 0x0000000000714d79 in JournalingObjectStore::commit_finish > (this=3D0x1401000) at os/JournalingObjectStore.cc:260 > #13 0x000000000070aae7 in FileStore::sync_entry (this=3D0x1401000) at > os/FileStore.cc:3079 > #14 0x00000000007139bd in FileStore::SyncThread::entry (this=3D optimized out>) at os/FileStore.h:101 > #15 0x00007fab45993d8c in start_thread () from > /lib/x86_64-linux-gnu/libpthread.so.0 > #16 0x00007fab43fd004d in clone () from /lib/x86_64-linux-gnu/libc.so.6= > #17 0x0000000000000000 in ?? () > (gdb) > (gdb) thread 1 > [Switching to thread 1 (Thread 2491)]#0 0x00007fab4599cb3b in raise > () from /lib/x86_64-linux-gnu/libpthread.so.0 > (gdb) thread 11 > Thread ID 11 not known. > (gdb) frame 11 > #11 0x000000000072e7cd in FileJournal::committed_thru (this=3D0x1410000= , > seq=3D4145693) at os/FileJournal.cc:1011 > 1011 os/FileJournal.cc: No such file or directory. > in os/FileJournal.cc > (gdb) p seq > $1 =3D 4145693 > (gdb) p last_committed_seq > $2 =3D 4145768 > (gdb) > > --=20 > To unsubscribe from this list: send the line "unsubscribe ceph-devel" i= n > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html --=20 Stratos Psomadakis --------------enig57A126C5AB7B6AD6BCFB27FF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7UyH8ACgkQid1lVeNDMmCMNgCfc94b2Rbav6e+4h2hlIRN7UWW ZWsAoJFPxThW2K/8LJdkbkUsAb+D97yD =iNi4 -----END PGP SIGNATURE----- --------------enig57A126C5AB7B6AD6BCFB27FF--