You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2021/01/17 22:58:20 UTC
[lucene-solr] branch master updated (eb24e95 -> a7747b6)
This is an automated email from the ASF dual-hosted git repository.
uschindler pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git.
from eb24e95 LUCENE-9661: Fix deadlock in TermsEnum.EMPTY
add a7747b6 LUCENE-8982: Make NativeUnixDirectory pure java with FileChannel direct IO flag, and rename to DirectIODirectory (#2052)
No new revisions were added by this update.
Summary of changes:
gradle/native/disable-native.gradle | 4 +-
gradle/testing/randomization/policies/tests.policy | 2 +-
lucene/CHANGES.txt | 3 +
lucene/misc/native/build.gradle | 10 +-
.../misc/native/src/main/posix/NativePosixUtil.cpp | 346 ----------------
.../lucene/misc/store/DirectIODirectory.java | 443 ++++++++++++++++++++
.../apache/lucene/misc/store/NativePosixUtil.java | 55 ---
.../lucene/misc/store/NativeUnixDirectory.java | 451 ---------------------
lucene/misc/src/java/overview.html | 27 +-
.../lucene/misc/store/NativeUnixDirectoryTest.java | 48 ---
.../lucene/misc/store/TestDirectIODirectory.java | 139 +++++++
.../apache/lucene/store/BaseDirectoryTestCase.java | 4 +-
12 files changed, 595 insertions(+), 937 deletions(-)
delete mode 100644 lucene/misc/native/src/main/posix/NativePosixUtil.cpp
create mode 100644 lucene/misc/src/java/org/apache/lucene/misc/store/DirectIODirectory.java
delete mode 100644 lucene/misc/src/java/org/apache/lucene/misc/store/NativePosixUtil.java
delete mode 100644 lucene/misc/src/java/org/apache/lucene/misc/store/NativeUnixDirectory.java
delete mode 100644 lucene/misc/src/test/org/apache/lucene/misc/store/NativeUnixDirectoryTest.java
create mode 100644 lucene/misc/src/test/org/apache/lucene/misc/store/TestDirectIODirectory.java