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

DBCollection.save(obj) does not use the default write concern

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None
    • # Replies:
      1
    • Last comment by Customer:
      true

      Description

      right now it calls DBCollection.save(obj, null), should call DBCollection.save(obj, getWriteConcern())
      This can be dangerous as user may expect it to use global WriteConcern

        Attachments

          Activity

            People

            • Assignee:
              antoine Antoine Girbal
              Reporter:
              antoine Antoine Girbal
              Participants:
              Last commenter:
              Rathi Gnanasekaran
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                7 years, 37 weeks, 3 days ago
                Date of 1st Reply: