Skip to content

Commit

Permalink
Clear repair_check_deadline if repair is successfully started (#1581)
Browse files Browse the repository at this point in the history
Otherwise, we immediately check for live-repair again, which is
confusing in the logs (see #1579)
  • Loading branch information
mkeeter authored Dec 2, 2024
1 parent d6c8ddd commit ece8a48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions upstairs/src/upstairs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,7 @@ impl Upstairs {
Some(Instant::now() + REPAIR_CHECK_INTERVAL);
} else {
// We started the repair in the call to start_live_repair above
self.repair_check_deadline = None;
}
}

Expand Down

0 comments on commit ece8a48

Please sign in to comment.