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

Fix coordinator balancer 'moved' logs and metrics #6032

Merged
merged 1 commit into from
Aug 1, 2018

Conversation

clintropolis
Copy link
Member

@clintropolis clintropolis commented Jul 21, 2018

Fixes a cosmetic issue with incorrect 'movedCount' metric and log messaging because the value was sourced from currentlyMovingSegments.size() rather than the total count of movement operations done, which could be inaccurate if the load finishes before the balancer operation completes and emits metrics and logs.

This changes metrics and logs to use the counter value rather than the snapshot of currently moving segments at emit time.

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

Successfully merging this pull request may close these issues.

3 participants