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

Clarify Collection::Validator semantics

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • Storage Execution

    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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: