Xuan Wang
7aca6d4007
[Remove Six] Remove dependency on six ( #31340 )
...
* [Python][Remove Six] Remove Six from requirements
2 years ago
Cheng-Yu Chung
7a2c28c7b9
Remove `include/grpcpp/impl/codegen/server_interceptor.h` ( #31281 )
2 years ago
Michael Lumish
f7b9fa30d7
Document outlier detection feature support ( #31332 )
...
* Document outlier detection feature support
* Correct outlier detection core version to 1.51
2 years ago
Hans
38b9254a79
Fix thread safety analysis warning from new Clang version ( #31306 )
...
The TlsSessionKeyLoggerCache constructor is annotated with
ABSL_EXCLUSIVE_LOCKS_REQUIRED(g_tls_session_key_log_cache_mu)
and in TlsSessionKeyLoggerCache::Get it gets called indirectly by:
grpc_core::MutexLock lock(g_tls_session_key_log_cache_mu);
...
cache = grpc_core::MakeRefCounted<TlsSessionKeyLoggerCache>()
New Clang versions started to analyze the constructor call in
grpc_core::MakeRefCounted, and since it cannot reason across function
boundaries it does not know that the lock is held at that point:
../../third_party/grpc/src/src/core/lib/gprpp/ref_counted_ptr.h:335:31:
warning: calling function 'TlsSessionKeyLoggerCache' requires holding mutex
'g_tls_session_key_log_cache_mu' exclusively [-Wthread-safety-analysis]
return RefCountedPtr<T>(new T(std::forward<Args>(args)...));
^
../../third_party/grpc/src/src/core/tsi/ssl/key_logging/ssl_key_logging.cc:121:26:
note: in instantiation of function template specialization
'grpc_core::MakeRefCounted<tsi::TlsSessionKeyLoggerCache>' requested here
cache = grpc_core::MakeRefCounted<TlsSessionKeyLoggerCache>();
^
1 warning generated.
This change avoids the warning by calling the constructor directly.
2 years ago
Mark D. Roth
93433d2faf
xDS RBAC: remove env var protection ( #31348 )
...
* xDS RBAC: remove env var protection
* fix federation server test
* fix sanity
2 years ago
Mark D. Roth
2f2662c462
outlier detection: add basic unit test ( #31346 )
...
* outlier detection: add basic unit test
* iwyu
2 years ago
Craig Tiller
cece68cf3e
[build] Add exec_ctx visibility ( #31330 )
2 years ago
Craig Tiller
4d60c5dfe1
[flaky] Platform specific hack time? ( #31373 )
...
* [flaky] Platform specific hack time?
* comment
2 years ago
Yash Tibrewal
2ffff621a4
OpenCensusTest: Fix flakiness ( #31349 )
2 years ago
Craig Tiller
d1bce5c868
reduce test size ( #31345 )
2 years ago
Mark D. Roth
14c914dee0
xDS: refactor code for handling xDS extensions and add tests ( #31295 )
...
* general-purpose utility for validation xDS extensions
* plumb XdsExtension into HTTP filters and ClusterSpecifiers
* clang-format
* fix tests
* iwyu
* fix build with old compilers
2 years ago
Craig Tiller
c7e600a31d
[resource_quota] Flag flip periodic reclamation ( #31326 )
2 years ago
Xuan Wang
823378dfe2
[Python][Remove Six] Remove Six dependency part II ( #31309 )
...
* [Python][Remove Six] Remove Six dependency
* Change import format
2 years ago
Cheng-Yu Chung
d699b574a8
Remove `include/grpcpp/impl/codegen/server_callback.h` ( #31279 )
2 years ago
Sergii Tkachenko
6016651794
xDS Interop: update default prefix in the cleanup script ( #31325 )
...
We don't have a separate security prefix anymore. The default script was updated in https://github.com/grpc/grpc/pull/30754 .
2 years ago
Sergii Tkachenko
279b97ecaa
xDS Interop: require Python 3.7 ( #31323 )
2 years ago
Mark D. Roth
3475489bf3
xDS: NACK EDS resources with duplicate addresses ( #31321 )
...
* xDS: NACK EDS resources with duplicate addresses
* iwyu
* update e2e tests
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
a1cb2f3d6f
Remove `include/grpcpp/impl/codegen/server_callback.h` ( #31280 )
2 years ago
Cheng-Yu Chung
6971df9aee
Remove `include/grpcpp/impl/codegen/serialization_traits.h` ( #31278 )
2 years ago
Craig Tiller
9d2a1a3d1a
[chttp2] Fix race of iomgr shutdown and chttp2 lifetime ( #31319 )
...
* [chttp2] Fix race of iomgr shutdown and chttp2 lifetime
* build fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
b6bdde391a
client_lb_e2e_test: add another error case to the regex ( #31318 )
2 years ago
Cheng-Yu Chung
8b8fcfdd0b
Revert "Remove `include/grpcpp/impl/codegen/rpc_service_method.h` ( #31277 )" ( #31317 )
...
This reverts commit e3803bb1b5
.
2 years ago
Esun Kim
4b491e3274
Use 64bit linker on windows even when creating 32bit targets ( #31237 )
...
* Try CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE
* Target
* fix vcvarsall.bat argument
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
2 years ago
Cheng-Yu Chung
e3803bb1b5
Remove `include/grpcpp/impl/codegen/rpc_service_method.h` ( #31277 )
2 years ago
Cheng-Yu Chung
d1c04427f3
Remove `include/grpcpp/impl/codegen/rpc_method.h` ( #31269 )
2 years ago
Cheng-Yu Chung
9125b6ee66
Remove `include/grpcpp/impl/codegen/proto_buffer_writer.h` ( #31268 )
2 years ago
Craig Tiller
13b656d7ff
Revert "[event_engine] Move DNS resolution executor usage to event engine ( #31230 )" ( #31307 )
...
This reverts commit 8ed649f576
.
2 years ago
Xuan Wang
a5ce92d8cf
[Python][Remove Six] Replace Six with_metaclass method ( #31288 )
...
* [Python][Remove Six] Replace six.with_metaclass()
2 years ago
Craig Tiller
b0a0e8983f
[promises] ForEach fixes ( #31300 )
...
* [promises] ForEach fixes
* Automated change: Fix sanity tests
* first pass fixes
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Jan Tattermusch
1267b0c0f4
fix broken objc test jobs ( #31304 )
2 years ago
Mark D. Roth
1733c66932
LB policy: add LB policy unit test framework and simple pick_first test ( #31016 )
...
* LB policy: add LB policy unit test framework and simple pick_first test
* Automated change: Fix sanity tests
* fix build
* simplify WorkSerializer interactions
* remove duplicate check
* add ExpectPickComplete() helper method
* remove unused parameter
* fix sanity
* iwyu
* more iwyu
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
ede4e42c7d
weighted_target LB: use uint64_t for aggregate weights to avoid overflow ( #31244 )
...
* weighted_target LB: use uint64_t for aggregate weights to avoid overflow
* iwyu
* fix undefined behavior
* iwyu
* iwyu again
* fix test weights to sum to uint32 max
2 years ago
Xuan Wang
42482060fc
[Python] Remove Six dependency ( #31264 )
...
[Python][Remove Six] Remove Six dependency Part I
2 years ago
Eric Anderson
8230865a29
interop_matrix: Bump 9 Java versions ( #31291 )
...
Java did 10 releases in a batch; update them almost all together. One
version has already been handled in 63104ed
.
2 years ago
Jan Tattermusch
108444e9f7
Fix python tests on kokoro macos monterey ( #31126 )
...
* fix python build on kokoro macos monterey
* avoid using realpath
* fix grpc_distribtests_python on macos monterey
* try upgrade setuptools
2 years ago
Cheng-Yu Chung
113422ff8b
Remove `include/grpcpp/impl/codegen/proto_buffer_reader.h` ( #31261 )
2 years ago
Cheng-Yu Chung
cc58369279
Remove `include/grpcpp/impl/codegen/completion_queue.h` ( #31059 )
...
* Remove `include/grpcpp/impl/codegen/completion_queue.h`
* Update
* Update
* Fix build error
* Update
2 years ago
Cheng-Yu Chung
3eb0c7f2ff
Remove `include/grpcpp/impl/codegen/client_unary_call.h` ( #31058 )
...
* Remove `include/grpcpp/impl/codegen/client_unary_call.h`
* Automated change: Fix sanity tests
* Fix
Co-authored-by: ralphchung <ralphchung@users.noreply.github.com>
2 years ago
Craig Tiller
7a51c301cd
build-fix ( #31301 )
2 years ago
Craig Tiller
8ed649f576
[event_engine] Move DNS resolution executor usage to event engine ( #31230 )
...
* [event_engine] Move DNS resolution executor usage to event engine
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
c59211166d
[event_engine] Move chttp2 executor usage to event engine ( #31229 )
...
* [event_engine] Move chttp2 executor usage to event engine
* iwyu
2 years ago
Craig Tiller
20d1efc38a
[stats] Move core stats to C++ ( #30936 )
...
* begin c++
* Automated change: Fix sanity tests
* progress
* progress
* missing-files
* Automated change: Fix sanity tests
* moved-from-stats
* remove old benchmark cruft, get tests compiling
* iwyu
* Automated change: Fix sanity tests
* fix
* fix
* fixes
* fixes
* add needed constructor
* Automated change: Fix sanity tests
* iwyu
* fix
* fix?
* fix
* fix
* Remove ResetDefaultEventEngine
Now that it is a weak_ptr, there's no need to explicitly reset it. When
the tracked shared_ptr is deleted, the weak_ptr will fail to lock, and a
new default EventEngine will be created.
* forget existing engine with FactoryReset
* add visibility
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
Co-authored-by: AJ Heller <hork@google.com>
2 years ago
Alex
90beb3f4c4
GitHub Workflows security hardening ( #31057 )
...
* build: harden pr-auto-fix.yaml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
* build: harden pr-auto-tag.yaml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2 years ago
Craig Tiller
afa3a6c890
[event_engine] Fix for the EE/iomgr shutdown ordering problem ( #31265 )
...
* Remove ResetDefaultEventEngine
Now that it is a weak_ptr, there's no need to explicitly reset it. When
the tracked shared_ptr is deleted, the weak_ptr will fail to lock, and a
new default EventEngine will be created.
* forget existing engine with FactoryReset
* init/shutdown in event engine for now
* fix
* fix
* fix windows deadlock
* Automated change: Fix sanity tests
* fix
* better windows fix
Co-authored-by: AJ Heller <hork@google.com>
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Anirudh Ramachandra
a210506b3d
Allow storing security context extension in grpc_auth_context ( #30516 )
...
This will be used internally for passing required references that can be tied to lifetime of the auth contexts.
2 years ago
Mark D. Roth
a848bc919b
xDS: NACK EDS if sum of locality weights in a priority exceeds uint32 max ( #31272 )
...
* xDS: NACK EDS if sum of locality weights in a priority exceeds uint32 max
* clang-format
* iwyu
* fix include order
* more iwyu
2 years ago
Sergii Tkachenko
63104ed440
Add grpc-java 1.44.2 to client_matrix.py ( #31273 )
2 years ago
Esun Kim
85794d4094
Deprecated grpc_error_std_string ( #31267 )
2 years ago
Craig Tiller
1f798e899a
[dns] Fix test race ( #31270 )
2 years ago
Esun Kim
ae471418e4
Removed legacy macros completely ( #31248 )
...
* Removed legacy macros
* Removed GRPC_ERROR_NONE;
* Fix CFStreamClientTests.mm
2 years ago