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?
Issues with undocheckout
Moderator: SourceGear
Issues with undocheckout
- Attachments
-
- vault errors.txt
- (17.14 KiB) Downloaded 153 times