This is an automated email from the ASF dual-hosted git repository.
bharat pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new ba681bb HDDS-1692. RDBTable#iterator should disabled caching of the
keys during iterator. (#975)
ba681bb is described below
commit ba681bb80ef246e937bf0ddc11bd22327feb1c3c
Author: Bharat Viswanadham <[email protected]>
AuthorDate: Sun Jun 16 22:00:39 2019 -0700
HDDS-1692. RDBTable#iterator should disabled caching of the keys during
iterator. (#975)
---
.../common/src/main/java/org/apache/hadoop/utils/db/RDBTable.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/RDBTable.java
b/hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/RDBTable.java
index 4213e2b..4347917 100644
--- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/RDBTable.java
+++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/RDBTable.java
@@ -162,6 +162,7 @@ class RDBTable implements Table<byte[], byte[]> {
@Override
public TableIterator<byte[], ByteArrayKeyValue> iterator() {
ReadOptions readOptions = new ReadOptions();
+ readOptions.setFillCache(false);
return new RDBStoreIterator(db.newIterator(handle, readOptions));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]