ivanzlenko commented on code in PR #4664:
URL: https://github.com/apache/ignite-3/pull/4664#discussion_r1824837929


##########
modules/partition-distribution/src/main/java/org/apache/ignite/internal/partitiondistribution/AssignmentsSerializer.java:
##########
@@ -39,8 +40,7 @@ protected void writeExternalData(Assignments assignments, 
IgniteDataOutput out)
         }
 
         out.writeBoolean(assignments.force());
-        // Writing long and not varlong as the latter will take 9 bytes for 
timestamps.
-        out.writeLong(assignments.timestamp());
+        HybridTimestamp.hybridTimestamp(assignments.timestamp()).writeTo(out);

Review Comment:
   👍 



-- 
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