[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Manually removing corrupted TXNs

From: <kmradke_at_rockwellcollins.com>
Date: Wed, 10 Nov 2010 11:41:33 -0600

Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote on 11/10/2010 10:35:16 AM:

> > I finally wrote a simple script to remove dead transactions older than
1
> > week. It worked
> > great, but there appears to be a few old TXNs that are somehow
> > corrupted/malformed.
> >
> > Any issues with just going into the fsfs db/transactions directory and

> > removing
> > the offending named directory manually?
> >
>
> I'm not sure. Does 'svnadmin rmtxns' not work?

Good question. My script was failing due to svnlook, but
it appears svnadmin rmxtns also fails.

H:\svn\repos>svnadmin rmtxns the_repo 77-1
svnadmin: Malformed file

I'm guessing two things here. It is probably safe to
just remove the dir, and that rmtxns probably should
be changed to not require a transaction be valid
before removing it...

Kevin R.
Received on 2010-11-10 18:42:14 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.