HDDS-1692. RDBTable#iterator should disabled caching of the keys during iterator. (#975)
This commit is contained in:
parent
cc1630288e
commit
ba681bb80e
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user