Saketa Chalamchala created HDDS-15387:
-----------------------------------------

             Summary: Add a SnapshotDiffValueParser to selectively deserialize 
fields from KeyInfo/DirectoryIndo
                 Key: HDDS-15387
                 URL: https://issues.apache.org/jira/browse/HDDS-15387
             Project: Apache Ozone
          Issue Type: Task
            Reporter: Saketa Chalamchala
            Assignee: Saketa Chalamchala


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]

Reply via email to