Open
Description
Lets make a Filesystem implementation that does all the right fsync
things when you perform a write operation. It should share most of its code with the regular Filesystem implementations.
class FileSystem {
...
/**
* Returns a filesystem that operates on the same data as this file system,
* but whose write operations do not return until they are durable-enough
* to survive an operating system crash or power loss. Such writes may
* still be lost in the event of data corruption bug or hardware failure.
*/
val withForceDurable(): FileSystem
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment