leborchuk commented on code in PR #1520:
URL: https://github.com/apache/cloudberry/pull/1520#discussion_r2662849054


##########
contrib/interconnect/udp/ic_udpifc.c:
##########
@@ -3753,7 +3753,7 @@ SetupUDPIFCInterconnect(EState *estate)
                        Gp_interconnect_queue_depth == 4 &&
                        Gp_interconnect_snd_queue_depth == 2)
                {
-                       int32 perQueue = Gp_interconnect_mem_size /
+                       int32 perQueue = ((int64)Gp_interconnect_mem_size * 
1024 * 1024) /

Review Comment:
   The same logic also in udp2/ic_udp2.c, line 182.
   
   Should we fix it in ic_udp2.c too?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to