SERVER-139156ClosedFixed

Fail change stream on overly large transactions

Make a change stream fail with {{ChangeStreamFatalError}} when encountering a transaction with INT32_MAX or more operations inside the same transaction. The {{txnOpIndex}} value in this case would exceed INT32_MAX and cannot be safely encoded.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1026
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.