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

[DocDB] Incorrect Aggregation Function for certain xCluster Metrics: Change from Sum to Max #25422

Open
1 task done
yusong-yan opened this issue Dec 24, 2024 · 0 comments
Open
1 task done
Assignees
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage

Comments

@yusong-yan
Copy link
Contributor

yusong-yan commented Dec 24, 2024

Jira Link: DB-14654

Description

Currently, many xCluster metrics are aggregated by summing all values. However, these metrics, such as last_read_hybridtime, should be aggregated using the maximum value instead. This incorrect aggregation method can lead to inaccuracies and issues like overflow.

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@yusong-yan yusong-yan added area/docdb YugabyteDB core features status/awaiting-triage Issue awaiting triage labels Dec 24, 2024
@yusong-yan yusong-yan self-assigned this Dec 24, 2024
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Dec 24, 2024
@yusong-yan yusong-yan changed the title [DocDB] Incorrect Aggregation Function for xCluster Metrics: Change from Sum to Max [DocDB] Incorrect Aggregation Function for certain xCluster Metrics: Change from Sum to Max Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage
Projects
None yet
Development

No branches or pull requests

2 participants