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 more validation when create space on an empty zone #3065

Merged
merged 3 commits into from
Oct 18, 2021

Conversation

darionyaphet
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2021

Codecov Report

Merging #3065 (20db5df) into master (fb3be74) will decrease coverage by 0.04%.
The diff coverage is 87.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3065      +/-   ##
==========================================
- Coverage   84.30%   84.25%   -0.05%     
==========================================
  Files        1287     1287              
  Lines      115636   115678      +42     
==========================================
- Hits        97483    97466      -17     
- Misses      18153    18212      +59     
Impacted Files Coverage Δ
src/meta/processors/parts/CreateSpaceProcessor.cpp 70.24% <55.55%> (+2.57%) ⬆️
src/clients/storage/GraphStorageClient.cpp 76.39% <92.20%> (+0.29%) ⬆️
src/clients/storage/GraphStorageClient.h 100.00% <100.00%> (ø)
src/graph/executor/mutate/DeleteExecutor.cpp 83.22% <100.00%> (+0.33%) ⬆️
src/graph/executor/mutate/InsertExecutor.cpp 100.00% <100.00%> (ø)
src/graph/executor/mutate/UpdateExecutor.cpp 87.64% <100.00%> (+0.89%) ⬆️
src/graph/executor/query/GetEdgesExecutor.cpp 94.00% <100.00%> (+0.12%) ⬆️
src/graph/executor/query/GetNeighborsExecutor.cpp 97.10% <100.00%> (+0.04%) ⬆️
src/graph/executor/query/GetVerticesExecutor.cpp 96.77% <100.00%> (+0.10%) ⬆️
src/graph/executor/query/IndexScanExecutor.cpp 88.88% <100.00%> (ø)
... and 26 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 93eed9b...20db5df. Read the comment docs.

@Sophie-Xie Sophie-Xie linked an issue Oct 14, 2021 that may be closed by this pull request
@HarrisChu HarrisChu added this to the v2.6.0 milestone Oct 14, 2021
@HarrisChu HarrisChu added the cherry-pick-v2.6 PR: need cherry-pick to this version label Oct 14, 2021
@@ -315,8 +328,6 @@ StatusOr<Hosts> CreateSpaceProcessor::pickHostsWithZone(
}

if (code != nebula::cpp2::ErrorCode::SUCCEEDED) {
handleErrorCode(code);
onFinished();
Copy link
Contributor

Choose a reason for hiding this comment

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

Why to delete these error handle codes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved outside to unified processing

Copy link
Contributor

@critical27 critical27 left a comment

Choose a reason for hiding this comment

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

LGTM

@critical27 critical27 merged commit e99754b into vesoft-inc:master Oct 18, 2021
Sophie-Xie pushed a commit that referenced this pull request Oct 18, 2021
CPWstatic pushed a commit that referenced this pull request Oct 19, 2021
* Pass graph profile param into storage and cleanup graph storage client interfaces (#3026)

* Cleanup graph storage client interfaces

* Fix compile

* Format

* Fix shadow compile error

* Fix storage core when exit (#3050)

* although I don't have time to check why it works, but this do fix the issue

* fix ut

* Accumulate toss bug fix during test. (#3091)

* add some debug info

* accumulate bug fix for TOSS

Co-authored-by: Doodle <[email protected]>

* Support more validation when create space on an empty zone (#3065)

Co-authored-by: Yee <[email protected]>
Co-authored-by: Doodle <[email protected]>

* small tck fix (#3087)

Co-authored-by: jie.wang <[email protected]>

* cascading deletion and addition (#3059)

Co-authored-by: Doodle <[email protected]>

* fix toss switch not set properly (#3119)

Co-authored-by: Yee <[email protected]>
Co-authored-by: Doodle <[email protected]>

Co-authored-by: Yee <[email protected]>
Co-authored-by: Doodle <[email protected]>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: yaphet <[email protected]>
Co-authored-by: kyle.cao <[email protected]>
Co-authored-by: jie.wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-v2.6 PR: need cherry-pick to this version ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

more validation when create space in a empty zone
6 participants