From 4141d6a2231f459cbed3c9b5fce7b54f1cdf3860 Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Tue, 25 Nov 2014 18:49:55 -0500 Subject: [PATCH] https://issues.apache.org/jira/browse/AMQ-5444 fix missed sync of recovery file --- .../org/apache/activemq/store/kahadb/disk/page/PageFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/page/PageFile.java b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/page/PageFile.java index 17d6a5400b..dbd7dc8d5d 100644 --- a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/page/PageFile.java +++ b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/page/PageFile.java @@ -1091,7 +1091,7 @@ public class PageFile { if (enableDiskSyncs) { // Sync to make sure recovery buffer writes land on disk.. if (enableRecoveryFile) { - writeFile.sync(); + recoveryFile.sync(); } writeFile.sync(); }