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

Ivan Bessonov reassigned IGNITE-22736:
--------------------------------------

    Fix Version/s: 3.0.0-beta2
         Assignee: Ivan Bessonov
           Labels: ignite-3  (was: )

> PartitionCommandsMarshallerImpl corrupts the buffer it reads from
> -----------------------------------------------------------------
>
>                 Key: IGNITE-22736
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22736
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ivan Bessonov
>            Assignee: Ivan Bessonov
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>
> {{PartitionCommandsMarshallerImpl#unmarshall}} receives a buffer, that's 
> requested from the log manager, for example.
> The instance of byte buffer that it receives might be acquired from on-heap 
> cache of log entries. Modifying it would be
>  # not thread-safe, because multiple threads may start modifying it 
> concurrently
>  # illegal, because it stays in the cache for some time, and we basically 
> corrupt it by modifying it
> We shouldn't do that



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

Reply via email to