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

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

> [hsync] MockDatanodeStorage.writeChunk should make a copy of byte string
> ------------------------------------------------------------------------
>
>                 Key: HDDS-10471
>                 URL: https://issues.apache.org/jira/browse/HDDS-10471
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>              Labels: pull-request-available
>
> MockDatanodeStorage.writeChunk simply adds the bytestring chunk info into its 
> internal map, and after HDDS-9843 which made chunk buffer direct buffer, it 
> causes some sort of memory corruption as described in HDDS-10431. Suspect 
> it's a JVM bug.
> Solution is simple: make a copy of the byte buffer.
> Thanks [~smeng] for narrowing down the culprit.



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