Project

General

Profile

Bug #4577

ceph pg dump_stuck dumps output even if none

Added by Dan Mick almost 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

pg dump_stuck always tries to output a list of pgs, even if there are none stuck in
the category requested; in 'plain' output mode this always prints the heading. This is
probably nonideal.

Associated revisions

Revision 2d7dced1 (diff)
Added by Dan Mick over 10 years ago

mon/PGMap.cc: don't output header for pg dump_stuck if nothing stuck

Formatted output is already correct (no header)

Fixes: #4577
Signed-off-by: Dan Mick <>

History

#1 Updated by Ian Colle almost 11 years ago

  • Assignee set to Dan Mick

#2 Updated by Anonymous almost 11 years ago

  • Project changed from Ceph to Calamari

#3 Updated by Ian Colle almost 11 years ago

  • Project changed from Calamari to Ceph

#4 Updated by Dan Mick over 10 years ago

  • Status changed from New to Fix Under Review

#5 Updated by Dan Mick over 10 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF