[SERVER-67743] Clean up boundary between BucketCatalog and Bucket Created: 01/Jul/22 Updated: 27/Oct/23 Resolved: 02/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dan Larkin-York | Assignee: | Dan Larkin-York |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Sprint: | Execution Team 2023-02-06, Execution Team 2023-03-06 | ||||||||
| Participants: | |||||||||
| Description |
|
Currently 'BucketCatalog' is a 'friend' to 'Bucket', and accesses its private members without restriction. We should add appropriate getters/setters to `Bucket` so that we can dissolve the friendship and ensure we protect the integrity of the bucket's data. |
| Comments |
| Comment by Dan Larkin-York [ 02/Mar/23 ] |
|
This was already largely accomplished via other refactorings. |