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

Re: svn upgrade fails with database table is locked

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Tue, 23 Aug 2011 16:40:35 +0400

On Tue, Aug 23, 2011 at 16:18, Bert Huijben <bert_at_qqmail.nl> wrote:
>
>
>> -----Original Message-----
>> From: Markus Schaber [mailto:m.schaber_at_3s-software.com]
>> Sent: dinsdag 23 augustus 2011 8:31
>> To: Ivan Zhakov; Bert Huijben
>> Cc: dev_at_subversion.apache.org
>> Subject: AW: svn upgrade fails with database table is locked
>>
>> Hi,
>>
>> Von: Ivan Zhakov [mailto:ivan_at_visualsvn.com]
>>
>> > > I did try with
>> > >
>> > > D:\svntest\brokenwc>"C:\Program Files\VisualSVN\bin\svn.exe" --
>> version
>> > > svn, version 1.7.0-beta3 (Beta 3)
>> > >   compiled Aug 12 2011, 13:22:42
>> > >
>> > > The result is that the upgrade fails with a different error message:
>> > >
>> > > D:\svntest\brokenwc>"C:\Program Files\VisualSVN\bin\svn.exe"
>> upgrade
>> > > Upgraded '.'
>> > > Upgraded 'Device'
>> > > Upgraded 'Device\Plc Logic'
>> > > Upgraded 'Device\Plc Logic\Application'
>> > > Upgraded 'Device\Plc Logic\Application\Library Manager'
>> > > svn: E155010: The node
>> 'D:\svntest\brokenwc\.svn\tmp\wcng\Device\Plc
>> > Logic\Application\PLC_PRG\svnobj' was not found.
>> > >
>> > >
>> > It's very interesting. It seems that disabling SQLite shared cache fixes
>> > one problem and discovers another. I'm not WCNG expert, may be other
>> > Subversion developers have more knowledge of possible reason of "The
>> node
>> > .. was not found" error.
>> >
>> > Bert do you have any ideas why this could happen?
>>
>> Again, I offer to send the zipped working copy to interested developers.
>> (7zip is 19kb, zip is 114kb).
>
> Ok, I found the cause for this issue. Our upgrade code doesn't handle 'svn lock'-locks stored in the working copy correctly.
>
> I'm working on a fix, but I'm getting some lunch before continuing.
>
Great! It would be great to write test case for this problem. Does our
test suite supports writing test cases for such issues?

-- 
Ivan Zhakov
Received on 2011-08-23 14:41:31 CEST

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

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