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

Replace logOp() with a more operation-aware observer interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 3.1.0
    • Replication
    • None
    • Fully Compatible

    Description

      Rather than having a single logOp() function for all types of data and metadata operations that might be observed, we will build an observer interface for such operations.

      Instead of logOp("i", ...) there will be OpObserver::onInsert(...), e.g.

      There will be one instance of the observer in the database server, with the observation actions statically encoded. This ticket is not for allowing the dynamic registration of data and meta-data event observers.

      Attachments

        Issue Links

          Activity

            People

              matt.dannenberg Matt Dannenberg
              schwerin@mongodb.com Andy Schwerin
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: