Yue Zhang created FLINK-41690:
---------------------------------
Summary: MemorySize prints exact tebibyte quantities in bytes
Key: FLINK-41690
URL: https://issues.apache.org/jira/browse/FLINK-41690
Project: Flink
Issue Type: Bug
Components: API / Core
Reporter: Yue Zhang
Construct a MemorySize for two tebibytes and call toString(). It produces
"2199023255552 bytes". For smaller exact units, the same formatter uses a
compact suffix, for example "1 kb" for 1024 bytes.
The formatter should produce "2 tb" for this input and keep "0 bytes" for zero.
The configuration documentation generator also prints "2199023255552 bytes" for
a two-tebibyte ConfigOption default.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)