We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a31e937 commit d89b9bdCopy full SHA for d89b9bd
1 file changed
hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/task/HugeTask.java
@@ -371,7 +371,9 @@ protected void done() {
371
protected void set(V v) {
372
String result = JsonUtil.toJson(v);
373
checkPropertySize(result, P.RESULT);
374
- assert this.result(TaskStatus.SUCCESS, result) || this.completed();
+ if (!this.result(TaskStatus.SUCCESS, result)) {
375
+ assert this.completed();
376
+ }
377
// Will call done() and may cause to save to store
378
super.set(v);
379
}
0 commit comments