From ea0bfe66887edbc528804a42777320100df3c9e3 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 28 Oct 2017 08:12:02 -0500 Subject: [PATCH] osd/PG: fix Remote*Preempted handling in ReplicaActive This was only half-implemented by c1e652a4547d89b889954ca4bdb82506ca0f1d83 Signed-off-by: Sage Weil --- src/osd/PG.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/osd/PG.h b/src/osd/PG.h index 8d6a25e4ecb..74aa788056e 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -2267,7 +2267,9 @@ protected: boost::statechart::custom_reaction< DeferRecovery >, boost::statechart::custom_reaction< DeferBackfill >, boost::statechart::custom_reaction< UnfoundRecovery >, - boost::statechart::custom_reaction< UnfoundBackfill > + boost::statechart::custom_reaction< UnfoundBackfill >, + boost::statechart::custom_reaction< RemoteBackfillPreempted >, + boost::statechart::custom_reaction< RemoteRecoveryPreempted > > reactions; boost::statechart::result react(const QueryState& q); boost::statechart::result react(const MInfoRec& infoevt); -- 2.47.3