Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

统计插入成功和失败记录数出错 #3

Closed
Linary opened this issue Oct 10, 2018 · 0 comments
Closed

统计插入成功和失败记录数出错 #3

Linary opened this issue Oct 10, 2018 · 0 comments

Comments

@Linary
Copy link
Contributor

Linary commented Oct 10, 2018

现象

BUG描述:在TaskManagersubmitVertexBatchsubmitEdgeBatch中,回调方法onFailure先释放了信号量,再去提交单条插入任务(submitVerticesInSingleModesubmitEdgesInSingleMode)。这样就有可能导致在主线程waitFinished时,singleTasks的值仍然为0,然后表现为跳过了等待单条插入任务完成,于是在waitFinished结束之后,主线程已经统计完插入结果了,这时单条插入任务才执行,但此时的successNum.add(1)failureNum.add(1)操作已经被遗忘了。

Linary added a commit that referenced this issue Oct 10, 2018
Fix #3

Change-Id: Ia3b4956b32de5bf9f43b6c88ee19704f881af1e7
Linary added a commit that referenced this issue Oct 10, 2018
Fix #3

Change-Id: Ia3b4956b32de5bf9f43b6c88ee19704f881af1e7
@javeme javeme closed this as completed in #4 Oct 11, 2018
javeme pushed a commit that referenced this issue Oct 11, 2018
Fix #3

Change-Id: Ia3b4956b32de5bf9f43b6c88ee19704f881af1e7
zhoney pushed a commit that referenced this issue Oct 25, 2021
* block "count metrics" print missing

* code format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant