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

Tighten assertions around waiting for write concern

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

      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@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: