jankotek/MapDB — pull request #256 by harishreedharan (2013-12-20 01:26:42+00:00)
Title: Don't sync files to disk if deleteFilesAfterClose is true.

Fsyncing files if deleteFilesAfterClose causes an unneeded latency when the files are going to be deleted anyway. This fix checks if the files will be deleted immediately before syncing.