-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Skip reactivation signals for current/ramping/draining versions #9778
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
b327f97
Skip reactivation signals for versions that are not drained or inactive
Shivs11 c2dbd81
Address PR review comments: rename functions, improve comments, add o…
Shivs11 6072c83
Merge main and resolve proto indentation conflict
Shivs11 c3011dd
Fix formatting (make fmt)
Shivs11 6e53f2d
Handle deleted versions in IsVersionDrainedOrInactive and add unit tests
Shivs11 e34d88e
revision number for cache
Shivs11 101f3fa
Merge branch 'main' into fixing-reactivation-signals
Shivs11 787c4ac
Fix lint: use require instead of assert, add nolint for package name
Shivs11 67768ff
Remove reactivation_dedup tests since they are repeated and are alrea…
Shivs11 7783325
Removed versions from requiring to be draining and sped up tests
Shivs11 b173752
Fix lint: use require.Eventually instead of time.Sleep
Shivs11 403453f
Use deterministic UUID v5 for reactivation signal RequestId
Shivs11 dd2ed99
Dedup reactivation signals per revision and flatten eligibility bool
Shivs11 9a789c3
Merge remote-tracking branch 'origin/main' into fixing-reactivation-s…
Shivs11 8b35d68
Wire up fx Stop hook for the reactivation-signal dedup cache
Shivs11 2934433
Address lint: boolPtr, named results, gci, type assertion
Shivs11 b533272
Re-align Config struct fields after removing cache TTL entries
Shivs11 1f09288
Rename dedup cache, switch UUID namespace to Nil, re-add hit/miss met…
Shivs11 63e588f
Rename to should_skip_reactivation / ShouldSkipReactivation
Shivs11 8c620a6
Merge branch 'main' into fixing-reactivation-signals
Shivs11 c4ba543
Tighten shouldSkipReactivation cache comment
Shivs11 a1ec5e9
Merge branch 'fixing-reactivation-signals' of github.com:temporalio/t…
Shivs11 6a360f5
Merge branch 'main' into fixing-reactivation-signals
Shivs11 28395b9
Merge branch 'main' into fixing-reactivation-signals
Shivs11 1dffbf6
Merge branch 'main' into fixing-reactivation-signals
Shivs11 09d63f5
Merge branch 'main' into fixing-reactivation-signals
Shivs11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
65 changes: 0 additions & 65 deletions
65
common/worker_versioning/version_reactivation_signal_cache.go
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
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.
note: i think it's fine to remove this from the dynamic config given that the flag controlling the sending of the signal behaviour has been turned to false globally (history.enableVersionReactivationSignals)