Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51400

Clarify Collection::Validator semantics

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Execution

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: