You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2025/03/15 17:01:00 UTC

[jira] [Commented] (HDDS-12608) Race condition in datanode version file creation

    [ https://issues.apache.org/jira/browse/HDDS-12608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935756#comment-17935756 ] 

Tsz-wo Sze commented on HDDS-12608:
-----------------------------------

Before HDDS-12456, multiple threads will write directly to the same version file.  How could it work?  

> Race condition in datanode version file creation
> ------------------------------------------------
>
>                 Key: HDDS-12608
>                 URL: https://issues.apache.org/jira/browse/HDDS-12608
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Datanode
>    Affects Versions: 2.0.0
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>
> Multiple threads may create the VERSION file.  After HDDS-12456 they use the same temporary file for {{AtomicFileOutputStream}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org