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

NAME

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

SYNOPSIS

16          void
17          mongoc_write_concern_set_fsync (mongoc_write_concern_t *write_concern,
18                                          bool fsync_);
19

PARAMETERS

21write_concern: A mongoc_write_concern_t.
22
23fsync_: A boolean.
24

DESCRIPTION

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

AUTHOR

35       MongoDB, Inc
36
38       2017-present, MongoDB, Inc
39
40
41
42
431.24.3                           Aug 17, 2023MONGOC_WRITE_CONCERN_SET_FSYNC(3)
Impressum