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

avoid sequential resolution takes too long #2379

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dengqian
Copy link
Contributor

Issues associated with this PR

#2378

Solutions

You should show your solutions about the issues in your PR, including the overall solutions, details and the changes. At this time, Chinese is allowed to describe these.

UT result

Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases. And you need to show the UT result.

Benchmark

If your code involves the processing of every request, you should give the Benchmark Result.

Code Style

  • Make sure Goimports has run
  • Show Golint result

Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cafbd5c) 60.74% compared to head (131aadb) 60.75%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2379   +/-   ##
=======================================
  Coverage   60.74%   60.75%           
=======================================
  Files         426      426           
  Lines       37786    37802   +16     
=======================================
+ Hits        22953    22965   +12     
- Misses      12577    12580    +3     
- Partials     2256     2257    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -363,6 +363,8 @@ func (cm *clusterManager) RemovePrimaryCluster(clusterNames ...string) error {
return nil
}

var wg sync.WaitGroup
Copy link
Member

Choose a reason for hiding this comment

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

这里用全局变量可能不太好,因为 NewSimpleHostHandler 函数可能会被并发调用

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.

None yet

2 participants