[SERVER-85707] Adding $changeStreamSplitLargeEvent stage fails on v6.0 mongoS Created: 25/Jan/24 Updated: 06/Feb/24 |
|
| Status: | Needs Merge |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 6.0.12, 6.0.13 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Romans Kasperovics | Assignee: | Romans Kasperovics |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Sprint: | QE 2024-02-05, QE 2024-02-19 |
| Participants: |
| Description |
|
In PM-1950 we introduced an internal flag $_generateV2ResumeTokens which can be used only when test commands are enabled. This flag is supposed to be only set by a change stream user while opening a change stream cursor, but it is also set erroneously internally when $changeStreamSplitLargeEvent is present in the change stream pipeline, which leads to an assertion in production setups without test commands enabled. |