Skip to content

[3.4] Upgrade grpc-go to 1.29.1 and Backport "Introduce grpc-1.30+ compatible client/v3/naming API."#16795

Merged
serathius merged 1 commit into
etcd-io:release-3.4from
chaochn47:release-3.4-grpc-update
Oct 24, 2023
Merged

[3.4] Upgrade grpc-go to 1.29.1 and Backport "Introduce grpc-1.30+ compatible client/v3/naming API."#16795
serathius merged 1 commit into
etcd-io:release-3.4from
chaochn47:release-3.4-grpc-update

Conversation

@chaochn47

@chaochn47 chaochn47 commented Oct 18, 2023

Copy link
Copy Markdown
Member

Part of #16740

Backport #12397 and #12614 as the first step..

Note: https://etcd.io/docs/v3.4/dev-guide/grpc_naming/ doc needs to be reflected before #16751 is cut.

This will upgrade gRPC to v1.29.1 and naming API change.

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

@chaochn47 chaochn47 force-pushed the release-3.4-grpc-update branch 2 times, most recently from f3bef24 to 459b3de Compare October 18, 2023 06:12
@ahrtr ahrtr changed the title [release-3.4] backport "Introduce grpc-1.30+ compatible client/v3/naming API." [3.4] Backport "Introduce grpc-1.30+ compatible client/v3/naming API." Oct 18, 2023
@ahrtr ahrtr changed the title [3.4] Backport "Introduce grpc-1.30+ compatible client/v3/naming API." [3.4] Upgrade grpc-to go 1.29.1 and Backport "Introduce grpc-1.30+ compatible client/v3/naming API." Oct 18, 2023
@ahrtr ahrtr changed the title [3.4] Upgrade grpc-to go 1.29.1 and Backport "Introduce grpc-1.30+ compatible client/v3/naming API." [3.4] Upgrade grpc-go to 1.29.1 and Backport "Introduce grpc-1.30+ compatible client/v3/naming API." Oct 18, 2023
@ahrtr ahrtr mentioned this pull request Oct 18, 2023
24 tasks
@chaochn47 chaochn47 marked this pull request as ready for review October 18, 2023 17:42
@chaochn47

chaochn47 commented Oct 18, 2023

Copy link
Copy Markdown
Member Author

Kindly ping @fuweid for a second eye to review it~

I updated the package path of naming and test package during cherry-pick.. Other than that, everything should be the same as the backported PRs.

@chaochn47 chaochn47 force-pushed the release-3.4-grpc-update branch from 459b3de to 3298840 Compare October 18, 2023 17:50
@chaochn47 chaochn47 requested a review from fuweid October 18, 2023 17:53
Comment thread integration/clientv3/naming/endpoints_test.go Outdated
This is not yet implementation, just API and tests to be filled
with implementation in next CLs,
tracked by: etcd-io#12652

We propose here 3 packages:
 - clientv3/naming/endpoints ->
    That is abstraction layer over etcd that allows to write, read &
    watch Endpoints information. It's independent from GRPC API. It hides
    the storage details.

 - clientv3/naming/endpoints/internal ->
    That contains the grpc's compatible Update class to preserve the
    internal JSON mashalling format.

 - clientv3/naming/resolver ->
   That implements the GRPC resolver API, such that etcd can be
   used for connection.Dial in grpc.

Please see the grpc_naming.md document changes & grpcproxy/cluster.go
new integration, to see how the new abstractions work.

Signed-off-by: Chao Chen <chaochn@amazon.com>
@chaochn47 chaochn47 force-pushed the release-3.4-grpc-update branch from 3298840 to 6c0e4d9 Compare October 19, 2023 19:59

@fuweid fuweid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment thread test
@chaochn47

chaochn47 commented Oct 20, 2023

Copy link
Copy Markdown
Member Author

@ahrtr

ahrtr commented Oct 20, 2023

Copy link
Copy Markdown
Member

ping @jmhbnz @serathius @wenjiaswe

@jmhbnz jmhbnz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM - Just a question about the old test shell script below.

Comment thread test
@serathius serathius merged commit 3fd4988 into etcd-io:release-3.4 Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

6 participants