Opened at 2021-08-16T20:51:34Z
Closed at 2021-09-02T20:21:23Z
#3769 closed task (fixed)
Potential issues with PUT /v1/immutable/:storage_index/:share_number
Reported by: | itamarst | Owned by: | exarkun |
---|---|---|---|
Priority: | normal | Milestone: | HTTP Storage Protocol |
Component: | unknown | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
Should document response codes, so that it's clear what to do in case of failed response. E.g. how does client tell difference between different kinds of errors ("that chunk already exists", "you skipped ahead" if that's disallowed...).
Would be nice to have a response code that means "this chunk successfully uploaded, but the share is still incomplete" and one that means "this chunk successfully uploaded, the share is now fully uploaded", which would make parallel uploads easier.
"Servers may reject out-of-order chunks for implementation simplicity." This prevents parallel uploads? Not ideal for latency.
Also, if a PUT succeeds but the success response never makes it back to the client, the client may have issues if it resends the chunk? Unless that case is handled.
"If an individual *PUT* fails then only a limited amount of effort is wasted on the necessary retry." What does this mean?
Change History (2)
comment:1 Changed at 2021-09-02T17:21:38Z by exarkun
comment:2 Changed at 2021-09-02T20:21:23Z by GitHub <noreply@…>
- Resolution set to fixed
- Status changed from new to closed
In 1819e080/trunk:
https://github.com/tahoe-lafs/tahoe-lafs/pull/1116