You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "JackyYangPassion (via GitHub)" <gi...@apache.org> on 2023/05/09 13:01:56 UTC

[GitHub] [incubator-hugegraph-computer] JackyYangPassion commented on a diff in pull request #237: fix: superstep not take effect

JackyYangPassion commented on code in PR #237:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/237#discussion_r1188563713


##########
computer-core/src/main/java/org/apache/hugegraph/computer/core/master/MasterService.java:
##########
@@ -335,9 +335,7 @@ private boolean finishedIteration(boolean masterContinue,
         if (context.superstep() >= this.maxSuperStep - 1) {
             return true;
         }
-        long activeVertexCount = context.totalVertexCount() -
-                                 context.finishedVertexCount();
-        return context.messageCount() == 0L && activeVertexCount == 0L;
+        return false;

Review Comment:
   Thanks for the suggestion, I'll try it locally



-- 
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: issues-unsubscribe@hugegraph.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org