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

Enable dbhash background thread for enableMajorityReadConcern:false variant

    XMLWordPrintable

    Details

      Description

      This is follow-on work for SERVER-36982 and SERVER-37227. We disabled the dbhash background thread for enableMajorityReadConcern:false, since the thread performs a majority afterClusterTime read, in order to check that the secondary has applied up to the chosen cluster time and advanced its majority commit point. Instead, we can run replSetGetStatus in an assert.soon() loop and check the lastCommittedOpTime.

      We plan to disable atClusterTime with enableMajorityReadConcern:false, since we aggressively forget history, but we can leave it on when test commands are enabled. The dbhash background thread uses the WTPreserveSnapshotHistoryIndefinitely failpoint to ensure history is preserved.

        Attachments

          Activity

            People

            Assignee:
            vesselina.ratcheva Vesselina Ratcheva
            Reporter:
            tess.avitabile Tess Avitabile
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: