Finding a file - not!

Moderators: Phil Winkler, Graham Smith, Pete Tabord

Finding a file - not!

Postby Pete Tabord » Thu Oct 01, 2015 12:40 pm

This little snippet from MS:

When an application on client creates a file on a shared directory on server or application on server creates a file on shared directory on server, and file is created successfully but when the application on client try to check the existence of the recently created file by _access or other method, it reports that the file does not exists. This behavior is observed when SMB 2.0 is used. SMB 2.0 was introduced on Windows Vista and Windows Server 2008. The file does exist about after 20 seconds."


Which might explain some oddities!
Peter J. Tabord
Head of Development
Database Software Ltd.
ptabord@ffenics.com
Pete Tabord
 
Posts: 1881
Joined: Fri Sep 07, 2007 12:48 pm
Location: Caernarfon, Gwynedd, UK
Has thanked: 0 time
Been thanked: 3 times
 

Re: Finding a file - not!

Postby Graham Smith » Fri Oct 02, 2015 1:04 pm

Can you say Cache Delay Write? I knew you could.

I've seen a number of issues relating to this over the years including the fun bit where a file is written but the file table or index aren't updated due to a failed delay write. And a number of hybrid and SSD drives that have their own write cache to speed operations. Everything old (SMARTDRV) is new again.
Graham Smith
DataSmith, Delaware
"For every expert there is an equal and opposite expert.", Arthur C. Clarke (1917 - 2008)
"X-Clacks-Overhead: GNU Terry Pratchett"
User avatar
Graham Smith
 
Posts: 2501
Joined: Fri Sep 07, 2007 11:31 am
Location: Delaware, USA
Has thanked: 0 time
Been thanked: 1 time
 
 

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron