1MONGOC_WRITE_CONCERN_SET_FSYNC(3)  libmongoc MONGOC_WRITE_CONCERN_SET_FSYNC(3)
2
3
4

WARNING:

6          Deprecated  since  version  1.4.0:  This  function is deprecated and
7          should not be used in new code.
8
9          Please use mongoc_write_concern_set_journal() in new code.
10
11

SYNOPSIS

13          void
14          mongoc_write_concern_set_fsync (mongoc_write_concern_t *write_concern,
15                                          bool fsync_);
16

PARAMETERS

18write_concern: A mongoc_write_concern_t.
19
20fsync_: A boolean.
21

DESCRIPTION

23       Sets if a fsync must be performed before indicating write success.
24
25       Beginning in version 1.9.0, this function can now alter the write  con‐
26       cern  after  it  has  been  used in an operation. Previously, using the
27       struct with an operation would mark it as  "frozen"  and  calling  this
28       function would log a warning instead instead of altering the write con‐
29       cern.
30

AUTHOR

32       MongoDB, Inc
33
35       2017-present, MongoDB, Inc
36
37
38
39
401.25.1                           Nov 08, 2023MONGOC_WRITE_CONCERN_SET_FSYNC(3)
Impressum