AJ Heller
cbbadf5714
Relax the benchmarks' default minimum execution time ( #31479 )
2 years ago
AJ Heller
821443e9b5
Revert "[promise] CallPushPull -> more general TryConcurrently ( #31429 )" ( #31480 )
...
This reverts commit 11a8f66cca
.
2 years ago
Mark D. Roth
27206c981c
XdsClient: add tests for resource types where AllResourcesRequiredInSotW() returns true ( #31428 )
...
* XdsClient: add test for resource types where AllResourcesRequiredInSotW() returns true
* test ignoring resource deletion
* clang-tidy
2 years ago
Jan Tattermusch
3cf3ed7d59
Revert "Revert "Add back C# distribtests for Grpc.Tools"" ( #31436 )
...
* Revert "Revert "Add back C# distribtests for Grpc.Tools (#31399 )" (#31412 )"
This reverts commit dbc45208e2
.
* avoid clash with internal protos
2 years ago
Craig Tiller
11a8f66cca
[promise] CallPushPull -> more general TryConcurrently ( #31429 )
...
* [promise] CallPushPull -> more general TryConcurrently
* Automated change: Fix sanity tests
* add comment
* simplify
* debugassert
* less vtable init
* smaller shared
* iwyu
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix miscompiles on windows'
* Automated change: Fix sanity tests
* fix
* iwyu
* Automated change: Fix sanity tests
* review feedback
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
312a3db818
google-c2p resolver: use federation if enabled via env var ( #29922 )
...
* google-c2p resolver: use new-style resource name for LDS subscription
* trigger on xDS federation env var, and don't fall back to DNS if bootstrap present but federation is enabled
2 years ago
Mark D. Roth
447a058837
xDS: remove deprecated C++ APIs in the experimental namespace ( #31451 )
2 years ago
AJ Heller
05ab5c08a4
Reland "Precondition ChannelArgs with EventEngines ( #31166 )" ( #31469 )
...
This reverts commit a63c81135c
.
Needs a cherrypick
2 years ago
Brett McBride
14d1403717
fixing php 8.2 deprecations ( #30997 )
...
* fixing php8.2 test deprecations
fixes various dynamic property deprecations in the tests themselves
* fixing phpunit9 deprecation
at() matcher is deprecated, to be removed in phpunit 10. switch to withConsecutive
* adding channel property to Grpc\Call
this resolves "Creation of dynamic property Grpc\Call::$channel is deprecated" in php 8.2
* skip implicit cast test in 8.1+
implicit casting from float to int is deprecated from 8.1, so users would receive a deprecation warning if trying to do this
* php8.2rc4
2 years ago
Craig Tiller
9d7163335b
Revert "[promise] Promise based filter changes for messages ( #31431 )" ( #31472 )
...
This reverts commit 0e3f4681be
.
2 years ago
Craig Tiller
0e3f4681be
[promise] Promise based filter changes for messages ( #31431 )
...
* [promise] Promise based filter changes for messages
* review feedback
2 years ago
Jan Tattermusch
ffe1f4af78
Revert "Fix msbuild failing when '@' is present in path ( #31133 )" ( #31464 )
...
This reverts commit 1a5ad72063
.
2 years ago
Mark D. Roth
ba5e477446
xds_end2end_test: fix test flake ( #31468 )
2 years ago
Richard Belleville
ee8fc55ae3
Add Xuan to Python triage ( #31467 )
2 years ago
Mark D. Roth
26f74399b0
xDS: change remaining registries to be non-global ( #31293 )
...
* json_object_loader: refactor ErrorList into its own library
* fix observability_config_test
* generate_projects
* iwyu
* WIP
* xDS: make HTTP filter registry non-global
* make cluster specifier plugin registry non-global
* fix test
* clang-format
* general-purpose utility for validation xDS extensions
* plumb XdsExtension into HTTP filters and ClusterSpecifiers
* clang-format
* fix tests
* iwyu
* fix build with old compilers
* finish plumbing ValidationErrors into Listener, including HTTP filters
* fix tests
* WIP
* use absl::variant for listener type
* use absl::variant for RDS name vs. inline RouteConfig
* first passing test
* adding more tests
* xDS RBAC: remove env var protection
* fix federation server test
* add another test
* fix sanity
* first pass of client-side validation, except for HTTP filter configs
* minor cleanup and TODO
* clean up HTTP filter registration
* fix unused param
* fix tests
* WIP on xds_http_filters_test
* clang-format
* add tests for fault injection filter
* RBAC filter tests
* Automated change: Fix sanity tests
* fix sanity
* iwyu
* fix asan problem
* started adding server-side listener tests
* DownstreamTlsContext tests
* update filter chain duplicate detection code
* clang-format
* migrate remaining tests from e2e tests and remove duplicates
* parameterized HCM tests
* clang-format
* generate_projects
* iwyu
* remove unnecessary dependency
* remove another unnecessary dep
* remove more unneeded deps
* remove no_op_http_filter
* add death test for duplicate HTTP filter registration
* clang-format
* remove unnecessary StaticConfigName() method from Router filter
* clang-format
* iwyu
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
9143627664
Remove `include/grpcpp/impl/codegen/security/auth_context.h` ( #31292 )
2 years ago
AJ Heller
a63c81135c
Revert "Precondition ChannelArgs with EventEngines ( #31166 )" ( #31462 )
...
This reverts commit 23c7e48779
.
2 years ago
Mark D. Roth
b9aca8db8a
Second attempt: xDS Listener: use ValidationErrors and add unit test ( #31457 )
...
* Revert "Revert "xDS Listener: use ValidationErrors and add unit test (#31351 )" (#31456 )"
This reverts commit ab3d62ae8f
.
* Revert "Revert "xds_http_filters_test: fix includes for import (#31454 )" (#31455 )"
This reverts commit 32590d110a
.
* fix import
* work around internal differences in Any API (string vs. cord)
* iwyu
2 years ago
AJ Heller
23c7e48779
Precondition ChannelArgs with EventEngines ( #31166 )
...
* Precondition ChannelArgs with EventEngines
If an EventEngine is not explicitly provided to ChannelArgs, the default
EventEngine will be set when ChannelArgs are preconditioned.
* channel_idle_filter: EE from channel_args
* grpclb: EE from channel_args
* weighted_target: ee from channel_args
* sanitize
* xds cluster manager
* posix native resolver: own an EE ref from iomgr initialization
* reviewer feedback
* reviewer feedback
* iwyu
* iwyu
* change ownership and remove unneeded methods
* clang_format and use consistent engine naming
* store EE ref in channel_stack and use it in channel idle filter
* don't store a separate shared_ptr in NativeDNSResolver
* add GetEventEngine() method to LB policy helper interface
* stop holding refs to the EE instance in LB policies
* clang-format
* change channel stack to get EE instance from channel args
* update XdsWrrLocalityLb
* fix lb_policy_test
* precondition channel_args in ServerBuilder and microbenchmark fixtures
* add required engine to channel_stack test
* sanitize
* dep fix
* add EE to filter fuzzer
* precondition BM_IsolatedFilter channelargs
* fix
* remove unused using statement
* iwyu again??
* remove preconditioning from C++ surface API
* fix bm_call_create
* Automated change: Fix sanity tests
* iwyu
* rm this->
* rm unused deps
* add internal EE arg macro
* precondition filter_fuzzer
* Automated change: Fix sanity tests
* iwyu
* ChannelStackBuilder requires preconditioned ChannelArgs
* iwyu
* iwyu again?
* rm build.SetChannelArgs; rm unused declaration
* fix nullptr string creation
Co-authored-by: Mark D. Roth <roth@google.com>
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
c65348879a
Remove `include/grpcpp/impl/codegen/time.h` ( #31290 )
2 years ago
Craig Tiller
58c628a7ad
[promise] Introduce map_pipe, cleanup factories ( #31430 )
...
* [promise] Introduce map_pipe, cleanup factories
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
ab3d62ae8f
Revert "xDS Listener: use ValidationErrors and add unit test ( #31351 )" ( #31456 )
...
This reverts commit 7229bea2fd
.
2 years ago
Craig Tiller
32590d110a
Revert "xds_http_filters_test: fix includes for import ( #31454 )" ( #31455 )
...
This reverts commit dec59e1147
.
2 years ago
Mark D. Roth
dec59e1147
xds_http_filters_test: fix includes for import ( #31454 )
2 years ago
Vignesh Babu
d760c1fef7
Revert "Posix event engine tcp client ( #31074 )" ( #31452 )
...
This reverts commit 390ae5d412
.
2 years ago
Mark D. Roth
7229bea2fd
xDS Listener: use ValidationErrors and add unit test ( #31351 )
...
Additional changes:
- Use absl::variant<> to differentiate between API listeners and TCP listeners.
- Use absl::variant<> to differentiate between an RDS reference and an inline RouteConfig.
- Use common xDS extension code for transport socket extensions in both Listener and Cluster resources.
- Improve xDS HTTP filter registration mechanism.
- Use ValidationErrors for HTTP filter config validation.
2 years ago
Hannah Shi
c7a2fc8e75
[ObjC] Run ios perf test from bazel ( #31019 )
...
* run ios CronetTest from bazel
* run ios perf test from bazel
* ci fix
Co-authored-by: Denny C. Dai <dennycd@me.com>
2 years ago
apolcyn
16b8386467
Remove unnecessary call from c-ares resolver SRV handler ( #31426 )
2 years ago
Cheng-Yu Chung
493b961dfb
Remove `include/grpcpp/impl/codegen/sync_stream.h` ( #31289 )
2 years ago
Mark D. Roth
8dfd31c1e7
XdsClient: add test for fix in #29604 ( #31439 )
2 years ago
Vignesh Babu
390ae5d412
Posix event engine tcp client ( #31074 )
...
* removing EndpointConfig::Get method
* Automated change: Fix sanity tests
* cleanup
* fix
* fix review comments
* review comments
* cleanup
* update comments
* fix
* cleanup
* update comments
* Automated change: Fix sanity tests
* fix misleading comments
* bug fixes
* fix
* fix
* start
* revert some changes for bug fixes and allow spurious wakeups for poll based poller
* sanity
* fix
* minor fix
* review comments
* fix
* comment
* remove re-defined function
* fix review comments
* fix windows iocp build issue due to removed function
* change Milliseconds return type
* fix
* remove header
* regenerate projects
* fix sanity
* code
* fix sanity
* Automated change: Fix sanity tests
* Forking iomgr internal_errqueue defines for posix event engine
* fix BUILD file
* start
* update
* sanity
* regenerate_projects
* Automated change: Fix sanity tests
* rename
* review comments
* update
* review comments
* Automated change: Fix sanity tests
* fix BUILD
* add no_windows tag
* update
* update
* remove debug statements
* delete unused file
* update
* fix BUILD
* regenerate projects
* update
* fix BUILD
* update
* fix sanity
* minor additions to configure global tcp user timeout values
* cleanup
* fix build syntax
* start
* update
* fix
* change poller interface for posix event engine
* update event_poller_posix_test
* fix build error
* Add more unit tests
* windows ee changes
* update comment
* remove unused deps
* fix msan issue
* add comment
* adding rcv lowat helper to socket wrapper
* fix sanity
* review comments
* fix build issue
* fix sanity
* sanity
* iwyu sanity
* fix build
* merge conflict
* Automated change: Fix sanity tests
* update
* update
* fix macos issue
* fix msan and ubsan issues
* fix macos build issue
* comment
* review comments
* remove unused dep
* sanity
* merge conflict
* mac build issue
* regenerate projects
* build issue
* fix test issues
* add test
* fix typo and address review comments
* review comments
* Automated change: Fix sanity tests
* update
* merge issue
* add a test to check connect timeouts and cancellation
* regenerate projects
* sanity
* remove unnecessary code
* Add utils to create and prepare socket for tcp client
* some fixes
* fixes
* review comments
* sanity
* fix build issue
* review comments
* add thread annotations
* MacOS fix unused variable
* add some more #endif comments
* fixes
* update
* more fixes
* regenerate projects
* sanity
* some fixes
* more fixes
* rm hdr file
* macos fixes
* typo
* more build issues
* macos crashes
* windows build
* adding Poller::Work to event engine constructor
* update client_test
* iwyu
* iwyu
* regenerate projects
* cleanup
* cleanup
* regenerate projects
* regenerate projects
* fix
* fix
* merge conflict
* comments
* add experiments flag
* fix
* newline
* newline
* iwyu
* fix
* fix
* remove some ifdefs
* fix tsan issue in bm_event_engine_run
* sanity
* sanity
* Add a quiesce to threadpool
* fix
* Automated change: Fix sanity tests
* fixes
* typo
* comments
* fix build
* fixes
* macos fixes
* more macos fixes
* handle shutdown better
* updated poller kicked api contract and fix bug
* iwyu
* fix sanity
Co-authored-by: Vignesh2208 <Vignesh2208@users.noreply.github.com>
Co-authored-by: Craig Tiller <ctiller@google.com>
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
74ca6fe586
[test] Add some debugability affordances to async_end2end_test ( #31433 )
2 years ago
AJ Heller
99aa924a5c
Use minimal benchmark time for bm_event_engine_run in CI ( #31440 )
2 years ago
tony
1a5ad72063
Fix msbuild failing when '@' is present in path ( #31133 )
...
There was ambiguity in references to Source metadata on some Items. These
are now qualified to remove the ambiguity.
2 years ago
Cheng-Yu Chung
f4b25ab837
Remove `include/grpcpp/impl/codegen/stub_options.h` ( #31287 )
2 years ago
Mikhail Lappo
5ec616e6a8
Update zlib ( #31356 ) ( #31357 )
...
To mitigate CVE-2022-37434
2 years ago
AJ Heller
1cbf6d64ae
Revert "[EventEngine] Refactor ThreadManager to leverage a shared ThreadPool ( #31392 )" ( #31425 )
...
* Revert "[EventEngine] Refactor ThreadManager to leverage a shared ThreadPool (#31392 )"
This reverts commit 66df2c646a
.
* sanitize
2 years ago
Micah Paul Ramos
1f0c6a6748
fix gprc_cli segfault when using binary in and out ( #31411 )
2 years ago
Craig Tiller
29175b97ee
[tests] Remove interop tests from PR flows ( #31423 )
2 years ago
Craig Tiller
a4a4e54bb1
[notification] sloppier tests ( #31422 )
2 years ago
Craig Tiller
2158ce7523
[cleanup] Remove unused end2end feature flags ( #31370 )
2 years ago
AJ Heller
8b4c4fc47d
ThreadPool benchmarks ( #31419 )
...
* ThreadPool benchmarks
These are nearly identical to the EventEngine benchmarks at the moment. We can consider removing the redundant tests from the EventEngine code and focusing on EventEngine-specific things (e.g., timer cancellation)
* rm unused header
* rm leak
* fix: moved dependencies
2 years ago
Craig Tiller
141bc3b634
[experiments] Reland enabling tcp_read_chunks for debug builds ( #31420 )
...
* Revert "Revert "[experiments] Enable tcp_read_chunks for debug builds (#31374 )" (#31417 )"
This reverts commit 987b50a258
.
* Fix read failure
* fixes
2 years ago
Yash Tibrewal
5f6c357e74
Move some targets from //: to //src/core: ( #31402 )
...
* temp
* temp
* temp
* top BUILD builds
* everything builds
* buildify
* temp fix_build_deps change
* fix gpr_atm
* additional changes
* fix build files
* nofixdeps
* Generate projects
* json_args
* fix context
* Generate projects
* Sprinkle some avoid_dep tags
* Run fix_build_deps
* Remove additional avoid_dep
* Revert some targets
* grpc_mock_cel
2 years ago
Craig Tiller
0724a90fd8
Revert "Revert "[arena] pool allocator ( #31298 )" ( #31414 )" ( #31415 )
...
This reverts commit 2c11e56433
.
2 years ago
Yash Tibrewal
3b6675c2de
OpenCensus: Move measures, views and CensusContext to include file ( #31341 )
...
* OpenCensus: Move measure and view declarations to include file
* Move CensusContext class too
* Fix IWYU
* Guard with experimental
* Formatting
* clang tidy fixes
* cleanup
* Reviewer comments
2 years ago
AJ Heller
66df2c646a
[EventEngine] Refactor ThreadManager to leverage a shared ThreadPool ( #31392 )
...
* Refactor ThreadManager to leverage a shared ThreadPool
This is a step towards a work-stealing thread pool implementation:
unifying thread pools so that work stealing affects timer callbacks as
well.
A subsequent step will expose the timeout logic so that the timer wakeup
and check can be triggered externally (by pollers, in the common case).
* fix atomic uint64_t type missing on some platforms
* sanitize + platform fixes
* ->quiesce
* shut down the timer manager to release the main thread
* roll back atomics
* use a dedicated thread for timer_manager to prevent local execution (work stealing)
* drain the pools after timer manager tests; sanitize
* iwyu
* reintroduce fork handling
* sanitize
* fix
2 years ago
Craig Tiller
987b50a258
Revert "[experiments] Enable tcp_read_chunks for debug builds ( #31374 )" ( #31417 )
...
This reverts commit d05830cb02
.
2 years ago
Eric Anderson
9098d8b8db
Upgrade Java interop to Bullseye and Java 11 ( #30599 )
2 years ago
Alisha Nanda
2c11e56433
Revert "[arena] pool allocator ( #31298 )" ( #31414 )
...
This reverts commit 5e27b2df97
.
2 years ago