[
https://issues.apache.org/jira/browse/KAFKA-20729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nilesh Kumar resolved KAFKA-20729.
----------------------------------
Fix Version/s: 4.4.0
Resolution: Fixed
Fixed with [https://github.com/apache/kafka/pull/22646]
> RocksDBTransactionBuffer missing newBaseSnapshotIterator breaks trunk compile
> -----------------------------------------------------------------------------
>
> Key: KAFKA-20729
> URL: https://issues.apache.org/jira/browse/KAFKA-20729
> Project: Kafka
> Issue Type: Bug
> Reporter: Nilesh Kumar
> Assignee: Nilesh Kumar
> Priority: Major
> Fix For: 4.4.0
>
>
> Follow-up to KAFKA-20493 / #22625.
>
> AbstractTransactionBuffer requires newBaseSnapshotIterator() for non-owner
> (IQ) scans.
> InMemoryTransactionBuffer implements it (KAFKA-20494 / #22626), but
> RocksDBTransactionBuffer does not.
>
> Trunk fails to compile:
> RocksDBTransactionBuffer is not abstract and does not override
> abstract method newBaseSnapshotIterator(...)
>
> Fix: implement newBaseSnapshotIterator using RocksDB native snapshots and use
> it in snapshotScan().
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)