javeme commented on code in PR #2401:
URL:
https://github.com/apache/incubator-hugegraph/pull/2401#discussion_r1436084423
##########
hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/task/StandardTaskScheduler.java:
##########
@@ -151,14 +152,18 @@ public <V> void restoreTasks() {
iter.hasNext();) {
HugeTask<V> task = iter.next();
if (selfServer.equals(task.server())) {
- this.restore(task);
+ taskList.add(task);
}
}
if (page != null) {
page = PageInfo.pageInfo(iter);
}
} while (page != null);
}
+ for (HugeTask<V> task : taskList){
+ LOG.info("restore task {}",task );
Review Comment:
expect the space after ","
##########
hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/task/StandardTaskScheduler.java:
##########
@@ -151,14 +152,18 @@ public <V> void restoreTasks() {
iter.hasNext();) {
HugeTask<V> task = iter.next();
if (selfServer.equals(task.server())) {
- this.restore(task);
+ taskList.add(task);
Review Comment:
we may fix this bug by changing the order of PENDING_STATUSES elements
--
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]