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

Make the ChunkManager be used by-value instead of shared_ptr

    • Fully Compatible
    • Sharding 2020-08-24

      The ChunkManager object is just a view over the collection's RoutingInfoHistory at a particular point in time and already contains a std::shared_ptr<RoutingInfoHistory>. Because of this, it should always be passed by value.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: