[SERVER-255] add optional write lock to fsync command Created: 25/Aug/09  Updated: 12/Jul/16  Resolved: 02/Jan/10

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3.1

Type: New Feature Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Dwight Merriman
Resolution: Done Votes: 5
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-421 Disable replication, flush data on di... Closed
Participants:

 Description   

force an full disk sync, and then optionally lock the db for writes until a manual unlock
this would allow for backing up the db by just copying the data files.

See SERVER-21 and SERVER-210



 Comments   
Comment by Dwight Merriman [ 02/Jan/10 ]

http://www.mongodb.org/display/DOCS/Snapshotting+and+the+fsync+Command

Comment by auto [ 02/Jan/10 ]

Author:

{'name': 'unknown', 'email': 'Administrator@.(none)'}

Message: SERVER-255 lock on fsync for snapshotting
will be doc'd later today
http://github.com/mongodb/mongo/commit/84d1ca75f73d219e7b5d2b8058cc8843fd8f82bf

Comment by auto [ 11/Nov/09 ]

Author:

{'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: fsync command part of SERVER-255
http://github.com/mongodb/mongo/commit/f9d031f12c99ed75c028c720318e71ab8e4727b9

Comment by Eliot Horowitz (Inactive) [ 11/Nov/09 ]

added the fsync command, just need to add a lock option

Comment by cmer [ 21/Sep/09 ]

I am THRILLED that you decided to move this to 1.2. I'm sure many of us will also be! Thanks for caring!

Comment by cmer [ 10/Sep/09 ]

Running a 64 bit slave just for backup purposes on EC2 is ~$350/mo. Pretty expensive for backups!

Comment by James Golick [ 10/Sep/09 ]

This would be huge for those of us running Mongo on ec2. Backing up with EBS snapshots is ridiculously convenient.

Comment by cmer [ 10/Sep/09 ]

Would be great to see this implemented before 1.3.0. It would REALLY help in production. Just saying...

Comment by Erwan Arzur [ 10/Sep/09 ]

We have discussed this issue on the group and would really like to see something like this implemented.

http://groups.google.com/group/mongodb-user/browse_frm/thread/ae9ebd39b2fa8859/ad2862b23adf54d6?lnk=gst&q=backup#ad2862b23adf54d6

Thanks !

Generated at Thu Feb 08 02:53:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.