MongoClient object accepts setWriteConcern which seems to have no effect

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.0
    • Component/s: API, Write Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The following code snippet does not set WriteConcern on the MongoDatabase instance as might be expected:

      MongoClient mongoClient = new MongoClient( <something> );
      mongoClient.setWriteConcern(WriteConcern.REPLICAS_SAFE);
      MongoDatabase db = mongoClient.getDatabase("wc");
      

              Assignee:
              Unassigned
              Reporter:
              Asya Kamsky
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: