Skip to content

Conversation

tstirrat15
Copy link
Contributor

@tstirrat15 tstirrat15 commented Sep 2, 2025

Fixes #542

Description

Currently, ExportBulk is on the list of retryable methods. That means that when an export stream errors for any reason, the request is re-issued. This is a problem because it starts at the beginning and the relations are appended naively to the output. Ideally we'd resume from the place where the error occurred, and that's what this PR implements.

TODO

  • Test
  • Figure out if the stream needs to be manually closed

Changes

  • Add ExportBulk to the list of things that doesn't get retried
  • Add manual retryable error handling that overwrites the existing stream

Testing

Review. See that tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zed backup doesn't resume where it left off
1 participant