You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sumit Agrawal (Jira)" <ji...@apache.org> on 2023/08/29 05:42:00 UTC

[jira] [Resolved] (HDDS-2701) Avoid read from temporary chunk file in datanode

     [ https://issues.apache.org/jira/browse/HDDS-2701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumit Agrawal resolved HDDS-2701.
---------------------------------
    Fix Version/s: 1.4.0
         Assignee: Sumit Agrawal  (was: Lokesh Jain)
       Resolution: Fixed

> Avoid read from temporary chunk file in datanode
> ------------------------------------------------
>
>                 Key: HDDS-2701
>                 URL: https://issues.apache.org/jira/browse/HDDS-2701
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Datanode
>            Reporter: Lokesh Jain
>            Assignee: Sumit Agrawal
>            Priority: Major
>              Labels: TriagePending
>             Fix For: 1.4.0
>
>
> Currently we try reading chunk data from the temp file if chunk file does not exist. The fix was added in HDDS-2372 due to race condition between readStateMachineData and writeStateMachineData in ContainerStateMachine. After HDDS-2542 is fixed the read from the temp file can be avoided by making sure that chunk data remains in cache until the chunk file is generated.



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