[SERVER-51400] Clarify Collection::Validator semantics Created: 06/Oct/20 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Henrik Edin | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | techdebt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Participants: |
| Description |
|
Collection::Validator is a value type but encapsulates a boost::intrusive_ptr and a std::shared_ptr. It is not obvious that state are shared when copied. We should consider investigating how this type is used and see if it is worth using it with std::shared_ptr<Validator> when sharing is desired. |