Implement checkIfWriteConcernCanBeSatisfied

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.7.7
    • Affects Version/s: 2.7.3
    • Component/s: Replication
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      /**
       * Checks if the current replica set configuration can satisfy the given write concern.
       *
       * Things that are taken into consideration include:
       * 1. If the set has enough members.
       * 2. If the tag exists.
       * 3. If there are enough members for the tag specified.
       */
      virtual Status checkIfWriteConcernCanBeSatisfied(
              const WriteConcernOptions& writeConcern) const = 0;
      

      Note: LegacyReplicationCoordinator::checkIfWriteConcernCanBeSatisfied has a rough implementation that should be replaced.

            Assignee:
            Spencer Brody (Inactive)
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: