[
https://issues.apache.org/jira/browse/HDDS-8966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-8966:
-----------------------------------
Fix Version/s: 1.4.0
Resolution: Implemented
Status: Resolved (was: Patch Available)
> Replace test-specific unknown value with real one
> -------------------------------------------------
>
> Key: HDDS-8966
> URL: https://issues.apache.org/jira/browse/HDDS-8966
> Project: Apache Ozone
> Issue Type: Improvement
> Components: Ozone Manager
> Affects Versions: 1.4.0
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> Protobuf guide
> [recommends|https://protobuf.dev/programming-guides/dos-donts/#do-include-an-unspecified-value-in-an-enum]:
> bq. Enums should include a default FOO_UNSPECIFIED value as the first value
> in the declaration.
> Rationale:
> bq. When new values are added to a proto2 enum, old clients will see the
> field as unset and the getter will return the default value or the
> first-declared value if no default exists.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]