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

feat(new_metircs): collect the number of primary and secondary replicas #2161

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

empiredan
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the cpp label Dec 2, 2024
@empiredan empiredan marked this pull request as ready for review December 3, 2024 10:04
}
}

METRIC_VAR_SET(learning_replicas, learning_count);
METRIC_VAR_SET(inactive_replicas, status_counts[partition_status::PS_INACTIVE]);
Copy link
Member

Choose a reason for hiding this comment

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

These METRIC_VAR_SET will be skipped if using continue above, is it in purpose?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

continue is in for loop, and METRIC_VAR_SET is out of for loop, right ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants