#3767 closed task

Potential issues with `POST /v1/lease/<share-index>` — at Version 1

Reported by: itamarst Owned by: exarkun
Priority: normal Milestone: HTTP Storage Protocol
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description (last modified by exarkun)

"If there are no shares for the given storage_index then NOT FOUND is returned."

  1. 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)?
  2. 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?).

Change History (1)

comment:1 Changed at 2021-08-18T13:52:03Z by exarkun

  • Description modified (diff)
Note: See TracTickets for help on using tickets.