Tech Off Thread

1 post

Delay Caused by Delete Operation Produces on a Write Operation: The Network File System Misbehaves

Back to Forum: Tech Off
  • User profile image
    earnshaw

    Since I have been disappointed with various backup computer programs that I have had the displeasure to use, I wrote my own.  I'm pleased with my program.  While archiving a set of files to a network share, I find my program is sometimes informed by Windows that the share has become disconnected when, in reality, it has not.   Today a backup attempt terminated early in error when I initiated in parallel deletion of a 100 gigabyte file on the share that was simultanously being written to.  Apparently the time consuming deletion operation caused a stall on the file writing operation and that was decided by Windows to be a timeout/disconnection of the share.  This is hardly the behavior that I expect from Windows.  I used try/catch to prevent an egregious mystery, but the report from Windows fails to accurately describe the "error" for what it is:  an expected delay on the write caused by external factors.  Delay is not necessarily pathognomonic of disconnection.

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.