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

make a new ReplicationCoordinator inner class “ReadWriteAbility” that encapsulates “can accept writes” and “can serve reads” bools

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Repl 2018-11-19, Repl 2018-12-03

    Description

      This class will ensure that all locks are correctly taken for these variables
      This will not change the ReplicationCoordinator interface
      Using WithLock everywhere or in many places, may make this easier

      Attachments

        Activity

          People

            samy.lanka@mongodb.com Samyukta Lanka
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: