AJ Heller
0a21ecdff6
Change cancellation semantics in the iomgr DNSResolver ( #29581 )
...
DNS requests were previously cancellable, but it was assumed
that the resolution callback would be called in all cases. Now, requests
provide a `bool Cancel(TaskHandle handle)` method that lets callers know
whether cancellation is successful, and if so, the callback will not be
run.
This is in accordance with EventEngine's cancellation semantics, and it
is a step towards migration from iomgr to EventEngine.
3 years ago
Craig Tiller
7b53ceec4d
[iwyu] Better sanity stability ( #29629 )
...
* [iwyu] Better script
* eliminate race
3 years ago
Craig Tiller
35320cbc76
[promises] Convert lame client ( #29587 )
...
* [promises] Convert lame client
* fixes
* fixes
* Automated change: Fix sanity tests
* cleanup
* fix
* fix
* review feedback
* fix
* no ok lame channels
* fix
* fix
* Update promise_based_filter.h
* [iwyu] Better script
* eliminate race
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
3f2b3460a4
[Python] Add an UDS example ( #29592 )
3 years ago
Sergii Tkachenko
972374347b
[PSM interop] Double the operation timeout - misc ( #29627 )
...
https://github.com/grpc/grpc/pull/29004 doubled resource timeouts for backends,
but not networksecurity/networkservices resources.
3 years ago
Jan Tattermusch
cfa03d83d6
remove duplicate ./reports/ mount for xds tests ( #29618 )
3 years ago
Craig Tiller
f56282a6b6
[iwyu] surface ( #29588 )
...
* [iwyu] chttp2
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fwd file
* fix
* fix
* Automated change: Fix sanity tests
* fix
* [iwyu] surface
* [iwyu] surface
* add no-return hint
* fix
* Automated change: Fix sanity tests
* Add flag
* sweep1
* fixes
* speedup
* fixes
* fixes
* fixes
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fic
* x
* ugh
* fix
* fix
* Automated change: Fix sanity tests
* fix?
* fixes
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
440e91fd41
[grrr] Add a test that BUILD.gn does not exist ( #29498 )
...
* Add a test that BUILD.gn does not exist
* fix copyright
* review feedback
3 years ago
Craig Tiller
66b5c7ad46
fix ( #29625 )
3 years ago
github-actions[bot]
c80b85bca5
Automated change: Fix sanity tests ( #29624 )
...
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
457adf3d58
[iwyu] client_channel ( #29579 )
...
* [iwyu] client_channel
* Update grpclb_client_stats.h
* Update load_balancer_api.h
* Update grpc_ares_ev_driver.h
* Update grpc_ares_wrapper.h
* Update grpc_ares_wrapper_event_engine.cc
* Update grpc_ares_wrapper_windows.cc
* clang-format
* Update grpc_ares_ev_driver_event_engine.cc
* Update grpc_ares_ev_driver_windows.cc
* [iwyu] chttp2
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fwd file
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
* Update grpc_ares_ev_driver.h
* Update grpc_ares_wrapper.h
* re-run
* fix
* fix
* fix
* fix
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
acc8128b76
[iwyu] Further reduce metadata_batch.h footprint by moving implementations to .cc file ( #29595 )
...
* Cleanup
* iwyu
* fix
* Add flag
* sweep1
* fixes
* speedup
* fixes
* fix
* fix
* fix
* Cleanup
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* x
* x
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
ecde2a9f26
[init] Remove channelz from grpc_init path ( #29613 )
...
* [init] Remove channelz from grpc_init path
* fix build
* fix
* fix
3 years ago
Michael Lumish
a7a960e446
xDS test server: document rpc-behavior metadata, add hostname option ( #29475 )
...
* xDS test server: document rpc-behavior metadata, add fail-on option
* Update to address suggestions
* Address more existing rpc-behavior values
* Address comments
* Address comments again
3 years ago
Mark D. Roth
17d50f46e1
repo manager: change to nicolasnoble ( #29554 )
3 years ago
Jan Tattermusch
eb8cf1544b
cleanup config for existing macos kokoro jobs that run bazel ( #29600 )
3 years ago
Craig Tiller
251e1458c7
Fix for visibility exposed by import ( #29614 )
3 years ago
Craig Tiller
5918f98ecb
[iwyu] Enable nosafe_headers ( #29591 )
...
* Add flag
* sweep1
* fixes
* speedup
* fixes
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
4edd63772e
Bump version of gcc and clang ( #29594 )
3 years ago
Lidi Zheng
5e019c071d
Downgrade io_bazel_rules_go to v0.27.0 restore Bazel 3.x support ( #29596 )
3 years ago
Hannah Shi
1d94aa92d8
remove xxhash.h patch ( #29440 )
3 years ago
Craig Tiller
c443e33cc6
[iwyu] chttp2 ( #29580 )
...
* [iwyu] chttp2
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fwd file
* fix
* fix
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
92609abed0
[promises] Expand filter fuzzer to contain a channel stack. ( #29513 )
...
* sketch
* Eliminate post-init in channel stack builder
We've had a post init function on channel stack builder for a very long
time, an it serves to run some code after initialization completes.
We need the functionality for a few things, but the function passed in
is intimately tied to the filter in use - we never vary it between
multiple functions for the same filter... which means it makes more
sense to locate this functionality as part of the filter interface.
* fix
* Automated change: Fix sanity tests
* introduce-channel-stack
* introduce-channel-stack
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Fix
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* review feedback
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
35272aafee
[iwyu] Use all the cpus ( #29548 )
3 years ago
Hannah Shi
b9928a5154
[Ruby]fix a rake compile error since rake-compiler ~> 1.1 ( #28666 )
...
* fix a rake compile error since rake-compiler ~> 1.1
* change File.directory? check
3 years ago
Esun Kim
c20f10310c
Added GRPC_MUST_USE_RESULT_WHEN_USE_STRICT_WARNING to grpc::Status ( #29363 )
...
* Added GRPC_MUST_USE_RESULT_WHEN_USE_STRICT_WARNING to grpc::Status
* Added Comment
3 years ago
Sergii Tkachenko
fa5598759c
xds-k8s readme minor fixes and improvements ( #29578 )
3 years ago
Craig Tiller
e963544eef
[iwyu] gprpp ( #29534 )
...
* [iwyu] gprpp
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Sergii Tkachenko
f36e84f093
xds-k8s: Fix incorrect type hint in the baseline test ( #29577 )
3 years ago
Mark D. Roth
4bcfbcd802
subchannel list: pass in string instead of tracer ( #29569 )
3 years ago
Mark D. Roth
90ee4e85f5
Second attempt: health check service: rewrite using callback API ( #29562 )
...
* Revert "Revert "health check service: rewrite using callback API (#29457 )" (#29559 )"
This reverts commit d4680eb8eb
.
* don't register callback generic service if there is an async generic service
* fix edge case in shutdown
* don't call Finish() more than once
* add log message to help debugging
* don't start a new write after calling Finish()
3 years ago
Craig Tiller
1475ed4fb7
[iwyu] json ( #29536 )
...
* [iwyu] json
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
7b66a593cf
[iwyu] transport ( #29574 )
...
* [iwyu] transport
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
4429f73f6b
[iwyu] avl ( #29543 )
...
* iwyu-avl
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
github-actions[bot]
87a1d1839c
Automated change: Fix sanity tests ( #29575 )
...
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
3 years ago
Ben Beasley
a8cec7e58d
Fix a segfault in client_lb_end2end_test ( #29568 )
...
In the SubchannelStreamClient constructor, do not initialize an
absl::string_view with a null pointer; this leads to strlen() being
called on the null pointer. Let the absl::string_view be initialized
with the string literal "SubchannelStreamClient" in this case instead.
Fixes #29567 .
3 years ago
Craig Tiller
ed5e26e3ae
[iwyu] channel ( #29573 )
...
* [iwyu] channel
* Automated change: Fix sanity tests
* fix
* fix up script
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
f7f0dcf2cb
[build] Move unnecessary absl includes from metadata_batch.h ( #29523 )
...
* Move unnecessary absl includes from metadata_batch.h
metadata_batch.h is a widely used header, and so any includes it takes
that are for its internal use can negatively impact our build times.
* missing file
* build
* review feedback
3 years ago
Craig Tiller
717732c044
[promises] Convert http server filter ( #29273 )
...
* Begin adding abstractions for capturing batches
* code written
* fixes
* fix
* fmt
* placate clang-tidy
* simplify
* fixes
* Automated change: Fix sanity tests
* annotate unrefs
* fix tsan
* fix
* Update subchannel.cc
* Update BUILD
* Update generate_tests.bzl
* Update BUILD
* Automated change: Fix sanity tests
* Promiseize
* Move server promise based filter to Flusher
* review feedback
* compiles!
* fix
* fix
* start server initial metadata emulation
* comment
* comment
* fix
* refactoring-to-fix-the-bugs
* fixfixfix
* fix
* support cancellation
* fuzzer
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
b39e3d4406
[iwyu] slice ( #29546 )
3 years ago
Craig Tiller
be1a2ee500
[iwyu] resource quota ( #29538 )
...
* [iwyu] resource quota
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
18bec00b58
[channel-stack] Eliminate post-init in channel stack builder ( #29514 )
...
* Eliminate post-init in channel stack builder
We've had a post init function on channel stack builder for a very long
time, an it serves to run some code after initialization completes.
We need the functionality for a few things, but the function passed in
is intimately tied to the filter in use - we never vary it between
multiple functions for the same filter... which means it makes more
sense to locate this functionality as part of the filter interface.
* fix
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
697c438df6
[PSM interop] Introduce isort/pylint to the GKE framework ( #29476 )
...
* [PSM interop] Introduce isort/pylint to the GKE framework
* Update the rpc_types
* Update variable type annotation style in tests/*.py
3 years ago
Xiao
ad3f591af3
[Aio] Fix typo in async graceful shutdown example ( #29521 )
...
Background: https://github.com/grpc/grpc/pull/26622
3 years ago
AJ Heller
fa5e9ee067
Fix internal test timeouts ( #29564 )
...
This has timed out 3% of the time in the last week. Automatically
identified, ported manually.
3 years ago
AJ Heller
786cb14140
Rename LookupTaskHandle internal variable ( #29535 )
...
All handle types are now the same internally, which makes generic code a
bit easier to write.
3 years ago
Nicolas Noble
050e4c3abe
client_lb_end2end_test: add OrcaLoadReport into EchoRequest proto ( #29505 )
...
* Embed OrcaLoadReport into end2end test.
* Regenerate project files.
* Automated change: Fix sanity tests
* Address comments.
* Maybe fixing iOS test?
* Fixing grpc_tool_test.
* Derp.
* Automated change: Fix sanity tests
* Fixing internal import.
* Fixing Google3 build.
* iOS fix attempt: take 2.
3 years ago
Ming-Chuan
cea03edc0b
Binder transport: Fix server issue when handling many parallel RPC calls ( #29483 )
...
When single closure is scheduled multiple times before it is run, it
runs less times than the number of times it is scheduled.
As a result, when server receives multiple RPC calls in a very short
time frame, `accept_stream_locked` is not correctly called for every
RPC call received.
We are working on internal server side stress test to make sure this
kind of error won't happen again.
This commit also uses atomic int for issuing new stream id. Without this
there is 10% probability of stream id collision when 128 parallel RPC
calls are initiated at the same time.
3 years ago
Craig Tiller
d4680eb8eb
Revert "health check service: rewrite using callback API ( #29457 )" ( #29559 )
...
This reverts commit 2b00c7d2ad
.
3 years ago
AJ Heller
815029fe2b
Revert "Move TCP Connect into its own handshaker. ( #29111 )" ( #29558 )
...
This reverts commit 0675af8511
.
3 years ago