Closed infeo closed 4 years ago
Also, since this change affects OpenFiles as well, shouldn't we add some tests to make sure, modifications to OpenFiles aren't impaired by uploads?
Yes, that is recommendable.
With the latest changes on this branch it is not possible, since an upload is only scheduled when the last open file handle is closed and with https://github.com/cryptomator/fuse-cloud-access-adapter/commit/f07710b149583a65a450781d9265ba9ada71cc4f during this period it is not possible to open a new handle.
This PR addresses #5 by implementing the "copy and forget" strategy described as the (preferred) solution in the issue.