1
1
2
2
TS
2
2
2
3
Token: "2_2_checksum(2,3)"
GET /elements
GET /elements?continue=2_2_checksum(2,3)
Server:
- WHERE timestamp >= 2 ORDER BY timestamp asc, id asc
- Calculcate checksum of IDs with the same timestamp
that would be skipped due to the offset: checksum(2,4)
- => checksum(2,3) != checksum(2,4). Change detected!
Can't skip 2 as we would miss the element with ID 4.
- => Fallback: Deliver all elements with timestamp>=2.
1
2
3
4
5
6
ID
The timestamp of the element with the ID 3 changed between
the delivery of page 1 and the request for page 2.