Renaming, Rollback, Share mishap

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

Moderator: SourceGear

Post Reply
rsmckee
Posts: 9
Joined: Mon Jun 13, 2005 9:56 am

Renaming, Rollback, Share mishap

Post by rsmckee » Thu May 04, 2006 2:58 pm

We use Version 3.1.5 (3546)
I'm not exact on the actual series of events, but it basically goes like this. 1. A file was shared to another, existing folder.
2. It was then modified.
3. After the modification the file was renamed.
4. It was then labeled.
5. An attempt to add a new file with the old name failed.
6. It was then rolled back to the version just prior to being renamed.
7. One last modification.

The shared file looks great. We can check it out, look at properties, etc. The properties do show that it is shared from the _Racer Master... folder.

The "Master" file is hosed. We can't do anything to it. We get the following error in the Messages pain: **Item $/AIMDB/Discovery/Racer/_Racer Master/sprocs/app/rcCommentTemplateFieldSelectPK.sql caused the transaction to fail: The object could not be found. It may have been deleted, moved or renamed.**

This is happening on more than one computer.

From the research I was able to do, the person who created this and I closed down Vault Client and IDE. We deleted our cache files (repository and LastStructureGetTime). Still got error. We went to our Pending Change Set list and cleaned that out. Deleted cache again. Still got the error. I went so far as to change my location for the Store Client Cache Folder settings. Basically starting fresh with all of the Cache files. Still get the error.

How can we clean this up? The "Master" file is unusable.

Thank you.

*******************************************
Excerpt from sgvault.log:
----5/4/2006 12:41:37 PM xxxxxx--Machine.company.com(nnn.nnn.nnn.nn)--SSL Disabled Login
----5/4/2006 12:42:22 PM xxxxxx--Machine.company.com(nnn.nnn.nnn.nn)--SSL Disabled (fd4c16a4-f508-470f-8f13-2c31df0f9971) BeginTx returned: FailObjPathInvalid
----5/4/2006 12:42:22 PM xxxxxx--Machine.company.com(nnn.nnn.nnn.nn)--SSL Disabled (fd4c16a4-f508-470f-8f13-2c31df0f9971) Delete: $/AIMDB/Discovery/Racer/_Racer Master/sprocs/app/rcCommentTemplateFieldDelete.sql returned: FailObjPathInvalid
----5/4/2006 12:42:46 PM yyyyyyy--Machine.company.com(NNN.NNN.NNN.NN)--SSL Disabled GetObjectProperties returned: FailObjPathInvalid
----5/4/2006 12:44:08 PM yyyyyyy--Machine.company.com(NNN.NNN.NNN.NN)--SSL Disabled GetObjectProperties returned: FailObjPathInvalid
----5/4/2006 12:44:08 PM xxxxxx--Machine.company.com(nnn.nnn.nnn.nn)--SSL Disabled Login
----5/4/2006 12:44:13 PM yyyyyyy--Machine.company.com(NNN.NNN.NNN.NN)--SSL Disabled (1a6c85ff-c7ae-4fb9-938d-432ed9735e7d) BeginTx returned: FailObjPathInvalid
----5/4/2006 12:44:13 PM yyyyyyy--Machine.company.com(NNN.NNN.NNN.NN)--SSL Disabled (1a6c85ff-c7ae-4fb9-938d-432ed9735e7d) Delete: $/AIMDB/Discovery/Racer/_Racer Master/sprocs/app/rcCommentTemplateFieldUpdate.sql returned: FailObjPathInvalid
----5/4/2006 12:48:25 PM xxxxxx--Machine.company.com(nnn.nnn.nnn.nn)--SSL Disabled BeginHistoryQuery returned: FailObjPathInvalid
----5/4/2006 12:50:01 PM xxxxxx--Machine.company.com(nnn.nnn.nnn.nn)--SSL Disabled Logout
----5/4/2006 12:50:06 PM xxxxxx--Machine.company.com(nnn.nnn.nnn.nn)--SSL Disabled (3f5a63e7-3fe9-44be-9b19-bbd006b8301f) BeginTx returned: FailObjPathInvalid
----5/4/2006 12:50:06 PM xxxxxx--Machine.company.com(nnn.nnn.nnn.nn)--SSL Disabled (3f5a63e7-3fe9-44be-9b19-bbd006b8301f) Delete: $/AIMDB/Discovery/Racer/_Racer Master/sprocs/app/rcCommentTemplateFieldUpdate.sql returned: FailObjPathInvalid
----5/4/2006 12:50:08 PM xxxxxx--Machine.company.com(nnn.nnn.nnn.nn)--SSL Disabled Logout

**********************************************

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri May 05, 2006 7:59 am

I've tried to reproduce this and got something similiar. I was able to add a file of the same name as the original name of the shared file, but it looks like the rollback of the shared file to a version with the original name is triggering a problem.

We'll investigate this today to find a workaround and may need further contact info from you. Please email me using the email button below.

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Fri May 05, 2006 9:06 am

As Dan mentioned, we were able to reproduce this. Here are the steps I took to make the "master" file usable again:

EDIT: Before starting, verify that in the master file's folder, there is not another file having the same name. If there is, delete it first.

1. Close all Vault clients.
2. Delete the cache files you deleted before: Repository and LastStructureGetTime (on all client machines)
3. Restart IIS
4. Log back into Vault

Can you try that and let me know the outcome? Our reproduction steps aren't exactly what you've described, but we end up with the same error so I'm about 90% sure this will fix your problem. We've also filed a bug report to fix this in a future Vault release.

Thanks,
Ian Olsen
SourceGear

Post Reply