fixup(commit b2dbc47b31 initial logical size calculation wasn't polled to completion; fix that, to make tests pass)

(requires previous commit)
This commit is contained in:
Christian Schwarz
2025-01-21 23:22:31 +01:00
parent 728052bd2e
commit a501095c5a

View File

@@ -3051,7 +3051,10 @@ impl Timeline {
self.timeline_id, up_to_lsn
);
pausable_failpoint!("timeline-calculate-logical-size-pause");
if let Err(()) = pausable_failpoint!("timeline-calculate-logical-size-pause", &self.cancel)
{
return Err(CalculateLogicalSizeError::Cancelled);
}
// See if we've already done the work for initial size calculation.
// This is a short-cut for timelines that are mostly unused.