[
https://issues.apache.org/jira/browse/HDDS-13006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Swaminathan Balachandran updated HDDS-13006:
--------------------------------------------
Description: Currently SSTFiltered flag gets written after the snapshot has
been sstFiltered to a local touch file inside the snapshot rocksdb directory.
But this limits our ability to have additional properties related to the local
instance of the snapshot in the OM. We should have generic yaml file instead to
store any random properties which can be serialized and deserialized in to a
java pojo. This yaml file should not be inside the rocksdb directory and rather
should be in some other directory maybe a separate metadata directory inside
db.checkpoints inside which there could be multiple <snapshotId>.yaml files
which correspond to different snapshot. (was: Currently SSTFiltered flag gets
written to a local touch file inside the snapshot rocksdb directory. But this
limits our ability to have additional properties related to the local instance
of the snapshot in the OM. We should have generic yaml file instead to store
any random properties which can be serialized and deserialized in to a java
pojo. This yaml file should not be inside the rocksdb directory and rather
should be in some other directory maybe a separate metadata directory inside
db.checkpoints inside which there could be multiple <snapshotId>.yaml files
which correspond to different snapshot.)
> Generic Snapshot Metadata file to have snasphot properties
> ----------------------------------------------------------
>
> Key: HDDS-13006
> URL: https://issues.apache.org/jira/browse/HDDS-13006
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Swaminathan Balachandran
> Priority: Major
>
> Currently SSTFiltered flag gets written after the snapshot has been
> sstFiltered to a local touch file inside the snapshot rocksdb directory. But
> this limits our ability to have additional properties related to the local
> instance of the snapshot in the OM. We should have generic yaml file instead
> to store any random properties which can be serialized and deserialized in to
> a java pojo. This yaml file should not be inside the rocksdb directory and
> rather should be in some other directory maybe a separate metadata directory
> inside db.checkpoints inside which there could be multiple <snapshotId>.yaml
> files which correspond to different snapshot.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]