Merge branch 'ximinez/online-delete-gaps' into ximinez/online-delete-lastrotated

This commit is contained in:
Ed Hennis
2026-05-06 18:48:50 -04:00
committed by GitHub

View File

@@ -1579,7 +1579,7 @@ LedgerMaster::missingFromCompleteLedgerRange(LedgerIndex first, LedgerIndex last
{
// Make a copy of the range to avoid holding the lock
auto const range = [&] {
std::lock_guard const sl(completeLock_);
std::scoped_lock const sl(completeLock_);
return completeLedgers_;
}();