summaryrefslogtreecommitdiffstats
path: root/src/crimson
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2019-07-23 17:59:28 +0200
committerSage Weil <sage@redhat.com>2019-09-26 19:21:53 +0200
commitc6358390e30a9fb9a8b6eb71cba63c093e53bb9d (patch)
tree867943e0106975f64df5646cbd871bd3b41f8afa /src/crimson
parentosd/PeeringState: do full on_new_interval on new peering interval (diff)
downloadceph-c6358390e30a9fb9a8b6eb71cba63c093e53bb9d.tar.xz
ceph-c6358390e30a9fb9a8b6eb71cba63c093e53bb9d.zip
crimson/osd/pg: add schedule_renew_lease stub
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/crimson')
-rw-r--r--src/crimson/osd/pg.cc6
-rw-r--r--src/crimson/osd/pg.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/crimson/osd/pg.cc b/src/crimson/osd/pg.cc
index 42a7688c377..c6b4331721e 100644
--- a/src/crimson/osd/pg.cc
+++ b/src/crimson/osd/pg.cc
@@ -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,
diff --git a/src/crimson/osd/pg.h b/src/crimson/osd/pg.h
index 25d4a3b9098..4b64e8ca3fd 100644
--- a/src/crimson/osd/pg.h
+++ b/src/crimson/osd/pg.h
@@ -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 {