Ivan Bessonov created IGNITE-22736:
--------------------------------------
Summary: 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
{{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)