Snapshot fixes#11401
Conversation
|
Claude finished @svlachakis's task in 2m 43s —— View job PR Review: Snapshot fixes
SummaryBoth fixes are correct and address real production bugs. No blocking issues found. Fix 1 — SnapshotDownloader.cs: HTTP 200 resume The old code treated any HTTP 200 response as "no range support → discard partial file and restart." The new code recognises that HTTP 200 + existing partial file means the server sent the full content from byte 0, and correctly skips the already-downloaded prefix via
Fix 2 — InitDatabaseSnapshot.cs: disk-space check mount The old code used Findings
No Critical, High, or Medium findings. This PR is mergeable. |
|
@claude review again, fixed one comment - the other two doesn't seem to be worth the complexity |
|
Claude finished @svlachakis's task in 2m 5s —— View job PR Re-Review: Snapshot fixes
What changed since last reviewThree Low findings were raised previously:
Fresh read of both filesSnapshotDownloader.cs — no new issues.
InitDatabaseSnapshot.cs — no new issues.
DI comment (damian-orzechowski) — author's explanation is sound: the keyed FindingsNo new findings. Previous Lows #1 and #2 are cosmetic and acknowledged. Previous Low #3 is fixed. No Critical, High, or Medium findings. PR is mergeable. |
|
Claude finished @svlachakis's task in 1m 48s —— View job PR Review: Snapshot fixes
What's in this PRThree functional changes across two files, plus a CODEOWNERS update:
Fix 1 — SnapshotDownloader.csThe
No issues. Fix 2 — InitDatabaseSnapshot.cs: disk-space check
No issues. Fix 3 — Retry backoff reset (new since last review)long currentSize = GetFileSize(destinationPath);
if (currentSize > lastSize)
retryDelay = TimeSpan.FromSeconds(InitialRetryDelaySeconds);
lastSize = currentSize;This is a sound heuristic: if the download was making progress before the error, reset the backoff rather than continuing to double it. No issues. CODEOWNERSPR author adds themselves to Findings
No Critical, High, or Medium findings. PR is mergeable. |
Changes
Types of changes
What types of changes does your code introduce?
Testing
Manual test of Arbitrum Snapshot is in progress.
Requires testing
If yes, did you write tests?