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

perf(hummock manager): store incremental hummock version in meta #3503

Merged
merged 5 commits into from
Jun 28, 2022

Conversation

soundOfDestiny
Copy link
Contributor

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.

What's changed and what's your intention?

PLEASE DO NOT LEAVE THIS EMPTY !!!

store incremental hummock version in meta
it will replace hummock version

Checklist

  • I have written necessary docs and comments

Refer to a related PR or issue link (optional)

@codecov
Copy link

codecov bot commented Jun 27, 2022

Codecov Report

Merging #3503 (32ca83e) into main (e9e91fc) will increase coverage by 0.01%.
The diff coverage is 95.89%.

@@            Coverage Diff             @@
##             main    #3503      +/-   ##
==========================================
+ Coverage   74.46%   74.48%   +0.01%     
==========================================
  Files         769      770       +1     
  Lines      108052   108126      +74     
==========================================
+ Hits        80466    80541      +75     
+ Misses      27586    27585       -1     
Flag Coverage Δ
rust 74.48% <95.89%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/meta/src/hummock/model/version_delta.rs 80.00% <80.00%> (ø)
src/meta/src/hummock/hummock_manager.rs 86.47% <100.00%> (+0.74%) ⬆️
src/meta/src/hummock/test_utils.rs 94.37% <0.00%> (-1.25%) ⬇️
src/meta/src/manager/id.rs 95.50% <0.00%> (-0.57%) ⬇️
src/frontend/src/expr/utils.rs 98.99% <0.00%> (-0.26%) ⬇️
src/meta/src/hummock/compaction_group/manager.rs 90.47% <0.00%> (ø)
src/meta/src/hummock/hummock_manager_tests.rs 89.77% <0.00%> (+0.37%) ⬆️
src/storage/src/hummock/iterator/merge_inner.rs 90.00% <0.00%> (+0.62%) ⬆️
src/meta/src/hummock/vacuum.rs 82.82% <0.00%> (+1.52%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

prev_id: old_version.id,
..Default::default()
},
);
let mut new_hummock_version =
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to remove VarTransaction for hummock_versions

Copy link
Contributor Author

Choose a reason for hiding this comment

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

do we need to remove VarTransaction for hummock_versions

I wanted to remove it in the future

Copy link
Contributor

Choose a reason for hiding this comment

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

ok

Copy link
Contributor

@Little-Wallace Little-Wallace left a comment

Choose a reason for hiding this comment

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

LGTM

@soundOfDestiny soundOfDestiny added the mergify/can-merge Indicates that the PR can be added to the merge queue label Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergify/can-merge Indicates that the PR can be added to the merge queue type/perf
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants