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 reflect in grpc server #1200

Merged
merged 1 commit into from
Jun 1, 2021
Merged

Conversation

gaoxinge
Copy link

What this PR does:

  • remove reflect for SetProxyImpl in grpc server
  • update protobuf

Does this PR introduce a user-facing change?:

NONE

@codecov-commenter
Copy link

Codecov Report

Merging #1200 (f4350cb) into 3.0 (968650f) will decrease coverage by 3.48%.
The diff coverage is 50.31%.

Impacted file tree graph

@@            Coverage Diff             @@
##              3.0    #1200      +/-   ##
==========================================
- Coverage   59.53%   56.04%   -3.49%     
==========================================
  Files         259      269      +10     
  Lines       12737    12827      +90     
==========================================
- Hits         7583     7189     -394     
- Misses       4199     4741     +542     
+ Partials      955      897      -58     
Impacted Files Coverage Δ
cluster/cluster_impl/available_cluster.go 100.00% <ø> (ø)
cluster/cluster_impl/available_cluster_invoker.go 66.66% <ø> (ø)
cluster/cluster_impl/broadcast_cluster.go 100.00% <ø> (ø)
cluster/cluster_impl/broadcast_cluster_invoker.go 76.47% <ø> (ø)
cluster/cluster_impl/failback_cluster.go 100.00% <ø> (ø)
cluster/cluster_impl/failfast_cluster.go 100.00% <ø> (ø)
cluster/cluster_impl/failfast_cluster_invoker.go 66.66% <ø> (ø)
cluster/cluster_impl/failover_cluster.go 100.00% <ø> (ø)
cluster/cluster_impl/failsafe_cluster.go 100.00% <ø> (ø)
cluster/cluster_impl/forking_cluster.go 100.00% <ø> (ø)
... and 268 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d385de5...f4350cb. Read the comment docs.

Copy link
Contributor

@hxmhlt hxmhlt left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -134,18 +136,12 @@ func waitGrpcExporter(providerServices map[string]*config.ServiceConfig) {
func registerService(providerServices map[string]*config.ServiceConfig, server *grpc.Server) {
for key, providerService := range providerServices {
service := config.GetProviderService(key)

ds, ok := service.(DubboGrpcService)
if !ok {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is 'ds' may be nil ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Is 'service' may be nil ?

Copy link
Author

Choose a reason for hiding this comment

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

@AlexStocks AlexStocks merged commit 39af0bc into apache:3.0 Jun 1, 2021
@gaoxinge gaoxinge deleted the grpc_set_impl_proxy branch June 5, 2021 00:58
@LaurenceLiZhixin LaurenceLiZhixin added this to the v3.0.0-rc2 milestone Jun 16, 2021
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.

6 participants