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

Correct units of duration of running compactions in monitor #5007

Open
wants to merge 3 commits into
base: 2.1
Choose a base branch
from

Conversation

DomGarguilo
Copy link
Member

The duration of running compactions is measured in nanoseconds but the monitor was expecting it in milliseconds. This change scales the incoming nanos value to millis so it is correctly displayed. Also fixed a typo in one of the related helper functions comments.

a67e975 contains test data in nanoseconds. If anyone wants to try out these changes you can checkout that commit. The test data is not present in the most recent commit.

@DomGarguilo DomGarguilo added the bug This issue has been verified to be a bug. label Oct 22, 2024
@DomGarguilo DomGarguilo added this to the 2.1.4 milestone Oct 22, 2024
@DomGarguilo DomGarguilo self-assigned this Oct 22, 2024
@keith-turner
Copy link
Contributor

The milestone for this change in 2.1, but the target branch is main.

@DomGarguilo DomGarguilo changed the base branch from main to 2.1 October 23, 2024 14:14
@DomGarguilo
Copy link
Member Author

The milestone for this change in 2.1, but the target branch is main.

Oops, thanks. Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue has been verified to be a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants