[
https://issues.apache.org/jira/browse/HDDS-15387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Saketa Chalamchala updated HDDS-15387:
--------------------------------------
Summary: Add a SnapshotDiffValueParser to selectively deserialize fields
from KeyInfo/DirectoryInfo (was: Add a SnapshotDiffValueParser to selectively
deserialize fields from KeyInfo/DirectoryIndo)
> Add a SnapshotDiffValueParser to selectively deserialize fields from
> KeyInfo/DirectoryInfo
> ------------------------------------------------------------------------------------------
>
> Key: HDDS-15387
> URL: https://issues.apache.org/jira/browse/HDDS-15387
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Saketa Chalamchala
> Assignee: Saketa Chalamchala
> Priority: Major
>
> Add a `SnapshotDiffValueParser` with methods to
> 1. Support deserializing required fields only using tag numbers from
> KeyInfo/DirectoryInfo
> - `updateID` to check for diff candidacy
> - `objectID`, `parentID`, `name/keyName` for path resolution
> - latest block layout, `size`, `fileChecksum` to indicate content change
> - ACLs, metadata, tags to indicate meaningful metadata change
> 2. Build a compare signature by hashing content and metadata change fields.
> This avoids deserializing the entire KeyInfo/DirectoryInfo value for key
> comparisons.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]