[SERVER-40971] Fix the check of _resolvedNss in AutoGetCollection Created: 02/May/19 Updated: 29/Oct/23 Resolved: 06/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: | 17 | ||||||||||||
| Description |
|
We resolve the namespace again after locking the namespace in AutoGetCollection, and we have a while loop to keep checking until they are the same. However, we didn't assign the newly resolved namespace to _resolvedNss so the comparison is always between newly resolved one and the originally resolved one (rather than last resolved one). |
| Comments |
| Comment by Githook User [ 06/May/19 ] |
|
Author: {'email': 'xiangyu.yao@mongodb.com', 'name': 'Xiangyu Yao', 'username': 'xy24'}Message: |