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

Simplify UpdateLeafNode::apply interface

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.12
    • Affects Version/s: None
    • Component/s: Write Ops
    • Labels:
      None
    • Fully Compatible
    • Query 2017-08-21, Query 2017-09-11

      There are too many things one has to remember when implementing a new UpdateLeafNode. Consider simplifying the interface by making UpdateLeafNode::apply a nonvirtual method, which calls several virtual methods, to be implemented by the leaves. For example, we can separate the actual update, logging, checking for affected indexes, validation for storage, and checking immutable paths.

            Assignee:
            justin.seyster@mongodb.com Justin Seyster
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: