[
https://issues.apache.org/jira/browse/KAFKA-20492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bill Bejeck updated KAFKA-20492:
--------------------------------
Fix Version/s: 4.4.0
> Factor out RocksDBStore iteration methods to DBAccessor
> -------------------------------------------------------
>
> Key: KAFKA-20492
> URL: https://issues.apache.org/jira/browse/KAFKA-20492
> Project: Kafka
> Issue Type: Sub-task
> Components: streams
> Affects Versions: 4.4.0
> Reporter: Nicholas Telford
> Assignee: Nicholas Telford
> Priority: Major
> Fix For: 4.4.0
>
>
> Currently, {{RocksDBStore}} iteration methods
> ({{{}all{}}}/{{{}range{}}}/{{{}prefixScan{}}}) construct a wrapping
> {{RocksDbIterator}} in the {{{}ColumnFamilyAccessor{}}}; the {{DBAccessor}}
> simply returns the underlying {{{}RocksIterator{}}}.
> This won't work for our (upcoming) {{{}TransactionalDBAccessor{}}}, which
> will need to construct an instance of {{StagedMergeIterator}} (see
> KAFKA-20490).
> To prepare for this, we will need to refactor {{DBAccessor}} to add
> implementation-dependent methods for
> {{{}all{}}}/{{{}range{}}}/{{{}prefixScan{}}}, to control the construction of
> the wrapping iterators.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)