Attila Doroszlai created HDDS-8966:
--------------------------------------

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


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]

Reply via email to