[SERVER-22112] Circular call dependency between CatalogManager and CatalogCache Created: 08/Jan/16 Updated: 23/Nov/16 Resolved: 12/Jan/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.3, 3.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-and-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Backport Completed: | |||||
| Sprint: | Sharding F (01/29/16) | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
The two implementations of CatalogManager::shardCollection (in CSRS and legacy) call ChunkManager::reload in order to refresh the cached collection metadata. This call however, internally accesses the catalog cache, which introduces circular dependency. The CatalogManager should sit under the read-through CatalogCache so this dependency should not exist. |
| Comments |
| Comment by Githook User [ 14/Jan/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |
| Comment by Githook User [ 12/Jan/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |