Opened at 2021-08-16T20:01:07Z
Last modified at 2021-09-01T14:45:35Z
#3767 closed task
Potential issues with `POST /v1/lease/<share-index>` — at Initial Version
Reported by: | itamarst | Owned by: | exarkun |
---|---|---|---|
Priority: | normal | Milestone: | HTTP Storage Protocol |
Component: | unknown | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
"If there are no shares for the given storage_index then NOT FOUND is returned."
- Does this mean... the data wasn't uploaded? The data was uploaded but expired? The bucket was created with 0 shares (this seems like it should be disallowed)?
- This is given same status code, 404, as the renew secret being wrong, but it seems rather different? Wrong secret is not the same thing as any variant of "that secret is good, but there is no data". "410 Gone" for no data, maybe?
Can you also expand the bit about mutables? Why is mutable data even happening here? Can there be a different response code for the mutable case (a redirect?).
Note: See
TracTickets for help on using
tickets.