[
https://issues.apache.org/jira/browse/HDDS-14019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang resolved HDDS-14019.
------------------------------------
Resolution: Duplicate
Resolving as a duplicate of HDDS-14031. Both issues request replacing the
PersistentMap/RocksDbPersistentMap implementation used for snapshot diff
storage with the existing DBStore framework and buffer-based codecs. HDDS-14031
remains the canonical open issue.
The work is still needed: SnapshotDiffManager continues to use PersistentMap
and RocksDbPersistentMap for the job/report tables and intermediate maps.
Evidence at d0949f291791c399f3e54409fcb92656a80597a4:
*
https://github.com/apache/ozone/blob/d0949f291791c399f3e54409fcb92656a80597a4/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotDiffManager.java#L188
*
https://github.com/apache/ozone/blob/d0949f291791c399f3e54409fcb92656a80597a4/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotDiffManager.java#L259
> Get rid of PersistentMap implementation and use DBStore
> --------------------------------------------------------
>
> Key: HDDS-14019
> URL: https://issues.apache.org/jira/browse/HDDS-14019
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Swaminathan Balachandran
> Priority: Major
>
> Currently PersistentMap is redundantly implemented for managin Snapshot DB
> which is unoptimal in comparison to RDBStore. Cleanup this entire usage and
> move to using RDBStore tables with CodecBuffer instead of byte arrays which
> can have jvm GC issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]