Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter" #32272

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

XuanWang-Amos
Copy link
Contributor

Reverts #32106

…reporting from a C++ interceptor to a C-core filter (#32106)"

This reverts commit c7f641d.
@XuanWang-Amos XuanWang-Amos added the release notes: no Indicates if PR should not be in release notes label Feb 2, 2023
@XuanWang-Amos XuanWang-Amos marked this pull request as ready for review February 2, 2023 17:03
@XuanWang-Amos XuanWang-Amos enabled auto-merge (squash) February 2, 2023 17:39
@XuanWang-Amos XuanWang-Amos merged commit deb1e25 into master Feb 2, 2023
@XuanWang-Amos XuanWang-Amos deleted the revert-32106-backend_metric_sampling branch February 2, 2023 18:06
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Feb 2, 2023
yousukseung added a commit to yousukseung/grpc that referenced this pull request Feb 3, 2023
…er-call reporting from a C++ interceptor to a C-core filter (grpc#32106)" (grpc#32272)"

PR grpc#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.

This reverts commit deb1e25.
yousukseung added a commit to yousukseung/grpc that referenced this pull request Feb 3, 2023
…er-call reporting from a C++ interceptor to a C-core filter (grpc#32106)" (grpc#32272)"

This reverts commit deb1e25.
yousukseung added a commit that referenced this pull request Feb 3, 2023
…er-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 deb1e25.

* 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.
ctiller added a commit that referenced this pull request Feb 3, 2023
…d move per-call reporting from a C++ interceptor to a C-core filter (#32106)" (#32272)" (#32279)"

This reverts commit 4475e74.
ctiller added a commit that referenced this pull request Feb 3, 2023
…d move per-call reporting from a C++ interceptor to a C-core filter (#32106)" (#32272)" (#32279)" (#32293)

This reverts commit 4475e74.
yousukseung added a commit to yousukseung/grpc that referenced this pull request Feb 5, 2023
…r API and move per-call reporting from a C++ interceptor to a C-core filter (grpc#32106)" (grpc#32272)" (grpc#32279)" (grpc#32293)"

This reverts commit 1f96069.
markdroth pushed a commit that referenced this pull request Feb 6, 2023
#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 1f96069.

* Do not create CallMetricRecorder if call is null.
XuanWang-Amos added a commit to XuanWang-Amos/grpc that referenced this pull request May 1, 2023
…reporting from a C++ interceptor to a C-core filter (grpc#32106)" (grpc#32272)

This reverts commit c7f641d.
XuanWang-Amos pushed a commit to XuanWang-Amos/grpc that referenced this pull request May 1, 2023
…er-call reporting from a C++ interceptor to a C-core filter (grpc#32106)" (grpc#32272)" (grpc#32279)

* Revert "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter (grpc#32106)" (grpc#32272)"

This reverts commit deb1e25.

* Fix by caching call metric recording stuff in async request

PR grpc#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.
XuanWang-Amos pushed a commit to XuanWang-Amos/grpc that referenced this pull request May 1, 2023
…d move per-call reporting from a C++ interceptor to a C-core filter (grpc#32106)" (grpc#32272)" (grpc#32279)" (grpc#32293)

This reverts commit 4475e74.
XuanWang-Amos pushed a commit to XuanWang-Amos/grpc that referenced this pull request May 1, 2023
grpc#32301)

* Revert "Revert "Revert "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter (grpc#32106)" (grpc#32272)" (grpc#32279)" (grpc#32293)"

This reverts commit 1f96069.

* Do not create CallMetricRecorder if call is null.
wanlin31 pushed a commit that referenced this pull request May 18, 2023
…reporting from a C++ interceptor to a C-core filter (#32106)" (#32272)

This reverts commit c7f641d.
wanlin31 pushed a commit that referenced this pull request May 18, 2023
…er-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 deb1e25.

* 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.
wanlin31 pushed a commit that referenced this pull request May 18, 2023
…d move per-call reporting from a C++ interceptor to a C-core filter (#32106)" (#32272)" (#32279)" (#32293)

This reverts commit 4475e74.
wanlin31 pushed a commit that referenced this pull request May 18, 2023
#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 1f96069.

* Do not create CallMetricRecorder if call is null.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bloat/improvement imported Specifies if the PR has been imported to the internal repository lang/c++ lang/core lang/Python per-call-memory/neutral per-channel-memory/neutral release notes: no Indicates if PR should not be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants