[
https://issues.apache.org/jira/browse/CASSANDRA-18139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678787#comment-17678787
]
Ekaterina Dimitrova edited comment on CASSANDRA-18139 at 1/19/23 5:47 PM:
--------------------------------------------------------------------------
Looking into the usages of this method - it is used in new and old commands,
features.
I think in new usages for 4.1 we should leave the change KB -> KiB etc
I am thinking the safest way is to revert the changes made to stringifyFileSize
and create a new stringifyFileSizeBinaryUnits method to be used with flags and
any new features - exceptions and trace logs for Guardrails for example. I will
try to find time to create a patch later today or tomorrow.
was (Author: e.dimitrova):
Looking into the usages of this method - it is used in new and old commands,
features.
I think in new usages for 4.1 we should leave the change KB -> KiB etc
I am thinking the safest way is to revert the changes made to stringifyFileSize
and create a new stringifyFileSizeBinaryUnits method to be used with any new
features - exceptions and trace logs for Guardrails for example. I will try to
find time to create a patch later today or tomorrow.
> Revert changes to units output in FileUtils#stringifyFileSize post
> CASSANDRA-15234
> ----------------------------------------------------------------------------------
>
> Key: CASSANDRA-18139
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18139
> Project: Cassandra
> Issue Type: Bug
> Components: Local/Config
> Reporter: Ekaterina Dimitrova
> Assignee: Ekaterina Dimitrova
> Priority: Normal
> Fix For: 4.x
>
>
> As discussed in CASSANDRA-15234, FileUtils#stringifyFileSize is used in
> nodetool output which can break people parsing the nodetool output
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]