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

Re: How to delete a dead transaction

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 4 Nov 2020 15:39:33 -0500

On Wed, Nov 4, 2020 at 2:42 PM Silva, Ricardo <
ricardo.valentesilva_at_abbott.com> wrote:

> Hi,
>
> Please do you guys know how can I delete this dead transaction?
>
>
>
> The message is
>
> *Cannot write to the prototype revision file of transaction ‘11474-9jt’
> because*
>
> *a previous representation is currently being written by another process*
>
>
>
> This is error is preventing me to commit any modification to this
> particular folder.
>

I do not believe there is anything you need to delete as each commit starts
a new transaction so one commit should not interfere with another, even if
a previous one fails. In searching the list archives I found no definitive
single solution to this problem but it seems to be an issue when the server
has a problem obtaining a file lock on the server filesystem. If your
server is running Windows, perhaps an anti-virus type software is running
on the server and gets in the way of the server process. On any server OS
if your repository is hosted on a network file system perhaps there was a
problem obtaining a file lock across the network?

Wish I had better suggestions but think the problem is with your server and
the file system that the repositories are stored on. This particular error
message has only been posted a couple times in the past. My guess is that
the code tries to get a lock and fails and then maybe the error message is
written the way it is because whoever wrote the code assumed it failed to
get a lock because it was already locked. If the problem is anti-virus that
could be true as the A/V software may have started scanning the files and
is preventing the SVN server from locking them. We certainly see that type
problem happen in working copies on Windows fairly regularly.

-- 
Thanks
Mark Phippard
Received on 2020-11-04 21:39:48 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.