neils-dev opened a new pull request, #3582: URL: https://github.com/apache/ozone/pull/3582
## What changes were proposed in this pull request? Adding support for snapshot metadata in ozone manager. Snapshot metadata is to be stored in the ozone manager RocksDB database as an additional `SnapshotInfo` column family. Metadata for each snapshot created is captured in a `SnapshotInfo` entry (schema as defined in `CheckpointBasedDesign` doc) and inserted into the RocksDB snapshot table. Included in this is the schema `SnapshotInfo` entry builder, protobuf definition, `OmMetadataManager` integration and unit tests testing `SnapshotInfo` entry accessors, and `RocksDB` table creation, Snapshot entry additions and deletions. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-6849 ## How was this patch tested? Unit tests: i.) testing `SnapshotInfo` metadata data structure holding state info for object store snapshots. - `TestOmSnapshotInfo` ii.) testing `SnapshotInfo` `RocksDB` om database table for object store snapshots - `TestSnapshotInfo` `hadoop-ozone/common$ mvn -Dtest=TestOmSnapshotInfo test` [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 s - in org.apache.hadoop.ozone.om.helpers.TestOmSnapshotInfo [INFO] [INFO] Results: [INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 `hadoop-ozone/ozone-manager$ mvn -Dtest=TestSnapshotInfo test` [INFO] Running org.apache.hadoop.ozone.om.TestSnapshotInfo [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.859 s - in org.apache.hadoop.ozone.om.TestSnapshotInfo [INFO] [INFO] Results: [INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
