we've been using Vault for a few years now and recently upgraded to 4.0. I was hoping there was a better solution for obliterate that has always been troublesome, but it doesn't seem like it. I have 14000 files that are deleted that I need to obliterate, but it's more or less failing every time on some big project folders.
First I don't like that I have to click thru all folder to find items to obliterate. I'd like to just obliterate everything that has been deleted for 30 days or something. Is there a feature like that?
But when I manually try to obliterate I usually get a lot of "Unable to Obliterate item: $/xxxx". Usually it lists files that are in branches that it relates to. However some of the listed branches neither exist or are deleted. I've checked the vault client and it doesn't show up. If I click to one of the folders in the obliterate tree view then that folder shows up in the tree, but there's nothing to obliterate. That's very weird since it doesn't show up in the vault client and there are no files to obliterate in that folder. It seems my database is a little out of sync, is there a tool to fix and repair it? I've run the DB maintenance tasks.
I figured I could export one of the main folders, delete it and import it again to get rid of deleted items. Unfortunately I get an error saying the tree structure couldn't be built. This is what the last couple of lines in the server log says:
Code: Select all
----2/19/2008 11:53:33 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 73501
----2/19/2008 11:53:33 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled GetTxItemDetail returned: Success
----2/19/2008 11:53:33 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled Getting Vault Folder Export delta -> Rep ID: 1 Base: 66066 Target: 66060
----2/19/2008 11:53:33 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled VaultAdminServiceAPI::GetFolderExportRepositoryDelta() RepID:1 Base:66066 Target:66060 Calling VaultSqlSCC.GetRepositoryTreeDelta().
----2/19/2008 11:53:34 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled GetFolderExportRepositoryDelta returned: Success
----2/19/2008 11:53:34 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 73501
----2/19/2008 11:53:34 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled GetTxItemDetail returned: Success
----2/19/2008 11:53:34 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled Getting Vault Folder Export delta -> Rep ID: 1 Base: 66060 Target: 65949
----2/19/2008 11:53:34 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled VaultAdminServiceAPI::GetFolderExportRepositoryDelta() RepID:1 Base:66060 Target:65949 Calling VaultSqlSCC.GetRepositoryTreeDelta().
----2/19/2008 11:53:35 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled VaultServiceSQL.VaultDbTreeException: An error was encountered looking up the owner of a folder or file for the source code tree. The tree was not built. Base TreeRevision: 66060 Target TreeRevision: 65949 TreeLevel: 4 ParentObjVerID: 0 ObjID: 6566 ObjVersion: 65 Name: Source PinFrom: 0 ParentPathHash: 0x6693E261D750217E23F79F16D469A09A PathHash: 0x1957C194B404E7F1471E1B8049DDC495
at VaultServiceSQL.VaultRepUtil.BuildTreeDelta(SqlDataReader dr, Int64 nBaseRevID, Int64 nTargetRevID, Hashtable htSharedItems)
at VaultServiceSQL.VaultSqlSCC.GetFolderExportRepositoryDelta(VaultSqlConn conn, String strSessionID, Int32 nRepID, Int64 nBaseRevID, Int64 nTargetRevID, VaultRepositoryDelta& rep) at VaultServiceSQL.VaultRepUtil.BuildTreeDelta(SqlDataReader dr, Int64 nBaseRevID, Int64 nTargetRevID, Hashtable htSharedItems)
at VaultServiceSQL.VaultSqlSCC.GetFolderExportRepositoryDelta(VaultSqlConn conn, String strSessionID, Int32 nRepID, Int64 nBaseRevID, Int64 nTargetRevID, VaultRepositoryDelta& rep)
----2/19/2008 11:53:35 PM admin--san-ocssg-pr.opencourse.local(127.0.0.1)--SSL Disabled GetFolderExportRepositoryDelta returned: FailDBInvalidTreeRecords
Please help,
/Hakan