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
murgatroid99
2a12b47f0b
Fix other docker build issues
6 years ago
Juanli Shen
1979edd03c
Fix BackendsRestart test
6 years ago
Jan Tattermusch
2ebbac117b
Use msbuild in C# distribtests for legacy .csproj
6 years ago
Jan Tattermusch
80fb0ce67f
add Google.Protobuf dependency to legacy csproj
6 years ago
Jan Tattermusch
133ff03e97
classic .csproj Grpc.Tools test
6 years ago
Jan Tattermusch
89281d4498
test protobuf used
6 years ago
Jan Tattermusch
326e06256b
C# distribtests should test Grpc.Tools codegen too
6 years ago
murgatroid99
961f25bd27
Slightly different check-valid-until fix
6 years ago
Bill Feng
cdf3e001cb
wip selective build for windows
6 years ago
Prashant Jaikumar
4e9e662729
Fixed bug in CFStream endpoint.
...
We were failing to return an error when the transport tried to write to an endpoint that was in an errored state.
6 years ago
murgatroid99
93dc0d6ec3
Update fix with new information from post
6 years ago
murgatroid99
084ebec9af
Update jessie-backports URL
6 years ago
yang-g
8f77928e04
Log error to stderr
6 years ago
Fabian Holler
113e84b8dd
update cares to version cares-1_15_0
...
This fixes the issue: https://github.com/grpc/grpc/issues/16688
Which causes that grpc can not be build because of the following
compiler error:
third_party/cares/cares/ares_init.c: In function ‘ares_dup’:
third_party/cares/cares/ares_init.c:301:17: error: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer- memaccess] sizeof(src->local_dev_name));
6 years ago
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
6 years ago
Guantao Liu
872d2787a0
Avoid using grpc_core::Executor when the background poller is available.
...
Instead, run closures in the background poller. This will generally
avoid the thread hop in the gRPC runtime.
6 years ago
Karthik Ravi Shankar
8dbaa13f52
Fix more grpc namespace issues
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
Karthik Ravi Shankar
4e0923e802
Fix errors from clang_format_code.sh
6 years ago
yang-g
621840900f
Fully log test scenario
6 years ago
Bill Feng
1a09899d3e
reverted change on thread manager test
6 years ago
Soheil Hassas Yeganeh
1014fe507f
Use const ref for grpc_slice.
...
We are copying the slice on every call creation, which is hurting
ping/pong traffic.
6 years ago
Karthik Ravi Shankar
ecfc107f32
Make more changes to remove grpc qualifier from tests
6 years ago
Bill Feng
d93959853f
Enabled Windows Bazel build for cpp tests
6 years ago
Karthik Ravi Shankar
4260fe1147
More fixes
6 years ago
Karthik Ravi Shankar
9a41671cb1
Remove grpc:: from API to ensure general availability
6 years ago
Soheil Hassas Yeganeh
ad1b3e5094
Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing.
...
grpc_byte_buffer_reader_next() copies and references the slice. This
is not always necessary since the caller will not use the slice
after destroying the byte buffer.
A prominent example is the protobuf parser, which
calls grpc_byte_buffer_reader_next() and immediately unrefs the slice
after the call. This ref() and unref() calls can be very expensive
in the hot path.
This commit introduces grpc_byte_buffer_reader_peek() which
essentialy return a pointer to the slice in the buffer, i.e.,
no copies, and no refs.
QPS of 1MiB 1 Channel callback benchmark increases by 5%.
More importantly insructions per cycle is increased by 10%.
Also add tests and benchmarks for byte_buffer_reader_peek()
This commit reaplies 509e77a5a3
6 years ago
Karthik Ravi Shankar
04af168cf8
Move Server into grpc_impl from grpc
6 years ago
Karthik Ravi Shankar
54171e276f
Fold server credentials from grpc to grpc_impl namespace
6 years ago
Hope Casey-Allen
6ecf74f641
Increase timeout for test
6 years ago
Karthik Ravi Shankar
1d357572cf
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
...
This reverts commit d8d8bec7c8
.
6 years ago
Vijay Pai
7b3a120295
Address reviewer comments
6 years ago
Vijay Pai
f12f862d28
Strengthen test
6 years ago
Vijay Pai
0cb0cdb7e3
Address reviewer comments on test
6 years ago
Vijay Pai
93f0a3f653
Address reviewer comments
6 years ago
Mark D. Roth
233d3e27ff
grpclb fallback-at-startup improvements
6 years ago
Vijay Pai
04a6b8467c
Support callback on cancellation of server-side unary RPCs
6 years ago
Prashant Jaikumar
f6479caf2a
Fix CFStreamTests
...
- Pass extra param to grpc_endpoint_read() as the API has changed.
- Fixed build error seen with Xcode 10.
- Enable pipefail to xcodebuild errors are propagated to the caller.
6 years ago
Mark D. Roth
adc2163038
Go into fallback mode when losing contact with balancer and backends.
6 years ago
Karthik Ravi Shankar
2a8f3f79ab
Fix more namespace stuff
6 years ago
Karthik Ravi Shankar
0692dcc16a
Fix tests namespaces
6 years ago
Vijay Pai
48ce4ca939
Add support for extra-reaction operations via Holds
6 years ago
Karthik Ravi Shankar
5906b86119
Fix tests to use grpc namespace
6 years ago
Karthik Ravi Shankar
582ecc8fc4
Fix tests to use grpc namespace
6 years ago
Mark D. Roth
b0ad6ac3ae
Clean up grpclb and xds end2end tests.
6 years ago
Yihua Zhang
64caf4d3df
fix clang-tidy errors
6 years ago
Karthik Ravi Shankar
f570c5ce7e
Make changes for making opencensus API visible from gRPC namespace
6 years ago