[SERVER-62003] Null-equality on 'fullDocument' is not rewritten correctly for change stream 'delete' events Created: 13/Dec/21 Updated: 29/Oct/23 Resolved: 15/Dec/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0, 5.2.0-rc2, 5.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bernard Gorman | Assignee: | Bernard Gorman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | change-stream-rewrite | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.2, v5.1
|
||||||||
| Sprint: | QE 2021-12-27 | ||||||||
| Participants: | |||||||||
| Description |
|
Null-equality predicates on fullDocument or its subfields are not rewritten correctly into the oplog for delete events, causing them to be omitted. This issue does not manifest for $exists:true, $exists:false, $ne:null, other comparison operators or their negations; only $eq:null, $gte:null and $lte:null are impacted. |
| Comments |
| Comment by Githook User [ 16/Dec/21 ] |
|
Author: {'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}Message: (cherry picked from commit 577a111d0f31418b60b0b3ee999ffb7657943ea5) |
| Comment by Githook User [ 15/Dec/21 ] |
|
Author: {'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}Message: (cherry picked from commit 577a111d0f31418b60b0b3ee999ffb7657943ea5) |
| Comment by Githook User [ 15/Dec/21 ] |
|
Author: {'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}Message: |