anton-vinogradov commented on code in PR #12878:
URL: https://github.com/apache/ignite/pull/12878#discussion_r2931996470
##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/CalciteErrorMessage.java:
##########
@@ -71,4 +87,16 @@ public long fragmentId() {
@Override public short directType() {
return MessageType.QUERY_ERROR_MESSAGE.directType();
}
+
+ /** {@inheritDoc} */
+ @Override public void prepareMarshal(GridCacheSharedContext<?, ?> ctx)
throws IgniteCheckedException {
+ if (err != null)
Review Comment:
Yes, and the reason is not clear for me.
This MUST happen once.
##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/CalciteErrorMessage.java:
##########
@@ -71,4 +87,16 @@ public long fragmentId() {
@Override public short directType() {
return MessageType.QUERY_ERROR_MESSAGE.directType();
}
+
+ /** {@inheritDoc} */
+ @Override public void prepareMarshal(GridCacheSharedContext<?, ?> ctx)
throws IgniteCheckedException {
+ if (err != null)
+ errBytes = U.marshal(ctx.marshaller(), err);
+ }
+
+ /** {@inheritDoc} */
+ @Override public void prepareUnmarshal(GridCacheSharedContext<?, ?> ctx)
throws IgniteCheckedException {
+ if (errBytes != null)
Review Comment:
Yes, and the reason is not clear for me.
This MUST happen once.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]