[SERVER-29909] Libraries db/db_raii and db/s/sharding are directly cyclic Created: 28/Jun/17  Updated: 30/Oct/23  Resolved: 16/Dec/17

Status: Closed
Project: Core Server
Component/s: Build, Querying, Sharding, Storage
Affects Version/s: None
Fix Version/s: 3.6.2, 3.7.1

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-32367 AutoGetCollectionOrView and its relat... Closed
Related
related to SERVER-29908 Libraries db/s/sharding and db/query/... Closed
related to SERVER-29907 Dependency tangle within query subsystem Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6
Sprint: Sharding 2018-01-01
Participants:

 Description   

The libraries db/db_raii and db/s/sharding directly depend on each other. This is particularly pernicious, as it drags db/db_raii into the interdepencency tangle between db/s/sharding and db/query/query (SERVER-29908), which then indirectly introduces a dependency from db/db_raii into the query subsystem tangle (SERVER-29907).



 Comments   
Comment by Githook User [ 28/Dec/17 ]

Author:

{'username': 'kaloianm', 'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev'}

Message: SERVER-29909 Remove circular dependency between db_raii and sharding libraries

(cherry picked from commit 8467708af7fa83f8827362b80f56dab4aad30a41)
(cherry picked from commit 4312da76ee19623dd60811a22a53fa8e9beb484c)
Branch: v3.6
https://github.com/mongodb/mongo/commit/edc1557cee4763ed45fe5140bc8c61db28e95dfe

Comment by Githook User [ 18/Dec/17 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-29909 Remove unnecessary class friendship declarations
Branch: master
https://github.com/mongodb/mongo/commit/4312da76ee19623dd60811a22a53fa8e9beb484c

Comment by Githook User [ 16/Dec/17 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-29909 Remove circular dependency between db_raii and sharding libraries
Branch: master
https://github.com/mongodb/mongo/commit/8467708af7fa83f8827362b80f56dab4aad30a41

Generated at Thu Feb 08 04:22:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.