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

GridFS should support WriteConcern option on writes

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0
    • Affects Version/s: None
    • Component/s: GridFS

      Namely for GridFSFile.save().

      Arguably, might be useful for GridFS ctor as well (along with a ReadPref).

      For now one can get the collections and set the WriteConcern/ReadPreference as a default before they use GridFS. The collections will be called <bucket> + ".files"/".chunks" (where the default bucket name is "fs") and one should set the options on both.

            Assignee:
            Unassigned Unassigned
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: