Yash Tibrewal
a61bb8ed5b
Move service config code out of client_client to its own target ( #27683 )
...
* Move service config code out of client_client to its own target
* Fix BUILD
* Fix test build
* Reviewer comments
* Reviewer comments
* Automated change: Fix sanity tests
* Reviewer comments
Co-authored-by: yashykt <yashykt@users.noreply.github.com>
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
AJ Heller
d10617edb5
Move resource_user ownership into chttp2 transport/server/connector v2 ( #27032 )
...
Reintroducing PR #26643 , which was reverted in #27029
Fixed a memory leak and added a test that would have caught it (ASAN build): ca0c8c4
3 years ago
Craig Tiller
f5d3ed2db1
Revert "Move resource_user ownership into chttp2 transport/server/connector ( #26643 )" ( #27029 )
...
This reverts commit d1935a65a1
. Will be rolled forward with a fix.
3 years ago
AJ Heller
d1935a65a1
Move resource_user ownership into chttp2 transport/server/connector ( #26643 )
3 years ago
Tamir Duberstein
013e67a029
Deprecate grpc{_core,::internal}::WaitUntil ( #26866 )
...
It is not possible for such a function to be implemented in a way that
is understood by annotalysis. Mark it deprecated and replace instances
of its use with direct mutex/condvar usage.
Add a bunch of missing thread safety annotations while I'm here.
3 years ago
Mark D. Roth
639b7acdfa
fix client_lb_end2end_test ClientLbPickArgsTest.Basic flakiness ( #26868 )
...
* fix client_lb_end2end_test ClientLbPickArgsTest.Basic flakiness
* clang-format
3 years ago
Mark D. Roth
4c40ee3f78
move parse_address and sockaddr_utils out of iomgr directory ( #26077 )
...
* move parse_address and sockaddr_utils out of iomgr directory
* clang-format
* fix python
* fix for import
* fix build file for import
4 years ago
Esun Kim
6468d8a69d
Make grpcpp/mutex compatible absl/mutex
4 years ago
AJ Heller
880a854f0e
Convert URI parser to C++ #24701
4 years ago
Mark D. Roth
a9d30fece6
Use separate mutexes and call queues for resolution and load balancing
4 years ago
yang-g
ec074a0df9
Remove hack for Xcode 10
4 years ago
yang-g
8456e2138a
Check localhost is resolved to ipv4 or ipv6 and update test accordingly.
4 years ago
Esun Kim
aae4f4cf18
Fix by misc-unused-using-decls
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Esun Kim
ece76ee1e8
Fix code by readability-container-size-empty
4 years ago
Esun Kim
6d6648c7e1
Fix clang-tidy errors
4 years ago
Esun Kim
8e9e895ffc
Replace grpc_shutdown_blocking with grpc_shutdown
4 years ago
Mark D. Roth
b62d5c7eaa
Allow channel args to modify service config parsing behavior.
4 years ago
Mark D. Roth
f7a72b040d
Pass address to CreateSubchannel() and expose attributes in SubchannelInterface.
4 years ago
Mark D. Roth
bd73844208
Move parse_address library from client_channel to iomgr.
4 years ago
Mark D. Roth
7c3fefea3f
Make request path more easily visible to LB policies.
4 years ago
Mark D. Roth
9404f66f70
Replace most uses of gpr_asprintf() with absl calls.
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Muxi Yan
2ade1dbe89
Fix client_lb_end2end_test flake
5 years ago
Mark D. Roth
d74548e611
Remove StringViewToCString() and src/core/lib/gprpp/string_view.h
5 years ago
Mark D. Roth
fc6f26c89b
Remove grpc_core::StringView.
5 years ago
Jan Tattermusch
f091a66999
Revert "Fix client_lb_end2end_test flake"
5 years ago
Muxi Yan
4f9425086b
Fix client_lb_end2end_test flake
5 years ago
Esun Kim
b308241343
Fix clang-tidy issues
5 years ago
Mark D. Roth
118fe7405f
Increase test timeout to avoid flakiness.
5 years ago
Esun Kim
e45b60d1fe
Fix unique_ptr<char> memory allocation mismatch
5 years ago
Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
5 years ago
Esun Kim
de81f120b2
Abseilify StringView
5 years ago
Mark D. Roth
f281c343b9
Change HealthCheckClient to use new connectivity state API.
5 years ago
Juanli Shen
40c0519ad0
Move xds protos to testing/
5 years ago
Mark D. Roth
01eeec72c6
Change RR to consider a subchannel in TF if it has failed since it was READY.
5 years ago
Prashant Jaikumar
9f02fc7f91
Enable end2end C++ tests on iOS.
...
Some e2e tests were disabled on iOS because they hit the Apple CFStream bug.
This commit enables e2e tests and works around the Apple bug by disabling CFStream.
5 years ago
Mark D. Roth
21c5424477
Add API for accessing per-call backend metric data in LB policies.
5 years ago
Mark D. Roth
c8430023a5
Apply health check service name changes to existing subchannels.
5 years ago
Qiancheng Zhao
1391c93a95
atomic client idle filter
5 years ago
Qiancheng Zhao
29480c4f6b
add client idle filter
5 years ago
Qiancheng Zhao
6de222a6ad
refactor response generator in client_lb_end2end_test
5 years ago
Prashant Jaikumar
fbfb93c88f
Fix C++ tests to run on iOS
...
- Define grpc_iomgr_run_in_background in iomgr_posix_cfstream.cc
- Use *_IF_SUPPORTED() for death tests
- Move global test init, teardown to SetUpTestCase, TearDownTestCase as GTMGoogleTestRun doesn't run main()
6 years ago
Esun Kim
434b3b62e5
Applied the best practice using global configuration
6 years ago
Mark D. Roth
a4d4bb82c9
Revamp subchannel connectivity state monitoring APIs.
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
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