HDDS-1692. RDBTable#iterator should disabled caching of the keys during iterator. (#975)

This commit is contained in:
Bharat Viswanadham 2019-06-16 22:00:39 -07:00 committed by GitHub
parent cc1630288e
commit ba681bb80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,6 +162,7 @@ public void deleteWithBatch(BatchOperation batch, byte[] key)
@Override
public TableIterator<byte[], ByteArrayKeyValue> iterator() {
ReadOptions readOptions = new ReadOptions();
readOptions.setFillCache(false);
return new RDBStoreIterator(db.newIterator(handle, readOptions));
}