valepakh commented on code in PR #4815:
URL: https://github.com/apache/ignite-3/pull/4815#discussion_r1866136490


##########
modules/api/src/main/java/org/apache/ignite/table/TupleImpl.java:
##########
@@ -358,6 +360,17 @@ private void readObject(java.io.ObjectInputStream in) 
throws IOException, ClassN
         }
     }
 
+    /**
+     * Serializes an object. Required to be implemented in pair with the 
{@link #readObject(ObjectInputStream)} so that the
+     * {@code StructuredObjectMarshaller#fillStructuredObjectLayerFrom} will 
actually call the {@link #readObject(ObjectInputStream)}.
+     *
+     * @param out Output object stream.
+     * @throws IOException If failed.
+     */
+    private void writeObject(ObjectOutputStream out) throws IOException {
+        out.defaultWriteObject();

Review Comment:
   > > Do you mean TupleWithSchemaMarshalling?
   > 
   > Yes. We should prefer formats that can be used by non-Java clients as well.
   
   I don't really understand why - it's used only in inter-node communications 
and I don't want to change it in this ticket - this is simply a bug fix.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to