[SERVER-74143] A slow query report should not require the rstl lock to return storage statistics Created: 17/Feb/23 Updated: 29/Oct/23 Resolved: 14/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.0-rc6, 6.0.8, 5.0.20 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Josef Ahmad |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Storage Execution
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v7.0, v6.3, v6.0, v5.0
|
||||||||
| Sprint: | Execution Team 2023-06-12, Execution EMEA Team 2023-06-26 | ||||||||
| Participants: | |||||||||
| Description |
|
A slow query can fail to report storage statistics, https://github.com/mongodb/mongo/blob/5e5c97b34ff6d457dfd4ad65644e42675e2b9993/src/mongo/db/curop.cpp#L488-L491 There does not appear to be any need for the RSTL, https://github.com/mongodb/mongo/blob/5e5c97b34ff6d457dfd4ad65644e42675e2b9993/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp#L905-L920, so these report should be allowed to succeed |
| Comments |
| Comment by Githook User [ 14/Jul/23 ] |
|
Author: {'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}Message: (cherry picked from commit ed6bf2e56aa4e33421bc2f0771706b120fed1ed4) |
| Comment by Githook User [ 27/Jun/23 ] |
|
Author: {'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}Message: (cherry picked from commit ed6bf2e56aa4e33421bc2f0771706b120fed1ed4) |
| Comment by Githook User [ 26/Jun/23 ] |
|
Author: {'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}Message: (cherry picked from commit ed6bf2e56aa4e33421bc2f0771706b120fed1ed4) |
| Comment by Githook User [ 13/Jun/23 ] |
|
Author: {'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}Message: |