]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/ceph_objectstore_took: Add duplicate entry trimming
authorNitzanMordhai <nmordech@redhat.com>
Wed, 23 Mar 2022 18:52:45 +0000 (18:52 +0000)
committerRadosław Zarzyński <rzarzyns@redhat.com>
Thu, 12 May 2022 22:39:53 +0000 (00:39 +0200)
commit1f3fede173cf8224f4c9f1d24b30d6fa8dfda216
tree85100d83e4428f43beaaaab6d913d4a552979588
parent73636a1b00037ff974bcdc969b009c5ecec626cc
tools/ceph_objectstore_took: Add duplicate entry trimming

Adding duplicate entries trimming to trim-pg-log opertion, we will use the exist
PGLog trim function to find out the set of entries\dup entries that we suppose to
trim. to use it we need to build the PGLog from disk.

Fixed: https://tracker.ceph.com/issues/53729
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
(cherry picked from commit 9fb7ec61ba10896ce01d5970375f1ce1dd993874)
src/osd/PGLog.cc
src/osd/PGLog.h
src/test/osd/TestPGLog.cc
src/tools/ceph_objectstore_tool.cc