Questions tagged [txf]

TxF is an abbreviation for “transactional NTFS”.

Transactional operations on NTFS volumes have been introduced in Windows Vista.

9 questions
22
votes
5 answers

Any real-world, enterprise-grade experience with Transactional NTFS (TxF)?

Background: I am aware of this SO question about Transactional NTFS (TxF) and this article describing how to use it, but I am looking for real-world experience with a reasonably high-volume enterprise system where lots of blob data (say documents…
Jerry Bullard
  • 6,116
  • 18
  • 27
7
votes
2 answers

.net durable resource manager for transactional filesystem access

I'm trying to wrap my head around the use of the System.Transactions namespace in C#. I've found some documentation on MSDN regarding using resource managers, but it only covers volatile, in-memory resource managers in any detail (like…
sgibbons
  • 3,620
  • 11
  • 36
  • 31
7
votes
2 answers

Alternatives to using Transactional NTFS

Given that Microsoft has deprecated Transactional NTFS (TxF): Microsoft strongly recommends developers utilize alternative means to achieve your application’s needs. Many scenarios that TxF was developed for can be achieved through simpler and more…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
2
votes
4 answers

Vista Phantom Directory

We have a program that the installer checks for the existence of a config file, and if it exists, it doesn't copy that file over (it assumes the user has modified their config file and wants to keep those modifications). Unfortunately, this is a…
Kris Erickson
  • 33,454
  • 26
  • 120
  • 175
2
votes
3 answers

Transactional NTFS (TxF) on Process.Start()

Consider the following code: try { using(TransactionScope) { Process.Start("SQLInstaller.EXE"); throw new Exception(); Commit(); } } catch(Exception ex) { //Do something here } Will the changes made by…
Ian
  • 5,625
  • 11
  • 57
  • 93
0
votes
1 answer

safely lock a file then move? windows

I have a file and need to ensure it exist before inserting a row into the db. After i insert i need to use the PK as part of the filename and move it into another location. How do i check if it exist then lock it so it cant be deleted until i can…
user34537
0
votes
1 answer

Transactional NTFS wrapper

I'm using transactional NTFS wrapper that is available on msdn here to support atomic transactions of file system operations, the available example only shows how to work with transactedFiles but I need also to create, move and copy transacted…
Lisa
  • 3,121
  • 15
  • 53
  • 85
-1
votes
1 answer

How to determine if directory was created in current transaction?

I have some file/directory managment tool based on TxF system. Basically it's working like this: I'm creating transaction using CreateTransaction function. Somewhere later in the code I'm creating many directories using CreateDirectoryTransacted…
Adrian
  • 149
  • 1
  • 8
-1
votes
1 answer

Blocking write locks with transacted NTFS

According to the MSDN documentation, transactional NTFS doesn't seem to allow one to block on opening a file for write - instead the open operation fails with ERROR_SHARING_VIOLATION. I'd like to block on writes instead - how can I do this? Ideally…
bdonlan
  • 224,562
  • 31
  • 268
  • 324