Error Rolling back a File
Moderator: SourceGear
Error Rolling back a File
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.
[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.
Server log
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
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
I just tried getting.
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.
working directory
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.
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
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.
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.