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

XMLWordPrintableJSON

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

      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:
            Samyukta Lanka
            Reporter:
            Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: