Support for GridFS append mode #154

Closed
wants to merge 13 commits into
from

Conversation

Projects
None yet
5 participants
@alor

alor commented Feb 5, 2013

This add the ability to open a gridfs file in append mode and add data to it, without having to pull it from the db and put it again once modified.

Currently the only way to append some data to a file is to dump the entire file to a temporary file, append the data and then put it again into the gridfs, a very expensive way to add some bytes to a file.

Hope it will be useful to everyone.

best regards.

@alor

This comment has been minimized.

Show comment
Hide comment
@alor

alor Feb 5, 2013

oops, i've created the branch from 1.8.2 release, better if i recreate it against master (it included lot of commits that are unneeded) closing this request. Sorry.

alor commented Feb 5, 2013

oops, i've created the branch from 1.8.2 release, better if i recreate it against master (it included lot of commits that are unneeded) closing this request. Sorry.

@alor alor closed this Feb 5, 2013

@alor alor deleted the alor:1.8.2_append branch Feb 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment