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

Remove dispatcher provider #4559

Conversation

vytautas-karpavicius
Copy link
Contributor

@vytautas-karpavicius vytautas-karpavicius commented Oct 11, 2021

What changed?
Removed dispatcher provider interface, implementation and related bits.

Why?
Not longer used, its details were moved to cross dc outbound builder in #4552.

How did you test it?

Potential risks

Release notes

Documentation Changes

@vytautas-karpavicius vytautas-karpavicius marked this pull request as ready for review October 11, 2021 15:17
@vytautas-karpavicius vytautas-karpavicius requested a review from a team October 11, 2021 15:17
@coveralls
Copy link

coveralls commented Oct 11, 2021

Pull Request Test Coverage Report for Build ba895ec3-a808-4d20-82bb-6c519e954311

  • 13 of 14 (92.86%) changed or added relevant lines in 1 file are covered.
  • 67 unchanged lines in 13 files lost coverage.
  • Overall coverage increased (+0.02%) to 56.8%

Changes Missing Coverage Covered Lines Changed/Added Lines %
host/onebox.go 13 14 92.86%
Files with Coverage Reduction New Missed Lines %
common/task/weightedRoundRobinTaskScheduler.go 1 89.64%
service/history/execution/mutable_state_builder.go 2 69.71%
service/history/queue/timer_queue_processor.go 2 59.33%
service/history/shard/context.go 2 65.93%
service/matching/matcher.go 2 91.46%
service/matching/taskListManager.go 2 74.09%
common/cache/lru.go 3 90.73%
common/persistence/nosql/nosqlplugin/cassandra/workflow.go 3 55.49%
service/history/queue/timer_gate.go 3 95.83%
service/history/task/transfer_standby_task_executor.go 4 90.4%
Totals Coverage Status
Change from base Build bc8840d0-469f-4c58-a793-5cc41a21b405: 0.02%
Covered Lines: 81028
Relevant Lines: 142655

💛 - Coveralls

host/onebox.go Outdated
@@ -398,11 +395,10 @@ func (c *cadenceImpl) startFrontend(hosts map[string][]string, startWG *sync.Wai
params.ThrottledLogger = c.logger
params.UpdateLoggerWithServiceName(service.Frontend)
params.PProfInitializer = newPProfInitializerImpl(c.logger, c.FrontendPProfPort())
params.RPCFactory = newRPCFactory(service.Frontend, c.FrontendAddress(), c.logger, c.clusterMetadata)
params.RPCFactory = newRPCFactory(service.Frontend, c.FrontendAddress(), c.FrontendAddress(), c.logger, c.clusterMetadata)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit/optional it seems that c.FrontendAddress() has to be passed all the time, it would be nice if this can be taken automatically.

@vytautas-karpavicius vytautas-karpavicius merged commit b21e5e0 into cadence-workflow:master Oct 12, 2021
@vytautas-karpavicius vytautas-karpavicius deleted the remove-dispatcher-provider branch October 12, 2021 12:57
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