Page 1 of 1

Atomic check-in

Posted: Fri Oct 05, 2007 1:19 pm
by johan
I've been trying out FtpVC for use in our company, and so far the experience has been positive. One issue remains, however, and is unfortunately the main reason why we choose to look elsewhere for simple source control: atomic check-in.

It is a fact that this functionality is essential when working in projects with a large amount of files and dependencies. Hopefully, this can be implemented in later versions of FtpVC, as we would happily concider your software again!

Posted: Fri Oct 05, 2007 6:47 pm
by psguru
It's a good feature to have but tricky to implement on top of FTP protocol.

Posted: Mon Oct 08, 2007 12:21 pm
by johan
Why is it that tricky? It seems relativley straight-forward to keep track of the files that are changed during a check-in in a seperate text-file?

Posted: Mon Oct 08, 2007 5:47 pm
by psguru
Here's why: let's say you are checking in two files. The first file has been checked in, but the second check-in failed. The most likely reason of this failure is a problem with FTP. Now, in order to roll back the whole 2-file transaction FtpVC needs to undo the first check-in. To do so it needs to upload the original version of the first file, and that will likely fail since your FTP functionality is in trouble.

And I didn't even touch the multi-user/concurrency aspect.