geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [2/8] geode git commit: GEODE-2475: Upgrade Lucene version to 6.4.1
Date Tue, 14 Feb 2017 05:01:48 GMT
GEODE-2475: Upgrade Lucene version to 6.4.1


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/5d98a8c9
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/5d98a8c9
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/5d98a8c9

Branch: refs/heads/feature/GEODE-2474
Commit: 5d98a8c9873271e10b604cd9066f6d50bd881172
Parents: f19ccfd
Author: Jason Huynh <huynhja@gmail.com>
Authored: Mon Feb 13 13:31:04 2017 -0800
Committer: Jason Huynh <huynhja@gmail.com>
Committed: Mon Feb 13 13:41:19 2017 -0800

----------------------------------------------------------------------
 .../cache/lucene/internal/directory/RegionDirectory.java     | 8 +++++++-
 gradle/dependency-versions.properties                        | 2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/5d98a8c9/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/directory/RegionDirectory.java
----------------------------------------------------------------------
diff --git a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/directory/RegionDirectory.java
b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/directory/RegionDirectory.java
index 2623e16..362cf93 100644
--- a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/directory/RegionDirectory.java
+++ b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/directory/RegionDirectory.java
@@ -100,7 +100,13 @@ public class RegionDirectory extends BaseDirectory {
   }
 
   @Override
-  public void renameFile(String source, String dest) throws IOException {
+  public void syncMetaData() throws IOException {
+    ensureOpen();
+    // Region does not need to sync to disk
+  }
+
+  @Override
+  public void rename(String source, String dest) throws IOException {
     ensureOpen();
     fs.renameFile(source, dest);
   }

http://git-wip-us.apache.org/repos/asf/geode/blob/5d98a8c9/gradle/dependency-versions.properties
----------------------------------------------------------------------
diff --git a/gradle/dependency-versions.properties b/gradle/dependency-versions.properties
index 75b1243..12a76b4 100644
--- a/gradle/dependency-versions.properties
+++ b/gradle/dependency-versions.properties
@@ -76,7 +76,7 @@ junit.version = 4.12
 junit-quickcheck.version = 0.7
 JUnitParams.version = 1.0.6
 log4j.version = 2.7
-lucene.version = 6.0.0
+lucene.version = 6.4.1
 mockito-core.version = 1.10.19
 mockrunner.version = 1.1.2
 mortbay-jetty-servlet-api.version=2.5.20110712


Mime
View raw message