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

Disable table logging for data files when enableMajorityReadConcern=false

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.7
    • Component/s: Replication, Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2018-12-03, Repl 2018-12-17
    • Linked BF Score:
      66

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tess.avitabile Tess Avitabile
              Reporter:
              tess.avitabile Tess Avitabile
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: