]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: log peering intervals at high debug level
authorSage Weil <sage@redhat.com>
Tue, 11 Apr 2017 16:32:35 +0000 (12:32 -0400)
committerSage Weil <sage@redhat.com>
Fri, 28 Apr 2017 15:30:39 +0000 (11:30 -0400)
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 <sage@redhat.com>
src/osd/PG.cc

index 1d61ac8bfbcb16609fa18a7c9ea7b1c80fb8cee7..7f70424095b406b28ff210de74dfe652c42587c8 100644 (file)
@@ -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