[ https://issues.apache.org/jira/browse/FLINK-24432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-24432: ----------------------------------- Labels: pull-request-available (was: ) > RocksIteratorWrapper.seekToLast() calls the wrong RocksIterator method > ---------------------------------------------------------------------- > > Key: FLINK-24432 > URL: https://issues.apache.org/jira/browse/FLINK-24432 > Project: Flink > Issue Type: Bug > Components: Runtime / State Backends > Affects Versions: 1.14.0 > Reporter: Victor Xu > Priority: Minor > Labels: pull-request-available > > The RocksIteratorWrapper is a wrapper of RocksIterator to do additional > status check for all the methods. However, there's a typo that > RocksIteratorWrapper.*seekToLast*() method calls RocksIterator's > *seekToFirst*(), which is obviously wrong. I guess this issue wasn't found > before as it was only referenced in the > RocksTransformingIteratorWrapper.seekToLast() method and nowhere else. > {code:java} > @Override > public void seekToFirst() { > iterator.seekToFirst(); > status(); > } > @Override > public void seekToLast() { > iterator.seekToFirst(); > status(); > }{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)