Database restore: close the pack stream of a blob read again before the next range

This commit is contained in:
2026-10-22 20:30:18 +02:00
parent 384b2d2792
commit 3ac3298313
+2
View File
@@ -850,6 +850,8 @@ final class Repository {
} catch (\Exception) {
// a read that went wrong on the way (see loadBlob()): this blob on its own
$blob = $this->loadBlob($id);
// its pack stream is closed before the next range is read on the same connection
$this->packReader->close();
}
yield $blob;
$done++;