From: Sage Weil Date: Tue, 11 Apr 2017 16:32:35 +0000 (-0400) Subject: osd/PG: log peering intervals at high debug level X-Git-Tag: v12.0.3~129^2~26 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0e94e17740677e131d425894e7aa2d37b3639d62;p=ceph.git osd/PG: log peering intervals at high debug level Because we are no longer explicitly tracking all past intervals I think it is a good idea to log these more aggressively. This will give us potentially vital information when debugging peering problems (says someone who just debugged a peering problem in which the past interval information provided a vital clue). Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 1d61ac8bfbcb..7f70424095b4 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -5160,7 +5160,7 @@ void PG::start_peering_interval( on_new_interval(); - dout(10) << " up " << oldup << " -> " << up + dout(1) << __func__ << " up " << oldup << " -> " << up << ", acting " << oldacting << " -> " << acting << ", acting_primary " << old_acting_primary << " -> " << new_acting_primary << ", up_primary " << old_up_primary << " -> " << new_up_primary