java - How to snapshot a file in meantime modify it? -
now try conquer problem. problem have file may update in random time, clients download it, when clients download log file, need snapshot file. however, file may update when downing. how make sure copy of log file same user downed one?
you need alter download process.
when click download, should first copy file (your snapshot).
then send them copy of file, not active one.
Comments
Post a Comment