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

Complete mutable bson abstraction / implementation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.1
    • Component/s: Write Ops
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              acm Andrew Morrow
              Reporter:
              alerner Alberto Lerner
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: