hpcc-systems/HPCC-Platform — pull request #839 by rengolin (2011-10-27 14:45:22+00:00)
Title: Clean up super-file and SuperOwner on rollback

Fixes #718

On transaction failure, DFS was unable to remove the SuperOwner of the sub-file because it was never added to the super-file. I've created a new method to deal with that.

Also, files created as part of a transaction should be remove if the transaction fails. I've added a list of new files to be removed on rollback. This list is different from the internal file cache AND different from the delayed delete list on commit.

Simply deleting the super-file wasn't enough to solve #718 since the sub-file was not on the list any more, thus the necessity to create the removeSuperOwned() method as separate.

No regressions detected.