Ethan Rose created HDDS-9846:
--------------------------------

             Summary: Datanode should not persist cluster ID to global version 
file until loading all volumes
                 Key: HDDS-9846
                 URL: https://issues.apache.org/jira/browse/HDDS-9846
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Ethan Rose


[This 
comment|https://github.com/apache/ozone/pull/5289#pullrequestreview-1627863893] 
was missed in the review of HDDS-5560. We should handle it in this follow up.
{quote}StorageVoluemUtil#getClusterID will throw an exception if the volume 
level version file's cluster ID does not match the one received from SCM. We 
should probably wait until all the volumes have been loaded to persist the 
cluster ID to the DN version file. This means it will not be persisted unless 
the SCM cluster ID matches the datanode cluster ID.
{quote}



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