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
Yash Tibrewal
3683ff924b
GCP Observability: Add server latency metric ( #31900 )
2 years ago
Cheng-Yu Chung
1b05576aa3
[cleanups] Clean up `GrpcLibraryInitializer` ( #31894 )
...
* Clean up `GrpcLibraryInitializer`
* Update
* Automated change: Fix sanity tests
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
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