mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
crimson/osd/pg: implement schedule_renew_lease()
see also d883db7028
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
3138e195fa
commit
106208cdd8
@ -256,9 +256,18 @@ 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)
|
||||
void PG::schedule_renew_lease(epoch_t last_peering_reset, ceph::timespan delay)
|
||||
{
|
||||
#warning implement me
|
||||
seastar::sleep(delay).then([last_peering_reset, this] {
|
||||
shard_services.start_operation<LocalPeeringEvent>(
|
||||
this,
|
||||
shard_services,
|
||||
pg_whoami,
|
||||
pgid,
|
||||
last_peering_reset,
|
||||
last_peering_reset,
|
||||
RenewLease{});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user