Craig Tiller
62bb99d163
[e2e] c++-ify core e2e test fixtures ( #32550 )
...
A step toward #14016 .
---------
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
67f364e23e
[cleanup] Eliminate usage of GRPC_ASSERT(false...); ( #31757 )
...
* crash function
* progress
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
* fix
* use cpp attr
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* add exclusion
* fix
* typo
* fix
* fmt
* Update tcp_socket_utils.cc
* Automated change: Fix sanity tests
* fix
* revert php changes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Esun Kim
32923ac191
Removed no_error_on_hotpath ( #31225 )
2 years ago
Yash Tibrewal
9796969b0c
Filter content-length metadata ( #29295 )
3 years ago
Mark D. Roth
e8c5c39143
retry: fix bug where we incorrectly replayed a completed send_message op ( #29025 )
...
* retry: fix bug where we incorrectly replayed a completed send_message op
* fix
* third time's the charm!
* clang-format
3 years ago
Craig Tiller
fe913387da
Remove idempotent/cacheable requests ( #28922 )
...
* Remove idempotent/cacheable requests
* more cleanup
* bump core version
* fix
* fix
* fix
* review feedback
* fixes
* fix
* remove more
* objc
* fix
* fix
* fix
* scrub
* Modify XdsRbacTests
Co-authored-by: Yash Tibrewal <yashkt@google.com>
3 years ago
Mark D. Roth
c27f8f1505
Fourth attempt: Implement transparent retries ( #28943 )
...
* Revert "Revert "Third attempt: Implement transparent retries (#28925 )" (#28942 )"
This reverts commit be70a8676c
.
* fix edge case where call is cancelled while transparent retry callback is pending
3 years ago
Mark D. Roth
3d4433beb2
retry: always free cached send op data ( #28956 )
...
* Revert "Revert "retry: fix memory leak due to not freeing cached send ops upon cancellation (#28945 )" (#28954 )"
This reverts commit 9498843a18
.
* retry: always free cached send op data
3 years ago
Mark D. Roth
9498843a18
Revert "retry: fix memory leak due to not freeing cached send ops upon cancellation ( #28945 )" ( #28954 )
...
This reverts commit f48c4f1f4b
.
3 years ago
Mark D. Roth
f48c4f1f4b
retry: fix memory leak due to not freeing cached send ops upon cancellation ( #28945 )
...
* retry: fix memory leak due to not freeing cached send ops upon cancellation
* clang-format
* attempt to fix proxy tests on windows
3 years ago
Mark D. Roth
be70a8676c
Revert "Third attempt: Implement transparent retries ( #28925 )" ( #28942 )
...
This reverts commit 9e7453409a
.
3 years ago
Mark D. Roth
9e7453409a
Third attempt: Implement transparent retries ( #28925 )
...
* Revert "Revert "Revert "Revert "Implement transparent retries (#28548 )" (#28888 )" (#28890 )" (#28909 )"
This reverts commit 23da14c1a7
.
* revert api_fuzzer change
3 years ago
Mark D. Roth
25aa80966a
retry: fix memory leak if call is unreffed without starting recv_trailing_metadata ( #28913 )
...
* retry: fix memory leak if call is unreffed without starting recv_trailing_metadata
* fix test flake
3 years ago
Mark D. Roth
23da14c1a7
Revert "Revert "Revert "Implement transparent retries ( #28548 )" ( #28888 )" ( #28890 )" ( #28909 )
...
This reverts commit 9f90e6d906
.
3 years ago
Mark D. Roth
9f90e6d906
Revert "Revert "Implement transparent retries ( #28548 )" ( #28888 )" ( #28890 )
...
* Revert "Revert "Implement transparent retries (#28548 )" (#28888 )"
This reverts commit 35708ff6b4
.
* disable retries for ALTS handshaker channel
3 years ago
Mark D. Roth
35708ff6b4
Revert "Implement transparent retries ( #28548 )" ( #28888 )
...
This reverts commit 7f8f3dc001
.
3 years ago
Ashitha Santhosh
1fee3d72be
remove SDK term from gRPC authz ( #28843 )
3 years ago
Mark D. Roth
7f8f3dc001
Implement transparent retries ( #28548 )
...
* transport: add error attributes indicating stream network state
* add missing case
* transparent retries
* don't use backoff timer for transparent retries
* fix build
* add retry_transparent_not_sent_on_wire test
* add retry_transparent_goaway test
* remove special case to short-circuit retry code if no retry policy
* clang-format
* buildifier
* simplify logic a bit
* get StreamNetworkState from metadata instead of error
* fix api_fuzzer to always start recv_trailing_metadata_ready
* clang-format
* fix test flakiness in proxy fixture
* add test with MAX_CONCURRENT_STREAMS
* don't transparently retry if we're already committed
* fix test to not reuse byte buffers
* clang-format
* disable retries for streams_not_seen_test
3 years ago
Mark D. Roth
2c4ae04e06
retry: fix memory leak caused by incorrectly replaying recv_message ops ( #28718 )
3 years ago
Craig Tiller
264c321d83
Move compression related metadata to the new system ( #28223 )
...
* Eliminate most of grpc_message metadata handling
* Eliminate most of host metadata handling
* Remove more callouts without fixing code
* fiiixes
* typo
* Automated change: Fix sanity tests
* try-shrink
* Automated change: Fix sanity tests
* size tweaks
* less tricks
* deunique
* commonize
* commonize
* Automated change: Fix sanity tests
* size tuning, fixes
* Automated change: Fix sanity tests
* fix
* size tuning, fixes
* remove constexpr
* fix
* reuse code
* fix
* tweak code
* more tweaks
* tell no lies
* fixes
* fixes
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix?
* fix binder
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* initial refactoring
* optimize status encoding
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* content-type
* Automated change: Fix sanity tests
* clang-format
* fix
* Move colon prefixed metadata
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* try to fix windows failure
* try and scale sizes better
* ambiguity fix?
* wip metadatavalueasslice
* Fix status code for resource exhaustion
* Revert "Revert "Move a bunch of slice typed metadata to new system (#28107 )" (#28208 )"
This reverts commit 7717587063
.
* fix test
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* slice helper
* x
* noinline
* try and scale sizes better
* Automated change: Fix sanity tests
* fixes
* fix
* fix
* fixes
* fix build
* fix overflow
* progress
* Automated change: Fix sanity tests
* fix
* initial work
* progress
* fix
* fix
* Automated change: Fix sanity tests
* progress
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* compressor for path/authority
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* legalize
* legalize
* status-enc
* fmt
* fix
* fix
* fix
* fix
* fix/opt
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* comment
* fmt
* remove arg
* Automated change: Fix sanity tests
* remove name
* Automated change: Fix sanity tests
* add specialized encoders for compression metadata
* review feedback
* fix
* missoing files
* Small improvement in memory usage and performance
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Fix caching
* Automated change: Fix sanity tests
* fix crash in alts
* default everything
* Automated change: Fix sanity tests
* review feedback
* fixes
* fixes
* fixes
* Automated change: Fix sanity tests
* speedup
* fix
* fix
* fixes
* fixes
* fixes
* Automated change: Fix sanity tests
* fix
* remove debug code
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
98cf516874
Remove old backwards compatibility cronet compression workaround code ( #27701 )
3 years ago
Mark D. Roth
d0cbf169bc
Fix retry code to hold refs to send_initial_metadata slices ( #27205 )
...
* add test proving that we fail to take refs to send_initial_metadart payload
* fix grpc_slice_from_copied_string() to take refs and grpc_metadata_batch_copy() to copy the mdelems when necessary
* fix criteria used to determine if mdelem is reffable
* add support for inline slices
* fix sanity
3 years ago
Ashitha Santhosh
1ff1f8fd83
SDK authorization filter. ( #26468 )
...
* SDK authorization filter.
3 years ago
Mark D. Roth
c9149526a6
fix retry handling of callbacks for pending batches ( #26803 )
...
* fix retry handling of callbacks for pending batches
* avoid scheduling the same callback twice
* fix some trace messages
* don't avoid starting recv_initial_metadata or recv_message due to recv_trailing_metadata already being started internally
* avoid restarting recv_trailing_metadata after commit if we've already started it internally
3 years ago
Mark D. Roth
d19802d42c
fix retry cancellation when a batch fails on call attempt ( #26789 )
...
* fix retry cancellation when a batch fails on call attempt
* fix clang-tidy
* fix client channel to pass down batches even after cancellation
3 years ago
Mark D. Roth
1f8aaf0e6a
fix handling of retry perAttemptRecvTimeout exceeded on last attempt ( #26737 )
...
* fix handling of retry perAttemptRecvTimeout exceeded on last attempt
* fix clang-tidy
3 years ago
Mark D. Roth
7172b00a96
Add perAttemptRecvTimeout to retryPolicy ( #26540 )
...
* add perAttemptTimeout to retry policy
* more WIP
* set deadline
* don't set deadline for perAttemptTimeout, do cancel on all recv ops
* finished functionality, maybe
* add test
* minor cleanups
* fix service config parsing and add missing tests
* remove unnecessary TODO
* clang-format
3 years ago
Mark D. Roth
62bfefae17
fix retry code to properly propagate recv_trailing_metadata_ready error ( #26485 )
...
* fix retry code to properly propagate recv_trailing_metadata_ready error
* fix build
4 years ago
Mark D. Roth
1e2f19b286
fix retry code to handle failed send ops ( #26418 )
...
* optimize retry per-call-attempt memory usage
* fix retry code to handle failed send ops
* clang-format
* fix memory leak
* clang-format
* fix proxy tests
* fix race condition in test
4 years ago
Mark D. Roth
6a014496b7
add test for exceeding retry buffer size during backoff delay ( #26384 )
...
* add test for exceeding retry buffer size during backoff delay
* clang-format
4 years ago
Mark D. Roth
d017ce5f25
Cancel retry timer on call cancellation ( #25890 )
4 years ago
Mark D. Roth
21e25a03d0
Don't retry when LB policy drops the call ( #25846 )
4 years ago
yang-g
c1df3bcbcf
Do not crash if server filter fails at ChannelData::Init
4 years ago
Yash Tibrewal
4331328fc2
Don't consider receiving non-OK status as an error for HTTP2
4 years ago
Yash Tibrewal
2723a1bae6
Add a new type of error, GRPC_ERROR_EOS for failing writes when end of stream has been received
5 years ago
Yash Tibrewal
2cdab491a3
Cleanup
5 years ago
Yash Tibrewal
c6fa7eefb9
testing with locks in ws
...
Remove no_logging and add missing mu locks
5 years ago
Prashant Jaikumar
1ac1ab7396
Flaky network test enhancements and cleanups
...
- Parameterized flaky_network_test to run with different packet sizes and
credentials.
- Cleanup debugger_macros
Parametrize flaky_network_test to run with different packet sizes and
credentials.
6 years ago
Mark D. Roth
a04b0646de
Don't use a separate call context for subchannel calls.
6 years ago
Prashant Jaikumar
95965f71d3
Remove network_status_tracker
...
Remove network_status_tracker and its unit test as it does nothing. We
can add tests for network status change in another commit.
6 years ago
Juanli Shen
f5f1d57d7a
Add load reporting filter
7 years ago
ncteisen
b8a52e0cf3
Add new end2end test for channelz
7 years ago
ncteisen
a94896ffea
Add no_error_on_hotpath test
7 years ago
Mark D. Roth
de077acf5d
Fix retry code handling of internally triggered recv_trailing_metadata.
7 years ago
David Garcia Quintas
861363d618
added call_host_override test
7 years ago
Mark D. Roth
718c8341ca
Retry support.
7 years ago
Ken Payson
b353297b43
Revert "Revert "Set error status correctly on server side""
...
This reverts commit 951f84aea0
.
7 years ago
David G. Quintas
951f84aea0
Revert "Set error status correctly on server side"
7 years ago
Ken Payson
6535cfd140
Set error status correctly on server side
7 years ago