Cheng-Yu Chung
7e736c7a6b
Remove `include/grpcpp/impl/codegen/intercepted_channel.h` ( #31529 )
2 years ago
Esun Kim
0ba0c4bf74
Added googletest clang-tidy checks ( #31610 )
...
* Added google-googletest
* Autofix
* Fix test names
* Fix
2 years ago
Esun Kim
d44e1520a7
Fix readability-redundant-access-specifiers ( #31561 )
...
* Added readability-redundant-access-specifiers
* Fix
2 years ago
Wanlin Du
4b40f957a1
Add query delay flag to Prometheus query script. ( #31611 )
...
* Add query delay flag to Prometheus query script.
This PR adds the flag allows user to config the delay of querying
the Prometheus.
* Update the help message of the flag to be more clear.
2 years ago
Esun Kim
c6a1d0692f
Added readability-braces-around-statements ( #31562 )
2 years ago
Cheng-Yu Chung
a02cc7d88a
Remove `include/grpcpp/impl/codegen/delegating_channel.h` ( #31495 )
...
* Remove `include/grpcpp/impl/codegen/delegating_channel.h`
* Update
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
405de7ac72
Remove `include/grpcpp/impl/codegen/status.h` ( #31285 )
...
* Remove `include/grpcpp/impl/codegen/status.h`
* Include removing status_code_enum
* Update
* Update
* Update zlib (#31356 ) (#31357 )
To mitigate CVE-2022-37434
* Update
Co-authored-by: Mikhail Lappo <miklelappo@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
e69592d29c
Remove `include/grpc/impl/codegen/atm.h` ( #31673 )
2 years ago
Craig Tiller
a1dc498356
[flow_control] Enable experiment in debug builds ( #31693 )
2 years ago
Craig Tiller
c545350633
Reland: [promises] Compression filter conversion ( #31686 )
...
* Revert "Revert "[promises] Compression filter conversion (#31204 )" (#31682 )"
This reverts commit fa31b36cb1
.
* fix?
* fix
2 years ago
Mark D. Roth
cf666c4c20
xDS watchers: use C++14 and skip events on stale RDS watchers ( #31675 )
...
* xDS watchers: use C++14 and skip events on stale RDS watchers
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
3d68bb735a
Remove `include/grpc/impl/codegen/byte_buffer.h` ( #31674 )
2 years ago
Yash Tibrewal
7372e55ba9
Revert "Revert "Observability Logging: Interfaces and structure"" ( #31681 )
...
* Revert "Revert "Observability Logging: Interfaces and structure (#31651 )" (#31669 )"
This reverts commit 3be177223e
.
* Generate projects
2 years ago
Cheng-Yu Chung
c91c2fbd1a
Remove `include/grpcpp/impl/codegen/completion_queue_tag.h` ( #31320 )
...
* Remove `include/grpcpp/impl/codegen/completion_queue_tag.h`
* Automated change: Fix sanity tests
2 years ago
Mark D. Roth
589fee0530
xDS: fix crash on wrong listener type (both client and server side) ( #31684 )
...
* xds resolver: fix crash on wrong listener type
* fix same bug on server side
* fix clang-tidy and add requested TODO
2 years ago
Jan Tattermusch
ed39634fe8
Move docker images from dockerhub to artifact registry. ( #31591 )
...
* push_testing_images.sh overhaul
* simplify dockerize scripts
* update run_in_docker.sh script
* add generated .current_version files for docker images
* improvements to push_testing_images.sh
* add local-only check for push_testing_images.sh to sanity tests
* fix sanity check
* add expiration for TRANSFER_FROM_DOCKERHUB
* add a readme file
2 years ago
Craig Tiller
fe5aace311
[flow_control] Fixes for the flow_control_fixes experiment found via fuzzing ( #31676 )
...
* [flow_control] Enable experiment in debug builds, fix bugs found by fuzzer
* fix
* disable experiment
* flowctl
* flowctl
* Automated change: Fix sanity tests
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yijie Ma
b6f2af4682
Revert "security: Refactor some utility functions in TSI for better internal use ( #29728 )" ( #31687 )
...
This reverts commit 8984a264b8
.
2 years ago
Craig Tiller
fa31b36cb1
Revert "[promises] Compression filter conversion ( #31204 )" ( #31682 )
...
This reverts commit a8c983528a
.
2 years ago
github-actions[bot]
f5cc69b7cc
Automated change: Fix sanity tests ( #31678 )
...
Co-authored-by: Vignesh2208 <Vignesh2208@users.noreply.github.com>
2 years ago
Vignesh Babu
c5a66bb08d
Posix Event Engine listener implementation ( #31513 )
...
* Util functions to help with posix engine listener implementation
* sanity
* update comments in posix_engine_listener_utils.h
* review comments
* iwyu
* revert prev commit
* iwyu
* update build
* update
* regenerate projects
* regenerate projects
* minor fixes
* update BUILD
* sanity
* update build
* regenerate projects
* fix unused parameter
* sanity
* update
* sanity
* regenerate_projects
* remove unused variable
2 years ago
Craig Tiller
0d4000dd48
[resource_quota] Remove periodic resource quota experiment ( #31670 )
2 years ago
Cheng-Yu Chung
ffe8d0f31c
Clean up the TODO item in build target `grpc_base` -- part `channel_stack_builder` ( #31643 )
...
* Clean up the TODO item in build target `grpc_base` -- part `channel_stack_builder`
* Update
2 years ago
Mark D. Roth
64589d7ff3
xds resolver: fix edge cases in interactions between LDS and RDS ( #31668 )
...
* xds resolver: fix edge cases in interactions between LDS and RDS
* improve SwitchFromInlineRouteConfigToRds test
* clang-tidy
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Xuan Wang
000c1fc18d
Fix Python AIO interop test ( #31663 )
...
* Fix Python Asyncio Interop tests server issue
* Add --use-asyncio flag
2 years ago
Esun Kim
3d104df977
Upgrade re2 to 2022-04-01 ( #31665 )
2 years ago
Craig Tiller
a8c983528a
[promises] Compression filter conversion ( #31204 )
...
* Convert compress filter
* decompress sketch
* Automated change: Fix sanity tests
* progress
* progress
* got the new filter impls compiling
* Automated change: Fix sanity tests
* declare the bits
* allocate control types
* stub in pipe accessors
* init pipes
* send-path
* working through the state machines
* [arena] pool allocator
* add tests
* Automated change: Fix sanity tests
* better sizes
* iwyu
* Automated change: Fix sanity tests
* first pass cut fragments
* fix1
* fix
* Automated change: Fix sanity tests
* fix
* iwyu
* build-deps
* fix for windows
* fix
* fixes
* better-logs
* better-logs
* callpushpush-->tryconcurrently
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* logging improvements
* logging improvements
* fixes
* Automated change: Fix sanity tests
* respect flag
* handle eos
* cancel_after_client_done
* handle failed sends
* more error handling
* Automated change: Fix sanity tests
* more stuff
* remove unnecessary conversion
* hackity hack hack
* fixes
* progress
* Automated change: Fix sanity tests
* capture metadata from promise to recieve up
* spacing
* debug,fix
* not-used
* fix
* fix
* tune
* unify compress/decompress
* fixes
* send_message/send_trailing_metadata ordering
* cleanup loop
* remove minimal stack bits
* better error generation
* fix-build
* Automated change: Fix sanity tests
* cancellation of recv message for forwarded receives
* fix
* compile fix
* fix clobbering
* fix test, convert to gtest
* fix
* Automated change: Fix sanity tests
* cleanup
* fixes
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* add test
* Automated change: Fix sanity tests
* fix
* fix
* fix
* no need to store message per filter
* Automated change: Fix sanity tests
* danke yash
* iwyu
* clang-tidy
* Automated change: Fix sanity tests
* fix
* [promise] CallPushPull -> more general TryConcurrently
* Automated change: Fix sanity tests
* [promise] Introduce map_pipe, cleanup factories
* [promise] Promise based filter changes for messages
* [log] Longer space for filenames
* [test] Add some debugability affordances to async_end2end_test
* add comment
* Automated change: Fix sanity tests
* fix-merge
* fix-merge
* fix
* [chttp2] Fix a bug whereby trailers-only is not reported
We don't report trailers-only if the trailers are parsed prior to executing recv_initial_metadata
* comments
* fix for ruby
* review feedback
* merge
* fix
* Automated change: Fix sanity tests
* fix bm?
* re-add dropped flag
* turn on some traces to try and debug ruby
* debug for ruby problem
* proposed chttp2 fix
* Revert "turn on some traces to try and debug ruby"
This reverts commit 1bf3cfd552
.
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mao
41a1d49320
[BinderTransport] Fix BinderTransport server race conditions ( #31654 )
...
* Set `connected_` to true before `SendSetupTransport()`
A race happens when the server has already sent setup transport to the
client when it's actually not ready. So move `connected_ = true` before
`SendSetupTransport()`.
However, this may cause another race that `wire_writer_` being used when
it's actually not being constructed yet. So add another Notification for
others to wait for it to be ready.
Note: simply moving `SendSetupTransport()` into the mutex section could
potentially cause a deadlock since it's possible that
`ProcessTransaction()` being called on the same call chain.
This solution is considered a workaround before we figure out a better
workable solution. It's not perfect as if the first request sends, e.g.,
64K of data, we'll try to send an ACK and the system will still
deadlock. Furthermore, this solution makes threads waiting (although the
time frame should be very short).
* Store `accept_stream_fn` call count and call it later when possible
We might be signaled to call `accept_stream_fn` before it has been set.
We should memorize this case and call it later once it has been set, or
the stream will never be accepted.
* Add comments and polish the change
2 years ago
Craig Tiller
3be177223e
Revert "Observability Logging: Interfaces and structure ( #31651 )" ( #31669 )
...
This reverts commit 2146107e25
.
2 years ago
Yash Tibrewal
2146107e25
Observability Logging: Interfaces and structure ( #31651 )
...
* Observability Logging: Interfaces and structure
* Revert unrelated changes
* Fix test build
* Add dependency on Google Apis Logging V2 service and add a dummy logging call
* Add authority
2 years ago
Vignesh Babu
864f08ff0c
Fix broken clang-tidy ( #31666 )
2 years ago
Yash Tibrewal
afec64877d
HTTP2: Improve "GOAWAY received" status message ( #31619 )
...
* Improve GOAWAY received status message
* Remove unused if
2 years ago
ZhenLian
510b2149fc
update a small nit in error.h documentation ( #31649 )
2 years ago
Clément Péron
831d2a6855
Cmake add separate export for plugin targets ( #31525 )
...
* cmake: add separate export for plugin targets
Add a separate CMake export for the plugin targets to separate binaries
and libraries into their own CMake target export files. Skip the cross
compiled binary plugin targets during cross compile because they are not
usable and not always available.
The Yocto build system doesn't install cross compiled binaries into the
target sysroot. This makes the CMake gRPC config useless as it checks
the existent of binaries and fails without the binaries.
This is a strip down version of #22498 and related to #26148 and #26857 .
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
* regenerate cmake file
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Co-authored-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
2 years ago
Cheng-Yu Chung
3ef817b3bf
Clean up the TODO item in build target `grpc_base` -- part `slice` ( #31003 )
...
* Clean up the TODO item in build target `grpc_base` part `slice`
* Automated change: Fix sanity tests
2 years ago
Vignesh Babu
1e2af690f2
Add a check to flush stale TracedBuffer entries to prevent them growing too long. ( #31588 )
...
* Add a check to flush stale TracedBuffer entries to prevent them growing too long
* update
* fix tsan and sanity
* sanity
* review comments
2 years ago
Mark D. Roth
0b60025ba8
xds_client_test: shard test to avoid timeouts ( #31652 )
...
* xds_client_test: increase test size so it gets a longer timeout
* shard test instead of increasing size
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
df80a31199
Second attempt: xDS RouteConfig: use ValidationErrors and add unit test ( #31658 )
...
* Revert "Revert "xDS RouteConfig: use ValidationErrors and add unit test (#31418 )" (#31653 )"
This reverts commit 335b74fea7
.
* use auto instead of explicitly naming the protobuf map type
2 years ago
Valentin
c45e4f003d
gRPC: Add grpc_authorization_provider to CMake ( #31308 )
...
* gRPC: Add grpc_authorization_provider to CMake
* Added _gRPC_RE2_LIBRARIES
* Added _gRPC_RE2_LIBRARIES
* Undo formattig
* Changed .template
* change commit message for CLA
2 years ago
Craig Tiller
4923a75ee3
[promises] Add a trace that shows which filters are converted ( #31655 )
2 years ago
Mark D. Roth
335b74fea7
Revert "xDS RouteConfig: use ValidationErrors and add unit test ( #31418 )" ( #31653 )
...
This reverts commit c72a67b6da
.
2 years ago
Zhan Jiang
8984a264b8
security: Refactor some utility functions in TSI for better internal use ( #29728 )
2 years ago
Mark D. Roth
c72a67b6da
xDS RouteConfig: use ValidationErrors and add unit test ( #31418 )
...
Specific changes:
- Use absl::variant<> for HashPolicy types.
- Pull validation of resulting LB policy configs out of ClusterSpecifierPlugin registry and into RouteConfig validation.
- Don't ignore missing Any fields in HTTP filter configs if is_optional is true, since is_optional should apply only to unsupported filter types, not to malformed resource protos.
- Use ExtractXdsExtension() for HttpConnectionManager config itself.
- Minor API improvements to StatusCodeSet to make it a bit more useful in tests.
- Changed StringMatcher to return the underlying error message when a regex fails to compile.
- Fix a bug whereby a ClusterSpecifierPlugin would not be returned if it was not used in a vhost, even if it was used in another vhost.
2 years ago
Mark D. Roth
2ff54946ff
xds_client_fuzzer: fix send message on a stream that does not exist yet ( #31648 )
2 years ago
Cheng-Yu Chung
47b9a57de9
Remove `g_glip` and `class GrpcLibraryInterface` ( #30414 )
...
* Remove `g_glip` and `class GrpcLibraryInterface`
* Update
* Update
* Update
* Automated change: Fix sanity tests (#20 )
* Update
* Update
* Update
* Test
* Fix
* Revert "Test"
This reverts commit 2f5c77e98d
.
* More fix
* More fix
* More fix
* Minor fix
* Revert "Minor fix"
This reverts commit 1ee3ae4da1
.
* Revert "More fix"
This reverts commit 1fc234896b
.
* Revert "More fix"
This reverts commit 851393c0e6
.
* Revert "More fix"
This reverts commit ed342a51d0
.
* Revert "Fix"
This reverts commit 286ad8e639
.
2 years ago
Mark D. Roth
cf63689276
LB policy test framework: add helper methods and improve debuggability ( #31632 )
...
* LB policy test framework: add helper methods and improve debuggability
* add ExpectPickFail() method
* fix build
* STL magic
* clang-tidy
* more clang-tidy
* add WaitForConnectionFailed() and log unexpected pick results
* add check for proper status for the connectivity state
2 years ago
Craig Tiller
a116fa7e25
Revert "Revert "[chaotic-good] Reland basic frame serialization (#316… ( #31637 )
...
* Revert "Revert "[chaotic-good] Reland basic frame serialization (#31631 )" (#31635 )"
This reverts commit 4e2b936e88
.
* windows fix?
2 years ago
Jan Tattermusch
e6cb6fdd2d
try fix retry_per_attempt_recv_timeout ( #31605 )
2 years ago
Craig Tiller
eea5d11fdd
[build] Move exec_ctx headers out of grpc_base ( #31603 )
...
* [build] Move exec_ctx headers out of grpc_base
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
4e2b936e88
Revert "[chaotic-good] Reland basic frame serialization ( #31631 )" ( #31635 )
...
This reverts commit 571e98f6d5
.
2 years ago