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

Removing target-domain-not-active special-case handling #4835

Conversation

davidporter-id-au
Copy link
Contributor

@davidporter-id-au davidporter-id-au commented May 19, 2022

The suspicion is that this is not actually a transient and retriable error, so this should be handled differently. It's currently causing some problems for the canary and domains which failover frequently.

The errors seen in the logs show 'target domain not active' repeatedly until the domain fails back. Seeming to indicate the problem isn't transient.

The suspicion is that this was checked in 39bebb464 as an optimization for the cross-domain child-workflow feature. This is not a feature which is currently live.

What changed?

How did you test it?

Potential risks

Release notes

Documentation Changes

The suspicion is that this is not actually a transient and retriable
error, so this should be handled differently
@coveralls
Copy link

Pull Request Test Coverage Report for Build 0180db2d-a271-4951-aa73-e337f98c9e3a

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • 35 unchanged lines in 8 files lost coverage.
  • Overall coverage increased (+0.09%) to 56.933%

Files with Coverage Reduction New Missed Lines %
common/membership/hashring.go 2 83.54%
common/task/weightedRoundRobinTaskScheduler.go 2 89.12%
service/history/execution/mutable_state_builder.go 2 69.09%
common/cache/lru.go 3 90.73%
service/history/task/transfer_standby_task_executor.go 4 88.46%
service/history/decision/task_handler.go 5 74.19%
service/history/task/transfer_active_task_executor.go 8 71.38%
common/persistence/nosql/nosqlExecutionStore.go 9 60.03%
Totals Coverage Status
Change from base Build 0180dad4-9958-4975-9687-f84ff4f113a1: 0.09%
Covered Lines: 84000
Relevant Lines: 147542

💛 - Coveralls

@davidporter-id-au davidporter-id-au merged commit beab75c into master May 19, 2022
@davidporter-id-au davidporter-id-au deleted the bugfix/correct-failover-issue-target-domain-not-active branch May 19, 2022 17:22
davidporter-id-au added a commit that referenced this pull request May 24, 2022
The suspicion is that this is not actually a transient and retriable
error, so this should be handled differently
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.

4 participants