Skip to content

Commit

Permalink
mon/MDSMonitor: use stringstream instead of dout for mds repaired
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/40472

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
  • Loading branch information
Zhi Zhang committed Jun 24, 2019
1 parent 790472d commit 7ad76ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mon/MDSMonitor.cc
Expand Up @@ -1459,9 +1459,9 @@ int MDSMonitor::filesystem_command(

bool modified = fsmap.undamaged(role.fscid, role.rank);
if (modified) {
dout(1) << "repaired: restoring rank " << role << dendl;
ss << "repaired: restoring rank " << role;
} else {
dout(1) << "repaired: no-op on rank " << role << dendl;
ss << "nothing to do: rank is not damaged";
}

r = 0;
Expand Down

0 comments on commit 7ad76ea

Please sign in to comment.