I'm getting a very strange error when trying to do a simple branch. After about 6 or so minutes of churning, Vault client returns "A database error has occured (FailDBReader)".
Looking at the server log, I see the following error:
Code: Select all
----5/8/2007 11:12:47 AM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at VaultServiceSQL.VaultSqlSCC.BranchFolder(VaultSqlConn conn, String strSessionID, Int32 nRepID, Hashtable htSharedItems, HybridDictionary htTxModifiedItems, Int64 nTxID, Int32 nTxItem, Byte nTxType, VaultDateTime vdTxBegin, String strItemPath, String strNewBranchName, String strXml, BranchingModTime bmt, VaultFolder vfRoot, String strTxComment, Int32& nCopiedSecurityFolderRights, VaultFolder& vfOut) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at VaultServiceSQL.VaultSqlSCC.BranchFolder(VaultSqlConn conn, String strSessionID, Int32 nRepID, Hashtable htSharedItems, HybridDictionary htTxModifiedItems, Int64 nTxID, Int32 nTxItem, Byte nTxType, VaultDateTime vdTxBegin, String strItemPath, String strNewBranchName, String strXml, BranchingModTime bmt, VaultFolder vfRoot, String strTxComment, Int32& nCopiedSecurityFolderRights, VaultFolder& vfOut)
Also, I am using the latest version of Vault Client and Server -- 3.5.2.
Any ideas?
UPDATE: I am able to branch other roots in my repository, just not this root. What's the difference? Not exactly sure, though the other roots have no file or folder shares whereas the root that won't branch has both (though all shares are confined to that root)
Also, I've turned on DEBUG logging. Here's what's in the debug log:
Code: Select all
----5/8/2007 2:24:13 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Login
----5/8/2007 2:24:13 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetUserOptions returned: Success
----5/8/2007 2:24:13 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Success
----5/8/2007 2:24:13 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetRepositories returned: Success
----5/8/2007 2:24:13 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetUserList returned: Success
----5/8/2007 2:24:22 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Getting repository Structure-> Rep ID: 4 Base: 157 Target: -1
----5/8/2007 2:24:22 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled TreeManager: Filling empty cache with current tree.
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:3 RepID:4 Base:157 Target:157 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetRepositoryStructure returned: Success
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Getting list of checkout changes.
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Beginning SQL transaction 410
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Started
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 157
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled VaultServiceAPI::GetCheckoutListChanges() Status:0 UserID:3 RepID:4 FolderSecurity:False BaseList:0 Target List:30 RefreshFlag:True
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled SQL transaction 410 successfully committed.
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetCheckOutListChanges returned: Success
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetUserEmailOptions returned Success
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 157
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled ListWatchers returned Success
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled ListCloakedObjects returned: Success
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetRepositoryOptions returned: Success
----5/8/2007 2:24:26 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetRepositories returned: Success
----5/8/2007 2:24:51 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled BeginTx beginning transaction
----5/8/2007 2:24:51 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 157
----5/8/2007 2:24:53 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled (a96cb81e-200e-49fb-9ad7-59661c851575) BeginTx returned: Success
----5/8/2007 2:24:53 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled (a96cb81e-200e-49fb-9ad7-59661c851575) CopyBranch: $/<ADVERTISEMENT SPAM> 6.3.10 to $/<ADVERTISEMENT SPAM> 6.3.11 returned: Success
----5/8/2007 2:24:53 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Ending transaction
----5/8/2007 2:24:53 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Beginning SQL transaction 297
----5/8/2007 2:24:53 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Attempting to acquire repository lock.
----5/8/2007 2:24:53 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Acquired repository lock.
----5/8/2007 2:24:53 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled TreeManager Signal - Tx Begin - CacheLockId:296
----5/8/2007 2:24:53 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled TreeManager: A transaction is pending, but it belongs to the current user. Returning cached tree, revID 157
----5/8/2007 2:30:53 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at VaultServiceSQL.VaultSqlSCC.BranchFolder(VaultSqlConn conn, String strSessionID, Int32 nRepID, Hashtable htSharedItems, HybridDictionary htTxModifiedItems, Int64 nTxID, Int32 nTxItem, Byte nTxType, VaultDateTime vdTxBegin, String strItemPath, String strNewBranchName, String strXml, BranchingModTime bmt, VaultFolder vfRoot, String strTxComment, Int32& nCopiedSecurityFolderRights, VaultFolder& vfOut) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at VaultServiceSQL.VaultSqlSCC.BranchFolder(VaultSqlConn conn, String strSessionID, Int32 nRepID, Hashtable htSharedItems, HybridDictionary htTxModifiedItems, Int64 nTxID, Int32 nTxItem, Byte nTxType, VaultDateTime vdTxBegin, String strItemPath, String strNewBranchName, String strXml, BranchingModTime bmt, VaultFolder vfRoot, String strTxComment, Int32& nCopiedSecurityFolderRights, VaultFolder& vfOut)
----5/8/2007 2:30:53 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled EndTx(): Failed commit changes for TxID 158
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled SQL transaction 297 successfully rolled back.
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Beginning SQL transaction 438
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled SQL transaction 438 successfully committed.
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled TreeManager Signal - Tx End - TxID:158 CacheLockId:296 RepID:4
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Beginning SQL transaction 439
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled SQL transaction 439 successfully committed.
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled (a96cb81e-200e-49fb-9ad7-59661c851575) EndTx (Revision - 0) returned: FailDBReader
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled (a96cb81e-200e-49fb-9ad7-59661c851575) CopyBranch: $/<ADVERTISEMENT SPAM> 6.3.10 to $/<ADVERTISEMENT SPAM> 6.3.11 returned: FailDBReader
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Getting repository Structure-> Rep ID: 4 Base: 157 Target: -1
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 157
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:3 RepID:4 Base:157 Target:157 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetRepositoryStructure returned: Success
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Getting list of checkout changes.
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Beginning SQL transaction 462
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Started
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled SQL transaction 462 successfully committed.
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----5/8/2007 2:30:55 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled GetCheckOutListChanges returned: Success
----5/8/2007 2:31:10 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Logout
----5/8/2007 2:31:10 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled Beginning SQL transaction 482
----5/8/2007 2:31:10 PM buildmachine--casinobuild-dev.corp.kazootek.com(127.0.0.1)--SSL Disabled SQL transaction 482 successfully committed.