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

ASF GitHub Bot updated HDDS-3802:
---------------------------------
    Labels: pull-request-available  (was: )

> Incorrect data returned by reading a FILE_PER_CHUNK block
> ---------------------------------------------------------
>
>                 Key: HDDS-3802
>                 URL: https://issues.apache.org/jira/browse/HDDS-3802
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Sammi Chen
>            Assignee: Sammi Chen
>            Priority: Critical
>              Labels: pull-request-available
>
> FilePerChunkStrategy#readChunk 
> {code:java}
> // use offset only if file written by old datanode
>         long offset;
>         if (file.exists() && file.length() == info.getOffset() + len) {
>           offset = info.getOffset();
>         } else {
>           offset = 0;   ---> this line causes the trouble. 
>         }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to