Nicholas Telford created KAFKA-20498:
----------------------------------------

             Summary: RocksDBStore#readOnly implementation
                 Key: KAFKA-20498
                 URL: https://issues.apache.org/jira/browse/KAFKA-20498
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Nicholas Telford
            Assignee: Nicholas Telford


This will return a custom store implementation 
({{{}RocksDBStore#ReadOnlyView{}}}), that routes its reads ({{{}get{}}}, 
{{{}all{}}}, {{{}range{}}}, {{{}prefixScan{}}}, etc.) through a {{DBAccessor}} 
determined by the {{IsolationLevel}} specified to 
{{{}RocksDBStore#readOnly(IsolationLevel){}}}:
 * When {{{}READ_UNCOMMITTED{}}}, uses a {{DirectDBAccessor}}
 * When {{{}READ_COMMITTED{}}}, uses a {{TransactionalDBAccessor}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to