[Joafip-svn] SF.net SVN: joafip:[2958] trunk/joafip-heapfile/src/main/java/net/sf/joafip /heapfile
Brought to you by:
luc_peuvrier
|
From: <luc...@us...> - 2011-10-31 03:40:18
|
Revision: 2958
http://joafip.svn.sourceforge.net/joafip/?rev=2958&view=rev
Author: luc_peuvrier
Date: 2011-10-31 03:40:12 +0000 (Mon, 31 Oct 2011)
Log Message:
-----------
cache was not activated when crash safe mode enabled
Modified Paths:
--------------
trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/service/HeapFileDataManager.java
Modified: trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/service/HeapFileDataManager.java
===================================================================
--- trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/service/HeapFileDataManager.java 2011-10-31 03:08:14 UTC (rev 2957)
+++ trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/service/HeapFileDataManager.java 2011-10-31 03:40:12 UTC (rev 2958)
@@ -137,7 +137,8 @@
crashSafeMode = true;
if (setup.isUseCacheMode()) {
fileForStorable = new FileForStorable(setup.getDataFile(),
- setup.getPageSize(), setup.getMaxPage());
+ setup.getPageSize(), setup.getMaxPage(),
+ maxFileOperationRetry, fileOperationRetryMsDelay);
/* no read cache on backup copy, not used for read */
fileForStorableBackup = new FileForStorable(
setup.getBackupDataFile(), setup.getPageSize(),
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|