monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] how to recover damaged database?


From: Kelly F. Hickel
Subject: [Monotone-devel] how to recover damaged database?
Date: Sun, 7 May 2006 17:11:13 -0500

While testing the import of our CVS repo, the machine was rebooted.  After the reboot, when I tried to continue importing, I received the message below.  In this instance, I could just start over, but it raises the question of what would happen if we were using this for real? We’d have a daily backup of course, but if this turned out to be unrecoverable, that would be “bad” (I realize that I have no reason to believe it’s unrecoverable, just wondering)….

 

Thanks,

Kelly

 

 

Original message:

address@hidden mtn_repo]$ mtn --db=imported.mtn --branch=com.mqsoftware.qpasa cvs_import /usr/cvsroot/master/qa

mtn: branches | versions

mtn:       45 |    1,225 amqsput_coa/amqsput.c,v

mtn: branches | revisions | versions

mtn:       45 |        72 |    1,225

mtn: fatal: std::logic_error: revision.cc:50: invariant 'I(null_id(edge_old_revision(i)))' violated

mtn:

mtn: this is almost certainly a bug in monotone.

mtn: please send this error message, the output of 'mtn --full-version',

mtn: and a description of what you were doing to address@hidden

mtn: discarding debug log, because I have nowhere to write it

mtn: (maybe you want --debug or --dump?)

 

 

Output of mtn –full-version:

address@hidden mtn_repo]$ mtn --full-version

monotone 0.26 (base revision: 4342565107f26ceda955b66c66b5b7ec152f314e)

Running on          : Linux 2.6.9-34.ELsmp #1 SMP Wed Mar 8 00:27:03 CST 2006 i686

C++ compiler        : GNU C++ version 3.4.5 20051201 (Red Hat 3.4.5-2)

C++ standard library: GNU libstdc++ version 20051201

Boost version       : 1_32

Changes since base revision:

unknown

 

address@hidden mtn_repo]$


reply via email to

[Prev in Thread] Current Thread [Next in Thread]