History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-323
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Arjohn Kampman
Reporter: Jeen Broekstra
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

Use FileChannel.force() to help prevent file corruption on system crash

Created: 04/Dec/06 11:10 AM   Updated: 20/Mar/08 08:45 PM
Component/s: Native Sail
Affects Version/s: 2.0-alpha-4, 1.2.6
Fix Version/s: 1.2.7, 2.0-beta5

Issue Links:
Cause
This issue causes:
SES-414 File system synchronization should be... Major Closed
 


 Description   
The Native Store uses Java nio for disk read/write operations. On the forum it was pointed out however that the FileChannel's force() method is never used in Sesame code, instead actual synchronization of the channel with the physical file is left to the JVM and OS. To improve robustness of the native store, it might be useful to look into use of the force() method.

 All   Comments   Change History      Sort Order:
Comment by Arjohn Kampman [11/Jun/07 03:27 PM]
FileChannel.force(false) is now called when a transaction has been committed