SERVER-138782In Code Review

Implement kickback and backfill on the router

Make the router throw a {{ChangeStreamEndOfTransactionBackfillRequired}} error if it encounters a transaction with a commit floor that is beyond the stream's starting point. The router will catch the error, close the current stream and open a new one at the backfill point. The backfill scan will emit accounting control events for {{endOfTransaction}} and nothing else, until the scan reaches the backfill resume position. Then the stream will continue normally.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.