]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: add activating complete low level log for pairing with start_peering_interval log
authorJianwei Zhang <jianwei1216@qq.com>
Wed, 18 May 2022 02:32:28 +0000 (10:32 +0800)
committerJianwei Zhang <jianwei1216@qq.com>
Wed, 18 May 2022 02:32:35 +0000 (10:32 +0800)
commitb779d91b41e40610fb6cf71b44c399056e77b163
tree72f14048e837cc4c752a21e66b07d76321d0526d
parentcd0cd7cb094a4d304de085cbba4c102cb65805e9
osd: add activating complete low level log for pairing with start_peering_interval log

PeeringState::start_peering_interval() tell us the pg peering(new interval) begin time
AllReplicasActivated : tell us the pg peering end time

So that under the default log level of debug_osd(1/5),
the completion of each pg peering can be traced back through ceph-osd.x.log

Because under some exceptions, we need to know clearly
whether pg has completed peering at the time when the exception occurs,
and whether it can handle client IO.

Signed-off-by: Jianwei Zhang <jianwei1216@qq.com>
src/osd/PeeringState.cc