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

Disable table logging for data files when enableMajorityReadConcern=false

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Replication, Storage
    • Labels:
      None
    • Fully Compatible
    • Repl 2018-12-03, Repl 2018-12-17
    • 66

      InĀ SERVER-37227, we reintroduced the enableMajorityReadConcern:false parameter on the master branch. When majority read concern is disabled, we turn on logging for data files and take unstable checkpoints. This is incompatible with causally consistent sharded cluster backup, which requires us to be able to replay the oplog to a particular point in time. We must do the following to disable table logging for data files when enableMajorityReadConcern=false:

      • Disable table logging for data files, which was enabled here.
      • Take stable checkpoints. In addition to setting the oldest timestamp in the WiredTigerOplogManager, we will set the stable timestamp. In the WiredTigerCheckpointThread, we will take a stable checkpoint instead of taking a full checkpoint. Since we are no longer taking full checkpoints, we may need to pin oplog. Since the stable timestamp is now ahead of the majority commit point, we still must use rollback-via-refetch instead of recover-to-stable-timestamp.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: