osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis issue #2444: ARTEMIS-2186 Large message incomplete when ser...


Github user wy96f commented on the issue:

    https://github.com/apache/activemq-artemis/pull/2444
  
    > I am a bit confused as a file.close would issue a sync.
    
    It won't. As man page said:
    A successful close does not guarantee that the data has been successfully saved to disk, as the kernel defers writes.  It is not common for a file system to flush the buffers when the stream is closed.  If you need to be sure that the data is physically stored use fsync(2).  (It will depend on the disk hardware at this point.)



---