Issues with undocheckout

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
saret
Posts: 3
Joined: Wed Jun 11, 2008 11:01 am

Issues with undocheckout

Post by saret » Thu Jun 12, 2008 4:27 am

I did a checkout on the root of my works repository, it ran for around 20 maybe 30 minutes till I realized my mistake (originally coming from a GIT/CVS/SVN background) and cancelled the checkout. However multiple file throughout the repository are now checked out and I can't seem to fix this in an easy (or even quick) manner.

I've tried undoing the checkout from the Vault GUI client, which just hung and was not responding properly even prior to the undo checkout command (since the initial checkout). Clearing cache and unsetting a working copy doesn't fix this either.

The admin web tool failed (no error just cryptic "Application failed" error message) on a couple of attempts, and I've now resorted to using the Vault command utility to try do this.

The command tool fails with a FailDBFault on many of the folders (on just about anything but a end leaf folder) and I've now resorted to running a script I quickly built to call the undocheckout command on end leaf directories and work up from there.
However each undocheckout on an end leaf directory (which sometimes only contains 2 files) takes up to 10+ minutes to complete (whether recursive or not) and there are still 5000+ of them after running for over 48 hours (out of 5600+). I've also tried running the script outputs as a batch to avoid the constant credentials validation/login/logout which did speed it up slightly but not to the extent that it actually will get it to finish even 2 days quicker. The batch however also fails after a certain amount of lines processed (after 15 lines on last run) - the stuff it did prior to this does get released though.

At this rate I'll be running the script for at least the next 15+ days, which might be ok, expect for the fact that my pc is unusable while doing so as the cpu tends to be pegged at around 50 - 100 % usage constantly.

The database is run in simple mode, on a machine that has ample disk space and a fair amount of ram and cpu capacity.

The logs and command prompt contains various errors - some of which are contained in the attached file.
Is there any way to resolve this issue in a way that'll be done quicker - such as via the database itself if a tool doesn't exist?

(the company does have multiple Vault licenses if you require additional info - not sure if they entitled to gold membership in the forums).

Do you guys require any more info or logs to look at this issue?
Attachments
vault errors.txt
(17.14 KiB) Downloaded 152 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Jun 12, 2008 8:19 am

We can help, but we need to know which version of Vault you're on.
Linda Bauer
SourceGear
Technical Support Manager

saret
Posts: 3
Joined: Wed Jun 11, 2008 11:01 am

Post by saret » Thu Jun 12, 2008 8:35 am

Hi

It's V4.1.1 (build 18060)

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Jun 12, 2008 3:27 pm

Thanks. I'll check with our database specialist to see if we can send you a query to run.
Linda Bauer
SourceGear
Technical Support Manager

saret
Posts: 3
Joined: Wed Jun 11, 2008 11:01 am

Post by saret » Fri Jun 13, 2008 12:21 am

Great, thanks Linda

Post Reply