}
};
+public:
struct MInfoRec : boost::statechart::event< MInfoRec > {
pg_shard_t from;
pg_info_t info;
*out << "MInfoRec from " << from << " info: " << info;
}
};
-
struct MLogRec : boost::statechart::event< MLogRec > {
pg_shard_t from;
boost::intrusive_ptr<MOSDPGLog> msg;
<< " features: 0x" << hex << features << dec;
}
};
-
struct MQuery : boost::statechart::event< MQuery > {
pg_shard_t from;
pg_query_t query;
<< " query: " << query;
}
};
+protected:
struct AdvMap : boost::statechart::event< AdvMap > {
OSDMapRef osdmap;
*out << "Activate from " << activation_epoch;
}
};
+public:
struct RequestBackfillPrio : boost::statechart::event< RequestBackfillPrio > {
unsigned priority;
explicit RequestBackfillPrio(unsigned prio) :
*out << "DeferRecovery: delay " << delay;
}
};
-
+protected:
TrivialEvent(Initialize)
TrivialEvent(Load)
TrivialEvent(GotInfo)
TrivialEvent(NeedUpThru)
+ public:
TrivialEvent(NullEvt)
+ protected:
TrivialEvent(FlushedEvt)
TrivialEvent(Backfilled)
TrivialEvent(LocalBackfillReserved)
+ public:
TrivialEvent(RemoteBackfillReserved)
+ protected:
TrivialEvent(RejectRemoteReservation)
+ public:
TrivialEvent(RemoteReservationRejected)
TrivialEvent(RemoteReservationCanceled)
TrivialEvent(RequestBackfill)
TrivialEvent(RequestRecovery)
TrivialEvent(RecoveryDone)
+ protected:
TrivialEvent(BackfillTooFull)
TrivialEvent(RecoveryTooFull)
TrivialEvent(AllReplicasRecovered)
TrivialEvent(DoRecovery)
TrivialEvent(LocalRecoveryReserved)
+ public:
TrivialEvent(RemoteRecoveryReserved)
+ protected:
TrivialEvent(AllRemotesReserved)
TrivialEvent(AllBackfillsReserved)
TrivialEvent(GoClean)