Merge remote-tracking branch 'XRPLF/ximinez/online-delete-gaps' into ximinez/online-delete-gaps2

* XRPLF/ximinez/online-delete-gaps:
  Update lastLedger in the healthWait loop in the right order
This commit is contained in:
Ed Hennis
2026-07-27 22:57:28 -04:00

View File

@@ -819,8 +819,8 @@ SHAMapStoreImp::healthWait()
<< index << ". Complete ledgers: " << ledgerMaster_->getCompleteLedgers();
std::this_thread::sleep_for(waitMs);
readServerStatus(index, age, mode, numMissing, lowerBound, unlock);
lastLedger = index;
readServerStatus(index, age, mode, numMissing, lowerBound, unlock);
}
return stop_ ? HealthResult::Stopping : HealthResult::KeepGoing;