[SERVER-71208] Handle namespaces with pending commit in openCollection Created: 09/Nov/22 Updated: 29/Oct/23 Resolved: 28/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Will Buerger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Execution Team 2022-11-28 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 135 | ||||||||
| Description |
|
openCollection without a timestamp will only be used when the namespace is in pending commit. The correct collection instance to return is either what is already stored in the CollectionCatalog or the instance that is stored under pending commit. We need to read the catalog entry from the durable catalog and compare it with the two instances above to determine which is the correct one to use. |
| Comments |
| Comment by Githook User [ 23/Nov/22 ] |
|
Author: {'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}Message: |