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

Complete mutable bson abstraction / implementation

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.1
    • Affects Version/s: None
    • Component/s: Write Ops
    • None

      Updates need to use mutable in a few ways that are not fully implemented yet.

      Here's what we're pending on:

      + Support for lazy reading: portion of the underlying bson would be "parsed" and parts would be "opaque"

      + Support for copying serialized portions in bulk: generating a new bson objs out of a mutated one should require re-encoding the entire object. Portion of the original object may be memcpy-ed to the destination object.

      + Support in-placeness: mutable can be "locked" for only in place ops and would generate a "damage vector" with write intent information.

      + Support for algs: find is already in place, sort is needed (e.g. in $push)

      + General clean up, since quite a few notions are being introduced.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            alerner Alberto Lerner
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: