[ 
https://issues.apache.org/jira/browse/HDDS-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756193#comment-17756193
 ] 

Siyao Meng commented on HDDS-3870:
----------------------------------

The version field is not added yet as of now: 
https://github.com/apache/ozone/blob/1a796f1b54610efd86d5aba0a91e8ae4d32e4af5/hadoop-hdds/interface-client/src/main/proto/DatanodeClientProtocol.proto#L264-L267

[~erose] Do you think we need this for upgrade?

> Datanode Ratis snapshot file should be versioned.
> -------------------------------------------------
>
>                 Key: HDDS-3870
>                 URL: https://issues.apache.org/jira/browse/HDDS-3870
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Datanode
>            Reporter: Aravindan Vijayan
>            Priority: Major
>              Labels: upgrade
>
> The Ratis snapshot file used by the Datanode contains a serialized map of 
> containerId to BCSID. To ensure that changes to this logic is 
> upgrade/downgrade proof, the file needs to be versioned. We could add a 
> version field to the 'Container2BCSIDMapProto' proto message that is 
> serialized into the file.  



--
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