Is there any conflict between NFS and calling getFD().sync()?
- by Dr.Dredel
My boss is worried that our NFS file system will not be happy with the jboss run java process calling getFD().sync on the files we are writing.
We have noticed that frequently the time stamp on the created file is minutes (sometimes as many as 15 minutes) after the log claims the file was finished writing. My only guess is that the NFS is hanging on to the file in memory and not writing it till it feels like it. sync should solve that probelm, right?
I also noticed that there is never a close() called on the file. Wondering if that could have been the cause as well?
any thoughts appreciated.