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

GridFS should support WriteConcern option on writes

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.0
    • None
    • GridFS

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: