Actions
Bug #41156
closeddump_float() poor output
Status:
Rejected
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
dump_float("15min", 810 / 1000.0) outputs "15min": 0.8100000000000001
This was introduced in https://github.com/ceph/ceph/pull/25745 which has 1 commit and no tracker.
While using a template to create the add_value() functions the issue is caused by m_ss.precision(std::numeric_limits<T>::max_digits10);
Updated by David Zafman over 4 years ago
- Status changed from In Progress to Won't Fix
Updated by David Zafman over 4 years ago
- Status changed from Won't Fix to 12
Looking at osd dump output in teuthology.log on a test run and I this see output which is ugly:
"full_ratio": 0.949999988079071,
"backfillfull_ratio": 0.8999999761581421,
"nearfull_ratio": 0.8500000238418579,
"weight": 0.904632568359375,
"primary_affinity": 0.451995849609375,
Updated by David Zafman over 4 years ago
- Related to Bug #41754: Use dump_stream() instead of dump_float() for floats where max precision isn't helpful added
Actions