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.
2 years ago
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
.
2 years ago
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.
2 years ago
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
.
2 years ago
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
2 years ago
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
2 years ago
Cheng-Yu Chung
ac365cadfb
Remove `include/grpc/impl/codegen/port_platform.h` ( #31778 )
2 years ago
Cheng-Yu Chung
224c72b524
Remove `include/grpcpp/impl/codegen/server_interface.h` ( #31539 )
2 years ago
Esun Kim
d44e1520a7
Fix readability-redundant-access-specifiers ( #31561 )
...
* Added readability-redundant-access-specifiers
* Fix
2 years ago
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
.
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
0cb5faf8e4
Remove `include/grpcpp/impl/codegen/client_interceptor.h` ( #31054 )
...
* Remove `include/grpcpp/impl/codegen/client_interceptor.h`
* Update comment
2 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Vijay Pai
cf1ebf7387
Remove experimental tag from uses of the C++ callback API ( #26495 )
4 years ago
Vijay Pai
dc6948cf35
Use atomics to remove locks in Channel/Server::CallbackCQ() ( #26091 )
4 years ago
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
4 years ago
ZhouyihaiDing
a584bc4f02
Support ServerContext for callback API
4 years ago
Yash Tibrewal
4105d2ce20
XdsServerBuilder, config fetching per resolved address and delaying bind/listen till fetch is complete
4 years ago
Esun Kim
decc199ca8
Fix by clang-tidy
4 years ago
Esun Kim
ac080fd17a
Fix readability-inconsistent-declaration-parameter-name manually
4 years ago
Karthik Ravi Shankar
e549843885
Move remaining classes to grpc from grpc_impl
4 years ago
Alisha Nanda
25c35b6db7
Revert "Revert "Merge pull request #24047 from grpc/revert-23916-server-context""
...
This reverts commit 84c4994dc7
.
4 years ago
Alisha Nanda
84c4994dc7
Revert "Merge pull request #24047 from grpc/revert-23916-server-context"
...
This reverts commit 7c098321bd
, reversing
changes made to d109f4b406
.
4 years ago
Karthik Ravi Shankar
b657c8d79c
Revert "Revert "Move ServerContext from ::grpc_impl to ::grpc""
4 years ago
Karthik Ravi Shankar
f1abdd1725
Revert "Move ServerContext from ::grpc_impl to ::grpc"
4 years ago
Karthik Ravi Shankar
967c0a2a32
Move Server from ::grpc_impl to ::grpc
...
Reverts: https://github.com/grpc/grpc/pull/18458
4 years ago
yang-g
ac3a91edf8
Support accepting external connections.
6 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
Alexander Polcyn
a31e86b780
Revert remaining conversions
6 years ago
Karthik Ravi Shankar
973fa6950e
Fold Channel into grpc_impl from grpc namespace
6 years ago
Karthik Ravi Shankar
2e88231fc0
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
6 years ago
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
6 years ago
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
.
6 years ago
Karthik Ravi Shankar
577ddfb1a1
Move ServerInitializer to grpc_impl namespace from grpc
6 years ago
Karthik Ravi Shankar
996da58667
Revert "Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder""
6 years ago
Karthik Ravi Shankar
e4bb7cb8bb
Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder"
6 years ago
Karthik Ravi Shankar
6e5587b165
Fix build issues.
6 years ago
Karthik Ravi Shankar
35e793d23a
Fix more more tests.
6 years ago
Karthik Ravi Shankar
8dbaa13f52
Fix more grpc namespace issues
6 years ago
Karthik Ravi Shankar
b25f6da3f0
Make changes to fix test failures
6 years ago
Karthik Ravi Shankar
e27ddbc87e
Move ::grpc::HealthCheckServiceInterface to ::grpc_impl namespace
6 years ago
Karthik Ravi Shankar
04af168cf8
Move Server into grpc_impl from grpc
6 years ago
Vijay Pai
b7f14fdab8
Properly implement unimplemented RPCs at callback-only server
6 years ago
Karthik Ravi Shankar
3b7a47cde6
Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder
...
This change moves ServerBuilder class from grpc namespace to grpc_impl
namespace.
6 years ago
Vijay Pai
05d8ddfc6e
Support callback-based generic service
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
6 years ago
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.
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
Vijay Pai
8521c0394b
Address optional reviewer comments
6 years ago
Vijay Pai
e56c832c0d
Replace list of outstanding callback requests with count only
6 years ago