[CXX-910] how to set fsync for write concern Created: 13/May/16 Updated: 11/Sep/19 Resolved: 13/May/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | API |
| Affects Version/s: | 3.0.1 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Judy Han [X] | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux ... 2.6.32-573.18.1.el6.x86_64 #1 SMP Wed Jan 6 11:20:49 EST 2016 x86_64 x86_64 x86_64 GNU/Linux |
||
| Description |
|
I used to set fsync parameter by calling mongo::WriteConcern::fsync() in legacy C++ driver. Thanks! |
| Comments |
| Comment by Judy Han [X] [ 13/May/16 ] |
|
Thanks for the clarification! |
| Comment by David Golden [ 13/May/16 ] |
|
Hi, Judy. You only need to set 'journal' now and the server handles the fsync as part of satisfying that write concern. Regards, |