On Sun, 01 Mar 2015, Wilfred van Velzen wrote to mark lewis:
WvV>> No, that's not how it works! I've given you the answer already:
WvV>> Look at how control files work in chapter 4.1 of FTS-5005 !
ml> easy, there... i didn't say anything about bsy files, did i?
ml> should one create the busy file, mess about in the directory and then
ml> delete the bsy file or is it better to create the files
ml> elsewhere, create
ml> the busy file, move the files into the directory, then delete the busy
ml> file? i think i'll take option 2... it is the safest, to be sure...
WvV> You could, but it doesn't matter. Either way is equally safe.
the reason i prefer option 2 should have been obvious... with option 1, the
remote is prevented from transfers for the entire period of processing... with
option 2, the processing can take as long as it wants and the only time the
remote is blocked is during the copy/move of the files to the outbound or
filebox... granted, sufficiently large files being moved may take some minutes
but i think that's better than possibly blocking for tens of minutes...
eg: there's a reason why most tossers have and use a temporary directory ;)
)\/(ark
* Origin: (1:3634/12)
|