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

Re: empty result for svnadmin lstxns although there is a large rev-file in txn-protorevs

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 15 Feb 2020 14:16:55 +0000

Niko Paltzer wrote on Fri, 14 Feb 2020 13:55 +0100:
> Since I want to get rid of this transaction with svnadmin rmtxns, I'd like
> to know why it's not listed.
>

The immediate reason is that svn_fs_fs__list_transactions() only lists
db/transactions/*.txn, but I don't know offhand why db/transactions/24247-ixo.txn/
wouldn't exist in your case.

> And as a workaround: Is it save to manually delete the 24247-ixo.rev (and
> 24247-ixo.rev-lock)?

I'm not sure.

A quick look into svn_fs_fs__hotcopy() suggests 'svnadmin hotcopy'
doesn't copy transactions/ and txn-revprops/. If that's right, deleting
the files _while mod_dav_svn/svnserve aren't running_ should be safe.

The relevant internal documentation is in subversion/libsvn_fs_fs/structure.

Sorry for not having a more definite answer. I have worked on FSFS before,
but nevertheless am not familiar with the commit-in-progress codepaths.

Cheers,

Daniel
Received on 2020-02-15 15:17:07 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.