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 "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter (#32106)" (#32272)" #32279

Merged
merged 4 commits into from
Feb 3, 2023

Conversation

yousukseung
Copy link
Contributor

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.

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

This reverts commit deb1e25.
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.
@ctiller
Copy link
Member

ctiller commented Feb 3, 2023

Please cherry-pick this change in case of a second revert.

@yousukseung yousukseung merged commit 4475e74 into grpc:master Feb 3, 2023
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.
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Feb 3, 2023
@yousukseung yousukseung deleted the backend_metric_sampling_retry branch February 5, 2023 22:14
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 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
…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/medium 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