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
Yash Tibrewal
6a97f492ff
Add method to add annotations to call tracer ( #31901 )
2 years ago
Jan Tattermusch
149fc38356
update C#/.NET info in top level readme ( #31896 )
2 years ago
Yijie Ma
f5584c2c02
[EventEngine] RunAfter migration: Chttp2Connector ( #31877 )
...
* initial commit
* fix bug
* review
* use raw pointer
* remove unused header
* better comments
* use self->args_
* review
2 years ago
Yash Tibrewal
5100b33e0e
GCP Observability: Add payload metrics ( #31899 )
2 years ago
Yash Tibrewal
a0f00f0956
GCP Observability: Fix view names for started and completed rpcs ( #31898 )
2 years ago
Craig Tiller
efdae293fb
[promises] Implementation of deadline for server-based-calls ( #31656 )
...
* [promises] Implementation of deadline for server-based-calls
* Automated change: Fix sanity tests
* reset deadline on completion
* names
Co-authored-by: ctiller <ctiller@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
Craig Tiller
83e3c28869
[chttp2] Enable new huffman encoder by default ( #30989 )
2 years ago
Craig Tiller
246a3ef7f9
promise based filters should close pipes its responsible for ( #31882 )
2 years ago
Craig Tiller
7d33a2adfd
[o11y] Rough transport latency metric ( #31864 )
2 years ago
Cheng-Yu Chung
e28419f1f9
[cleanups] Remove `class CoreCodegen` and `g_core_codegen_interface` ( #31875 )
...
* Delete `g_core_codegen_interface`
* Automated change: Fix sanity tests
* Fix
* Update
2 years ago
tsunche
ba8d4bbce0
fix a typo 'schudule => schedule' in binder transport ( #31851 )
2 years ago
Larry Safran
5bc76e61a7
Bump Java to 1.51.1 ( #31883 )
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
Yijie Ma
fe9f9afaa0
EventEngine::RunAfter migration ConnectionAttemptInjector ( #31865 )
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
Rokya
feda5031fa
[BinderTransport] Make `CreateBinderChannel` parameter names consistent ( #31852 )
...
* Rename `jni_env` to `jni_env_void`
* Rename `application` to `context`
2 years ago
Cheng-Yu Chung
f03304b963
[cleanups] Remove functions in `class CoreCodegen` ( #31837 )
...
* Clean up `assert_fail()`
* Clean up `ok()` and `cancel()`
* 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
Cheng-Yu Chung
2e9e6439f8
Remove `include/grpc/impl/codegen/connectivity_state.h` ( #31728 )
...
* Remove `include/grpc/impl/codegen/connectivity_state.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Craig Tiller
a6843d4659
[promises] Convert client load reporting to promises ( #31854 )
...
* [promises] Convert client load reporting to promises
* fix
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
91083659fa
[promises] Cancellation callback ( #31863 )
...
* [promises] Cancellation callback
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Alisha Nanda
2f05aa8984
remove compact reclamation ( #31857 )
2 years ago
Craig Tiller
988e39b5d1
[resource_quota] Apply fixes for memory pressure controller ( #31860 )
2 years ago
Alisha Nanda
221d6b58d8
Add global structure of allocators + experiment ( #31807 )
...
* 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
* Add more info to error
* Fix tests
* Global allocator experiment
* Fix formatting and deps
* Update experiments files formatting
* Small fixes
* Change uint formatting
* Fix formatting
* Address review comments
* Clean up logging
* Automated change: Fix sanity tests
* Fix clangtidy
* remove duplicate header
* address review
* Updated experiments
* update formatting
* resolve conflict
* Address review comments
* Remove use of rand
* Automated change: Fix sanity tests
* Fix test errors
Co-authored-by: ananda1066 <ananda1066@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
0356ff3a72
Remove `include/grpc/impl/codegen/gpr_types.h` ( #31818 )
...
* Remove `include/grpc/impl/codegen/gpr_types.h`
* Automated change: Fix sanity tests
2 years ago
Craig Tiller
7c206579ab
[time] Fix multiple second stall at startup of mac/ios apps ( #31844 )
...
Quick explainer (this is gross):
- `grpc_core::Timestamp` measures millis since an arbitrary epoch, and on 32-bit platforms is 32-bit precise
- `gpr_now(GPR_CLOCK_MONOTONIC)` measures nanos since a different arbitrary epoch
- since Timestamp has limited range, we choose its epoch to roughly correlate with process startup to avoid overflow
- since we have static initialization problems on some platforms we choose 0 as an uninitialized designator for that epoch
- since we have bugs elsewhere, we insist that time values are >1 second from Timestamp
- to deal with all that, if we get `gpr_now(GPR_CLOCK_MONOTONIC)` values that are close to 0 or 1 seconds we wait for a little while to get values that will work better later
- on mac and windows gpr_now(GPR_CLOCK_MONOTONIC) was setting its epoch to be process startup exactly, and so we hit this all the time
This PR fixes some bugs in initialization of the Timestamp epoch and clarifies the code somewhat, and (more importantly) shifts the Windows and Mac epochs five seconds prior to process startup, guaranteeing that the logic in `grpc_core::Timestamp`'s epoch sees values that it can immediately use in all cases and eliminating the need for the pause.
2 years ago
Craig Tiller
1f15f21540
Revert "Revert "Revert "[experiments] Enable memory_pressure_controller for debug builds ( #31811 )" ( #31824 )" ( #31832 )" ( #31846 )
...
This reverts commit 322e85253e
.
2 years ago
Craig Tiller
f32701f840
make log lines info to help out a customer ( #31842 )
2 years ago
Cheng-Yu Chung
c3132358d6
Remove `include/grpc/impl/codegen/status.h` ( #31817 )
...
* Remove `include/grpc/impl/codegen/status.h`
* Automated change: Fix sanity tests
2 years ago
Eryu Xia
a8ac4e7265
Revert "[ObjC]fix 64 to 32 bit clang conversion warning in src/core/lib ( #29877 )" ( #31843 )
...
This reverts commit eb0a591811
.
2 years ago
Hannah Shi
eb0a591811
[ObjC]fix 64 to 32 bit clang conversion warning in src/core/lib ( #29877 )
2 years ago
AJ Heller
f17592d48d
EventEngine::RunAfter: Priority LB ( #30045 )
...
* EventEngine::RunAfter: Priority LB
* Have the ChildPriority own an EventEngine
* Automated change: Fix sanity tests
* fix use after move; add exec_ctx
* Automated change: Fix sanity tests
* fix cancellation ordering problem
* reviewer feedback
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
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