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
ZHANG Dapeng
0ae3c78a3c
Update client_matrix for Java v1.40.1 ( #27130 )
3 years ago
Sergii Tkachenko
b4c14e444b
xds-k8s: Fix json_format.ParseError in LRO error reporting ( #27141 )
...
Error example:
google.protobuf.json_format.ParseError:
Failed to parse details field: Can not find message descriptor
by type_url: type.googleapis.com/google.rpc.BadRequest..
3 years ago
Craig Tiller
0116acc2fb
Label automated fixes better ( #27140 )
3 years ago
Craig Tiller
f2f60f7716
Revert "Implement TraceFlag::Log ( #26954 )" ( #27145 )
...
This reverts commit 4d2b979b75
.
3 years ago
Ta-Wei Tu
ab57f03b30
Reland: Import binder transport tests ( #27138 )
...
* Import binder transport tests
* Fix copybara import errors
* Add testonly labels
3 years ago
Ming-Chuan
ecc07b6979
Add missing gpr_platform dependency for binder transport ( #27118 )
...
Without this, layering check in internal repo will fail when non third
party code depends on the transport implementation
3 years ago
Ashitha Santhosh
1ff1f8fd83
SDK authorization filter. ( #26468 )
...
* SDK authorization filter.
3 years ago
Wanlin Du
2d1ca227a6
Populate the correct value for annotations ( #27136 )
...
The commits populates the correct values for gitCommit
and gitActualCommit.
3 years ago
github-actions[bot]
aaae10e04d
Automated change: Fix sanity tests ( #27128 )
...
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
ZhenLian
3c2a154dbb
TlsCredentials: fix a typo in comments ( #27115 )
3 years ago
Craig Tiller
0ade950b64
Add an annotation to allow tooling to make better choices ( #27119 )
3 years ago
Richard Belleville
bc6bec11cb
Fix Typo in AppNet Interop ( #27027 )
...
* Fix typo
* Yapf
3 years ago
Craig Tiller
90c4a2a5eb
Revert "Import binder transport tests ( #26970 )" ( #27126 )
...
This reverts commit 006464c57d
.
3 years ago