EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Multiple file move via explorer fails after 1st file move

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#30061
Posted: 07/17/2014 13:04:33
by Simon Coghlan (Standard support level)
Joined: 12/06/2011
Posts: 19

Here is the simplified scenario:
CBFS 5.1.149 mounted with the following cache options set to true:
CbFs.NonexistentFilesCacheEnabled = useInternalCaches;
CbFs.MetaDataCacheEnabled = useInternalCaches;
CbFs.FileCacheEnabled = useInternalCaches;


  • Select 2 files in windows explorer (This test is on Win 7SP1 x64)
  • Drag to a sub-directory causing a move operation
  • CBFS routes the first file through "RenameOrMoveFile"
  • 1st file completes with no errors
  • 2nd file is not routed and windows explorer "Complains" about not being able to find the (2nd) file


Set the above cache's to false and the process succeeds; (i.e. there are 2 calls to the "RenameOrMoveFile")

Note other options set as follows:
// Make this a local style disk
CbFs.StorageCharacteristics = 0;
CbFs.CallAllOpenCloseCallbacks = true;
CbFs.UseFileCreationFlags = true;
CbFs.SerializeCallbacks = true;
CbFs.ParallelProcessingAllowed = false;
CbFs.FileSystemName = "NTFS";
#30062
Posted: 07/17/2014 13:14:57
by Simon Coghlan (Standard support level)
Joined: 12/06/2011
Posts: 19

The above scenario was reported to me from an external tester,
then I reproduced it a few times to simplify the scenario (Each time restarting the service that hosted the CBFS)

Here is a curious thing,
Setting the 3 to false
then
Setting them to true

before calling CbFs.CreateStorage()

Makes it work as expected....


BUT, since doing the code change above, and then resetting them back to true as before, I cannot reproduce the problem.
#30063
Posted: 07/18/2014 02:56:31
by Volodymyr Zinin (EldoS Corp.)

Moved to HelpDesk for further investigation.

Reply

Statistics

Topic viewed 2755 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!