8000 Delete everything in a bucket while cleaning · Issue #35 · crytic/cloudexec · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Delete everything in a bucket while cleaning #35
Closed
@bohendo

Description

@bohendo

s3.ListObjects only returns the first 1000 objects in a bucket so, when we run cloudexec clean, we only delete the first 1000 files from each bucket.

Cloudexec should handle pagination while cleaning buckets by getting 1000 objects, deleting them, getting 1000 more, etc until the bucket is entirely empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0