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

[vpj][controller] Add deferred swap for target region push #1375

Merged
merged 20 commits into from
Dec 12, 2024

Conversation

misyel
Copy link
Contributor

@misyel misyel commented Dec 6, 2024

Summary, imperative, start upper case, don't end with a period

Currently, when target region push is enabled, it only ingests the data & swap to the new version in if the current region matches the target region defined by the target region push list or the native replication source fabric. The ingestion for the remaining regions are kicked off after the first region is able to swap to the new version.

The pr adds in a deferred version swap option to the existing target region push. In this version, data is ingested in all regions, but it will only swap to the new version in the target region. The behavior to swap the version out in the remaining regions will be added in later.

How was this PR tested?

unit & integration tests

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.
    This will be enabled if targeted.region.push.with.deferred.swap is passed in in the job settings

Copy link
Contributor

@majisourav99 majisourav99 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks Michelle!

@misyel misyel merged commit 7b03cd4 into linkedin:main Dec 12, 2024
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants