Check status unsafe
This commit is contained in:
parent
6a68c8452b
commit
591963f630
@ -225,6 +225,7 @@ public class RocksDBFile implements Comparable<RocksDBFile> {
|
||||
}
|
||||
return new RocksDBFileIterationStateBegin(meta);
|
||||
} else {
|
||||
rocksIterator.statusUnsafe();
|
||||
rawKey = rocksIterator.keyBuf().copy();
|
||||
rawValue = rocksIterator.valueBuf().copy();
|
||||
rocksIterator.next();
|
||||
|
@ -168,6 +168,10 @@ public abstract class RocksIteratorObj extends SimpleResource {
|
||||
rocksIterator.next();
|
||||
}
|
||||
|
||||
public synchronized void statusUnsafe() throws RocksDBException {
|
||||
rocksIterator.status();
|
||||
}
|
||||
|
||||
public synchronized void seekToLast() throws RocksDBException {
|
||||
ensureOpen();
|
||||
startedIterSeek.increment();
|
||||
|
Loading…
Reference in New Issue
Block a user