[
https://issues.apache.org/jira/browse/FLINK-24432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yun Tang resolved FLINK-24432.
------------------------------
Fix Version/s: 1.14.1
1.15.0
Resolution: Fixed
merged in master: ae531b5888667abd0b194e0372bdde03581de97c
merged in release-1.14: ba6a8cd72c0abe12e50d09a5f42d74d2bea27e42
> 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
> Assignee: Victor Xu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.15.0, 1.14.1
>
>
> 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)