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

[compat][common][controller] Add store and version configs for target region swap and wait time #1340

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

misyel
Copy link

@misyel misyel commented Nov 22, 2024

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

Context: Currently with target region push, we push to one colo first then push to the remaining colos. This means that a push job takes 2x the time because we have to wait for the push to the first target colo to succeed first before pushing to the remaining colos concurrently. For phase 2 of target region push, we would like to push to all regions concurrently, but only swap to the new version in the target colo. The target colo will stay on the new version for a specified waitTime and if no errors occur by the end of the waitTiime, we will swap to the new version on the remaining colos. With this approach, push time will not be doubled and it will be the normal push time + waitTime + DVC ingestion time (if enabled)

Change: This pr adds in three store and version configs: targetSwapRegion, targetSwapRegionWaitTime, and isDavinciHeartbeatReported to enable target colo push with delayed version swap

How was this PR tested?

Existing ci 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.

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.

Add a [compat] to the PR title to indicate there has been a protocol update and we need special ordering of deployment.

@misyel misyel force-pushed the mkwong/add-target-region-config branch from aece22d to 6db24cb Compare November 26, 2024 06:40
@misyel misyel changed the title [common][controller] Add store and version configs for target region swap and wait time [compat][common][controller] Add store and version configs for target region swap and wait time Nov 26, 2024
@misyel misyel force-pushed the mkwong/add-target-region-config branch from 6db24cb to fb8741f Compare November 26, 2024 23:40
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

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