Yijie Ma
89f3b1f293
PollingResolver: Honor cancel action in Timer callback ( #31826 )
...
* reset timer handle when cancel failed, meaning the timer callback has
already been scheduled
* review
* review
2 years ago
AJ Heller
b19604ea60
EventEngine::RunAfter: GrpcLb ( #30043 )
...
* EventEngine::RunAfter: GrpcLb
* Automated change: Fix sanity tests
* add exec_ctx to callbacks
* fix use after move
* remove ref-counting bug; add more ref traces
* reviewer feedback
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
AJ Heller
7eb99baad8
EventEngine::RunAfter: OutlierDetection LB Policy ( #30040 )
...
* EventEngine::RunAfter: OutlierDetection LB Policy
* iwyu, clang format, fix_auto_deps
* fix TSAN: EjectionTimer needs no cleanup on cancellation
* redo
* exec_ctx and fix use after move
* handle orphaning with an unset timer handle
* Automated change: Fix sanity tests
* reviewer feedback
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Craig Tiller
322e85253e
Revert "Revert "[experiments] Enable memory_pressure_controller for debug builds ( #31811 )" ( #31824 )" ( #31832 )
...
This reverts commit 4d7df5580d
.
2 years ago
Allan Boll
657b825c81
XdsClient: inject version string at construction time ( #31812 )
...
* Decouple XdsClient from grpc_version_string
* Updated tests too
* clang format fixes
2 years ago
Alisha Nanda
38fd9c87e3
Revert "Sends out-of-band close for streams from client side when destroying transport ( #31814 )" ( #31833 )
...
This reverts commit 1daa3877ed
.
2 years ago
Stanley Cheung
fa42edef83
Update PHP docker images PHP versions ( #31779 )
2 years ago
Mark D. Roth
a34f9e170f
ring_hash LB: cap ring size to 4096 with channel arg to override ( #31692 )
...
* ring_hash LB: cap ring size to 4096 with channel arg to override
* change default max_ring_size value to 4096 in LB policy config
2 years ago
Cheng-Yu Chung
4e90f43a75
Remove functions in `class CoreCodegen` ( #31796 )
...
* Update include
* Clean up `grpc_empty_slice()`
* Clean up `grpc_slice_malloc()`
* Clean up `grpc_slice_unref()`
* Clean up `grpc_slice_ref()`
* Clean up `grpc_slice_split_tail()`
* Clean up `grpc_slice_split_head()`
* Clean up `grpc_slice_sub()`
* Clean up `grpc_slice_buffer_add()`
* Clean up `grpc_slice_buffer_add_indexed()`
* Clean up `grpc_slice_buffer_pop()`
* Clean up `grpc_slice_from_static_buffer()`
* Clean up `grpc_slice_from_copied_buffer()`
* Clean up `grpc_metadata_array_init()`
* Clean up `grpc_metadata_array_destroy()`
* Clean up `gpr_inf_future()`
* Clean up `gpr_time_0()`
2 years ago
Vignesh Babu
14cdae3d1c
Change ignore http2 setting log level to DEBUG ( #31825 )
2 years ago
Mao
1daa3877ed
Sends out-of-band close for streams from client side when destroying transport ( #31814 )
...
* Send out-of-band close for streams when destroying transport
* Remove unnecessary blank lines
* Print error if transaction messages don't match
2 years ago
Hannah Shi
0ca4bbfb9f
run cf stream test with bazel ( #31555 )
2 years ago
Mark D. Roth
281228407f
xDS cluster: use absl::variant for cluster type ( #31820 )
...
* xDS cluster: use absl::variant for cluster type
* fix xds_cluster_resource_type test
2 years ago
Mark D. Roth
040617028c
Revert "Revert "xDS stateful session affinity: support xDS HTTP filter config ( #31793 )" ( #31821 )" ( #31823 )
...
This reverts commit 0fd59754b1
.
2 years ago
Cheng-Yu Chung
0d3fcb41ea
Revert "Move google_default channel_credentials out of `include/grpc/grpc_security.h` ( #31786 )" ( #31822 )
...
This reverts commit 3d59abc94e
.
2 years ago
Craig Tiller
4d7df5580d
Revert "[experiments] Enable memory_pressure_controller for debug builds ( #31811 )" ( #31824 )
...
This reverts commit 244e39b86e
.
2 years ago
AJ Heller
0fd59754b1
Revert "xDS stateful session affinity: support xDS HTTP filter config ( #31793 )" ( #31821 )
...
This reverts commit 7f054ffab0
.
2 years ago
AJ Heller
18029913b9
Remove posix_engine namespace ( #31787 )
...
* Remove posix_engine namespace
* Automated change: Fix sanity tests
* rm redundant using statements
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
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