We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Faulted
1 parent ece8a48 commit 5a41b82Copy full SHA for 5a41b82
upstairs/src/downstairs.rs
@@ -654,7 +654,14 @@ impl Downstairs {
654
// Specifically, we want to skip jobs if the only path back online for
655
// that client goes through live-repair; if that client can come back
656
// through replay, then the jobs must remain live.
657
- if matches!(self.clients[client_id].state(), DsState::LiveRepair) {
+ let client_state = self.clients[client_id].state();
658
+ if matches!(
659
+ client_state,
660
+ DsState::LiveRepair | DsState::LiveRepairReady
661
+ ) || matches!(
662
663
+ DsState::Active | DsState::Offline if !self.can_replay
664
+ ) {
665
self.skip_all_jobs(client_id);
666
}
667
0 commit comments