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

Simplify UpdateLeafNode::apply interface

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.12
    • None
    • Write Ops
    • None
    • Fully Compatible
    • Query 2017-08-21, Query 2017-09-11

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: