[
https://issues.apache.org/jira/browse/HDDS-16229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-16229:
----------------------------------
Labels: pull-request-available (was: )
> Add RocksDB skip-cache-only MultiGet for secondary DBs
> ------------------------------------------------------
>
> Key: HDDS-16229
> URL: https://issues.apache.org/jira/browse/HDDS-16229
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Saketa Chalamchala
> Assignee: Saketa Chalamchala
> Priority: Major
> Labels: pull-request-available
>
> Add a skip-cache-only batch read path through the HDDS DB layer and wire
> snap-diff to use it. Useful for batched gets on secondary DBs like snapshots
> for snapshot diff.
> 1. RocksDatabase.multiGet(ColumnFamily, List<byte[]>) ->
> RocksDB.multiGetAsList
> 2. RDBTable.multiGetSkipCache
> 3. Table.multiGetSkipCache(default loops getSkipCache; override in
> TypedTable, DatanodeTable, InMemoryTestTable)
> DagDiffSequentialReader.loadFileBatch → one multiGetSkipCache call per batch
> (1000 keys){{{}{}}}
> Out of scope: cache-aware `multiGet`, dedicated metrics, `CodecBuffer` fast
> path, adoption outside snap-diff.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]