Skip to content

Split up Simple Staging and Legacy Staging Logic #1022

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

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

Conversation

Saiteja64
Copy link
Contributor

Summary:
Currently base_async_storage_writer is quite complicated and has a bunch of branching between simple_staging and legacy staging. We are looking to introduce yet another simple staging solution. So refactor as follows:

Last half, we introduced stager as an argument to DCP async_save.

  1. Introduce LegacyStager and move legacy staging logic intop it
  2. Introduce SimpleStager and move simple staging logic into it.
  3. Based on JKs in checkpoint_dist_client initialize the right stager to use.
  4. Remove Staging Logic From BaseAsyncStorageWriter

Differential Revision: D79434609

@meta-cla meta-cla bot added the cla signed label Aug 6, 2025
@facebook-github-bot
Copy link
Contributor

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

Saiteja64 added a commit that referenced this pull request Aug 6, 2025
Summary:

Currently base_async_storage_writer is quite complicated and has a bunch of branching between simple_staging and legacy staging. We are looking to introduce yet another simple staging solution. So refactor as follows:

Last half, we introduced stager as an argument to DCP async_save.

1. Introduce LegacyStager and move legacy staging logic intop it
2. Introduce SimpleStager and move simple staging logic into it.
3. Based on JKs in checkpoint_dist_client initialize the right stager to use.
4. Remove Staging Logic From BaseAsyncStorageWriter

Differential Revision: D79434609
Summary:
Pull Request resolved: #1022

Currently base_async_storage_writer is quite complicated and has a bunch of branching between simple_staging and legacy staging. We are looking to introduce yet another simple staging solution. So refactor as follows:

Last half, we introduced stager as an argument to DCP async_save.

1. Introduce LegacyStager and move legacy staging logic intop it
2. Introduce SimpleStager and move simple staging logic into it.
3. Based on JKs in checkpoint_dist_client initialize the right stager to use.
4. Remove Staging Logic From BaseAsyncStorageWriter

Differential Revision: D79434609
@facebook-github-bot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants