Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14363

Implement an ability to append file

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

      What we are doing:
      1. We have several web servers
      2. We are uploading some big file (e.g. 100Mb)
      3. The file is chunked on the client-side (e.g. by plupload, etc)
      4. We are using MongoDB GridFS to store uploaded files.

      What problems we have:
      1. There is no possibility to append the next uploaded chunk to the already stored in DB.
      2. Also we can't store glue the chunks on a web server before saving into DB, because each file chunk is sended by load balancer to an unpredictable web server. So chunks are uploaded to different web servers.

      What the purpose is:
      1. Implement a new method appendBytes(id, bytes)
      2. Implement a new method appendFile(id, filename)

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            ua.oleg Oleg Poludnenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: