Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions graphile/graphile-presigned-url-plugin/src/file-lifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
export const LIVE_FILE_STATUSES = ['uploaded', 'processed'];

/**
* Whether a row is live (constructive-db file lifecycle invariant S2): a dedup
* hit, and a row `downloadUrl` signs a URL for, only once the bytes it names
* are in S3.
* Whether a row is live: a dedup hit, and a row `downloadUrl` signs a URL for,
* only once the bytes it names are in S3.
*
* The row is written before the PUT; the confirm-upload job moves it out of
* `requested` only after inspecting the object, so its status is the answer.
Expand Down
Loading