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

Bugfix/correct failover issue target domain not active ii #4840

Conversation

davidporter-id-au
Copy link
Contributor

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

This is the remaining check, introduced with 39bebb464 which caused the domainNotFound error to be retried indefinitely under the incorrect assumption that the issue is transient.

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

@coveralls
Copy link

Pull Request Test Coverage Report for Build 0180e356-69dd-44aa-9001-6ef4e0fce017

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • 41 unchanged lines in 6 files lost coverage.
  • Overall coverage increased (+0.02%) to 56.873%

Files with Coverage Reduction New Missed Lines %
common/util.go 2 51.17%
service/history/queue/timer_queue_processor.go 2 58.37%
service/history/task/fetcher.go 3 86.67%
common/task/fifoTaskScheduler.go 4 83.51%
common/persistence/nosql/nosqlplugin/cassandra/tasks.go 14 72.8%
common/persistence/nosql/nosqlTaskStore.go 16 58.37%
Totals Coverage Status
Change from base Build 0180e272-2b0b-4351-ac80-5bbaf7048aa1: 0.02%
Covered Lines: 83784
Relevant Lines: 147318

💛 - Coveralls

@davidporter-id-au davidporter-id-au merged commit a727049 into master May 23, 2022
@davidporter-id-au davidporter-id-au deleted the bugfix/correct-failover-issue-target-domain-not-active-ii branch May 23, 2022 16:43
davidporter-id-au added a commit that referenced this pull request May 24, 2022
* Removing target-domain-not-active special-case handling

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

* Fixing remaining non-retriable error

* Fix test
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.

3 participants