applyWriteConcern should take a writeConcern

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      applyWriteConcern needs to take into account a writeConcern property. We will need to be defensive about checking it, changing

      if (
          coll &&
          (coll.writeConcern.w != null || coll.writeConcern.j != null || coll.writeConcern.fsync != null)
        ) {

      to

      if (
          coll && coll.writeConcern &&
          (coll.writeConcern.w != null || coll.writeConcern.j != null || coll.writeConcern.fsync != null)
        ) { 

              Assignee:
              Katherine Walker (Inactive)
              Reporter:
              Katherine Walker (Inactive)
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: