AJ Heller
41e7aff3be
[EventEngine] Update EventEngine client experiment ( #32099 )
...
* [EventEngine] Update EventEngine client experiment
This bumps the expiry timeline, and guards certain poller behavior
behind the flag. The Epoll1 poller has been shown to not support fork
events, which is a problem for Python. Fixes for that are incoming, but
for now, the poller instantiation is guarded behind the flag as well.
* force the EE endpoint experiment on for posix EventEngine tests
* fix experiment code, it was not respecting forced values
2 years ago
Peter Foley
f87b62edd5
fake_handshaker_server: Allow specifying a different peer identity. ( #31841 )
...
This is helpful when writing integration tests with systems that expect
a specific value for the peer.
2 years ago
Hannah Shi
24e158d5a9
[ObjC]cf event engine timer ( #31140 )
...
* Apple CF event engine using posix timer
* update generated files
* fix ci errors
2 years ago
Yijie Ma
8ee542daba
[EventEngine] RunAfter migration: passthru_endpoint ( #32034 )
...
* initial commit
* compile
* iwyu
* pure guess fix to unblock api_fuzzer test
* early out hack in passthru_endpoint
* this is no use
* cancel semantic fix
* fix
* fix
* clarify
2 years ago
AJ Heller
6778bb3501
[EventEngine] Relandx3: WindowsEventEngine client ( #32031 )
...
* Reland x3: "WindowsEventEngine Client implementation (#31848 )"
This reverts commit 2c4d55b3a1
.
* fixes
* fix
* fix
2 years ago
Yijie Ma
fc54381aec
Fix a transport leak in subchannel ( #32071 )
...
* Use a unique_ptr with custom deleter for grpc_transport in
SubchannelConnector::Result
* comment
* fix
* iwyu
* std::ignore
* review
* explicit release ownership
2 years ago
Craig Tiller
2caa79feeb
[promises] Multi-producer, single-consumer for inter-activity comms ( #31927 )
...
* mpsc
* Automated change: Fix sanity tests
* tests
* tests
* Automated change: Fix sanity tests
* comments
* comments
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Eugene Ostroukhov
73fa138432
xds_override_host LB: move XdsOverrideHostLbConfig to `internal` namespace ( #32061 )
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
Mark D. Roth
e5a37d59fa
xDS: don't NACK RouteConfig with a VirtualHost containing no valid routes ( #32069 )
2 years ago
AJ Heller
91cb4a941b
[EventEngine] ThreadPool: pause closure execution on fork events ( #31994 )
...
* [EventEngine] ThreadPool: pause execution of closures on fork
* update tests
* iwyu
* disable test
* iwyu
2 years ago
Craig Tiller
9beb72836e
[event_engine+promises] EventEngine based wakeup scheduler for activities ( #31926 )
...
* eliminate activity* from wakers
* event engine activity wakeup scheduler
* Automated change: Fix sanity tests
* add exec ctx
* fix
* iwyu
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Vignesh Babu
3baeab973a
Remove posix_event_engine_polling_enabled experiment ( #32037 )
...
* Remove posix_event_engine_polling_enabled experiment
* regenerate projects
2 years ago
AJ Heller
5db6de8634
[༺ EventEngine ༻] Specify requirements for Run* immediate execution ( #32028 )
...
* [༺ EventEngine༻ ] Specify requirements for Run* immediate execution
Also adds test suite tests that may catch non-conforming implementations
(Run called ~3200 times in case it's non-deterministic).
* fix
* verbiage; longer timeout
* fix int type comparison warning
* rm illegal term
* Automated change: Fix sanity tests
* disable tests
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Andres Beltran
2904ee8fd3
Add support for systemd socket activation ( #31667 )
...
* Revert "Revert "Add support for systemd socket activation (#30485 )" (#31617 )"
This reverts commit 867dc6cae2
.
* Add checks to unix tests
* Ran generate_projects.sh and fixed styling in test
* Fix variable in unit test
* Use reinterpret_cast in test
* Rebase and fix sanity failures
2 years ago
Yash Tibrewal
d3d4dd7325
StatsPluginEnd2EndTest: Add QueueOnceLoadBalancingPolicy to remove flakiness from test ( #32019 )
...
* StatsPluginEnd2EndTest: Add QueueOnceLoadBalancingPolicy to remove flakiness from test
* Unused arg
* Remove unnecessary DelegatingPicker
* Reviewer comments
* explicit constructor
* Remove unnecessary dependency
* Reviewer comments
* Sanity
* clang tidy
2 years ago
Yijie Ma
9ff89e81c4
fix order issue in setting grpc_tcp_client_impl ( #32022 )
2 years ago
AJ Heller
2c4d55b3a1
Revert "Revert "Revert "WindowsEventEngine Client implementation ( #31848 )" (#… ( #31974 )" ( #32018 )
...
This reverts commit aa83319695
.
2 years ago
Eugene Ostroukhov
a111948602
xds_override_host LB: account for subchannel connectivity state ( #31914 )
2 years ago
Vignesh Babu
8bd2b9af52
Fixing some bugs in posix event engine ( #31785 )
...
* update
* regenerate projects
* fix sanity
* review comments
* fix
* add lock free event benchmark
* releasable mutex lock
* fix build isue
* update
* fix sanity
* regenerate projects
* iwyu
* Fix resolved address length related bugs in tcp_socket_utils and listener_utils
* iwyu
* cleanup src/core/lib/event_engine/tcp_socket_utils.cc
* update endpoint to use SliceCast into MutableSlice
* fix sanity
* review comments
* review comments
* regenerate projects
* fix
* rm unused variable
* fix
2 years ago
AJ Heller
aa83319695
Revert "Revert "WindowsEventEngine Client implementation ( #31848 )" (#… ( #31974 )
...
* Revert "Revert "WindowsEventEngine Client implementation (#31848 )" (#31965 )"
This reverts commit 58ad7950a0
.
* iwyu & visibility
2 years ago
Craig Tiller
a414dbd304
Revert #30349 ( #32008 )
...
* [iwyu] Add missing #include <type_traits> to fix build breakage with LLVM after e0a66116fc
* Update IWYU mappings
New libc++ doesn't provide <type_traits> when including <utility>.
* run iwyu
Co-authored-by: alexfh <alexfh@google.com>
2 years ago
Vignesh Babu
4f9ba0f49b
Expand SliceCast to support casts to MutableSlice type ( #31996 )
...
* Expand SliceCast to support casts to MutableSlice type
* update
2 years ago
Eugene Ostroukhov
875066b61e
tests: Validate subchannel state transitions ( #31971 )
2 years ago
tsunche
c751218ffe
[BinderTransport] remove unnecessary grpc_init() in binder_server_test ( #31945 )
...
* remove unnecessary grpc_init() in binder_server_test
* remove useless blank line
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
Craig Tiller
5664d6ee6b
[slice] Mutable slice cast ( #31959 )
...
* [slice] Mutable slice cast
* fix
2 years ago
AJ Heller
58ad7950a0
Revert "WindowsEventEngine Client implementation ( #31848 )" ( #31965 )
...
This reverts commit bc7e155e55
.
2 years ago
Vignesh Babu
531287b2ee
Update tcp server interface to move on_accept_cb to the create method ( #31912 )
...
* Update tcp server interface to move on_accept_cb to create method
* update
* update
2 years ago
Eugene Ostroukhov
878a0ea6c2
xds_override_host LB: add basic support for overriding host ( #31954 )
...
This is same as #31819 but with fixed compilation issues.
2 years ago
Craig Tiller
feb43c589f
[iwyu] Better error checking in script ( #31957 )
...
* fff
* fff
* fff
* better error checking
* x
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Eugene Ostroukhov
60e4aea792
Revert "xds_override_host LB: add basic support for overriding host ( #31819 )" ( #31948 )
...
This reverts commit a500a74c6c
.
2 years ago
Eugene Ostroukhov
a500a74c6c
xds_override_host LB: add basic support for overriding host ( #31819 )
...
Implement picking the subchannel by address if the address is provided to a policy.
Co-authored-by: Mark D. Roth <roth@google.com>
2 years ago
Vignesh Babu
59bbe265fb
Make http proxy fixture test more robust ( #31803 )
...
* Make http proxy fixture test more robust
* update
* modify build
2 years ago
Mark D. Roth
1482bf9d18
round_robin: avoid spurious updates when switching subchannel lists ( #31939 )
...
* round_robin: avoid spurious updates when switching subchannel lists
* clang-format
* clang-tidy
2 years ago
Cheng-Yu Chung
896bfe373f
Add missing included `try_seq.h` in `map_pipe.h` ( #31943 )
...
* Add missing included `try_seq.h` in `map_pipe.h`
* Automated change: Fix sanity tests
2 years ago
Craig Tiller
72c296a3c2
[event_engine] Add SliceCast ( #31831 )
...
* [event_engine] Add SliceCast
* Automated change: Fix sanity tests
* windows-fix
* comments
* comments
* comments
* build-fix
* fix
* Update port_platform.h
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
AJ Heller
bc7e155e55
WindowsEventEngine Client implementation ( #31848 )
...
* rename task-handle mutex
* rename TimerClosure
* tmp commit, building, not tested
* add test for client connection to a non-listening port
* fix posix EE tests
* re-fix windows test suite after posix compatibility
* (unfinished, backup): passing the suite's NonExistingListener client test
* remove redundant windows client test
* integrate IOCP worker loop
* initial commit of echo test tool; fixes
* move echo client to test_suite/tools; I do not yet like the setup, it's about time for a macro that generates all useful test/tool targets
* cleanup
* add --target arg to echo_client. requires URI
* Automated change: Fix sanity tests
* build fixes
* fix
* fix
* reviewer feedback
* warning fix
* delete logic on cancellation
* fix
* cancel connect deadlock; improved template code
* fix build failure with linux environments building windows targets
* fix
* fix
* no ++ for atomics
* remove the test changes, to be landed separately
* Automated change: Fix sanity tests
* remnants
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Craig Tiller
49a3035d44
[iwyu] Fix CI job ( #31921 )
...
* fix-includes
* fix
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* add warning label
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
b2a5c43a0a
LB policy config tests: move to lb_policy subdir ( #31905 )
...
* LB policy config tests: move to lb_policy subdir
* generate_projects.sh
* buildifier
2 years ago
Mark D. Roth
f3419430df
WRR: port StaticStrideScheduler to OSS ( #31893 )
...
* WRR: port StaticStrideScheduler to OSS
* Automated change: Fix sanity tests
* fix build
* remove unused aliases
* fix another type mismatch
* remove unnecessary include
* move benchmarks to their own file, and don't run it on windows
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
e85379bc86
LB policy test framework: add methods for round_robin expectations ( #31891 )
...
* LB policy test framework: add methods for round_robin expectations
* attempt to fix build
* plumb location through helpers
2 years ago
Vignesh Babu
71f7bbd86c
Make tcp client posix test more robust ( #31804 )
...
* Make tcp client posix test more robust
* review comments
* fix
* update
* review comments
* update
* fix sanity
* fix clang tidy
* readability
* minor update
2 years ago
Cheng-Yu Chung
b72da316bb
[cleanups] Remove `include/grpc/impl/codegen/slice.h` ( #31871 )
...
* Remove `include/grpc/impl/codegen/slice.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
b887534111
[cleanups] Remove `include/grpc/impl/codegen/propagation_bits.h` ( #31870 )
...
* Remove `include/grpc/impl/codegen/propagation_bits.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
ac365cadfb
Remove `include/grpc/impl/codegen/port_platform.h` ( #31778 )
2 years ago
Mark D. Roth
5192021637
Second attempt: xDS stateful session affinity: add config plumbing ( #31874 )
...
* Revert "Revert "xDS stateful session affinity: add config plumbing (#31827 )" (#31873 )"
This reverts commit 4f15d3dcf9
.
* fix build for compilers too dumb to recognize the full set of enum values
2 years ago
Cheng-Yu Chung
9a7e77318b
[cleanups] Remove `include/grpc/impl/codegen/grpc_types.h` ( #31835 )
...
* Remove `include/grpc/impl/codegen/grpc_types.h`
* Automated change: Fix sanity tests
* Fix typo
* Automated change: Fix sanity tests
2 years ago
Richard Belleville
4f15d3dcf9
Revert "xDS stateful session affinity: add config plumbing ( #31827 )" ( #31873 )
...
This reverts commit f76948b12d
.
2 years ago
Mark D. Roth
f76948b12d
xDS stateful session affinity: add config plumbing ( #31827 )
...
* WIP
* sanitize
* add endpoint tests
* add plumbing through LB policies
* clang-tidy
2 years ago