Project

General

Profile

Actions

Bug #13741

closed

There is an error format in Pgmap printing information

Added by huanwen ren over 8 years ago. Updated over 8 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

PGMap::print_summary function to print the following information:
*out << " pgmap v" << version << ": "
<< pg_stat.size() << " pgs, " << pg_pool_sum.size() << " pools, "
<< prettybyte_t(pg_sum.stats.sum.num_bytes) << " data, "
<< pretty_si_t(pg_sum.stats.sum.num_objects) << "objects\n";
Results the following

pgmap v6760198: 8464 pgs, 32 pools, 3173 GB data, 805 kobjects
            9450 GB used, 58516 GB / 67966 GB avail
                8464 active+clean

“805 kobjects” should be “805 k objects”

Actions #1

Updated by Sage Weil over 8 years ago

  • Status changed from New to Won't Fix
Actions #2

Updated by huanwen ren over 8 years ago

@Sage Weil Weil
I have to repair, to see if feasible
https://github.com/ceph/ceph/pull/6515

Actions

Also available in: Atom PDF