monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] how to recover damaged database?


From: Justin Patrin
Subject: Re: [Monotone-devel] how to recover damaged database?
Date: Fri, 12 May 2006 09:52:57 -0700

On 5/12/06, Kelly F. Hickel <address@hidden> wrote:
I continued to import modules one by one and did encounter the error
again, this time in a module that hadn't been imported the last time I
tried this, so it doesn't seem as if a particular cvs repo file is
causing the problem.

Then it seems Nathaniel was right and that the CVS import has a bug
when importing into a non-empty database.



address@hidden mtn_repo]$ mtn --db=eadev_import.mtn
--branch=com.mqsoftware.qpasa.qa 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?)
address@hidden mtn_repo]$

--

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
address@hidden


> -----Original Message-----
> From: Kelly F. Hickel
> Sent: Friday, May 12, 2006 7:12 AM
> To: Kelly F. Hickel; Nathaniel Smith
> Cc: address@hidden
> Subject: RE: [Monotone-devel] how to recover damaged database?
>
> Well, I created a fresh DB, imported the module that seemed to have
> caused the issue, and it didn't happen again, so we'll just hav eto
> wait and see....
>
> --
>
> Kelly F. Hickel
> Senior Software Architect
> MQSoftware, Inc
> 952.345.8677
> address@hidden
>
>
> > -----Original Message-----
> > From: address@hidden
> > [mailto:address@hidden On
> > Behalf Of Kelly F. Hickel
> > Sent: Thursday, May 11, 2006 5:48 PM
> > To: Nathaniel Smith
> > Cc: address@hidden
> > Subject: RE: [Monotone-devel] how to recover damaged database?
> >
> >
> >
> > > -----Original Message-----
> > > From: Nathaniel Smith [mailto:address@hidden
> > > Sent: Thursday, May 11, 2006 3:40 PM
> > > To: Kelly F. Hickel
> > > Cc: address@hidden
> > > Subject: Re: [Monotone-devel] how to recover damaged database?
> > >
> > > On Thu, May 11, 2006 at 07:31:43AM -0500, Kelly F. Hickel wrote:
> > > > Thanks for the information, it helps.  I had imported one cvs
> > module
> > > > which worked fine, then imported another, after that I got the
> > errors.
> > > > So, I suspect it would work with a fresh DB.  Since ultimately I
> > want
> > > > everything in a single DB, would I just import each module to
> it's
> > own
> > > > DB, then merge the DBs together?
> > >
> > > If it works, then go for it.  However, I'm still guessing that the
> > > problem will occur whenever you try to import that particular CVS
> > > module :-).  If that turns out to be the case, we can try to work
> > out
> > > what the cvs_import bug is.
> >
> > There are probably several thousand files in that cvs module, is
> there
> > any simple way to figure out which has the problem?  There are over
> > 71,000 files in our entire cvs repo, somve files have almost 2000
> > branches/tags.  If we decide to go with monotone, we'd probably
> split
> > those into 2-3 DBs.....
> >
> > >
> > > -- Nathaniel
> > >
> > > --
> > > "On arrival in my ward I was immediately served with lunch. `This
> is
> > > what you ordered yesterday.' I pointed out that I had just
> arrived,
> > > only to be told: `This is what your bed ordered.'"
> > >   -- Letter to the Editor, The Times, September 2000
> >
> >
> > -Kelly
> >
> >
> > _______________________________________________
> > Monotone-devel mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/monotone-devel


_______________________________________________
Monotone-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/monotone-devel



--
Justin Patrin




reply via email to

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