You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by ng...@apache.org on 2023/09/29 08:36:06 UTC
[jackrabbit-oak] branch trunk updated: Set LZ4 as the default compression algorithm for the indexing job. (#1133)
This is an automated email from the ASF dual-hosted git repository.
ngupta pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new ad64ecbcfb Set LZ4 as the default compression algorithm for the indexing job. (#1133)
ad64ecbcfb is described below
commit ad64ecbcfbe4f78354dfe6aaa93148e237034868
Author: Nuno Santos <ns...@adobe.com>
AuthorDate: Fri Sep 29 09:36:00 2023 +0100
Set LZ4 as the default compression algorithm for the indexing job. (#1133)
---
.../oak/index/indexer/document/flatfile/FlatFileNodeStoreBuilder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/FlatFileNodeStoreBuilder.java b/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/FlatFileNodeStoreBuilder.java
index 6a45e2e0d0..7754bb5dcb 100644
--- a/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/FlatFileNodeStoreBuilder.java
+++ b/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/FlatFileNodeStoreBuilder.java
@@ -130,7 +130,7 @@ public class FlatFileNodeStoreBuilder {
private Predicate<String> pathPredicate = path -> true;
private final boolean compressionEnabled = Boolean.parseBoolean(System.getProperty(OAK_INDEXER_USE_ZIP, "true"));
- private final boolean useLZ4 = Boolean.parseBoolean(System.getProperty(OAK_INDEXER_USE_LZ4, "false"));
+ private final boolean useLZ4 = Boolean.parseBoolean(System.getProperty(OAK_INDEXER_USE_LZ4, "true"));
private final Compression algorithm = compressionEnabled ? (useLZ4 ? new LZ4Compression() : Compression.GZIP) :
Compression.NONE;
private final boolean useTraverseWithSort = Boolean.parseBoolean(System.getProperty(OAK_INDEXER_TRAVERSE_WITH_SORT, "true"));