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

Fix meta would crash when balance in multiple relica #1826

Merged
merged 2 commits into from
Feb 26, 2020

Conversation

critical27
Copy link
Contributor

  1. As title, introduced in fix some problems during balance #1786, when recovery failed, the plan would be nullptr.
  2. Add an error log when commit failed.

close #1820

@@ -106,10 106,6 @@ class Balancer {

void finish() {
CHECK(!lock_.try_lock());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A question,Is the useful now of lock?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we need to make sure we hold the lock whenever we want to call finish

@laura-ding laura-ding added the ready-for-testing PR: ready for the CI test label Feb 26, 2020
@dangleptr dangleptr merged commit a115b14 into vesoft-inc:master Feb 26, 2020
@critical27 critical27 deleted the fix branch February 27, 2020 07:44
@jude-zhu jude-zhu added this to the R201910_RC4 milestone Mar 2, 2020
jude-zhu pushed a commit to jude-zhu/nebula that referenced this pull request Mar 4, 2020
* fix meta would crash in multiple replica when build plan failed

* add error log
tong-hao pushed a commit to tong-hao/nebula that referenced this pull request Jun 1, 2021
* fix meta would crash in multiple replica when build plan failed

* add error log
yixinglu added a commit to yixinglu/nebula that referenced this pull request Jan 31, 2023
* Rename bijoin plan node

* resolve the conflicts

Co-authored-by: Yee <2520865 [email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to commit logs 导致nebula-storaged服务挂了
5 participants