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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: