return false;
}
+void PG::on_activate(interval_set<snapid_t>)
+{
+ projected_last_update = peering_state.get_info().last_update;
+}
+
void PG::on_activate_complete()
{
active_promise.set_value();
void on_change(ObjectStore::Transaction &t) final {
// Not needed yet
}
- void on_activate(interval_set<snapid_t> to_trim) final {
- // Not needed yet (will be needed for IO unblocking)
- }
+ void on_activate(interval_set<snapid_t> to_trim) final;
void on_activate_complete() final;
void on_new_interval() final {
// Not needed yet
std::unique_ptr<PGBackend> backend;
PeeringState peering_state;
+ eversion_t projected_last_update;
seastar::shared_promise<> active_promise;
seastar::future<> wait_for_active();