Esun Kim
434b3b62e5
Applied the best practice using global configuration
6 years ago
Yash Tibrewal
98d8f85d4e
Reviewer comments
6 years ago
Yash Tibrewal
b53465c106
Add test for not special casing grpclb if loadbalancingconfig is used
6 years ago
Esun Kim
1518ecbd76
Added new configuration system to core/grp.
...
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.
Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.
* Migrated configuration
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
6 years ago
Juanli Shen
438cb44378
Add fallback-at-startup into xds
6 years ago
Nicolas "Pixel" Noble
b9a279c030
Resolving ambiguous call to CreateCustomChannel.
6 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago
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
Yash Tibrewal
327350ab39
ServiceConfig::Create expects non-Null error and better errors
6 years ago
Juanli Shen
4ae20ad972
Fix count in xds/grpclb test
6 years ago
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
6 years ago
Mark D. Roth
233d3e27ff
grpclb fallback-at-startup improvements
6 years ago
Mark D. Roth
adc2163038
Go into fallback mode when losing contact with balancer and backends.
6 years ago
Mark D. Roth
b0ad6ac3ae
Clean up grpclb and xds end2end tests.
6 years ago
Mark D. Roth
827c77bd24
Use fallback before timeout if balancer channel reports TRANSIENT_FAILURE.
6 years ago
Mark D. Roth
d85e6f4e94
Make grpclb work when selected via service config with no balancer addresses.
6 years ago
Mark D. Roth
6d75cfe426
Revert "Merge pull request #18254 from grpc/revert-18078-grpclb_child_policy_configurable"
...
This reverts commit 6dcf6d1645
, reversing
changes made to a2f1e924de
.
6 years ago
Mark D. Roth
9febbf2d92
Revert "Make grpclb child policy configurable"
6 years ago
Mark D. Roth
762676249e
Make grpclb child policy configurable.
6 years ago
Mark D. Roth
a04b0646de
Don't use a separate call context for subchannel calls.
6 years ago
Mark D. Roth
0794507043
Don't pass service config from parent channel to grpclb balancer channel.
6 years ago
Juanli Shen
bbe2587c39
Enable per-channel subchannel pool
6 years ago
Mark D. Roth
1438b17890
Fix bug that was breaking subchannel reuse in grpclb.
6 years ago
Soheil Hassas Yeganeh
9decf48632
Move security credentials, connectors, and auth context to C++
...
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
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
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Mark D. Roth
217de89085
Don't ignore empty serverlists from the grpclb balancer.
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
b6059e2e86
Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE.
6 years ago
Juanli Shen
25f7d0f6f4
Revert to TRANSIENT_FAILURE during backoff
6 years ago
Mark D. Roth
420db80e73
Increase client load reporting interval to avoid test flake.
7 years ago
David Garcia Quintas
6234054aa8
Verify LB doesn't receive call creds
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
David Garcia Quintas
e3438c43a0
Fix and simplify SingleBalancerTest.InitiallyEmptyServerlist
7 years ago
David Garcia Quintas
2614494f3c
grpclb_end2end test tweaks for compiler happiness
7 years ago
David Garcia Quintas
ad0996b9f3
Perform secure naming checks in grpclb_end2end_test
7 years ago
Juanli Shen
acdefd7646
Add warmup before first batch
7 years ago
Mark D. Roth
bd0f15119a
Refactor code for generating balancer channel args.
7 years ago
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
7 years ago
Juanli Shen
10142e4651
Fix test again
7 years ago
Juanli Shen
87c6504ca9
Revert "Revert "Revert "Revert "grpclb re-resolution""""
7 years ago
David G. Quintas
f66cf0d70d
Revert "Revert "Revert "grpclb re-resolution"""
7 years ago
Juanli Shen
95f37b3108
Fix test
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago