[SERVER-41867] CatalogCache::_scheduleDatabaseRefresh/_scheduleCollectionRefresh can try to grab _mutex it already owns Created: 21/Jun/19 Updated: 29/Oct/23 Resolved: 09/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.6.13, 4.0.10, 4.2.0-rc1 |
| Fix Version/s: | 3.6.14, 4.0.11, 4.2.0-rc3, 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Kaloian Manassiev |
| 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 | ||||||||
| Backport Requested: |
v4.2, v4.0, v3.6
|
||||||||
| Sprint: | Sharding 2019-07-15 | ||||||||
| Participants: | |||||||||
| Description |
|
_scheduleDatabaseRefresh already holds the _mutex when making this call: Similarly inside _scheduleCollectionRefresh: |
| Comments |
| Comment by Githook User [ 09/Jul/19 ] |
|
Author: {'name': 'Kaloian Manassiev', 'username': 'kaloianm', 'email': 'kaloian.manassiev@mongodb.com'}Message: (cherry picked from commit f7fc5eb7ffd428bfb02ec63abd04898c74d31043) |
| Comment by Githook User [ 09/Jul/19 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: (cherry picked from commit f7fc5eb7ffd428bfb02ec63abd04898c74d31043) |
| Comment by Githook User [ 09/Jul/19 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: (cherry picked from commit dffab828e9acefe36364ae9db85dbbd0979699e6) |
| Comment by Githook User [ 09/Jul/19 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: (cherry picked from commit f7fc5eb7ffd428bfb02ec63abd04898c74d31043) |
| Comment by Githook User [ 09/Jul/19 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: (cherry picked from commit dffab828e9acefe36364ae9db85dbbd0979699e6) |
| Comment by Githook User [ 09/Jul/19 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |
| Comment by Githook User [ 09/Jul/19 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |
| Comment by Randolph Tan [ 21/Jun/19 ] |
|
Note: possibly hard to hit in practice as ThreadPool::schedule has to throw a DBException |