shishkovilja commented on code in PR #13468:
URL: https://github.com/apache/ignite/pull/13468#discussion_r3774259701


##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/FragmentDescription.java:
##########
@@ -58,6 +67,30 @@ public FragmentDescription(long fragmentId, FragmentMapping 
mapping, @Nullable C
             this.target = target.explicitMapping();
     }
 
+    /** Prepares fragment description as {@link Message} to send to another 
node. */
+    public FragmentDescription prepareToSend() {
+        if (target != null)
+            target.prepareToSend();
+
+        mapping.colocationGrps.forEach(ColocationGroup::prepareToSend);
+
+        return this;
+    }
+
+    /** Properly unwraps fragment description as {@link Message} after 
receiving from another node. */
+    public FragmentDescription received() {

Review Comment:
   ```suggestion
       public FragmentDescription processedAfterReceive() {
   ```



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

Reply via email to