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

Remove extra field. #3427

Merged
merged 10 commits into from
Dec 15, 2021
Merged

Conversation

Shylock-Hg
Copy link
Contributor

@Shylock-Hg Shylock-Hg commented Dec 8, 2021

What type of PR is this?

  • bug
  • feature
  • enhancement

What does this PR do?

Which issue(s)/PR(s) this PR relates to?

Close #3421
Close #3467

Special notes for your reviewer, ex. impact of this fix, etc:

Additional context:

Checklist:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatible (If it is incompatible, please describe it and add corresponding label.)
  • Need to cherry-pick (If need to cherry-pick to some branches, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Release notes:

Please confirm whether to reflect in release notes and how to describe:

                                                            `

@Shylock-Hg Shylock-Hg added the ready-for-testing PR: ready for the CI test label Dec 8, 2021
@Shylock-Hg
Copy link
Contributor Author

Close #3421

@Aiee
Copy link
Contributor

Aiee commented Dec 8, 2021

Does this PR require modification from storage clients?

@Shylock-Hg
Copy link
Contributor Author

Does this PR require modification from storage clients?

Yes.

@codecov-commenter
Copy link

codecov-commenter commented Dec 8, 2021

Codecov Report

Merging #3427 (a01ead7) into master (d6f83f3) will increase coverage by 0.10%.
The diff coverage is 65.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3427      +/-   ##
==========================================
+ Coverage   85.24%   85.34%   +0.10%     
==========================================
  Files        1278     1278              
  Lines      119200   119189      -11     
==========================================
+ Hits       101608   101718     +110     
+ Misses      17592    17471     -121     
Impacted Files Coverage Δ
src/clients/storage/StorageClientBase-inl.h 69.58% <ø> (+0.86%) ⬆️
src/storage/exec/ScanNode.h 90.36% <ø> (-0.23%) ⬇️
src/storage/query/ScanEdgeProcessor.cpp 54.46% <28.57%> (+0.41%) ⬆️
src/storage/query/ScanVertexProcessor.cpp 54.86% <28.57%> (+0.40%) ⬆️
src/common/memory/MemoryUtils.cpp 93.33% <100.00%> (+0.65%) ⬆️
src/storage/test/ScanEdgeTest.cpp 96.39% <100.00%> (ø)
src/storage/test/ScanVertexTest.cpp 97.46% <100.00%> (ø)
src/meta/processors/BaseProcessor.h 75.67% <0.00%> (-16.22%) ⬇️
...c/meta/processors/parts/GetPartsAllocProcessor.cpp 83.05% <0.00%> (-8.48%) ⬇️
src/graph/planner/Planner.cpp 75.00% <0.00%> (-5.00%) ⬇️
... and 34 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 e33924f...a01ead7. Read the comment docs.

@@ -561,9 +561,8 @@ struct LookupAndTraverseRequest {
*/

struct ScanCursor {
3: bool has_next,
// next start key of scan, only valid when has_next is true
Copy link
Contributor

Choose a reason for hiding this comment

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

how client knows the scan has get to end?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When 'next_cursor' is null.

@Shylock-Hg
Copy link
Contributor Author

Close #3467

Copy link
Contributor

@yixinglu yixinglu left a comment

Choose a reason for hiding this comment

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

LGTM

@yixinglu yixinglu merged commit 99f1f7a into vesoft-inc:master Dec 15, 2021
@Shylock-Hg Shylock-Hg deleted the enhancement/remove-has-next branch February 9, 2022 07:15
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.

Storaged crash when scanEdge called Scan cursor has unreasonable config
7 participants