Error Rolling back a File

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

Moderator: SourceGear

Post Reply
Guest

Error Rolling back a File

Post by Guest » Wed Mar 10, 2004 8:05 am

Everything is working fine for me with vault except for rollbacks. When I try to roll back I get the following error:

[3/10/2004 10:27:28 AM] Preparing data to begin transaction
[3/10/2004 10:27:28 AM] Beginning transaction
[3/10/2004 10:27:28 AM] Rollback $/EDITED/Edited.cs
[3/10/2004 10:27:28 AM] Ending the transaction
[3/10/2004 10:27:31 AM] Server unavailable for transaction end
[3/10/2004 10:27:31 AM] Transaction failed
[3/10/2004 10:27:31 AM] Item $/EDITED/Edited.cs caused the transaction to fail: A failure occured during the streaming of the file.
[3/10/2004 10:27:31 AM] Transaction failed

Any ideas?

This is vault 2.0 btw over http. I tried setting the registry setting to prevent http chunking but that didn't help in this case. I didn't think it would since its only a problem with rollbacks.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed Mar 10, 2004 8:50 am

Does your server log give any clues? Perhaps you've run out of temp space on the server.

Guest

Server log

Post by Guest » Wed Mar 10, 2004 9:20 am

There is 30 gigs free on the SQL sever and several gigs free on the Web Server hosting the WebService.

The odd thing is that it only happens with Rollbacks, we can add new files, edit existing etc etc. I can view previous versions of a file, I just can't roll back to it.

The server log said this:

----3/10/2004 11:46:34 AM mylogin--mydomain(myip)--SSL Disabled
VaultServiceBase.VaultResponseRollback returned: FailFileStreamError
----3/10/2004 11:46:34 AM mylogin--mydomain(myip)--SSL Disabled
EndTxFailFileStreamError

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed Mar 10, 2004 9:24 am

Does this happen for all files, or just one file?

Guest

Any file

Post by Guest » Wed Mar 10, 2004 9:40 am

Its happened to any file I've tried. Just then to test, I made a small change to a file, checked it in, and my rollback to the previous version failed.

Guest

I just tried getting.

Post by Guest » Wed Mar 10, 2004 9:46 am

I just tried a rollback with a completely different project that I had just gotten from vault for the first time. It seems to be happening right across the board.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed Mar 10, 2004 12:09 pm

Could you check what the value of you Vault server working folder is and if there is how many files are in it? Files created by rollback are named GUID.vlt.

Guest

working directory

Post by Guest » Wed Mar 10, 2004 12:51 pm

The working directory is set to the default: C:\WINNT\Temp

There are appoximatly 415 vlt files in there from today and yesterday. I did another test rollback and it created a vlt file in that directory with the contents of the file i was rolling back. The rollback failed and the file is still in the directory.

Hmm

Hmm

Post by Hmm » Wed Mar 10, 2004 1:14 pm

Ok I've testing things a bit further and its rather odd. I inspected the contents of the 3 vlt files that got created when I tried to rollback. All 3 file versions look fine when I view them through the client using the history. However, whats strikes me as odd is if I try to roll back to version 2 of the file I get a vlt file created per version and the 2nd one looks currupt. It appears to have most of the content I added in version 2 of the file but it contains alot of odd ansi characters. The vlt file it created for version 1 and version 3 of the file looks normal. This lead me to try rolling back to version 1. I tried that for this file and it worked fine.

So now for my test file, I have version 1-5, 4 and 5 are two versions that are rollbacks of version 1. Whats even odder still is that I can't roll back from version 5 to version 4 now either, even tho it was just copied from version 1. Of those 5 versions, I can only rollback to version 1, everything else gives me the error.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed Mar 10, 2004 1:48 pm

Something odd is happening. Email me your phone number, and we'll try to track it down.

Hasty

Post by Hasty » Wed May 26, 2004 5:02 pm

Out of curiosity, did this ever get resolved? Same thing is happening to me.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Thu May 27, 2004 9:19 am

If I remember correctly, the cause of this problem was a bad network driver between the Vault Server and the SQL server, which was on a different box. Does you sgvault.log have any interesting errors in it?

Post Reply