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

Majority mode for oplog tailable cursor

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.2.0
    • None
    • Replication
    • None
    • Replication
    • Fully Compatible

    Description

      When systems like mongo-connector tail the oplog, it would be useful to be able to have the cursor tail the watermark reflecting the majority of the cluster, rather than the latest operation in the current nodes oplog. Thus the cursor would only return an oplog entry to the caller once a majority of replicas had processed the oplog entry. This would mean that rollbacks would only need to be handled by the app in the case of catastrophic failures where more than a majority of the cluster was lost rather than on every failover that happens.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            jsr Jared Rosoff
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: