]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PeeringState: remove unused PeeringState::append_log_with_trim_to_updated
authorSamuel Just <sjust@redhat.com>
Wed, 27 Mar 2024 23:40:01 +0000 (16:40 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 18 Oct 2024 20:33:57 +0000 (20:33 +0000)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PeeringState.h

index 11ac084a054b3327cc9af24e40f0714818128050..f81c77561fdbd305b84599c2bc5a12f0d303c6ec 100644 (file)
@@ -1901,17 +1901,6 @@ public:
     std::optional<eversion_t> trim_to,
     std::optional<eversion_t> roll_forward_to);
 
-  void append_log_with_trim_to_updated(
-    std::vector<pg_log_entry_t>&& log_entries,
-    eversion_t roll_forward_to,
-    ObjectStore::Transaction &t,
-    bool transaction_applied,
-    bool async) {
-    update_trim_to();
-    append_log(std::move(log_entries), pg_trim_to, roll_forward_to,
-       min_last_complete_ondisk, t, transaction_applied, async);
-  }
-
   /**
    * Updates local log to reflect new write from primary.
    */