]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/pg: add schedule_renew_lease stub
authorSage Weil <sage@redhat.com>
Tue, 23 Jul 2019 15:59:28 +0000 (10:59 -0500)
committerSage Weil <sage@redhat.com>
Thu, 26 Sep 2019 17:21:53 +0000 (12:21 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/crimson/osd/pg.cc
src/crimson/osd/pg.h

index 42a7688c3778a6646ddbb2271f2f530f3646dfaf..c6b4331721e29d97adf07bbf5ffba45fe6d9fe22 100644 (file)
@@ -194,6 +194,12 @@ HeartbeatStampsRef PG::get_hb_stamps(int peer)
   return shard_services.get_hb_stamps(peer);
 }
 
+void PG::schedule_renew_lease(epoch_t plr, ceph::timespan delay)
+{
+#warning implement me
+}
+
+
 void PG::init(
   ceph::os::CollectionRef coll,
   int role,
index 25d4a3b909808477862079c4d4fe474d0dc84240..4b64e8ca3fd94a0121f60f2b825d0e9d1126eb12 100644 (file)
@@ -388,6 +388,8 @@ public:
 
   ceph::signedspan get_mnow() final;
   HeartbeatStampsRef get_hb_stamps(int peer) final;
+  void schedule_renew_lease(epoch_t plr, ceph::timespan delay) final;
+
 
   // Utility
   bool is_primary() const {