Karthik Ravi Shankar
56ff5a918f
Address review comments - 1
6 years ago
yang-g
d22997e1ea
Add back deadline
6 years ago
yang-g
557a3e578d
Remove 5s deadline on test server shutdown
6 years ago
Karthik Ravi Shankar
92aa0530fa
Changes to locking order
6 years ago
Mark D. Roth
356e7c2107
Clean up some names in the service config code.
6 years ago
Alexander Polcyn
236ae12bb1
Revert "Config migration"
...
This reverts commit 87905ae5ea
.
6 years ago
Karthik Ravi Shankar
e68316dda5
Fix errors from clang format script
6 years ago
Esun Kim
87905ae5ea
Config migration
6 years ago
Alexander Polcyn
2a4d62819b
Revise c-ares timeouts to use c-ares's internal timeout/retry logic
6 years ago
Yash Tibrewal
02bd17ff15
cleanup
6 years ago
Yash Tibrewal
6cba63eb47
reviewer comments and tests
6 years ago
Alexander Polcyn
d5fb6da369
Revert "Use aligned_alloc directly for grpc_core::Arena"
...
This reverts commit 333ba8feae
.
6 years ago
Alexander Polcyn
cb966a4e5e
Revert "Renamed macros for memory alignment"
...
This reverts commit a3fe7c0c90
.
6 years ago
Yash Tibrewal
587ae4a2d9
Fix existing tests
6 years ago
Soheil Hassas Yeganeh
1f0476267b
Add a better comment and rename consume_first to remove_first.
6 years ago
Soheil Hassas Yeganeh
4c0c2965fe
Use peek_first instead of mutable_first.
...
Use DEBUG_ASSERT instead of ASSERT.
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
Soheil Hassas Yeganeh
fd5f787080
Introduce slice_buffer helper methods to avoid copies.
...
take_first(), grpc_undo_first(), ... are very clostly
methods that unnecessarily copy grpc_slice with extra
ref counting requirements.
Introduce alternatives to avoid copies and refs wherever
possible.
This results in 1% improvements in the benchmarks.
6 years ago
Arjun Roy
a3fe7c0c90
Renamed macros for memory alignment
6 years ago
Arjun Roy
333ba8feae
Use aligned_alloc directly for grpc_core::Arena
6 years ago
yang-g
5e7e494638
Use milliseconds for test_server timeout
6 years ago
Yash Tibrewal
9345b7e276
s/atleast/at\ least
6 years ago
Yash Tibrewal
156d743c37
Reviewer comments
6 years ago
Arjun Roy
cf9301f964
Removed some unnecessary memset operations in core.
6 years ago
Yash Tibrewal
f7c8e8be62
clang tidy
6 years ago
Arjun Roy
8ce42f67b2
Shrink arena size by 40 bytes and add additional
...
alignment options (for cache-alignment).
We shrink by:
1) Removing an unnecessary zone pointer.
2) Replacing gpr_mu (40 bytes when using pthread_mutex_t) with
std::atomic_flag.
We also header-inline the fastpath alloc (ie. when not doing a zone
alloc) and move the malloc() for a zone alloc outside of the mutex
critical zone, which allows us to replace the mutex with a spinlock.
We also cache-align created arenas.
6 years ago
Yash Tibrewal
a2316142b2
Reviewer comments
6 years ago
yang-g
37783d6329
Stop calling ParseCommandLineFlags directly, use wrapper call instead
6 years ago
Yash Tibrewal
4309a98b66
Health checking service name to be passed as a channel arg for now
6 years ago
Yash Tibrewal
70839d966f
Reviewer comments
6 years ago
Karthik Ravi Shankar
f3911e7ff1
Fix the completion queue tests for the new behavior
6 years ago
Yash Tibrewal
a4036b2d8c
Add tests for health check parsing too
6 years ago
Arjun Roy
7d946633ea
grpc_slice_refcount devirtualization
6 years ago
Yash Tibrewal
576828696a
Add parsing tests
6 years ago
Yash Tibrewal
116ce0fb24
Use health check parser
6 years ago
Yash Tibrewal
813865acaf
Adding service config parser
6 years ago
Yihua Zhang
ef4508ca0d
fix memory leaks in ssl credential reload.
6 years ago
Mark D. Roth
432c97e1ba
Remove error from connectivity state tracking.
6 years ago
Yash Tibrewal
ab29cdd28e
Add test
6 years ago
Yash Tibrewal
960864736b
Unref errors in test
6 years ago
Yash Tibrewal
b7f32af1d0
Fix scoping for service config errors
6 years ago
Yash Tibrewal
327350ab39
ServiceConfig::Create expects non-Null error and better errors
6 years ago
Bill Feng
df89d8e157
bazel RBE Windows build
6 years ago
Yihua Zhang
1fb7a84133
fix ALPN issues.
6 years ago
Yash Tibrewal
390078b7a8
Add tests for new service config mechanism
6 years ago
Mark D. Roth
eccfecd6a6
Move functions for individual args out of channel_args.{h,cc}.
6 years ago
Yihua Zhang
57caf78407
fix ALPN issues.
6 years ago
Moiz Haidry
ba00d3c914
Added a locality map class that maintains a child policy per locality. This is used by the xds lb policy to manage multiple localities. Also added a grpc_core::Map which is a templatized map, that is used by the locality map to maintain this info
6 years ago
Bill Feng
29d855751f
removed excessive end2end targets
6 years ago
Bill Feng
cdf3e001cb
wip selective build for windows
6 years ago