Attila Doroszlai created HDDS-16309:
---------------------------------------

             Summary: Ordering in generated config file should be reproducible
                 Key: HDDS-16309
                 URL: https://issues.apache.org/jira/browse/HDDS-16309
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


Properties in generated default config files should be deterministic to support 
reproducible builds.

{code}
├── hdds-common-default.xml
│ ├── hdds-common-default.xml
│ │┄ Ordering differences only
│ │ @@ -117,20 +117,14 @@
│ │    <property>
│ │      <name>ozone.test.config.with.prefix.included</name>
│ │      <value>any</value>
│ │      <description>Test property whose name includes the group 
prefix</description>
│ │      <tag/>
│ │    </property>
│ │    <property>
│ │ -    <name>ozone.scm.ha.raft.server.log.appender.wait-time.min</name>
│ │ -    <value>0ms</value>
│ │ -    <description>Minimum wait time between two appendEntries 
calls.</description>
│ │ -    <tag>OZONE, SCM, RATIS, PERFORMANCE</tag>
│ │ -  </property>
│ │ -  <property>
│ │      <name>hdds.scm.kerberos.principal</name>
│ │      <value>SCM/_HOST@REALM</value>
│ │      <description>The SCM service principal. e.g. 
scm/[email protected]</description>
│ │      <tag>SCM, SECURITY, OZONE</tag>
│ │    </property>
│ │    <property>
│ │      <name>hdds.scm.kerberos.keytab.file</name>
│ │ @@ -171,14 +165,20 @@
│ │    <property>
│ │      <name>hdds.scm.block.deletion.txn.dn.commit.map.limit</name>
│ │      <value>5000000</value>
│ │      <description>This value indicates the size of the 
transactionToDNsCommitMap after which we will skip one round of scm block 
deleting interval.</description>
│ │      <tag>SCM</tag>
│ │    </property>
│ │    <property>
│ │ +    <name>ozone.scm.ha.raft.server.log.appender.wait-time.min</name>
│ │ +    <value>0ms</value>
│ │ +    <description>Minimum wait time between two appendEntries 
calls.</description>
│ │ +    <tag>OZONE, SCM, RATIS, PERFORMANCE</tag>
│ │ +  </property>
│ │ +  <property>
│ │      <name>ozone.tracing.enabled</name>
│ │      <value>false</value>
│ │      <description>If true, tracing is initialized and spans may be exported 
(subject to sampling).</description>
│ │      <tag>OZONE, HDDS</tag>
│ │    </property>
│ │    <property>
│ │      <name>ozone.tracing.endpoint</name>
{code}



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