Nicholas Telford created KAFKA-20492:
----------------------------------------
Summary: 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
Reporter: Nicholas Telford
Assignee: Nicholas Telford
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)