-
Notifications
You must be signed in to change notification settings - Fork 590
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
refactor(storage): upgrade foyer to v0.9 #16869
Conversation
Signed-off-by: MrCroxx <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the PR
https://buildkite.com/risingwavelabs/pull-request/builds/50060#018f9a54-7aac-4d30-9928-2e221e51d7fa Could madsim export |
Signed-off-by: MrCroxx <[email protected]>
Let me add it... Before it is available, you can workaround it with |
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: Runji Wang <[email protected]>
THAMK YE, @wangrunji0408 . |
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
panels.timeseries_count( | ||
"Refill Queue Length", | ||
panels.timeseries_latency( | ||
"Storage Cache Inner Op Duration", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is "Inner Op"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some unexported but essential operations to monitor. Like batch leader/follower queue time and queue rotation duration.
FYI https://github.com/MrCroxx/foyer/blob/main/foyer-common/src/metrics.rs#L118-L125
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you include it as a metric description in L2631?
Cargo.toml
Outdated
@@ -76,7 +76,8 @@ license = "Apache-2.0" | |||
repository = "https://github.com/risingwavelabs/risingwave" | |||
|
|||
[workspace.dependencies] | |||
foyer = { version = "0.8.6", features = ["nightly"] } | |||
# foyer = { version = "0.9", features = ["nightly"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we will wait for the foyer new release before merging this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep. I'm waiting for this PR to be approved. If there is any need to modify foyer, I can fix it and release a new minor version.
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
Signed-off-by: MrCroxx <[email protected]>
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Upgrade foyer to v0.9 .
foyer v0.9 refactored the disk cache implementation, provides lower latency with less memory usage.
TODO: Release foyer v0.9 and fulfill the change log and release docs. foyer-rs/foyer#512
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.