[SERVER-44854] Ensure collections with commit timestamps have appropriately set minimum visible snapshots by the time the collections are visible in the catalog Created: 26/Nov/19 Updated: 29/Oct/23 Resolved: 16/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc0, 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Maria van Keulen | Assignee: | Maria van Keulen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||
| Sprint: | Execution Team 2019-12-30, Execution Team 2020-03-09, Execution Team 2020-03-23 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
|
| Comments |
| Comment by Githook User [ 17/Mar/20 ] |
|
Author: {'name': 'Maria van Keulen', 'email': 'maria@mongodb.com', 'username': 'mvankeulen94'}Message: (cherry picked from commit ce57a85479032380593268db65dfc9441c65cd9a) |
| Comment by Maria van Keulen [ 16/Mar/20 ] |
|
As an update, independently of whether non-replicated collections get minimum visible snapshots set, the issue that was exposed due to taking IX locks instead of X locks for collections in The issue that still exists however (and existed prior to This ticket ( |
| Comment by Githook User [ 16/Mar/20 ] |
|
Author: {'name': 'Maria van Keulen', 'username': 'mvankeulen94', 'email': 'maria@mongodb.com'}Message: |
| Comment by Maria van Keulen [ 02/Mar/20 ] |
|
We believe The work for this ticket should be to confirm (possibly with an invariant) that all "special case" collections that can potentially receive a null minVisibleSnapshot initially have an appropriately set minVisibleSnapshot by the time they are accessible in the catalog. |
| Comment by Maria van Keulen [ 28/Feb/20 ] |
|
|
| Comment by Maria van Keulen [ 11/Feb/20 ] |
|
This ticket should also ensure that it is not possible to create/write to non-replicated collections inside multi-document transactions. |
| Comment by Daniel Gottlieb (Inactive) [ 26/Nov/19 ] |
|
The two angles I know of that can solve this problem:
While it may be pleasing to use the same solution for both standalone mode and unreplicated collections in replica sets, my hunch is it might be easiest to solve them differently:
|