Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
6 years ago
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1
, reversing
changes made to 31843787cc
.
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d
, reversing
changes made to dc1089a6d1
.
6 years ago
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
6 years ago
Mark D. Roth
ee4e4bead3
pick_first: don't go into TRANSIENT_FAILURE upon empty update when in IDLE.
6 years ago
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
6 years ago
Karthik Ravi Shankar
92bde3922f
Fix tests to use grpc namespace.
6 years ago
Karthik Ravi Shankar
b25f6da3f0
Make changes to fix test failures
6 years ago
Mark D. Roth
c9421eeb85
Fix state reported by pick_first when we receive a GOAWAY with a pending subchannel list.
6 years ago
yang-g
5480dc5cd6
fix client_lb_e2e_test
6 years ago
Mark D. Roth
428fa7602c
Transition into state CONNECTING when we start name resolution.
6 years ago
Mark D. Roth
e8cd36924e
Add test for retry code path.
6 years ago
Juanli Shen
bbe2587c39
Enable per-channel subchannel pool
6 years ago
Juanli Shen
b3c0b91db1
Remove force_creation param from subchannel index
6 years ago
Mark D. Roth
08f94b1623
Clean up test.
6 years ago
Mark D. Roth
d6e2b33670
Move InterceptRecvTrailingMetadataLoadBalancingPolicy to a separate file.
...
This fixes a link error when building with make.
6 years ago
Mark D. Roth
8cd7178afb
Add dtors in LB policy subclasses.
6 years ago
Mark D. Roth
40f22bfc94
move ForwardingLoadBalancingPolicy to its own library
6 years ago
Mark D. Roth
c4c4b9152f
WIP
6 years ago
Mark D. Roth
c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis.""
6 years ago
hcaseyal
27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis."
6 years ago
Mark D. Roth
dedff37b4f
Allow encoding arbitrary channel args on a per-address basis.
6 years ago
Mark D. Roth
a6a21d1c64
more code review changes
6 years ago
Mark D. Roth
3dd24ea978
code review changes
6 years ago
Mark D. Roth
bb5741f9c0
Change pick_first to immediately select the first subchannel in READY state.
6 years ago
Mark D. Roth
5f806d77dc
Fix bug in subchannel backoff reset code.
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Mark D. Roth
d18458720c
Don't reset channel state on resolver failure when LB policy exists.
6 years ago
Vijay Pai
a192fc6880
Fix clang-tidy issues
6 years ago
Mark D. Roth
8352f9d274
Fix handling of call context in health check call batch payload.
6 years ago
Spencer Fang
2808bd0ba0
Use forwarding LB test policy. Fix trailer interception code.
6 years ago
Mark D. Roth
2cff9ca408
Revert "Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE.""
6 years ago
hcaseyal
c4e2c46be1
Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE."
6 years ago
Mark D. Roth
f85fd026e3
Client-side health checking support.
6 years ago
Mark D. Roth
b6059e2e86
Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE.
6 years ago
Spencer Fang
c62c3b920c
Add fake lb policy for test. Tweak existing interception code.
6 years ago
Juanli Shen
dd10cbc554
Change force_creation from atm to bool
6 years ago
Mark D. Roth
4312d1217e
clang-format
6 years ago
Mark D. Roth
aad7884233
Code review changes.
6 years ago
Mark D. Roth
4d6f002780
Code review changes and fix threading bug in test.
6 years ago
Juanli Shen
d19fd1c689
PF: Check connectivity state before watching
6 years ago
David Garcia Quintas
d08ea3025b
Fixed ordering in adding pending picks to PF
6 years ago
Mark D. Roth
f6dea9ec6a
Add another test.
6 years ago
Mark D. Roth
4e1e6ceda9
Fix pick_first to not throw away unused subchannels.
6 years ago
Juanli Shen
186df431de
As per review
6 years ago
Juanli Shen
9b72650125
PF: Check connectivity state before watching
6 years ago
Mark D. Roth
f7e72560b6
Add experimental API for resetting connection backoff.
6 years ago
Juanli Shen
b0e41f6c7d
Fix re-resolution in pick_first
6 years ago
David Garcia Quintas
8427571d06
fix test comment and small code tweak
6 years ago
David Garcia Quintas
50409fea27
Simplified the test significantly. No more threads
6 years ago
David Garcia Quintas
30d39c4738
Clarify new test comment
6 years ago