Mohan Li
3382270efc
Log xDS node ID with verbosity INFO ( #31797 )
...
* Log xDS node ID with verbosity INFO
* Log xDS node ID with verbosity INFO
* Log xDS node ID with verbosity INFO
* Log xDS node ID with verbosity INFO
* Log xDS node ID with verbosity INFO
* Log xDS node ID with verbosity INFO
2 years ago
Mark D. Roth
7f054ffab0
xDS stateful session affinity: support xDS HTTP filter config ( #31793 )
...
* stateful session affinity: implement filter
* register filter config parser
* fix unused parameter errors
* remove some FIXMEs that are not longer needed
* clang-tidy
* iwyu
* xDS stateful session affinity: support xDS HTTP filter config
* buildifier
* iwyu
* revert iwyu changes to observability_logging_sink.cc
* generate_projects
* generate_projects
* Automated change: Fix sanity tests
* fix build
* fix xds_http_filters_test
* add tests
* clang-format
* shorten filter name
* don't use absl::optional for path
* fix build
* don't add cookie to trailing metadata unless it's Trailers-Only
* fix sanity
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Craig Tiller
b2b7051558
[hpack] Include context when failing due to metadata size exceeded ( #31809 )
...
* better error
* Automated change: Fix sanity tests
* Update hpack_parser.cc
* fix
* reduce-bloat
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
5fe132a211
Revert "Revert "Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )" ( #31805 )" ( #31806 )
...
This reverts commit 39a4343044
.
Fixing forward the original PR. The content should be the same as the original PR. The broken part is in the internal.
2 years ago
Ashitha Santhosh
62680e0a83
Detect unknown fields in SDK to RBAC translator ( #27669 )
...
* detect unknown fields
* detect unknown fields
* formatting
* formatting
* sanity check fix
* Resolving comments
* sanity check
* sanity check
* resolve comments
* sanity check
* resolve comments
* fix iwyu
2 years ago
Cheng-Yu Chung
3d59abc94e
Move google_default channel_credentials out of `include/grpc/grpc_security.h` ( #31786 )
2 years ago
Craig Tiller
244e39b86e
[experiments] Enable memory_pressure_controller for debug builds ( #31811 )
...
* [experiments] Enable memory_pressure_controller by default
* fix found crash
* fixy
2 years ago
Yijie Ma
6b79989d86
EventEngine::RunAfter: PollingResolver ( #31717 )
...
* EventEngine::RunAfter: polling_resolver
initial draft
* restore some iwyu change
* fix: get rid of OnNextResolution
* fix some test crashes
* fix more tests
* clang-tidy
* review
* clang-tidy
* fix
* review
* review
* review
* fix use-after-move
* revert
* review
2 years ago
Mark D. Roth
5e4d9f4bcf
xDS stateful session affinity: implement C-core filter ( #31788 )
...
* stateful session affinity: implement filter
* register filter config parser
* fix unused parameter errors
* remove some FIXMEs that are not longer needed
* clang-tidy
* iwyu
* iwyu
* revert iwyu changes to observability_logging_sink.cc
* generate_projects
* shorten filter name
* don't use absl::optional for path
* fix build
* don't add cookie to trailing metadata unless it's Trailers-Only
2 years ago
Craig Tiller
1bfc50f27e
[experiments] Enable flow_control_fixes by default ( #31810 )
2 years ago
Cheng-Yu Chung
39a4343044
Revert "Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )" ( #31805 )
...
This reverts commit ac1dee8ac1
.
2 years ago
Cheng-Yu Chung
ac1dee8ac1
Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )
2 years ago
Alisha Nanda
ad91404e0e
Remove static initialization of memory allocator in tests ( #31776 )
...
* Add more info to error
* Fix tests
* Remove static initialization of memory allocator
* Fix test failure
* Automated change: Fix sanity tests
Co-authored-by: ananda1066 <ananda1066@users.noreply.github.com>
2 years ago
Vignesh Babu
6eb6e00954
Enable posix_event_engine_polling experiment ( #31801 )
2 years ago
Craig Tiller
2438b58b03
[promises] TryConcurrently: add tests for many push/pulls ( #31758 )
2 years ago
Cheng-Yu Chung
9d09a8ff2f
Remove `include/grpc/impl/codegen/sync.h` ( #31777 )
2 years ago
Cheng-Yu Chung
dba82c9be6
Remove `include/grpc/impl/codegen/log.h` ( #31775 )
...
* Remove `include/grpc/impl/codegen/log.h`
* Automated change: Fix sanity tests
2 years ago
Yijie Ma
044e0557a7
EventEngine::RunAfter migration StateWatcher ( #31790 )
...
* EventEngine::RunAfter migration StateWatcher
initial commit
* comment
* ref-count fun
* ExecCtx fun
* more ExecCtx fun
* fix
* more ref-counting fun
* remove debug log
* add mutex
2 years ago
Eugene Ostroukhov
1e13612d4a
Introduce the xds_override_host policy ( #31730 )
...
Introduce the xds_override_host policy
2 years ago
Cheng-Yu Chung
1d968a36aa
Remove functions in `class CoreCodegen` ( #31767 )
...
* Clean up `grpc_byte_buffer_copy()`
* Clean up `grpc_byte_buffer_destroy()`
* Clean up `grpc_byte_buffer_length()`
* Clean up `grpc_byte_buffer_reader_init()`
* Clean up `grpc_byte_buffer_reader_destroy()`
* Clean up `grpc_byte_buffer_reader_next()`
* Clean up `grpc_byte_buffer_reader_peek()`
* Clean up `grpc_raw_byte_buffer_create()`
* Clean up `grpc_slice_new_with_user_data()`
* Clean up `grpc_slice_new_with_len()`
* Clean up `grpc_call_start_batch()`
* Clean up `grpc_call_cancel_with_status()`
* Clean up `grpc_call_failed_before_recv_message()`
* Clean up `grpc_call_ref()`
* Clean up `grpc_call_unref()`
* Clean up `grpc_call_error_to_string()`
* Fix typos
* Automated change: Fix sanity tests
2 years ago
Richard Belleville
5933b52e11
Build native MacOS arm64 artifacts (universal2) ( #31747 )
...
* Attempt to build universal2 artifacts
* Whoops
* Reverse the hack
* Turn off boringssl assembly optimizations
* Whoopsie
2 years ago
Mark D. Roth
964f101b4b
Second attempt: subchannel: use WorkSerializer for connectivity state notifications ( #31634 )
...
* subchannel: use WorkSerializer for connectivity state notifications
* code review comment
2 years ago
Mehrdad Afshari
c9250fb3c2
Add empty constructor to workaround gcc/clang bug ( #31780 )
...
Some versions of gcc/clang have a bug that fail to compile
with an error message without a constructor definition.
Adding a no-op constructor to avoid this issue.
2 years ago
Zhan Jiang
ec6d6025e5
security: Refactor some utility functions in TSI for better internal use ( #31736 )
...
security: Refactor some utility functions in TSI for better internal use
2 years ago
Vignesh Babu
dcad15d43b
Update xds client interface to take an externally supplied event engine ( #31773 )
...
* Update xds client interface to take an externally supplied ev ent engine
* update per review comments
* fix sanity
2 years ago
Cheng-Yu Chung
f5d21653fc
Revert "[event_engine] Move combiner executor usage to event engine ( #31713 )" ( #31753 )
...
This reverts commit b04aa1cf92
.
Co-authored-by: AJ Heller <hork@google.com>
2 years ago
Michael Lumish
6c98d5c606
Enable xDS retry test for Node ( #31768 )
2 years ago
Cheng-Yu Chung
fe0dfc275f
Remove `include/grpc/impl/codegen/fork.h` ( #31752 )
...
* Remove `include/grpc/impl/codegen/fork.h`
* Automated change: Fix sanity tests
2 years ago
Mark D. Roth
7e201fbe42
rls_e2e_test: stop setting env var that isn't actually being used ( #31770 )
2 years ago
Cheng-Yu Chung
024a0f7388
Remove functions in `class CoreCodegen` ( #31751 )
...
* Clean up `grpc_completion_queue_factory_lookup()`
* Clean up `grpc_completion_queue_create()`
* Clean up `grpc_completion_queue_create_for_next()`
* Clean up `grpc_completion_queue_create_for_pluck()`
* Clean up `grpc_completion_queue_shutdown()`
* Clean up `grpc_completion_queue_destroy()`
* Clean up `grpc_completion_queue_pluck()`
* Clean up `gpr_malloc()`
* Clean up `gpr_free()`
* Clean up `grpc_init()`
* Clean up `grpc_shutdown()`
* Clean up `gpr_mu_init()`
* Clean up `gpr_mu_destroy()`
* Clean up `gpr_mu_lock()`
* Clean up `gpr_mu_unlock()`
* Clean up `gpr_cv_init()`
* Clean up `gpr_cv_destroy()`
* Clean up `gpr_cv_wait()`
* Clean up `gpr_cv_signal()`
* Remove `gpr_cv_broadcast()`
2 years ago
Cheng-Yu Chung
5498481265
Remove `include/grpcpp/impl/codegen/proto_utils.h` ( #31532 )
2 years ago
Georgy Yakovlev
31fc452b68
respect CC variable ( #26480 )
...
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
2 years ago
AJ Heller
557e558825
[EventEngine] WindowsEndpoint ( #31735 )
...
* [EventEngine] WindowsEndpoint
Initial sketch, all tests passing
* Port fix from #28432
* GPR_WINDOWS guard
* use MemoryAllocator::MakeReservation for allocated buffers
* better logging (respect slice length)
* Automated change: Fix sanity tests
* improvements
* Automated change: Fix sanity tests
* InlinedVector<WSABUF, kMaxWSABUFCount>
* initial attempt at socket util reunification
* posix fixes + local run of sanitize.sh
* posix socket includes
* fix
* Automated change: Fix sanity tests
* remove unused include (breaks windows)
* remove stale comment
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Mark D. Roth
808347ffe8
ServerConfigSelector: clean up API ( #31683 )
...
* ServerConfigSelector: clean up API
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Xuan Wang
a9e5508cdb
Add type annotations to _channel.py and _server.py ( #31677 )
...
* Add type annotation to _channel.py and _server.py
* Undo changes in init.py
* changes based on comments.
* format changes
* fix pytype errors
* Changes based on comments
* Fix circular import
* fix pytype and pylint
* Fix format issues
* Fix some cython type issues
* Change ManagedCallType to IntegratedCallFactory
* fix format
* undo some mistakes
2 years ago
Jan Tattermusch
7ab2a95979
More cleanup after moving testing docker images to artifact registry. ( #31689 )
...
* remove DOCKERHUB_ORGANIZATION from prepare_build_interop_rc
* switch rubys rake-compiler-dock to .current_version files
* remove DOCKERHUB_ORGANIZATION from prepare_build_linux_rc
* fix .current_version files for third_party/rake-compiler-dock
* fix: avoid .current_version files named */.current_version
* fix: avoid pushing in local only mode
2 years ago
Alisha Nanda
694e4b8427
Add more info to metadata limit exceeded error ( #31756 )
...
* Add more info to error
* Fix tests
2 years ago
Cheng-Yu Chung
ddc5a62409
Revert "Add global structure of allocators + experiment ( #31614 )" ( #31759 )
...
This reverts commit 6754018dd1
.
2 years ago
Cheng-Yu Chung
77b3972f95
Clean up the TODO item in build target `grpc_base` part `channel_args` ( #31642 )
...
* Clean up the TODO item in build target `grpc_base` part `channel_args`
* Update
* Update
* Update
* Automated change: Fix sanity tests
* update
* Automated change: Fix sanity tests
2 years ago
Craig Tiller
676f61774b
[promises] Add debugging to help diagnose illegal state crashes ( #31754 )
2 years ago
Alisha Nanda
6754018dd1
Add global structure of allocators + experiment ( #31614 )
...
* Global allocator experiment
* Fix formatting and deps
* Update experiments files formatting
* Small fixes
* Change uint formatting
* Automated change: Fix sanity tests
* Fix formatting
* Address review comments
* Clean up logging
* Automated change: Fix sanity tests
* Fix clangtidy
* remove duplicate header
* address review
Co-authored-by: ananda1066 <ananda1066@users.noreply.github.com>
2 years ago
Eric Anderson
8770adcbb7
tools/dockerfile: Document how to configure pkg.dev authentication ( #31746 )
2 years ago
Richard Belleville
866e00246b
Revert "Build with System OpenSSL on Mac OS arm64 ( #31096 )" ( #31741 )
...
This reverts commit b3d9833166
.
2 years ago
niquepolice
3714762731
Fix typo in multiprocessing example Readme ( #30132 )
2 years ago
Craig Tiller
14fc11b072
[chttp2] Improve huffman decoder bloat ( #31633 )
...
* fix hashing
* detect identity
* detect constant, offset
* special case length=2
* composites
* cmt
* more factorizations
* deepen recursion, add cost function
* tweak
2 years ago
Yijie Ma
b9d566fac5
Update tools/remote_build/README.md ( #31727 )
...
* Update tools/remote_build/README.md
* fix
2 years ago
Sergii Tkachenko
461247f69e
Add grpc-java 1.51.0 to client_matrix.py ( #31694 )
2 years ago
Doug Fawley
a65382d9f9
Use go1.19 for go interop tests and for future interop_matrix tests ( #31732 )
2 years ago
AJ Heller
0c5a17ce62
Improve Windows network error logging in IOCP test ( #31742 )
...
* Improve Windows network error logging in IOCP test
* reviewer feedback
2 years ago
Craig Tiller
b04aa1cf92
[event_engine] Move combiner executor usage to event engine ( #31713 )
...
* [event_engine] Move combiner executor usage to event engine
* fix
* review feedback
* fix
* x
* fix
* fix
2 years ago