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

util: imporve the precision of human size (#1778) #1782

Merged
merged 4 commits into from
Sep 30, 2019

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Sep 29, 2019

cherry-pick #1778 to release-3.0


Signed-off-by: nolouch nolouch@gmail.com

What problem does this PR solve?

user report the storage used about 80GB data but available do not change, like:
image

What is changed and how it works?

improve the precision, default .4f.

Check List

Tests

  • Unit test

Signed-off-by: nolouch <nolouch@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>
@sre-bot sre-bot added component/util Utility. status/can-merge Indicates a PR has been approved by a committer. cherry-pick labels Sep 29, 2019
@lhy1024
Copy link
Contributor

lhy1024 commented Sep 29, 2019

/run-all-tests

@nolouch
Copy link
Contributor

nolouch commented Sep 30, 2019

/rebuild

@disksing disksing merged commit 1796883 into tikv:release-3.0 Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/util Utility. status/can-merge Indicates a PR has been approved by a committer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants