Soheil Hassas Yeganeh
be8ef52ea8
Add TSAN anntations for grpc_call_combiner.
...
Since GRPC_CLOSUSE_SCHEDULE can schedule callback asynchronously we have
to schedule our own wrapper instead. Also, we cannot use ACQUIRE and
RELEASE directly on the call_combiner, because callbacks are free to even
destroy the call_combiner. Thus, we use a ref-counted structure that
acts as a fake lock for Tsan annotations.
6 years ago
Mark D. Roth
0cf8c59a58
Change xds plugin name to xds_experimental until it's ready for use.
6 years ago
Eric Gribkoff
e699c47c1e
credentials: call grpc_init/grpc_shutdown when created/destroyed
...
This addresses https://github.com/grpc/grpc/issues/17001 . Prior to
https://github.com/grpc/grpc/pull/13603 , our credentials cython objects
used grpc_initi() and grpc_shutdown() on creation and destruction. These are
now managed differently, but the grpc_init() and grpc_shutdown() calls
are still required. See the MetadataCredentialsPluginWrapper in C++,
which extends the GrpcLibraryCodegen class to ensure that grpc_init()
and grpc_shutdown() are called appropriately.
Without this, we can deadlock when a call to grpc.Channel#close()
triggers grpc_shutdown() to block and wait for all timer threads to
finish: one of these timer threads may end up unreffing the subchannel
and triggering grpc_call_credentials_unref, which will jump back into
Cython and hang when it tries to reacquire the GIL.
6 years ago
Muxi Yan
5ebbba543c
clang-format
6 years ago
Muxi Yan
d42c56788c
More debug timers to record root cause
6 years ago
Soheil Hassas Yeganeh
2f55f4f85a
Add TSAN annotations to gRPC.
6 years ago
Mark D. Roth
f27eb3aed1
Change xds plugin name to xds_experimental until it's ready for use.
6 years ago
Hope Casey-Allen
be76eb4429
Address reviewer comments
6 years ago
Alexander Polcyn
570599cfc6
Cancel still-active c-ares queries after 10 seconds to avoid chance of deadlock
6 years ago
Muxi Yan
97ec5c1d68
Bump version to v1.17.0
6 years ago
Yihua Zhang
1b115db5db
re-order ALTS log messages.
6 years ago
Jan Tattermusch
b0139e1542
better slice management for win_read
6 years ago
Jan Tattermusch
5861f08260
basic tcp_trace support for windows
6 years ago
Jan Tattermusch
b021add5e4
C#: avoid unnecessary ifdefine in NUnitMain.cs
6 years ago
Soheil Hassas Yeganeh
4345ef121a
Add debug-only tracing to grpc_core::RefCount
...
Also, this patch removes the *WithTracing variants in favor of the new
API.
6 years ago
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
6 years ago
Alexander Polcyn
b203ed3c07
Cancel still-active c-ares queries after 10 seconds to avoid chance of deadlock
6 years ago
Muxi Yan
459da578db
Refactor channel pool
6 years ago
Vijay Pai
32736c52c4
Comment about comments
6 years ago
Mark D. Roth
b26d24df85
Stop passing ExecCtx as avl user_data.
6 years ago
Vijay Pai
ea1156da3f
Stop exposing streaming object class
6 years ago
Vijay Pai
d7eb26648d
Client callback streaming
6 years ago
Jan Tattermusch
2e54a2bc36
update compiler defines
6 years ago
Jan Tattermusch
ba6b1c215c
switch netcoreapp1.0->1.1
6 years ago
Yash Tibrewal
95f71d8d7f
Cache result of failing to set timestamping options
6 years ago
Yash Tibrewal
de0249ecaf
Fallback instead of failing for cases where are not able to set the socket options
6 years ago
Hope Casey-Allen
470ea17843
Debugging unimplemented error in CheckClientInitialMetadata
6 years ago
Lidi Zheng
69b6c047bc
Update docstring of Channelz function && add default variable initialization
6 years ago
Lidi Zheng
8e3234963e
Update comments && modify function name
6 years ago
Yash Tibrewal
575da5118a
Explicit conversion
6 years ago
Eric Gribkoff
3888f747b4
log fork compat message at INFO instead of ERROR
6 years ago
Yash Tibrewal
ba45e77413
Revert the do while and if
6 years ago
Mark D. Roth
217de89085
Don't ignore empty serverlists from the grpclb balancer.
6 years ago
Yash Tibrewal
93a165ec6c
Initialize all other timestamps (non sendmsg) to gpr_inf_past
6 years ago
Yash Tibrewal
9506d35674
Add a byte counter to chttp2_stream and use that for timestamps
6 years ago
Yash Tibrewal
fe4ef31ac2
Do not add the TCP buffer length.
6 years ago
Yash Tibrewal
af16b2c09d
Return immediately if the first message is empty
6 years ago
Yash Tibrewal
7cd7ecc941
Add the length of the buffer that is traced
6 years ago
Lidi Zheng
7eddafabdd
Disable three subchannel unit tests for gevent
6 years ago
Stanley Cheung
211419d65c
PHP: fix ZTS build
6 years ago
Stanley Cheung
460bc6f7ce
PHP: fix ZTS build
6 years ago
Lidi Zheng
99f248ae12
Remove the `del` hack and skip server related test cases
6 years ago
Yash Tibrewal
836e143093
Add required header
6 years ago
Lidi Zheng
d75abb6663
Adding comment about `del` about #17258
6 years ago
Mark D. Roth
5214f8bc57
Fix InlinedVector to use its elements' move and copy methods.
6 years ago
Soheil Hassas Yeganeh
9128881b6d
Add GPR_ATM_INC_ADD_THEN to grpc_core::RefCount
...
This is to fix the wrong atomic op counts reported by benchmarks.
Also add these macros to windows and gcc-sync headers as noop macros for
consistency.
6 years ago
Muxi Yan
a7c41346d8
Add one more cancel test
6 years ago
Eric Gribkoff
d9f656a911
fix docstring on grpc.server
6 years ago
Lidi Zheng
53476eced4
Adopt reviewer's suggestions
...
* Correct the StatusCode
* Format code
* Use @staticmethod
* Fix typo
6 years ago
Stanley Cheung
698cf221d8
Regenerate projects
6 years ago