Critical flow
How does publication resume after a successful upload loses its completion event?
Trace the failure through the architecture: segment bytes are uploaded, but the completion event is lost. The worker checks the existing digest and resumes publication. The manifest is updated only after object finalisation is confirmed; a missing segment remains visible as a gap. Durable acceptance, actual effect and response are considered separately.
Starting point Object storage and the delivery network carry the media path.
Assumptions for the example case
Fictitious example design: a live channel followed by an on-demand archive; three quality levels; six-second segments; time-limited playback rights. Figures and quality targets are illustrative test assumptions. Rights acquisition, global rights advice, full DRM implementation and interactive video conferencing are outside scope.
Failure point in the sequence
Object finalisation before manifest inclusion
S-120 bytes are finalised; the completion event is lost before manifest inclusion.
Result: M-61 references S-120 only after confirmed object finalisation; a missing segment stays visible.
The digest enables resumption without overwriting bytes; the gap remains visible until finalisation is confirmed.
Effect, response and recovery
- Specific error
- Segment bytes are uploaded, but the completion event is lost. The worker checks the existing digest and resumes publication. The manifest is updated only after object finalisation is confirmed; a missing segment remains visible as a gap.
- Before and after commit
- Commit durably completes the local change. Before commit, the old state remains valid; afterwards, an identical retry returns the stored outcome. Reconcile the external effect using its existing reference.
- Retry behaviour
- Send the completion event for S-120 with an identical digest twice: one manifest entry. The same segment ID with a different digest is blocked. Repeated GET can return media bytes but creates no new segment record.
Resume publication
Check the existing digest and continue the same finalisation.
Upload succeeds but the completion event is lost.
S-120 is referenced exactly once.
- Alternative considered
- New filename on each retry creates orphaned variants.
- Trade-off
- Object inventory needs cleanup.
- Reassess
- The object store cannot reliably verify finalisation.
Terms in this step
- Resume publication
- S-120 is referenced exactly once.
Try it yourself
Upload succeeds but the completion event is lost. Which validation allows processing to resume without creating another segment?
A hint for your attempt
Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.
Compare with a possible solution
- First part of the solution
- The worker verifies the existing digest and completed object finalisation for S-120.
- Second part of the solution
- It then resumes the same manifest update. Incomplete or conflicting bytes remain outside the published manifest.
Apply to your project
Which corresponding assumption would you check first in your project when the object store cannot reliably verify finalisation?