[
https://issues.apache.org/jira/browse/HDDS-9846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-9846:
-----------------------------------
Labels: pull-request-available (was: Newbie pull-request-available)
> 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
> Assignee: Ashish Kumar
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.5.0
>
>
> [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]