[SERVER-83104] Remove the multi-version compatibility patch for `capped` and `numInitialChunk` in change stream shard events tests Created: 10/Nov/23 Updated: 16/Nov/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Enrico Golfieri | Assignee: | Backlog - Catalog and Routing |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Catalog and Routing
|
| Operating System: | ALL |
| Participants: |
| Description |
|
`numInitialChunks` field was not longer supported starting from 7.2 and it has been removed as part of the "shard event" of the change stream.
The 2 tests do a strict comparison between the bson object received by the change stream and bson object expected by the test. To counter that, in Once 8.0 becomes last lts, we know numInitialChunks is guaranteed not to be part of the change stream and we can safely remove the check.
The same applies for the field `capped` which was added to _shardsvrCreateCollection in |