Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
6 years ago
Vijay Pai
ea1156da3f
Stop exposing streaming object class
6 years ago
Vijay Pai
d7eb26648d
Client callback streaming
6 years ago
Muxi Yan
f3e4ae633e
Regenerate projects
6 years ago
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
6 years ago
Yash Tibrewal
a9bee9b7ed
Make Pluck use the changes made in FinalizeResult
6 years ago
Srini Polavarapu
25cd16ae58
Regenerate projects
6 years ago
Vijay Pai
0e29d7b9bc
Properly clear metadata and other structs when reusing ServerContext
6 years ago
tongxuan.ltx
c21393e553
g_default_client_callbacks shouldn't be global variable
...
In tensorflow, RPC client thread doesn't active release,
rely on process to cleanup. If process have already
cleanup the global variable(g_default_client_callbacks),
after that client issue a RPC call which contains the ClientContext,
then once ClientContext destructor called,
pure virtual functions call error is reported.
6 years ago
Vijay Pai
926b2941ab
Pre-request 32 callbacks of each method
6 years ago
Arjun Roy
bc3d6d21b7
Set call_ member variable to null after freeing.
6 years ago
Arjun Roy
843c8d9e75
Fixed intermittent CPP sync server shutdown leak.
...
Specifically: if a request handling thread is in flight but scheduled
out when shutdown is called on the server, but it has already passed
the shutdown check, then when it resumes it will add a grpc_call to
the completion queue that is leaked. We fix this by explicitly freeing
such calls after all worker threads have shutdown.
To manifest the leak, run the end2end::ClientCancelsRequestStream
test repeatedly on the unpatched server implementation. About 0.5% of
the time, the leak will manifest.
6 years ago
Srini Polavarapu
1bf93a76f5
Regenerate projects
6 years ago
Vijay Pai
1e850944e9
Release the CallbackWithSuccessTag from a server context completionop
6 years ago
Vijay Pai
526d2e6004
Refactoring of CallbackWithSuccessTag
6 years ago
Yash Tibrewal
4cc3717e15
move client_interceptor.cc from src/cpp/codegen to src/cpp/client
6 years ago
Yash Tibrewal
f8561952e9
Don't use default capture
6 years ago
Yash Tibrewal
e08a2b387a
Prefer lambda expressions over std::bind
6 years ago
Yash Tibrewal
b732e9c403
Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests
6 years ago
Yash Tibrewal
fd88dcaf55
Add cancellation notification
6 years ago
Yash Tibrewal
3ece34d45c
Let us clean a few things before getting started
7 years ago
Vijay Pai
932abf48a3
Address reviewer comments.
7 years ago
Vijay Pai
2f47137a6e
Add support for IsCancelled check
7 years ago
Yash Tibrewal
0390b29e15
Register global interceptors functionality
7 years ago
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
7 years ago
Yash Tibrewal
145789e9ff
interceptor_creators_ should be destroyed after health_check_service_
7 years ago
Vijay Pai
371b1d99d5
Add call as param to MethodHandler::Deserialize to allow arena use
7 years ago
Yash Tibrewal
c2e3fde9b5
Rename call.h to call_op_set.h and call_wrapper.h to call.h
7 years ago
ncteisen
bc44c5e353
Add GetServer to channelz cpp
7 years ago
Yash Tibrewal
cc21d32c77
Some cleanup
7 years ago
Yash Tibrewal
312feb4202
Adding generic rpc and unimplemented rpc test for server interceptors
7 years ago
Yash Tibrewal
a094b7b312
Added server async tests
7 years ago
ncteisen
43df9fda64
un duplicate code
7 years ago
ncteisen
4fa389b137
Unifying grpc build hacks
7 years ago
ncteisen
482641501c
Revert "Revert "Refactor Channelz Service to Support Internal Build""
...
This reverts commit 2eafaccba6
.
7 years ago
Yash Tibrewal
281de1bb30
Solve memory leak due to double setting of set_server_rpc_info
7 years ago
Noah Eisen
2eafaccba6
Revert "Refactor Channelz Service to Support Internal Build"
7 years ago
Mark D. Roth
f85fd026e3
Client-side health checking support.
7 years ago
Vijay Pai
45dfbe097e
Arena-allocate the ServerContext::CompletionOp
7 years ago
Yash Tibrewal
62280b42c7
Add client streaming, server streaming and bidi streaming tests
7 years ago
ncteisen
97134a69be
Refactor to support internal build
7 years ago
Stanley Cheung
3dd82ec3c2
Regenerate projects
7 years ago
Yash Tibrewal
9b83b7d19e
Adding intercepted channel
7 years ago
Yash Tibrewal
3a17f5b05e
Working on tests
7 years ago
Vijay Pai
ce4bd108ea
Fix CallOpSet copy/assignment to reset cq_tag
7 years ago
Yash Tibrewal
456231b26d
Server side interception for CompletionOp and AsyncRequest
7 years ago
Yash Tibrewal
adca91f6cf
Server interception for SyncRequest
7 years ago
Yash Tibrewal
d042a5acf1
some tests fail
7 years ago
Yash Tibrewal
0b785ae8cf
Remove unneeded file
7 years ago
Yash Tibrewal
196f530ac9
Pass interceptor creators to server object
7 years ago