[SERVER-40867] UUIDCatalog::iterator::uuid() should not call repositionIfNeeded Created: 26/Apr/19 Updated: 29/Oct/23 Resolved: 02/May/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.11 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Xiangyu Yao (Inactive) | Assignee: | Xiangyu Yao (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 | ||||
| Sprint: | Storage NYC 2019-05-06 | ||||
| Participants: | |||||
| Linked BF Score: | 19 | ||||
| Description |
|
UUIDCatalog::iterator::uuid() should simply return the _uuid even if this uuid is dropped after the function returns. It's the caller's job to double check whether this uuid still exists. If UUIDCatalog::iterator::uuid() does the checking itself (by calling repositionIfNeeded), the result might still be outdated after it returns. |
| Comments |
| Comment by Githook User [ 02/May/19 ] |
|
Author: {'email': 'xiangyu.yao@mongodb.com', 'name': 'Xiangyu Yao', 'username': 'xy24'}Message: |