Tighten assertions around waiting for write concern

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.10
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Minor Change
    • Sharding 17 (07/15/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In certain situations it is illegal to wait for write concern, such as while holding X lock on the local database. We should tighten these assertions so we catch offending callers.

      In addition, as part of this change we should not allow write concern other than majority for config servers.

              Assignee:
              Kaloian Manassiev
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: