[SERVER-76942] Provide Database object through the shard role API Created: 09/May/23 Updated: 24/Jul/23 Resolved: 24/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jordi Serra Torrens | Assignee: | Kaloian Manassiev |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Sharding EMEA
|
| Participants: |
| Description |
|
Currently ShardRole acquisitions don't provide access to the 'Database' object. Code that needs it call into the DatabaseHolder directly (e.g.). We should put that in the shrad role API. |
| Comments |
| Comment by Jordi Serra Torrens [ 24/Jul/23 ] |
|
DatabaseHolder owns almost no attributes today and the vision is to remove it (see SERVER-77281). For that reason, agreed not to expose it through the ShardRole API. |