SERVER-102900ClosedFixed

change streams getMore responses should return updated PBRT

In versions before 9.0, the {{postBatchResumeToken}} (PBRT) that is returned in responses to change stream {{getMore}} requests is currently not updated if the {{getMore}} responses do not include any documents {*}{{*}}and{{*}}{*} the change stream cursor has not yet reached the oplog tail. In this case, the {{getMore}} responses always return the same PBRT value, before either a matching document is returned or the change stream cursor is at the end of the oplog and the high water mark gets up

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.0.0-rc08.3.188.0.39
Components
Server components related to this issue
Change streamsQuery Execution
Labels
Tags and classification
change-streams-improvements