zaaath opened a new pull request, #3069: URL: https://github.com/apache/cassandra/pull/3069
Default to human-readable in `nodetool tablestats`. See a discussion on the topic in the dev mailing list [[email protected]](https://lists.apache.org/thread/mlp715kxho5b6f1ql9omlzmmnh4qfby9) ### Before `nodetool tablestats` doesn't use the human-readable formatting by default (with KiB/MiB/GiB units), instead it outputs data size values as is. In order to switch to the human-readable output, `--human-readable` or `--H` CLI flag is required. ### After `nodetool tablestats` uses the human-readable format by default. For backward compatibility `--no-human-readable` flag can be used to disable it. ### How to reproduce ```bash nodetool tablestats ``` and ```bash nodetool tablestats --no-human-readable ``` Tests ```bash ant testsome -Dtest.name=org.apache.cassandra.tools.nodetool.TableStatsTest ant testsome -Dtest.name=org.apache.cassandra.tools.nodetool.stats.TableStatsPrinterTest ``` patch by @zaaath; reviewed by ??? for [CASSANDRA-19104](https://issues.apache.org/jira/browse/CASSANDRA-19335) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

