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

GridFSDBFile.writeTo( OutputStream out ) should not use findOne

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      I think it's better to get all the chunks at once, not use findOne(). By this way, we can get better performance by using more memory.

      Attachments

        Activity

          People

            antoine Antoine Girbal
            xbwen Frank Wen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: