Skip to content

Chunk upload retry does not reset the read stream #298

Closed

Description

@dhadka

uploadChunk is given a NodeJs.ReadableStream. If the first attempt to upload the chunk fails, it retries but does not reset the stream back to the start of the chunk. As a result, the server rejects the retry because the request size does not match the content-range header.

Activity

  1. added
    bug
    on May 7, 2020
  2. dhadka commented on May 7, 2020

    @dhadka
    ContributorAuthor

    Furthermore, we should display the retry result. Right now it just shows the first attempt. See https://github.com/dhadka/cache-canary-2/runs/654313590?check_suite_focus=true#step:7:47 for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions