From 6e7701d49bd7d1615eb7c1295d798956cff010f2 Mon Sep 17 00:00:00 2001 From: Alexander Kiel Date: Mon, 27 Nov 2023 11:50:53 -0800 Subject: [PATCH] Fix JavaDoc of setCompactionReadaheadSize (#12090) Summary: Recently in https://github.com/facebook/rocksdb/issues/11762 the default of `compaction_readahead_size` changed from 0 to 2 MB. Closes: https://github.com/facebook/rocksdb/issues/12088 Pull Request resolved: https://github.com/facebook/rocksdb/pull/12090 Reviewed By: jaykorean Differential Revision: D51531762 Pulled By: ajkr fbshipit-source-id: a0b7145a1dca95ee90ffa3553f6eeacce6424aee --- java/src/main/java/org/rocksdb/MutableDBOptionsInterface.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/main/java/org/rocksdb/MutableDBOptionsInterface.java b/java/src/main/java/org/rocksdb/MutableDBOptionsInterface.java index 8bf7b0d64b..1521fb4d08 100644 --- a/java/src/main/java/org/rocksdb/MutableDBOptionsInterface.java +++ b/java/src/main/java/org/rocksdb/MutableDBOptionsInterface.java @@ -418,7 +418,7 @@ public interface MutableDBOptionsInterface * That way RocksDB's compaction is doing sequential instead of random reads. *

- * Default: 0 + * Default: 2MB * * @param compactionReadaheadSize The compaction read-ahead size *