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

[Native] Remove duplicate call to registerStatsCounters #22699

Merged
merged 1 commit into from
May 9, 2024

Conversation

karteekmurthys
Copy link
Contributor

@karteekmurthys karteekmurthys commented May 8, 2024

Description

The startup flow registers the stats twice. I have retained the registerStatsCounter call in the context of enableRuntimeMetrics check, refer: https://github.com/prestodb/presto/blob/master/presto-native-execution/presto_cpp/main/PrestoServer.cpp#L1104.

Also removed double registration of this metric kCounterMemoryCacheTotalTinyPaddingBytes.

@karteekmurthys karteekmurthys requested a review from a team as a code owner May 8, 2024 21:10
Copy link
Contributor

@amitkdutta amitkdutta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great change @karteekmurthys. Thanks.

@amitkdutta amitkdutta merged commit 6c2f50d into prestodb:master May 9, 2024
59 checks passed
@wanglinsong wanglinsong mentioned this pull request Jun 25, 2024
36 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants