Skip to content

WriteMultipart::finish should abort after part upload failure #818

Closed

Description

@anson-vandoren

Describe the bug

WriteMultipart::finish does not abort the multipart upload when an in-flight put_part fails, because that error is surfaced in self.wait_for_capacity(0).await?; and returned early, skipping the cleanup that happens on an error in self.upload.complete().await

Expected behavior

Once a multipart upload has started, finish() should attempt to abort it when any part upload fails, as it already does when complete() fails.

Additional context

Activity

  1. added a commit that references this issue on Aug 17, 2026
    7cbbeaa
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions