...
When this happens, server commit will also fail. The segment completion protocol will retry commit. During the commit retry, the leader server server can check if the segment already exists. If so, it will not re-upload the segment.
...
RealtimeSegmentRelocator
The class moves completed segments to other servers. After the segment move, we should also update the segmentLocation of the LLC segments.
Implementation Phase
- Interface and API change
- Segment location is changed from a single URI string to a string containing a list of URI.
- Server adds a new API to allow segment download.
- Segment completion protocol change
- Server and controller FSM change
- RealtimeValidationManager modification
Appendix
Alternative designs:
...