Skip to content

Commit

Permalink
osd/PG: handle slow Remote*Preempted events
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Oct 27, 2017
1 parent df78391 commit c1e652a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/osd/PG.h
Expand Up @@ -2287,6 +2287,12 @@ class PG : public DoutPrefixProvider {
boost::statechart::result react(const UnfoundBackfill& evt) {
return discard_event();
}
boost::statechart::result react(const RemoteBackfillPreempted& evt) {
return discard_event();
}
boost::statechart::result react(const RemoteRecoveryPreempted& evt) {
return discard_event();
}
};

struct RepRecovering : boost::statechart::state< RepRecovering, ReplicaActive >, NamedState {
Expand Down

0 comments on commit c1e652a

Please sign in to comment.