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

Efficiently share biggie store instances

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.2
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-07-02, Storage NYC 2018-07-16, Storage NYC 2018-07-30, Storage NYC 2018-08-13
    • 0

      Currently, copying a biggie store requires actually copying all data, even if the copies stay the same. Change this to share the map on copy (using std::shared_ptr), but require it to be unshared before making modifications (by actually making a copy if use_count > 1).

            Assignee:
            dewal.gupta Dewal Gupta
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: