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

refactor(cache): Clean up redundant code #12024

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zacw7
Copy link
Contributor

@zacw7 zacw7 commented Jan 6, 2025

Summary: Refactor read checkpoint code and consolidate duplicate file clean up.

Differential Revision: D67868731

@zacw7 zacw7 requested a review from majetideepak as a code owner January 6, 2025 18:54
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 6, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67868731

Copy link

netlify bot commented Jan 6, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 4ea1cd5
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/677ecd7dcd55470008764cd8

@zacw7 zacw7 requested review from kewang1024 and xiaoxmeng January 6, 2025 18:55
zacw7 added a commit to zacw7/velox that referenced this pull request Jan 6, 2025
Summary:

Refactor read checkpoint code and consolidate duplicate file clean up.

Differential Revision: D67868731
@zacw7 zacw7 force-pushed the export-D67868731 branch from a0bd3c2 to ca90133 Compare January 6, 2025 19:27
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67868731

velox/common/caching/SsdFile.h Outdated Show resolved Hide resolved
velox/common/caching/SsdFile.h Outdated Show resolved Hide resolved
velox/common/caching/SsdFile.h Outdated Show resolved Hide resolved
DEFINE_METRIC(
kMetricSsdCacheDeleteCheckpointErrors, facebook::velox::StatType::SUM);
kMetricSsdCacheDeleteFileErrors, facebook::velox::StatType::SUM);
Copy link
Contributor

@kewang1024 kewang1024 Jan 7, 2025

Choose a reason for hiding this comment

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

the naming seems confusing, since it only include two types and doesn't have SSD file?

Summary:

Refactor read checkpoint code and consolidate duplicate file clean up.

Differential Revision: D67868731
@zacw7 zacw7 force-pushed the export-D67868731 branch from ca90133 to 4ea1cd5 Compare January 8, 2025 19:09
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67868731

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants