Skip to content

Conversation

@wcy-fdu
Copy link
Contributor

@wcy-fdu wcy-fdu commented Feb 16, 2022

What's changed and what's your intention?

Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)

@github-actions github-actions bot added the type/fix Type: Bug fix. Only for pull requests. label Feb 16, 2022
@codecov
Copy link

codecov bot commented Feb 16, 2022

Codecov Report

Merging #355 (afcd512) into main (fc24f97) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #355      +/-   ##
============================================
- Coverage     74.23%   74.23%   -0.01%     
  Complexity     2681     2681              
============================================
  Files           863      863              
  Lines         48830    48832       +2     
  Branches       1591     1591              
============================================
- Hits          36250    36248       -2     
- Misses        11767    11771       +4     
  Partials        813      813              
Flag Coverage Δ
java 62.00% <ø> (ø)
rust 79.48% <0.00%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
rust/storage/src/store.rs 15.00% <0.00%> (-0.52%) ⬇️
rust/meta/src/hummock/compaction.rs 63.69% <0.00%> (-0.69%) ⬇️
rust/common/src/types/ordered_float.rs 25.49% <0.00%> (-0.34%) ⬇️

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 fc24f97...afcd512. Read the comment docs.

Copy link
Contributor

@MrCroxx MrCroxx left a comment

Choose a reason for hiding this comment

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

Why block cache was disabled before, are there any considerations, 0.0?

@wcy-fdu
Copy link
Contributor Author

wcy-fdu commented Feb 16, 2022

block cache was only implemented in minio previously

@wcy-fdu wcy-fdu requested a review from skyzh February 16, 2022 06:47
Copy link
Contributor

@skyzh skyzh left a comment

Choose a reason for hiding this comment

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

I think it's time to work on risingwave.toml. 65536 should be part of the config, instead of hard coding.

@skyzh
Copy link
Contributor

skyzh commented Feb 16, 2022

The block cache also needs some refactor... I would consider the current impl as a workaround. We should pass options to HummockStorage, and let HummockStorage to create and store its own block cache object.

@wcy-fdu wcy-fdu merged commit cc31798 into main Feb 16, 2022
@wcy-fdu wcy-fdu deleted the wcy_add_block_cache_for_s3 branch February 16, 2022 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/fix Type: Bug fix. Only for pull requests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants