[SERVER-48301] find command should reject $_internalReadAtClusterTime values less than afterClusterTime Created: 19/May/20 Updated: 29/Oct/23 Resolved: 11/Jun/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.5.1 |
| Fix Version/s: | 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| 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 | |||||||||||||||||||||||||
| Steps To Reproduce: |
|
|||||||||||||||||||||||||
| Sprint: | Execution Team 2020-06-15 | |||||||||||||||||||||||||
| Participants: | ||||||||||||||||||||||||||
| Linked BF Score: | 11 | |||||||||||||||||||||||||
| Description |
|
I added an invariant on the master branch that fails when commands attempt to read at a timestamp that is less than the afterClusterTime readConcern argument, which is contradictory. "$_internalReadAtClusterTime" can specify any timestamp and afterClusterTime it wants, easily crashing the server with a simple request. We should reject find and getMore commands formed in this way. dbhash does not accept afterClusterTime. |
| Comments |
| Comment by Githook User [ 11/Jun/20 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |