-
Notifications
You must be signed in to change notification settings - Fork 86
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
misyel
wants to merge
7
commits into
linkedin:main
Choose a base branch
from
misyel:mkwong/add-target-region-config
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clients/venice-admin-tool/src/main/java/com/linkedin/venice/Arg.java
Outdated
Show resolved
Hide resolved
clients/venice-admin-tool/src/main/java/com/linkedin/venice/Arg.java
Outdated
Show resolved
Hide resolved
clients/venice-admin-tool/src/main/java/com/linkedin/venice/Arg.java
Outdated
Show resolved
Hide resolved
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.
Add a [compat]
to the PR title to indicate there has been a protocol update and we need special ordering of deployment.
misyel
force-pushed
the
mkwong/add-target-region-config
branch
from
November 26, 2024 06:40
aece22d
to
6db24cb
Compare
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
force-pushed
the
mkwong/add-target-region-config
branch
from
November 26, 2024 23:40
6db24cb
to
fb8741f
Compare
majisourav99
approved these changes
Nov 27, 2024
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 Michelle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
, andisDavinciHeartbeatReported
to enable target colo push with delayed version swapHow was this PR tested?
Existing ci tests
Does this PR introduce any user-facing changes?