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

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

      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

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

              Created:
              Updated:
              Resolved: