Hannah Shi
2adab34f7a
fix generate_projects.sh fails in M1 Mac ( #31868 )
...
* fix generate_projects.sh fails in m1 mac
* use buildozer-linux-arm64 for linux arm64 platform
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
Nick Hill
353afc2dd9
fix: Re-raise python asyncio.CancelledErrors ( #31982 )
...
This is motivated by #31227 which I also encountered recently. I'm not familiar with the call lifecycle details, but it seems clear that there is some kind of race condition between user-initiated cancellations and other completion status updates.
If a user cancels a call before being notified of its completion, I believe it should be considered cancelled unconditionally, regardless of whether the call actually completed successfully before its cancellation status could be set.
So it seems better to re-raise explicitly rather than using self._raise_for_status(), which is a no-op in this race condition and can lead to an UnboundedLocalError.
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
Frédéric Nadeau
96bb8b9c5c
Update comment following #31108 ( #31947 )
...
For UNIX sockets, code has been fixed but comment and log were not.
2 years ago
Mark D. Roth
bbce3cc643
ring_hash: fix cast in WorkSerializerRunner ( #32012 )
2 years ago
apolcyn
e31cfaaa11
Update default ruby version to 3.2 on linux/macos ruby builds ( #32010 )
...
* Use ruby 3.2 in macos and linux ruby builds
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
Xuan Wang
e1f07786a4
Change Aio abort() function return type to NoReturn ( #31984 )
2 years ago
Vignesh Babu
dafbe7031b
Separate out tsi_alts_frame_protector into its own target ( #31988 )
...
* start
* update
2 years ago
apolcyn
b27d726342
testing: bump timeout of grpc/abseil-head build job from 4 to 5 hours ( #31936 )
2 years ago
Clément Jean
9caea6ca40
Update bazel_support.md ( #31986 )
...
* Update bazel_support.md
Typo where 'k' should be a comma. We can now copy paste the code as is.
* remove typo in template file
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
apolcyn
a2cf991f08
always export _rb_tr_abi_version on truffle ruby ( #31995 )
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
apolcyn
05c5083477
make exported symbol files platform specific ( #31970 )
2 years ago
Richard Belleville
a1491cd738
Ensure Full Build is Run for each Bazel Version in Bazel Distribtest ( #31366 )
...
* Ensure results of Bazel distribtests are not cached across versions.
* Please the shellcheck overlords
* Try to use action env to invalidate cache
* Change placement of Bazel version check
* Review comments
* Add version test to build step as well
2 years ago
AJ Heller
50d4f22069
Fix hang on fork when the security context is destroyed in the Executor ( #31969 )
...
Attempting to create an ExecCtx while forking will hang forever. In the
apparently rare case that the transport is destroyed in an Executor
thread, this blocks indefinitely in the pre-fork handlers.
2 years ago
Craig Tiller
5664d6ee6b
[slice] Mutable slice cast ( #31959 )
...
* [slice] Mutable slice cast
* fix
2 years ago
Mark D. Roth
cd98a12faa
subchannel: log status to channelz in state TRANSIENT_FAILURE ( #31966 )
...
* subchannel: log status to channelz in state TRANSIENT_FAILURE
* iwyu
2 years ago
github-actions[bot]
ff55b10616
Automated change: Fix sanity tests ( #31968 )
...
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
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
tony
1cd92d9446
Add internal documentation for Grpc.Tools MSBuild integration ( #31784 )
...
* Developer doc for Grpc.Tools msbuild integration
* Fix formatting
* update docs from review comments
* small changes to the documentation
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
Esun Kim
25b0aff1e7
Update a sanity docker image to run iwyu ( #31956 )
...
* Added missing iwyu deps
* Docker image pushed
2 years ago
Ho Ngok Chao
28e49b0f6f
Add concurrency into python example in route_guide ( #31724 )
...
* Add concurrency into python example in route_guide
- replace await single tasks sequentially with await task_group
* Add comments for asyncio.gather for concurrency
* Correct typo
* Update asyncio_route_guide to meet google style
Co-authored-by: Richard Belleville <rbellevi@google.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
Vignesh Babu
d370151009
An EventEngine subclass that may be implemented by posix based event engines ( #31816 )
...
* An EventEngine subclass to be implemented by all posix based event engines
* sanity
* comments
* update
* review comments
* re-word
* update
* review comments
* regenerate projects
* syntax fix
* update class name to avoid conflict
* update
* rename
* rename
* update
* review comments
* rename
* update
* update
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
github-actions[bot]
580569358f
Automated change: Fix sanity tests ( #31941 )
...
Co-authored-by: drfloob <drfloob@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
52d3c295f6
[promises] Move Empty to be first class ( #31888 )
2 years ago
Craig Tiller
7947427f91
[promises] Implementation of deadline for client based calls ( #31902 )
...
* [promises] Implementation of deadline for client based calls
* fix
* Update call.cc
2 years ago
Richard Belleville
87631454fd
Switch AsyncIterable to AsyncIterator ( #31906 )
2 years ago
Craig Tiller
a5f1ac8d6a
[autofix] Get iwyu, clang-tidy working with the pr-autofixer again ( #31922 )
...
* debug
* get clang-tidy, iwyu on pr-autofix again
* Revert "debug"
This reverts commit 7d791d6406
.
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
Alisha Nanda
4d4fed1ef7
[resource_quota] Fix allocator experiment bug ( #31919 )
...
* Fix allocator exp
* fix alloc exp
2 years ago
Alisha Nanda
78dff5a447
use control value for tcp ( #31918 )
2 years ago
Esun Kim
27bf7238f4
Added include guard to mock headers ( #31909 )
...
* Added include guard to mock headers
* Fix test
2 years ago
Yash Tibrewal
9e7c8bff55
Tracing: Add annotations for when call is removed from resolver result queue and lb pick queue ( #31913 )
...
* Tracing: Add annotations for when call is removed from resolver result queue and lb pick queue
* Add test for pending resolver result queue as well
* Update annotation messages
2 years ago
AJ Heller
c5cf00bb8d
EventEngine::RunAfter: Rls LB Policy ( #30041 )
...
* EventEngine::RunAfter: Rls LB Policy
* unref lb_policy on shutdown
* Automated change: Fix sanity tests
* replace old exec_ctx Now syntax
* skip updates if orphaned
* fix post-shutdown cleanup logic on failed timer cancellation
* nullptr deref fix; handle cleanup changes
* reviewer feedback
* rename method for consistency
* lb policy test: FakeHelper owns an engine
* Revert "lb policy test: FakeHelper owns an engine"
This reverts commit f274d6b190
.
* review feedback
Co-authored-by: drfloob <drfloob@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