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

support clean last invalid balance plan #2414

Closed
wants to merge 4 commits into from

Conversation

critical27
Copy link
Contributor

@critical27 critical27 commented Dec 7, 2020

  1. For now, balancer will try to recover the failed plan, but sometimes the plan can't be executed (e.g. src or dst is offline). So support a cmd to clean last invalid plan. balance data reset plan
  2. Modify recover mechanism
  • Previously: When a plan is stopped, all remaining task will be marked as INVALID, but the plan itself will be marked as SUCCEEDED. And we only recover FAILED task, not the INVALID ones. The behavior is a bit weird.
  • Now: Since we support clean a plan which we don't want it, all FAILED and INVALID task will recover. A stopped plan will be marked as FAILED as well (if it has remaining tasks).

Will support in 2.0 later.

@codecov-io
Copy link

codecov-io commented Dec 7, 2020

Codecov Report

Merging #2414 (320d4b0) into master (2249c03) will decrease coverage by 0.21%.
The diff coverage is 81.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2414      +/-   ##
==========================================
- Coverage   86.46%   86.25%   -0.22%     
==========================================
  Files         649      648       -1     
  Lines       64374    66537    +2163     
==========================================
+ Hits        55662    57392    +1730     
- Misses       8712     9145     +433     
Impacted Files Coverage Δ
src/common/filter/geo/GeoParams.h 100.00% <ø> (ø)
src/common/hdfs/HdfsCommandHelper.cpp 0.00% <0.00%> (-75.00%) ⬇️
src/common/stats/StatsManager.h 100.00% <ø> (ø)
src/common/time/Duration.cpp 75.86% <ø> (ø)
src/common/time/Duration.h 100.00% <ø> (ø)
src/common/time/detail/TscHelper.cpp 100.00% <ø> (ø)
src/graph/BalanceExecutor.cpp 0.00% <0.00%> (ø)
src/graph/BalanceExecutor.h 0.00% <ø> (ø)
src/graph/DownloadExecutor.cpp 0.00% <0.00%> (ø)
src/graph/DropSpaceExecutor.h 0.00% <ø> (ø)
... and 157 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 674a75f...320d4b0. Read the comment docs.

@CLAassistant
Copy link

CLAassistant commented Mar 26, 2021

CLA assistant check
All committers have signed the CLA.

@critical27 critical27 closed this Aug 18, 2021
@critical27 critical27 deleted the balance branch August 18, 2021 01:58
codesigner pushed a commit to codesigner/nebula that referenced this pull request Mar 30, 2023
* change leftjoin to hashleftjoin

* fix ctest error

* fix test error

* add pushfilterdownhashleftjoin rule

* add test case

* add more test case

* fix test error

* delete leftjoin

* report error when val is not vertex in cypher

Co-authored-by: jimingquan <[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.

3 participants