Craig Tiller
b062fcd5c6
Ensure consistency of include style for <grpc.* headers ( #27233 )
...
* Add a tool to ensure consistency in how grpc public headers are included
* Apply tool
* add to test suite
* isort
3 years ago
Donghao Qiu
dc19d6c132
add file existance check ( #27133 )
3 years ago
Ming-Chuan
5b808a1bb5
Add missing namespace for binder transport phony implementation ( #27225 )
...
Also order the definitions correctly
3 years ago
Soheil Hassas Yeganeh
7911beacdb
Use a smaller array for write IOVs. ( #27224 )
...
Instead of 1000, use 260 IOVs to make stack overflows less likely.
Also pull the `iov` array to the bottom of the stack, to improve
locality.
3 years ago
Yash Tibrewal
9e4c657fa3
C++ opencensus filter: Fix point of creating context for overall call ( #27221 )
3 years ago
Mark D. Roth
2cb3831c83
fix retry code to fail batches instead of creating attempt if previously cancelled from surface ( #27217 )
...
* fix retry code to fail batches instead of creating attempt if previously cancelled from surface
* add xDS end2end tests covering the FI use-case that triggered the bug
* fix memory leak
3 years ago
Hannah Shi
ef182816f8
fixed a symbol in objective-c test script ( #26930 )
3 years ago
Menghan Li
a49b4614d7
xds/interop: add affinity test where a backend is down ( #27134 )
...
* xds/interop: add affinity test where a backend is down
* add to tests to run
* c0
* c1
3 years ago
Sergii Tkachenko
405cb0bca0
xds-k8s: Fix error: serviceAccountName Invalid value: None ( #27218 )
3 years ago
Ming-Chuan
7f8aeed223
Only enable binder transport code when API level is high enough ( #27177 )
...
This commit adds a new symbol GPR_SUPPORT_BINDER_TRANSPORT to
port_platform.h
This will help avoid surprising compilation failure when compiled with
old NDK or low API level
3 years ago
Craig Tiller
76189e57cb
Flag test library testonly ( #27214 )
3 years ago
donnadionne
022cff7d7c
update submodule boringssl-with-bazel with origin/master-with-bazel ( #27208 )
...
* update submodule boringssl-with-bazel with origin/master-with-bazel
* update boringssl dependency to master-with-bazel commit SHA
* regenerate files
* Updated sha256
* generate boringssl prefix headers
* Increment podspec version
3 years ago
Jan Tattermusch
c4aa6af0a0
Increase timeout for windows portability test (on master) ( #27210 )
...
* remove no longer use kokoro job config
* increase timeout of windows grpc_portability job
3 years ago
Mark D. Roth
d0cbf169bc
Fix retry code to hold refs to send_initial_metadata slices ( #27205 )
...
* add test proving that we fail to take refs to send_initial_metadart payload
* fix grpc_slice_from_copied_string() to take refs and grpc_metadata_batch_copy() to copy the mdelems when necessary
* fix criteria used to determine if mdelem is reffable
* add support for inline slices
* fix sanity
3 years ago
AJ Heller
2f838fd3b1
Remove EventEngine::Shutdown ( #27207 )
...
It was determined that an explicit Shutdown method is not necessary, and further, it can be challenging to implement efficiently in some cases. Instead, EventEngines are expected to clean themselves up upon destruction. Anything that relies on an EventEngine's existence must coordinate itself to ensure the engine remains alive for as long as it's needed.
3 years ago
AJ Heller
2d16865693
Delete libuv-iomgr implementation and GRPC_UV build option ( #27188 )
...
This has been unmaintained for years, last supported in gRPC-core v1.24.
3 years ago
Lidi Zheng
6f48ba4d94
Fix the timeout flag name in PHP's Python xds_manager ( #27206 )
3 years ago
AJ Heller
0407f4be49
Fix free-after-use bug in server callback handler ( #27187 )
...
Successful asan run https://source.cloud.google.com/results/invocations/33bc587c-a440-45bd-9886-a23789645a7d/targets
Successful TGP available upon request.
3 years ago
Lidi Zheng
b9cf89c86c
Fix the flag name in xds_k8s_testcase ( #27200 )
3 years ago
Jan Tattermusch
ce5b4e949f
Faster and streamlined PHP distribtests (for linux and macos) ( #27101 )
...
* faster and streamlined PHP distribtests
* add kokoro job for PHP distribtests
* php distribtests job for macos
* add trailing newline
3 years ago
Ashitha Santhosh
74d554a4f0
Check for unsupported connection headers. ( #27072 )
...
* Check for unsupported condition headers.
3 years ago
Lidi Zheng
3dab256776
Make Workload Identity optional ( #27189 )
...
* Make Workload Identity optional
* Update tools/run_tests/xds_k8s_test_driver/framework/test_app/server_app.py
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
* Update tools/run_tests/xds_k8s_test_driver/framework/xds_k8s_flags.py
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
* Flip the bool flag naming
* Correct the flag help description
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
3 years ago
Vignesh Babu
b016729c90
Revert "Revert "Adding grpc_init/grpc_shutdown to subchannel ctor/dtor to solve bugs related to async destruction of subchannels ( #26965 )" ( #27004 )" ( #27191 )
...
This reverts commit 5f00f9c8ca
.
3 years ago
Srini Polavarapu
7653464125
update feature list ( #27186 )
3 years ago
Richard Belleville
b6cc72f129
Revert "Run 2to3 on tools directory ( #26002 )" ( #27183 )
...
This reverts commit a388361c3d
.
3 years ago
Tamir Duberstein
76e95f6afd
Generalize pthread TLS to any trivial type ( #27009 )
...
* Avoid copy constructor
```
src/core/lib/gpr/log_linux.cc:78:33: error: copying variable of type 'grpc_core::PthreadTlsImpl<long>' invokes deleted constructor
static GPR_THREAD_LOCAL(long) tid = 0;
^ ~
./src/core/lib/gpr/tls.h:64:3: note: 'PthreadTlsImpl' has been explicitly marked deleted here
PthreadTlsImpl(const PthreadTlsImpl&) = delete;
^
1 error generated.
```
* Generalize pthread TLS to any trivial type
Use multiple pthread keys for types larger than a machine word.
Implement generic timer TLS optimization on all platforms.
3 years ago
yihuaz
c66d2cc084
Allow access to Google API regional endpoints via Google Default Credentials ( #27155 )
...
* fix Google API regional endpoint access issues
* address 1st round of comments
* fix minor nits
3 years ago
Esun Kim
71a9410fc7
Another workaround to fix windows SymInitialize error ( #27169 )
3 years ago
Richard Belleville
a388361c3d
Run 2to3 on tools directory ( #26002 )
...
* Run 2to3 on tools directory
* Delete github_stats_tracking
* Re-run 2to3
* Remove unused script
* Remove unused script
* Remove unused line count utility
* Yapf. Isort
* Remove accidentally included file
* Restore line_count directory
3 years ago
Mark D. Roth
1bc4e74065
change repo manager to nicolasnoble ( #27100 )
3 years ago
Ming-Chuan
73003f8527
Add BinderTransport example server app ( #27067 )
...
Some code are commented out because the server interface has not been
merged yet.
After this, user should be able to install both apps on Android device
and test if basic unary call works or not
3 years ago
Ta-Wei Tu
013a45ccc4
Fix binder transport BUILD dependencies ( #27060 )
...
* Fix binder transport BUILD dependencies
* We only need grpc_base_c
3 years ago
Craig Tiller
1ce8bd7067
Observable primitive for promises ( #27082 )
...
* promise sequences
* Activities for promises
* Observable primitive - single writer/multiple reader
* Automated change: Fix sanity tests
* dedup some code
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Ming-Chuan
44fc369f05
Add examples/android/binder/ to clang_format_all_the_things ( #27114 )
3 years ago
github-actions[bot]
5444bdfef5
Automated change: Fix sanity tests ( #27172 )
...
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
12cd59426b
Latch synchronization primitive ( #27080 )
...
* promise sequences
* Activities for promises
* Latch synchronization primitive
* Wakeups between actors in the same activity
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
sanjaypujare
1fe078db80
xds-k8s: fix typo WORKLOAD_SERVICE_ACCOUNT to WORKLOAD_SA_EMAIL ( #27162 )
...
* xds-k8s: fix typo WORKLOAD_SERVICE_ACCOUNT to WORKLOAD_SA_EMAIL
also add content about image access and privateCAs
cluster create not to use beta and use mesh certs
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
3 years ago
apolcyn
72217d3242
Improve interop soak test documentation ( #27030 )
...
* Improve interop soak test documentation
3 years ago
Craig Tiller
1ff6607736
Wakeup primitive between actors in the same activity ( #27081 )
...
* promise sequences
* Activities for promises
* Wakeups between actors in the same activity
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Yash Tibrewal
cb2e7554a3
xds_end2end_test: Fix UnsupportedHttpFilter test on aws ( #27147 )
3 years ago
Ta-Wei Tu
7dd1da9e1d
Break after WriteLast() ( #27165 )
...
If we continue to call `Write()` after `WriteLast()` (because client is still sending us data and thus `Read()` returns `true`), the buffer might become invalid and results in assertion failures.
3 years ago
Jan Tattermusch
7e532fd198
add streamlined and faster ruby distribtest ( #27124 )
3 years ago
github-actions[bot]
b02dd55210
Automated change: Fix sanity tests ( #27156 )
...
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
AJ Heller
f84f3a7522
Fix potential nullptr names in resource_user/slice_allocator creation ( #27154 )
...
absl::string_view permits construction with nullptr, which yields UB.
This PR fixes all call sites that could have created these objects with
nullptr names.
3 years ago
apolcyn
93275fc443
Update default XDS server name in C2P resolver ( #27132 )
3 years ago
Denny C. Dai
cef46fe7ae
[gRPC/ObjC] Fix flaky test InteropTests::testHijackingInterceptor ( #27116 )
3 years ago
Craig Tiller
764232fa13
Fixes for map ( #27079 )
...
* fixes for map
* fix bad merge
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
8605020195
Add a visibility tag for channelz ( #27143 )
3 years ago
Craig Tiller
9cc980aa22
Add visibility tag for census ( #27144 )
3 years ago
github-actions[bot]
e6ab378869
Automated change: Fix sanity tests ( #27148 )
...
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago