.NET Transactional File Manager is a .NET Standard library that allows you to enlist file operations (file/folder copies, writes, deletes, appends, etc.) in distributed transactions.
MIT License
111
stars
13
forks
source link
can "multiple file move operation rollback" move back as many files as it can instead of stopping on first failure? #41
Hello,
Scenario:
I want to move 5 files from one directory to another transactionally..
while debugging code on visual studio,
In trx scope, after moving 4 files, i throw an exception
i pause before getting out of trx scope, and delete one of 4 already moved files from filesystem manually,
I expect the library to move 3 files back successfully, but as far as i see, it stops after first failure.. (in my case only 1 file was moved back, 2 of them stayed in destination)
Is it possible for it to move back files with best effort?
Hello, Scenario: I want to move 5 files from one directory to another transactionally..
while debugging code on visual studio,
I expect the library to move 3 files back successfully, but as far as i see, it stops after first failure.. (in my case only 1 file was moved back, 2 of them stayed in destination)
Is it possible for it to move back files with best effort?