Vadim Pakhnushev created IGNITE-23878:
-----------------------------------------
Summary: Prevent intermediate serialization when passing native
type
Key: IGNITE-23878
URL: https://issues.apache.org/jira/browse/IGNITE-23878
Project: Ignite
Issue Type: Improvement
Reporter: Vadim Pakhnushev
Assignee: Vadim Pakhnushev
IGNITE-23338 introduced an optimization where, if we pass a non-native type
argument from the client, we wrap it into the data holder and unpack it only
before execution, so in case of remote execution we don't make additional
marshalling/unmarshalling step when passing an argument and a result to and
from the target node.
But if the job takes a native type argument but the result is non-native, then
this optimization is not applied.
The reason is that the native type is unpacked on the client handler node using
the byte buffer from the {{ClientMessageUnpacker}} directly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)