THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Follower sends a fetch request
- Leader replies with a snapshot epoch and end offset.
- Follower pauses fetch requests
- Follower fetches a snapshot chunks from the leader into a temporary snapshot file (EndOffset-Epoch.checkpoint.part)
- Validate fetch snapshot
- All snapshot chunks are fetched
- Verify the CRC of the records in the snapshot
- Atomically move the temporary snapshot file (EndOffset-Epoch.checkpoint.part) to the permanent location (EndOffset-Epoch.checkpoint)
- Follower resumes fetch requests by
- Setting the
LogStartOffset
to the snapshot's end offset. - Setting the
LEO
orFetchOffset
in the fetch request to the snapshot's end offset. - Setting the
LastFetchedEpoch
in the fetch request to the snapshot's epoch.
- Setting the
...