Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2135

MongoClient object accepts setWriteConcern which seems to have no effect

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0
    • Component/s: API, Write Operations
    • 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 Unassigned
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: