]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: log the number of 'dups' entries in a PG Log 46609/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 9 Jun 2022 18:44:10 +0000 (18:44 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 9 Jun 2022 20:35:01 +0000 (20:35 +0000)
commit204f8147c51c9b43783ec667b443e59c7a028cef
tree375de6ac1e7b5e099e8f6a6c0a57f61fcf142660
parent38cc164540a578e1c2c19f565961d2d2d5c48d02
osd: log the number of 'dups' entries in a PG Log

We really want to have the ability to know how many
entries `PGLog::IndexedLog::dups` has inside.
The current ways are either invasive (stopping an OSD)
or indirect (examination of `dump_mempools`).

The code comes from Nitzan Mordechai (part of
ede37edd79a9d5560dfb417ec176327edfc0e4a3).

Fixes: https://tracker.ceph.com/issues/55982
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 8f1c8a7309976098644bb978d2c1095089522846)
src/osd/PeeringState.cc