]> 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)
committerNitzanMordhai <nmordech@redhat.com>
Mon, 25 Apr 2022 16:06:26 +0000 (16:06 +0000)
commit9fb7ec61ba10896ce01d5970375f1ce1dd993874
tree2b93b7db5ec37f2be8b59c76e3a5f4ffa95a04d6
parent132d0cb79fff18317f6e7eced6feb26187455850
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>
src/osd/PGLog.cc
src/osd/PGLog.h
src/test/osd/TestPGLog.cc
src/tools/ceph_objectstore_tool.cc