[SERVER-69001] Initial sync should set the minValid document to the "stopTimestamp" Created: 19/Aug/22 Updated: 29/Oct/23 Resolved: 16/Sep/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.24, 4.4.19, 5.0.14, 6.0.3, 6.1.0-rc3, 6.2.0-rc0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Daniel Gottlieb (Inactive) | Assignee: | Daniel Gottlieb (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v6.1
|
||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 25 | ||||||||||||
| Description |
|
Apologies for the prescriptive solution. matthew.russotto@mongodb.com agreed in thinking this would be the most straight-forward change. Here's an example of a minvalid check that can happen during initial sync which evaluates the wrong result. This was found via an unrelated test failure. |
| Comments |
| Comment by Githook User [ 17/Nov/22 ] |
|
Author: {'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}Message: (cherry picked from commit ff2fffdf496ac1bc039cd8c84024cc6159cf80b6) |
| Comment by Githook User [ 05/Nov/22 ] |
|
Author: {'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}Message: (cherry picked from commit ff2fffdf496ac1bc039cd8c84024cc6159cf80b6) |
| Comment by Githook User [ 03/Nov/22 ] |
|
Author: {'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}Message: (cherry picked from commit ff2fffdf496ac1bc039cd8c84024cc6159cf80b6) |
| Comment by Githook User [ 01/Nov/22 ] |
|
Author: {'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}Message: (cherry picked from commit ff2fffdf496ac1bc039cd8c84024cc6159cf80b6) |
| Comment by Githook User [ 21/Sep/22 ] |
|
Author: {'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}Message: (cherry picked from commit ff2fffdf496ac1bc039cd8c84024cc6159cf80b6) |
| Comment by Githook User [ 15/Sep/22 ] |
|
Author: {'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}Message: |
| Comment by Daniel Gottlieb (Inactive) [ 22/Aug/22 ] |
|
Known manifestations are config.image_collection and change stream pre image documents computed from inconsistent initial sync views are accepted when they should rather be invalidated. |
| Comment by Judah Schvimer [ 22/Aug/22 ] |
|
What is the impact of this bug? |