3 ms·
Windows Vista introduced in 2006 a transactional file system API for user applications. It was recently deprecated because almost nobody uses it. https://lear
by hurryer 3y ago
Windows Vista introduced in 2006 a transactional file system API for user applications.
It was recently deprecated because almost nobody uses it.
https://learn.microsoft.com/en-us/windows/win32/fileio/transactional-ntfs-portal https://learn.microsoft.com/en-us/windows/win32/fileio/trans...
- josephg 3y agoI wonder why it wasn't used. Any insights? IMO they should have just made the regular write calls atomic across the OS and have applications opt out if they want.
- crabbone 3y agoMy guess would be that nobody seriously considers Windows servers for enterprise storage. I've worked for several storage companies and Windows support in that world is something that people usually want to overlook, or to provide a bare minimum of. I.e. think about companies like Dell EMC (their storage division) or Infinidat etc... it's mostly Linux with rarely some BSD in the mix. Non-atomic stuff is simpler on the implementation. Even if the behavior is worse for the user, it's easier to write, and you have fewer requirements to satisfy. So, not having a real pressure from the customers, it's just easier not to do this.
- hurryer 3y agoThey mention in the docs it was somewhat complicated to use. Very few apps need more than the ability to atomically swap a file. And for the complicated multi write cases, a lot of software just use sqlite which deals with it.
- deleted 3y ago[deleted]