s0nskar commented on code in PR #2642:
URL: https://github.com/apache/celeborn/pull/2642#discussion_r1691021625
##########
master/src/main/java/org/apache/celeborn/service/deploy/master/clustermeta/AbstractMetaManager.java:
##########
@@ -468,6 +468,12 @@ public void updatePartitionSize() {
} else {
estimatedPartitionSize = initialEstimatedPartitionSize;
}
+
+ // Do not trigger update is estimated partition size value is unchanged
+ if (estimatedPartitionSize == oldEstimatedPartitionSize) {
+ return;
Review Comment:
For newly registered workers we update the estimated partition size on
`RegisterWorker` event itself.
https://github.com/apache/celeborn/blob/c0ca9523f9ca8db913a512521a9c3559d5ae19d5/master/src/main/java/org/apache/celeborn/service/deploy/master/clustermeta/AbstractMetaManager.java#L256
--
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]