Yousuk Seung
b98f527260
Revert "Revert "Revert "Revert "server: introduce ServerMetricRecorde… ( #32301 )
...
* Revert "Revert "Revert "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter (#32106 )" (#32272 )" (#32279 )" (#32293 )"
This reverts commit 1f960697c5 .
* Do not create CallMetricRecorder if call is null.
2023-02-06 12:00:39 -08:00
Craig Tiller
1f960697c5
Revert "Revert "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter ( #32106 )" ( #32272 )" ( #32279 )" ( #32293 )
...
This reverts commit 4475e74c6a .
2023-02-03 13:18:23 -08:00
Yousuk Seung
4475e74c6a
Revert "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter ( #32106 )" ( #32272 )" ( #32279 )
...
* Revert "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter (#32106 )" (#32272 )"
This reverts commit deb1e25543 .
* Fix by caching call metric recording stuff in async request
PR #32106 caused msan errors in some tests while de-referencing the
server object where async calls are active after the server is
destroyed. Instead cache the ServerMetricRecorder pointer.
* copyright headers fixed
* clang fixes.
2023-02-03 11:49:32 -08:00
Xuan Wang
deb1e25543
Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter ( #32106 )" ( #32272 )
...
This reverts commit c7f641da0d .
2023-02-02 09:58:29 -08:00
Yousuk Seung
c7f641da0d
server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter ( #32106 )
...
* backend metric sampling
* Comments addressed.
* More comments addressed.
* Pushing changes left behind locally.
* Removed empty lines
* Update OrcaService to use ServerMetricRecorder (no named metrics yet)
* Comments addressed.
* More comments addressed
* More comments addressed.
* Comments fixed
* Comments addressed.
* Test fixed
* make seq returned always up-to-date
* skip atomic load when not cached
* Fixed ABSL_GUARDED_BY
* Comments addressed except client_lb_end2end_test
* test updated
* Comments addressed
* BUILD fix.
* BackendMetricDataState moved to a separate header
* comments addressed
* Fixed clang and buildifier errors
* More sanity check errors fixed.
* Fixed xds tests
* Ran generate_projects.sh
* Comments addressed
* comments addressed.
* generate project
* Build fixed
* generate project
* sanity check errors fixed
* test fixed
* Backup poller period override moved to main()
* Also move cfstream override
* Clang fixes, sanitize
* generate_projects.sh
* portable print format fix
* Removed outdated comment
2023-02-01 14:54:57 -08:00
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2022-12-22 23:01:53 -08:00
Cheng-Yu Chung
ac365cadfb
Remove `include/grpc/impl/codegen/port_platform.h` ( #31778 )
2022-12-14 10:46:33 +08:00
Cheng-Yu Chung
224c72b524
Remove `include/grpcpp/impl/codegen/server_interface.h` ( #31539 )
2022-11-21 15:40:52 -05:00
Esun Kim
d44e1520a7
Fix readability-redundant-access-specifiers ( #31561 )
...
* Added readability-redundant-access-specifiers
* Fix
2022-11-18 13:00:20 -08:00
Cheng-Yu Chung
47b9a57de9
Remove `g_glip` and `class GrpcLibraryInterface` ( #30414 )
...
* Remove `g_glip` and `class GrpcLibraryInterface`
* Update
* Update
* Update
* Automated change: Fix sanity tests (#20 )
* Update
* Update
* Update
* Test
* Fix
* Revert "Test"
This reverts commit 2f5c77e98d .
* More fix
* More fix
* More fix
* Minor fix
* Revert "Minor fix"
This reverts commit 1ee3ae4da1 .
* Revert "More fix"
This reverts commit 1fc234896b .
* Revert "More fix"
This reverts commit 851393c0e6 .
* Revert "More fix"
This reverts commit ed342a51d0 .
* Revert "Fix"
This reverts commit 286ad8e639 .
2022-11-14 15:30:09 -05:00
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
2022-10-10 11:35:09 -04:00
Cheng-Yu Chung
0cb5faf8e4
Remove `include/grpcpp/impl/codegen/client_interceptor.h` ( #31054 )
...
* Remove `include/grpcpp/impl/codegen/client_interceptor.h`
* Update comment
2022-09-20 14:03:46 -04:00
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
Vijay Pai
cf1ebf7387
Remove experimental tag from uses of the C++ callback API ( #26495 )
2021-06-20 00:47:07 -07:00
Vijay Pai
dc6948cf35
Use atomics to remove locks in Channel/Server::CallbackCQ() ( #26091 )
2021-04-27 14:54:07 -07:00
Vijay Pai
b36d3f7e33
Annotate C++ server ( #25605 )
...
* Make annotations real in server header
* More annotations
* clang-fmt
* Annotate shutdown state variables
* Fix annotation of CV predicate
* Fix param list
2021-03-10 10:52:26 -08:00
ZhouyihaiDing
a584bc4f02
Support ServerContext for callback API
2021-01-19 22:00:10 -08:00
Yash Tibrewal
4105d2ce20
XdsServerBuilder, config fetching per resolved address and delaying bind/listen till fetch is complete
2020-12-16 12:15:52 -08:00
Esun Kim
decc199ca8
Fix by clang-tidy
2020-12-03 16:24:19 -08:00
Esun Kim
ac080fd17a
Fix readability-inconsistent-declaration-parameter-name manually
2020-11-30 14:22:40 -08:00
Karthik Ravi Shankar
e549843885
Move remaining classes to grpc from grpc_impl
2020-10-06 13:15:51 -07:00
Karthik Ravi Shankar
b657c8d79c
Revert "Revert "Move ServerContext from ::grpc_impl to ::grpc""
2020-09-02 10:17:00 -07:00
Karthik Ravi Shankar
f1abdd1725
Revert "Move ServerContext from ::grpc_impl to ::grpc"
2020-09-01 22:54:54 -07:00
Karthik Ravi Shankar
9afbf02198
Merge branch 'master' into server-context
2020-08-31 17:37:37 -07:00
Karthik Ravi Shankar
967c0a2a32
Move Server from ::grpc_impl to ::grpc
...
Reverts: https://github.com/grpc/grpc/pull/18458
2020-08-20 14:53:17 -07:00
Karthik Ravi Shankar
2e88231fc0
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
2019-04-10 15:04:05 -07:00
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
2019-04-10 14:15:28 -07:00
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1 , reversing
changes made to 31843787cc .
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d , reversing
changes made to dc1089a6d1 .
2019-04-10 13:54:05 -07:00
Karthik Ravi Shankar
04af168cf8
Move Server into grpc_impl from grpc
2019-03-20 13:05:36 -07:00
Vijay Pai
b7f14fdab8
Properly implement unimplemented RPCs at callback-only server
2019-03-06 23:43:34 -08:00
Vijay Pai
05d8ddfc6e
Support callback-based generic service
2019-03-04 13:13:12 -08:00
Yuwei Huang
3cbf4f50ea
Remove extra semicolons after function definitions
...
We are planning to enable -Wextra-semi flag in our project but some
header files in gRPC have extra semicolons that violates the check and
blocks us from enabling the flag.
This change removes unnecessary semicolons in the code. Note that having
semicolon after the GRPC_ABSTRACT macro technically also violates the
check, but it's fine for us since they are not used in public headers,
and it will be confusing to have lines ending only with GRPC_ABSTRACT,
so I keep them as-is.
2019-02-20 17:58:30 -08:00
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
2019-02-15 09:52:15 -08:00
Nicolas "Pixel" Noble
63db582516
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 00:19:23 +01:00
Vijay Pai
8521c0394b
Address optional reviewer comments
2019-02-01 15:21:13 -08:00
Vijay Pai
e56c832c0d
Replace list of outstanding callback requests with count only
2019-02-01 13:44:50 -08:00
Vijay Pai
7a164229db
Address reviewer comments
2019-01-25 10:25:08 -08:00
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
2019-01-23 21:40:07 +01:00
Vijay Pai
fab05d336c
Dynamic callback requesting, graceful server shutdown, and separate ExecCtx for callbacks
2019-01-23 11:21:50 -08:00
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
2018-11-15 16:49:43 -08:00
Vijay Pai
47d0d5bf1f
Merge branch 'master' into server_callback
2018-10-30 12:29:35 -07:00
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
2018-10-29 13:41:25 -07:00
Yash Tibrewal
145789e9ff
interceptor_creators_ should be destroyed after health_check_service_
2018-10-29 13:15:29 -07:00
Yash Tibrewal
bfd1935afc
Add note on the experimental nature of the additional method in ServerInterface
2018-10-29 01:56:12 -07:00
Yash Tibrewal
456231b26d
Server side interception for CompletionOp and AsyncRequest
2018-10-18 22:43:49 -07:00
Yash Tibrewal
adca91f6cf
Server interception for SyncRequest
2018-10-18 16:07:00 -07:00
Yash Tibrewal
196f530ac9
Pass interceptor creators to server object
2018-10-17 12:51:17 -07:00
Yash Tibrewal
1d999617e2
Add experimental versions with interceptors for create channel from fd and inproc channel
2018-09-30 22:13:44 -07:00
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
2018-08-14 16:23:21 -07:00
Sree Kuchibhotla
a2a64e5ad3
Fix default argument(put it in header instead of source file)
2018-08-06 11:58:20 -07:00