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

[call-v3] Direct channel implementation #36734

Closed
wants to merge 786 commits into from
Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
786 commits
Select commit Hold shift + click to select a range
2f2b456
Merge branch 'transport-refs-7.8' into transport-refs-7.8.1
ctiller May 29, 2024
23faae0
fix
ctiller May 29, 2024
4334a2b
Merge branch 'transport-refs-7.8.1' into transport-refs-7.8.2
ctiller May 29, 2024
c5d3761
Merge branch 'transport-refs-7.8.2' into transport-refs-7.8.3
ctiller May 29, 2024
689b9f6
Merge branch 'transport-refs-7.8.3' into transport-refs-7.8.4
ctiller May 29, 2024
a82b7e0
Merge branch 'transport-refs-7.8.4' into transport-refs-7.8.5
ctiller May 29, 2024
150f3c2
Merge branch 'transport-refs-7.8.5' into transport-refs-7.8.6
ctiller May 29, 2024
5d5f6a4
Merge branch 'transport-refs-7.8.6' into transport-refs-7.8.7
ctiller May 29, 2024
a4adb84
Merge branch 'transport-refs-7.8.7' into transport-refs-7.8.8
ctiller May 29, 2024
22dbf99
Merge branch 'transport-refs-7.8.8' into transport-refs-7.8.9
ctiller May 29, 2024
ace6010
Merge branch 'transport-refs-7.8.9' into transport-refs-7.8.10
ctiller May 29, 2024
72963af
Merge branch 'transport-refs-7.8.10' into transport-refs-8
ctiller May 29, 2024
7d91de7
x
ctiller May 29, 2024
64eddc2
Merge branch 'transport-refs-7' into transport-refs-7.5
ctiller May 29, 2024
b044efd
Merge branch 'transport-refs-7.5' into transport-refs-7.7
ctiller May 29, 2024
9856f72
Merge branch 'transport-refs-7.7' into transport-refs-7.8
ctiller May 29, 2024
7c01d76
Merge branch 'transport-refs-7.8' into transport-refs-7.8.1
ctiller May 29, 2024
e96a73a
Merge branch 'transport-refs-7.8.1' into transport-refs-7.8.2
ctiller May 29, 2024
d8939c3
Merge branch 'transport-refs-7.8.2' into transport-refs-7.8.3
ctiller May 29, 2024
2f02a34
Merge branch 'transport-refs-7.8.3' into transport-refs-7.8.4
ctiller May 29, 2024
2490296
Merge branch 'transport-refs-7.8.4' into transport-refs-7.8.5
ctiller May 29, 2024
9ec9998
Merge branch 'transport-refs-7.8.5' into transport-refs-7.8.6
ctiller May 29, 2024
bac5fa1
Merge branch 'transport-refs-7.8.6' into transport-refs-7.8.7
ctiller May 29, 2024
630ef9f
Merge branch 'transport-refs-7.8.7' into transport-refs-7.8.8
ctiller May 29, 2024
ff56117
Merge branch 'transport-refs-7.8.8' into transport-refs-7.8.9
ctiller May 29, 2024
e9cc4b0
Merge branch 'transport-refs-7.8.9' into transport-refs-7.8.10
ctiller May 29, 2024
1ca6841
Merge branch 'transport-refs-7.8.10' into transport-refs-8
ctiller May 29, 2024
217c036
x
ctiller May 29, 2024
0082ddc
fix
ctiller May 29, 2024
00ae392
Merge branch 'master' into transport-refs-7
ctiller May 29, 2024
f073731
Merge branch 'transport-refs-7' into transport-refs-7.5
ctiller May 29, 2024
41392ae
Merge branch 'transport-refs-7.5' into transport-refs-7.7
ctiller May 29, 2024
2c54de6
Merge branch 'transport-refs-7.7' into transport-refs-7.8
ctiller May 29, 2024
c5606a8
Merge branch 'transport-refs-7.8' into transport-refs-7.8.1
ctiller May 29, 2024
9fec237
Merge branch 'transport-refs-7.8.1' into transport-refs-7.8.2
ctiller May 29, 2024
c7b8ef8
Merge branch 'transport-refs-7.8.2' into transport-refs-7.8.3
ctiller May 29, 2024
4364461
Merge branch 'transport-refs-7.8.3' into transport-refs-7.8.4
ctiller May 29, 2024
f597cbf
Merge branch 'transport-refs-7.8.4' into transport-refs-7.8.5
ctiller May 29, 2024
2c55a25
Merge branch 'transport-refs-7.8.5' into transport-refs-7.8.6
ctiller May 29, 2024
0f88f52
Merge branch 'transport-refs-7.8.6' into transport-refs-7.8.7
ctiller May 29, 2024
a1ca408
Merge branch 'transport-refs-7.8.7' into transport-refs-7.8.8
ctiller May 29, 2024
4a6bc72
Merge branch 'transport-refs-7.8.8' into transport-refs-7.8.9
ctiller May 29, 2024
ca6c7fe
Merge branch 'transport-refs-7.8.9' into transport-refs-7.8.10
ctiller May 29, 2024
94c281c
Merge branch 'transport-refs-7.8.10' into transport-refs-8
ctiller May 29, 2024
60ac0d5
x
ctiller May 29, 2024
444f548
x
ctiller May 29, 2024
e019b8f
x
ctiller May 29, 2024
ae133fe
Merge branch 'transport-refs-7' into transport-refs-7.5
ctiller May 29, 2024
bf52787
Merge branch 'transport-refs-7.5' into transport-refs-7.7
ctiller May 29, 2024
ee15450
Merge branch 'transport-refs-7.7' into transport-refs-7.8
ctiller May 29, 2024
1e9bf7d
Merge branch 'transport-refs-7.8' into transport-refs-7.8.1
ctiller May 29, 2024
e1e2349
Merge branch 'transport-refs-7.8.1' into transport-refs-7.8.2
ctiller May 29, 2024
db4a493
Merge branch 'transport-refs-7.8.2' into transport-refs-7.8.3
ctiller May 29, 2024
64fdf8c
Merge branch 'transport-refs-7.8.3' into transport-refs-7.8.4
ctiller May 29, 2024
2684430
Merge branch 'transport-refs-7.8.4' into transport-refs-7.8.5
ctiller May 29, 2024
8e54e64
Merge branch 'transport-refs-7.8.5' into transport-refs-7.8.6
ctiller May 29, 2024
a5ffbdf
Merge branch 'transport-refs-7.8.6' into transport-refs-7.8.7
ctiller May 29, 2024
0347c35
Merge branch 'transport-refs-7.8.7' into transport-refs-7.8.8
ctiller May 29, 2024
8e9fdd3
Merge branch 'transport-refs-7.8.8' into transport-refs-7.8.9
ctiller May 29, 2024
1dee494
Merge branch 'transport-refs-7.8.9' into transport-refs-7.8.10
ctiller May 29, 2024
4dfcf70
Merge branch 'transport-refs-7.8.10' into transport-refs-8
ctiller May 29, 2024
6d9f06e
x
ctiller May 29, 2024
ac8d57d
x
ctiller May 29, 2024
bffc896
splits
ctiller May 29, 2024
3704462
x
ctiller May 30, 2024
badb6ce
x
ctiller May 30, 2024
aaaa32b
Merge branch 'master' into transport-refs-7
ctiller May 30, 2024
762f76d
Merge branch 'transport-refs-7' into transport-refs-7.5
ctiller May 30, 2024
8d81cd9
Merge branch 'transport-refs-7.5' into transport-refs-7.7
ctiller May 30, 2024
813d027
Merge branch 'transport-refs-7.7' into transport-refs-7.8
ctiller May 30, 2024
b2f7f23
Merge branch 'transport-refs-7.8' into transport-refs-7.8.1
ctiller May 30, 2024
99970f5
Merge branch 'transport-refs-7.8.1' into transport-refs-7.8.2
ctiller May 30, 2024
c6083b9
Merge branch 'transport-refs-7.8.2' into transport-refs-7.8.3
ctiller May 30, 2024
b8aab49
Merge branch 'transport-refs-7.8.3' into transport-refs-7.8.4
ctiller May 30, 2024
886b405
Merge branch 'transport-refs-7.8.4' into transport-refs-7.8.5
ctiller May 30, 2024
25ac677
Merge branch 'transport-refs-7.8.5' into transport-refs-7.8.6
ctiller May 30, 2024
4a10719
Merge branch 'transport-refs-7.8.6' into transport-refs-7.8.7
ctiller May 30, 2024
d577b7a
Merge branch 'transport-refs-7.8.7' into transport-refs-7.8.8
ctiller May 30, 2024
d725cee
Merge branch 'transport-refs-7.8.8' into transport-refs-7.8.9
ctiller May 30, 2024
c2b8109
Merge branch 'transport-refs-7.8.9' into transport-refs-7.8.10
ctiller May 30, 2024
d5ede41
Merge branch 'transport-refs-7.8.10' into transport-refs-8
ctiller May 30, 2024
b990d39
x
ctiller May 30, 2024
a9a5379
extract batch builder
ctiller May 30, 2024
975830a
x
ctiller May 30, 2024
0218373
x
ctiller May 30, 2024
f9fdc17
x
ctiller May 30, 2024
f303968
Automated change: Fix sanity tests
ctiller May 30, 2024
8e918da
Merge pull request #2131 from ctiller/create-pull-request/patch-f9fdc17
ctiller May 30, 2024
f71d86e
x
ctiller May 30, 2024
58a9395
fix1
ctiller May 30, 2024
b1deb94
x
ctiller May 30, 2024
f834a83
x
ctiller May 30, 2024
96bbdba
Merge branch 'master' into transport-refs-7
ctiller May 30, 2024
4c3f594
Merge branch 'transport-refs-7' into transport-refs-7.5
ctiller May 30, 2024
c98d94f
Merge branch 'transport-refs-7.5' into transport-refs-7.7
ctiller May 30, 2024
ebfac8c
Merge branch 'transport-refs-7.7' into transport-refs-7.8
ctiller May 30, 2024
350e51d
Merge branch 'transport-refs-7.8' into transport-refs-7.8.1
ctiller May 30, 2024
237b201
Merge branch 'transport-refs-7.8.1' into transport-refs-7.8.2
ctiller May 30, 2024
f473f30
Merge branch 'transport-refs-7.8.2' into transport-refs-7.8.3
ctiller May 30, 2024
e8be826
Merge branch 'transport-refs-7.8.3' into transport-refs-7.8.4
ctiller May 30, 2024
0f80dbb
Merge branch 'transport-refs-7.8.4' into transport-refs-7.8.5
ctiller May 30, 2024
fd2284a
Merge branch 'transport-refs-7.8.5' into transport-refs-7.8.6
ctiller May 30, 2024
74509f9
Merge branch 'transport-refs-7.8.6' into transport-refs-7.8.7
ctiller May 30, 2024
40b0691
Merge branch 'transport-refs-7.8.7' into transport-refs-7.8.8
ctiller May 30, 2024
b266307
Merge branch 'transport-refs-7.8.8' into transport-refs-7.8.9
ctiller May 30, 2024
40fa57e
Merge branch 'transport-refs-7.8.9' into transport-refs-7.8.10
ctiller May 30, 2024
a9ad772
Merge remote-tracking branch 'origin/transport-refs-8' into transport…
ctiller May 30, 2024
c30dfae
Merge branch 'transport-refs-7.8.10' into transport-refs-8
ctiller May 30, 2024
e47fc6c
x
ctiller May 30, 2024
3a84e07
x
ctiller May 30, 2024
cd1bb81
x
ctiller May 30, 2024
42f7d39
x
ctiller May 30, 2024
3862e68
extend-test
ctiller May 30, 2024
777925e
Merge branch 'master' into transport-refs-7
ctiller May 30, 2024
47e7e1c
Merge branch 'transport-refs-7' into transport-refs-7.5
ctiller May 30, 2024
d96e60b
Merge branch 'transport-refs-7.5' into transport-refs-7.7
ctiller May 30, 2024
9d0166f
Merge branch 'transport-refs-7.7' into transport-refs-7.8
ctiller May 30, 2024
f08fdd5
fix
ctiller May 30, 2024
0a03c54
cmt
ctiller May 30, 2024
a342072
cmt
ctiller May 30, 2024
7656baf
cmt
ctiller May 30, 2024
8a7b1f2
Merge branch 'transport-refs-7.8' into transport-refs-7.8.1
ctiller May 30, 2024
4a6d362
Merge branch 'transport-refs-7.8.1' into transport-refs-7.8.2
ctiller May 30, 2024
72dc190
Merge branch 'transport-refs-7.8.2' into transport-refs-7.8.3
ctiller May 30, 2024
dd39e10
Merge branch 'transport-refs-7.8.3' into transport-refs-7.8.4
ctiller May 30, 2024
cddd113
Merge branch 'transport-refs-7.8.4' into transport-refs-7.8.5
ctiller May 30, 2024
14a97d3
Merge branch 'transport-refs-7.8.5' into transport-refs-7.8.6
ctiller May 30, 2024
886db23
Merge branch 'transport-refs-7.8.6' into transport-refs-7.8.7
ctiller May 30, 2024
b9a044c
Merge branch 'transport-refs-7.8.7' into transport-refs-7.8.8
ctiller May 30, 2024
1dbdad2
Merge branch 'transport-refs-7.8.8' into transport-refs-7.8.9
ctiller May 30, 2024
75aaf58
Merge branch 'transport-refs-7.8.9' into transport-refs-7.8.10
ctiller May 30, 2024
026650b
Merge branch 'transport-refs-7.8.10' into transport-refs-8
ctiller May 30, 2024
fe7c2bc
Merge branch 'master' into transport-refs-7
ctiller May 30, 2024
d9fa012
Merge branch 'transport-refs-7' into transport-refs-7.5
ctiller May 30, 2024
1d7ab3b
Merge branch 'transport-refs-7.5' into transport-refs-7.7
ctiller May 30, 2024
f768c25
x
ctiller May 30, 2024
e689203
x
ctiller May 30, 2024
2869c10
Merge branch 'transport-refs-7.8' into transport-refs-7.8.1
ctiller May 30, 2024
6bbc1b8
Merge branch 'transport-refs-7.8.1' into transport-refs-7.8.2
ctiller May 30, 2024
a68a1ef
Merge branch 'transport-refs-7.8.2' into transport-refs-7.8.3
ctiller May 30, 2024
dd5c1b3
Merge branch 'transport-refs-7.8.3' into transport-refs-7.8.4
ctiller May 30, 2024
1dac773
Merge branch 'transport-refs-7.8.4' into transport-refs-7.8.5
ctiller May 30, 2024
08a02ae
Merge branch 'transport-refs-7.8.5' into transport-refs-7.8.6
ctiller May 30, 2024
5d9d319
Merge branch 'transport-refs-7.8.6' into transport-refs-7.8.7
ctiller May 30, 2024
a2f50cb
Merge branch 'transport-refs-7.8.7' into transport-refs-7.8.8
ctiller May 30, 2024
db7cffe
Merge branch 'transport-refs-7.8.8' into transport-refs-7.8.9
ctiller May 30, 2024
a4f0d15
Merge branch 'transport-refs-7.8.9' into transport-refs-7.8.10
ctiller May 30, 2024
e3557e1
Merge branch 'transport-refs-7.8.10' into transport-refs-8
ctiller May 30, 2024
f62948d
x
ctiller May 30, 2024
bb727c2
fix
ctiller May 30, 2024
c51f7ea
Merge branch 'master' into transport-refs-7
ctiller May 30, 2024
bbdac7f
Merge branch 'transport-refs-7' into transport-refs-7.5
ctiller May 30, 2024
c411e6e
Merge branch 'transport-refs-7.5' into transport-refs-7.7
ctiller May 30, 2024
53788ee
Merge branch 'transport-refs-7.7' into transport-refs-7.8
ctiller May 30, 2024
e053633
Merge branch 'transport-refs-7.8' into transport-refs-7.8.1
ctiller May 30, 2024
f580896
Merge branch 'transport-refs-7.8.1' into transport-refs-7.8.2
ctiller May 30, 2024
86cd739
Merge branch 'transport-refs-7.8.2' into transport-refs-7.8.3
ctiller May 30, 2024
7bc0f70
Merge branch 'transport-refs-7.8.3' into transport-refs-7.8.4
ctiller May 30, 2024
1b51851
Merge branch 'transport-refs-7.8.4' into transport-refs-7.8.5
ctiller May 30, 2024
8a91335
Merge branch 'transport-refs-7.8.5' into transport-refs-7.8.6
ctiller May 30, 2024
6a209be
Merge branch 'transport-refs-7.8.6' into transport-refs-7.8.7
ctiller May 30, 2024
aa020ef
Merge branch 'transport-refs-7.8.7' into transport-refs-7.8.8
ctiller May 30, 2024
185c5e1
Merge branch 'transport-refs-7.8.8' into transport-refs-7.8.9
ctiller May 30, 2024
c1bdc82
Merge branch 'transport-refs-7.8.9' into transport-refs-7.8.10
ctiller May 30, 2024
7a5e94c
Merge branch 'transport-refs-7.8.10' into transport-refs-8
ctiller May 30, 2024
68b8cf2
x
ctiller May 31, 2024
3ba3cb4
x
ctiller Jun 1, 2024
972846d
Automated change: Fix sanity tests
ctiller Jun 1, 2024
88e4ee2
Merge pull request #2178 from ctiller/create-pull-request/patch-3ba3cb4
ctiller Jun 1, 2024
3e751ed
Delete src/core/lib/channel/context.h
ctiller Jun 1, 2024
fb91f5b
x
ctiller Jun 1, 2024
5bf4c34
Merge branch 'nukage' of github.com:ctiller/grpc into nukage
ctiller Jun 1, 2024
2519339
Merge branch 'nukage' into transport-refs-8
ctiller Jun 3, 2024
1727e38
Merge branch 'transport-refs-8' into transport-refs-9
ctiller Jun 3, 2024
394abb4
Automated change: Fix sanity tests
ctiller Jun 3, 2024
ee1071a
Automated change: Fix sanity tests
ctiller Jun 3, 2024
0493c7a
testing
ctiller Jun 3, 2024
b90cc6b
Merge pull request #2180 from ctiller/create-pull-request/patch-2519339
ctiller Jun 3, 2024
4043d04
Merge pull request #2181 from ctiller/create-pull-request/patch-1727e38
ctiller Jun 3, 2024
77e7dec
x
ctiller Jun 3, 2024
5900d72
start new state machine
ctiller Jun 3, 2024
2afc531
Merge branch 'master' into nukage
ctiller Jun 3, 2024
df6b38b
Merge branch 'nukage' into transport-refs-8
ctiller Jun 3, 2024
a5948f2
test-fixes
ctiller Jun 3, 2024
3a00a3c
Merge branch 'master' into nukage
ctiller Jun 3, 2024
0dda1fd
Merge branch 'nukage' into transport-refs-8
ctiller Jun 3, 2024
3588ccf
Merge remote-tracking branch 'origin/transport-refs-9' into transport…
ctiller Jun 3, 2024
bc349ad
Merge branch 'transport-refs-8' into transport-refs-9
ctiller Jun 3, 2024
ab513b9
new state machine progress
ctiller Jun 4, 2024
9b96980
Merge branch 'master' into transport-refs-8
ctiller Jun 4, 2024
5e93a13
fix
ctiller Jun 4, 2024
3767b56
x
ctiller Jun 4, 2024
c5a1f8b
fix confusion between no picker (new channel) and no picker (we done)
ctiller Jun 4, 2024
ccd0707
fix
ctiller Jun 4, 2024
0697e3a
fmt
ctiller Jun 4, 2024
f8208cd
fix
ctiller Jun 4, 2024
e8cb706
fix
ctiller Jun 4, 2024
e484556
fix
ctiller Jun 4, 2024
0a0b19b
fix
ctiller Jun 4, 2024
7defa3e
merge
ctiller Jun 4, 2024
9e5515d
fmt
ctiller Jun 4, 2024
5a0aff2
x
ctiller Jun 4, 2024
efeae82
x
ctiller Jun 4, 2024
77723e1
x
ctiller Jun 4, 2024
1d727fb
strict
ctiller Jun 4, 2024
1733fe9
Merge branch 'master' into transport-refs-8
ctiller Jun 4, 2024
51cf92a
x
ctiller Jun 4, 2024
5695ff1
Merge branch 'transport-refs-8' into transport-refs-9
ctiller Jun 5, 2024
d927c0e
more work on new state machine
ctiller Jun 5, 2024
760ce22
Merge branch 'master' into transport-refs-8
ctiller Jun 6, 2024
677d647
Merge branch 'transport-refs-8' into transport-refs-9
ctiller Jun 6, 2024
c3ac367
progress
ctiller Jun 6, 2024
078b86d
progress
ctiller Jun 6, 2024
d9e5969
x
ctiller Jun 7, 2024
f1f08dc
new state machine compiles
ctiller Jun 10, 2024
d64852f
x
ctiller Jun 10, 2024
8b9ace2
x
ctiller Jun 10, 2024
8e3bd76
x
ctiller Jun 10, 2024
942d4f7
state-machine
ctiller Jun 11, 2024
192e85a
fix
ctiller Jun 11, 2024
af9b204
fix
ctiller Jun 11, 2024
b15f503
x
ctiller Jun 11, 2024
248a4eb
x
ctiller Jun 11, 2024
acfcf08
x
ctiller Jun 11, 2024
eaa4e67
x
ctiller Jun 11, 2024
9cbe41c
dont cancel if done
ctiller Jun 11, 2024
5b599ed
x
ctiller Jun 11, 2024
3560b1c
Merge github.com:grpc/grpc into transport-refs-9
ctiller Jun 12, 2024
e2c9d02
Merge github.com:grpc/grpc into transport-refs-9
ctiller Jun 13, 2024
d9a5f62
x
ctiller Jun 13, 2024
1b7dc38
x
ctiller Jun 13, 2024
2a3396b
x
ctiller Jun 13, 2024
cdfe0a7
fix
ctiller Jun 13, 2024
314e85d
fix
ctiller Jun 13, 2024
0dcee3a
fix
ctiller Jun 13, 2024
2477665
Merge github.com:grpc/grpc into transport-refs-9
ctiller Jun 13, 2024
16224d5
x
ctiller Jun 13, 2024
244977a
x
ctiller Jun 13, 2024
fa3aea7
x
ctiller Jun 13, 2024
1ec48d7
x
ctiller Jun 14, 2024
0a9a3bf
x
ctiller Jun 14, 2024
5cbc66b
x
ctiller Jun 14, 2024
eef8ac5
Merge github.com:grpc/grpc into transport-refs-9
ctiller Jun 14, 2024
3c82dea
x
ctiller Jun 14, 2024
b80906f
x
ctiller Jun 15, 2024
4a16fcc
x
ctiller Jun 15, 2024
17f25f6
x
ctiller Jun 16, 2024
612b788
x
ctiller Jun 16, 2024
3e2a80b
x
ctiller Jun 16, 2024
fbb2759
Merge branch 'master' into transport-refs-9
ctiller Jun 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3282,12 +3282,12 @@ grpc_cc_library(
language = "c++",
deps = [
"arena",
"call_destination",
"grpc_service_config",
"lb_policy",
"unique_type_name",
"//:call_tracer",
"//:gpr_public_hdrs",
"//:grpc_base",
"//:gpr",
"//:legacy_context",
],
)
Expand Down
62 changes: 33 additions & 29 deletions src/core/client_channel/client_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,43 @@ extern TraceFlag grpc_client_channel_trace;
extern TraceFlag grpc_client_channel_call_trace;
extern TraceFlag grpc_client_channel_lb_call_trace;

//
// ClientChannel::ResolverResultHandler
//

class ClientChannel::ResolverResultHandler : public Resolver::ResultHandler {
public:
explicit ResolverResultHandler(RefCountedPtr<ClientChannel> client_channel)
: client_channel_(std::move(client_channel)) {}

~ResolverResultHandler() override {
if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
gpr_log(GPR_INFO, "client_channel=%p: resolver shutdown complete",
client_channel_.get());
}
}

void ReportResult(Resolver::Result result) override
ABSL_EXCLUSIVE_LOCKS_REQUIRED(*client_channel_->work_serializer_) {
client_channel_->OnResolverResultChangedLocked(std::move(result));
}

private:
RefCountedPtr<ClientChannel> client_channel_;
};

//
// ClientChannel::SubchannelWrapper
//

// This class is a wrapper for Subchannel that hides details of the
// channel's implementation (such as the connected subchannel) from the
// LB policy API.
//
// Note that no synchronization is needed here, because even if the
// underlying subchannel is shared between channels, this wrapper will only
// be used within one channel, so it will always be synchronized by the
// control plane work_serializer.
class ClientChannel::SubchannelWrapper
: public SubchannelInterfaceWithCallDestination {
public:
Expand Down Expand Up @@ -190,35 +223,6 @@ class ClientChannel::SubchannelWrapper
data_watchers_ ABSL_GUARDED_BY(*client_channel_->work_serializer_);
};

//
// ClientChannel::ResolverResultHandler
//

class ClientChannel::ResolverResultHandler : public Resolver::ResultHandler {
public:
explicit ResolverResultHandler(RefCountedPtr<ClientChannel> client_channel)
: client_channel_(std::move(client_channel)) {}

~ResolverResultHandler() override {
if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) {
gpr_log(GPR_INFO, "client_channel=%p: resolver shutdown complete",
client_channel_.get());
}
}

void ReportResult(Resolver::Result result) override
ABSL_EXCLUSIVE_LOCKS_REQUIRED(*client_channel_->work_serializer_) {
client_channel_->OnResolverResultChangedLocked(std::move(result));
}

private:
RefCountedPtr<ClientChannel> client_channel_;
};

//
// ClientChannel::SubchannelWrapper
//

// This wrapper provides a bridge between the internal Subchannel API
// and the SubchannelInterface API that we expose to LB policies.
// It implements Subchannel::ConnectivityStateWatcherInterface and wraps
Expand Down
13 changes: 2 additions & 11 deletions src/core/client_channel/client_channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,6 @@ namespace grpc_core {

class ClientChannel : public Channel {
public:
// This class is a wrapper for Subchannel that hides details of the
// channel's implementation (such as the connected subchannel) from the
// LB policy API.
//
// Note that no synchronization is needed here, because even if the
// underlying subchannel is shared between channels, this wrapper will only
// be used within one channel, so it will always be synchronized by the
// control plane work_serializer.
class SubchannelWrapper;

using PickerObservable =
Observable<RefCountedPtr<LoadBalancingPolicy::SubchannelPicker>>;

Expand Down Expand Up @@ -132,8 +122,9 @@ class ClientChannel : public Channel {
}

private:
class ResolverResultHandler;
class ClientChannelControlHelper;
class ResolverResultHandler;
class SubchannelWrapper;

void CreateResolverLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_);
void DestroyResolverAndLbPolicyLocked()
Expand Down
94 changes: 0 additions & 94 deletions src/core/client_channel/lb_call_tracing_filter.cc

This file was deleted.

79 changes: 0 additions & 79 deletions src/core/client_channel/lb_call_tracing_filter.h

This file was deleted.

1 change: 1 addition & 0 deletions tools/distrib/fix_build_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ def score_best(proposed, existing):
"grpc_filegroup": lambda **kwargs: None,
"grpc_transport_test": lambda **kwargs: None,
"grpc_yodel_test": lambda **kwargs: None,
"grpc_yodel_simple_test": lambda **kwargs: None,
"grpc_fuzzer": grpc_cc_library,
"grpc_fuzz_test": grpc_cc_library,
"grpc_proto_fuzzer": grpc_cc_library,
Expand Down