-
Notifications
You must be signed in to change notification settings - Fork 880
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
Revert change to default reapply type #5688
Merged
dandavison
merged 1 commit into
temporalio:main
from
dandavison:revert-default-reapply-type
Apr 9, 2024
Merged
Revert change to default reapply type #5688
dandavison
merged 1 commit into
temporalio:main
from
dandavison:revert-default-reapply-type
Apr 9, 2024
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
tdeebswihart
approved these changes
Apr 9, 2024
dnr
pushed a commit
that referenced
this pull request
Apr 9, 2024
## What changed? Revert change to default enum value made in #5360 ## Why? We cannot deploy a change that both introduces a new value and starts using it as the default, since during rollout it may cause a frontend client on the new version to send a value that is unknown to a history node on the old version. ## How did you test it? I didn't ## Potential risks No risk ## Is hotfix candidate? This change should be cherry-picked onto current release candidates.
dandavison
added a commit
that referenced
this pull request
May 17, 2024
This reverts commit fea1499.
dandavison
added a commit
that referenced
this pull request
Sep 25, 2024
This reverts commit fea1499.
dandavison
added a commit
that referenced
this pull request
Sep 25, 2024
## What changed? Change default `ResetReapply` enum value to `ALL_ELIGIBLE`. ## Why? Reverts #5688, i.e. after this PR we will have the behavior described in #5360. This means both signals *and* updates will be reapplied by default during resets and coinflict resolution, which is the product behavior we want. ### Explanation - #5360 attempted to introduce a new proto enum value and start using it as the default - However, that is not a valid single-deploy change, since it can cause a frontend client on the new version to send a value that is unknown to a history node on the old version. - Therefore #5688 reverted the change to the default, allowing the new proto enum value to be introduced to the codebase - This PR is deployable iff all clusters that we deploy to have #5360 deployed ## How did you test it? I didn't. Tests were added in the original PR #5360. ## Potential risks Could break reset or history conflict resolution. ## Is hotfix candidate? 1.25.1
jmbarzee
pushed a commit
that referenced
this pull request
Sep 27, 2024
Change default `ResetReapply` enum value to `ALL_ELIGIBLE`. Reverts #5688, i.e. after this PR we will have the behavior described in #5360. This means both signals *and* updates will be reapplied by default during resets and coinflict resolution, which is the product behavior we want. - #5360 attempted to introduce a new proto enum value and start using it as the default - However, that is not a valid single-deploy change, since it can cause a frontend client on the new version to send a value that is unknown to a history node on the old version. - Therefore #5688 reverted the change to the default, allowing the new proto enum value to be introduced to the codebase - This PR is deployable iff all clusters that we deploy to have #5360 deployed I didn't. Tests were added in the original PR #5360. Could break reset or history conflict resolution. 1.25.1
dnr
pushed a commit
that referenced
this pull request
Oct 4, 2024
Change default `ResetReapply` enum value to `ALL_ELIGIBLE`. Reverts #5688, i.e. after this PR we will have the behavior described in #5360. This means both signals *and* updates will be reapplied by default during resets and coinflict resolution, which is the product behavior we want. - #5360 attempted to introduce a new proto enum value and start using it as the default - However, that is not a valid single-deploy change, since it can cause a frontend client on the new version to send a value that is unknown to a history node on the old version. - Therefore #5688 reverted the change to the default, allowing the new proto enum value to be introduced to the codebase - This PR is deployable iff all clusters that we deploy to have #5360 deployed I didn't. Tests were added in the original PR #5360. Could break reset or history conflict resolution. 1.25.1
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.
What changed?
Revert change to default enum value made in #5360
Why?
We cannot deploy a change that both introduces a new value and starts using it as the default, since during rollout it may cause a frontend client on the new version to send a value that is unknown to a history node on the old version.
How did you test it?
I didn't
Potential risks
No risk
Is hotfix candidate?
This change should be cherry-picked onto current release candidates.